Small experiments.
Room to play.
A space to explore how simple mathematical rules, physics models, and emergent systems turn into dynamic digital behavior. All experiments are live below.
A little less scrolling.
A little more playing.
A grid of particles anchored by Hooke's law return springs. Move your pointer or touch the canvas to distort the lattice. Click anywhere to trigger a radial shockwave.
Simple boids.
Emergent choreography.
Craig Reynolds' flocking algorithm driven by three local rules: separation, alignment, and cohesion. Watch hundreds of autonomous agents organize into a living, dynamic swarm. Tap the canvas to trigger an explosive scatter burst.
Tension and drape.
A cloth made of math.
A physical textile simulated using distance constraints and Verlet integration. Tug the cloth to feel its elastic springiness and drape, or switch to scissors to slice through the mesh and tear holes.
Gravity wells.
Chaos in real time.
Newtonian gravity in frictionless space. Drag backwards and release anywhere on the canvas to slingshot new planets into orbit, or explore classic multi-body choreographies like the three-body figure-8.
Ripples and interference.
Visualizing acoustics.
A discrete 2D fluid wave equation simulation. Move your pointer or touch the water surface to generate waves. Toggle automatic raindrops to observe concentric interference fringes, or switch on the double slit barrier.