Random walks
Plankton that drift by coin flips, a random number generator in three shifts, fading trails, and 64 invisible walkers that check the square root law of diffusion.
Open it in the simulatorTurn a 16x16 LED panel into a night sea in C++ on an ESP32-C3: the Game of Life, random walks, L-systems, noise, flocking fish and a living light wall.
0 of 7 done
7 lessons in 4 chapters, about 5 hours on a simulated ESP32-C3-DevKitM-1. Free, in your browser, every step checked by the simulator.
Plankton that drift by coin flips, a random number generator in three shifts, fading trails, and 64 invisible walkers that check the square root law of diffusion.
Open it in the simulatorValue noise in integer math: a hashed lattice, smoothstep blending and octaves make a drifting bioluminescent tide, measured against plain random static.
Open it in the simulatorFrom x and y to a place on one long wire: serpentine rows, the function every lesson has leaned on, and rotation for free.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Cellular automata and random walks: simple rules, rich results.
Conway's two rules on a 16x16 torus of LEDs: a plankton bloom from five cells, rules as bitmasks, and a fingerprint that notices when the colony settles.
0 of 5 steps
Plankton that drift by coin flips, a random number generator in three shifts, fading trails, and 64 invisible walkers that check the square root law of diffusion.
0 of 6 steps
Plants from rewriting rules and a tide from noise.
Kelp from a rewriting rule: a string that grows every generation, and a turtle with a stack that turns its symbols into branches.
0 of 5 steps
Value noise in integer math: a hashed lattice, smoothstep blending and octaves make a drifting bioluminescent tide, measured against plain random static.
0 of 5 steps
A school of fish from three rules, and the grid under it all.
Twelve fish, three local rules and no leader: separation, alignment and cohesion, and an order number that shows a school appear out of a swarm.
0 of 4 steps
From x and y to a place on one long wire: serpentine rows, the function every lesson has leaned on, and rotation for free.
0 of 5 steps
Everything on one living light wall.
Four scenes from the course on one panel, a plankton bloom, drift, a noise tide and a fish school, played from a playlist you can rearrange and extend.
0 of 6 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of Generative art and cellular automata are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated ESP32-C3-DevKitM-1 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 5 hours: 7 lessons in 4 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Random walks, Noise fields and Mapping a matrix.
With "Game of Life", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.