Skip to content

LabCreative coding

Small canvas experiments, the kind of thing I reach for when a page needs a pulse. Every one runs in the scrollvars canvas harness, pauses when it leaves the screen, respects reduced motion and draws in one or two calls per frame.

01Flow field

Five hundred particles riding a layered sine field. The pointer bends the field toward itself. Trails come free: the frame is faded, never cleared.

02Harmonics

Twenty-six sine lines, two frequencies each. Horizontal pointer position sets the frequency, vertical sets the amplitude. One stroke call per frame.

03Warp grid

A lattice that breathes with time and bends around the pointer with a squared falloff. The push eases in and out instead of snapping.

04Torus

Eleven hundred points on a ring, projected with a little perspective. Points in front are lime, points behind are bone. The pointer tilts the ring.