Skip to main content
Public

Share visualization

Loading preview…

Fork of Sin circles

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Sin circles

0 stars0Public
NNjord
Last edited Jun 20, 2022
Created on Jun 20, 2022
Forked from Sin circles

Fifteen circles and connected lines oscillate in a sine-wave pattern, with each circle’s vertical position and radius periodically changing. The animation updates every 130 milliseconds, redrawing the SVG elements with new coordinates computed from a phase-shifted sine function. Using D3’s `select`, `range`, and `rgb` APIs, the visualization assigns black strokes to the lines and fixed gray fills to the circles, creating a rhythmic, looping composition. The code dynamically updates both the `x` and `y` attributes of the lines and circles, while the radius of the circles varies between 10 and 30 pixels.

AI-generated description

a reproduction of a sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed