Fork of Messing around with Sine Wave Circles
✓ Published0🌍 Public
Four overlapping horizontal bands of blue, yellow, turquoise, and white circles undulate vertically across a blue background. Each band contains 50 circles whose vertical positions are driven by sine and cosine functions of time and circle index, creating wave-like patterns. The animation uses a `d3.timer` to update the `cy` attributes of SVG circles every frame, with each band offset using different amplitudes. The visualization is built with D3 v7 and renders through a dynamically created SVG element.
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