Fork of Changing Colors with Waves
✓ Published0🌍 Public
A grid of circles animates in a wave-like pattern, with each circle's horizontal position and size fluctuating over time. The circles shift color between red and blue based on whether their current size exceeds a threshold, creating a dynamic, pulsing visual field. The example uses the Canvas 2D API, with `getContext('2d')`, `arc()`, and `fill()` to render the circles, while `requestAnimationFrame` drives the continuous animation loop. The pattern is generated procedurally using sine and cosine functions, with no external data source.
AI-generated descriptionA grid of moving and colored circles.
From "Mathematical Patterns" tutorial given at MIT on July 28, 2013.
MIT Licensed