Fork of Fork of Sine Wave Circles
✓ Published0🌍 Public
A row of 30 circles animates vertically in a sine wave pattern, with each circle’s vertical position controlled by a time-based oscillation. The circles are rendered as SVG elements using D3 version 7, with their `cx` positions evenly spaced across the 960-pixel-wide canvas. The `cy` attribute is updated each frame via D3’s `timer` callback, computing a sine function of the circle index, frequency, and elapsed time. The visualization is a direct port of a Processing example, adapted to ES6 and driven by the `d3.range` and `d3.select` APIs.
AI-generated descriptionA D3 version of the Math Sine Wave P5.js example.
Ported to ES6 from an older version: bl.ocks.org: Sine Wave Circles with blockbuilder.org.
MIT Licensed