The Lab

Sketches,
notebooks &
small tools.

Generative experiments — some old, some new. Vintage p5.js sketches ported to vanilla canvas; new pieces built directly in the browser.

Inline sketches

Nake

Generative grid · static · click to reseed

A 50×50 lattice. Each cell rolls a vertical line whose probability falls off with distance from the diagonal; horizontal lines only appear directly below empty cells. Result: a quiet, woven, almost architectural pattern that re-composes itself with every seed. Original p5 sketch here.

Z-squared

Iterated z² · animated · complex plane

Pick a point on the unit circle and square it, twenty times in a row. Where it lands traces a spiral that collapses toward zero or escapes to infinity, depending on the seed angle. The angle drifts each frame, so the whole figure breathes. Original p5 sketch here.

Index

External notebooks & archive

Up next

Porting more sketches as native components.

Send me URLs from the archive and I’ll port them next.