Sine Dot Grid turns a pair of one-dimensional sine waves into a two-dimensional displacement field. The same field produces different visible behavior depending on how each sampled value is interpreted.
field(x,y) = sin(2pi fx x + phase) * sin(2pi fy y + phase)
The yellow curve across the top shows the horizontal sine wave. The magenta curve along the left edge shows the vertical sine wave. Each dot samples both waves, multiplies the results, and then moves or changes size according to the selected mode. Yellow dots are positive field values, magenta dots are negative field values, and white dots are near zero.
Procedural animation often begins as a small rule, not a finished picture. This toy keeps the rule visible: change frequency, amplitude, density, or interpretation mode and the surface changes without changing the underlying grid.
- This page is a public rewrite of a private March 2026 Sine Dot Grid prototype.
- The original prototype tested frequency, amplitude, grid density, row spacing, and four displacement modes.
- This public version keeps the four modes, exposes the main controls, and uses only inline browser canvas code.
- Related toy: Stroke Chime, another toy where a sampled mathematical path changes the visible and audible output.
ChewGum Animation
Shane Curry, "Sine Dot Grid," https://shanecurry.com/lab/toys/sine-dot-grid/, published 2026-05-01.
The dots are not a picture of the math. They are the math, sampled into little moving decisions.