All simulations
Canvas simulations driven by your cursor. Boids, black holes, ant colonies, and more. 9 simulations, all driven by your cursor, all running on plain HTML5 canvas with zero dependencies.
Browse all 9
- AntsWorker ants forage for food and lay chemical pheromone trails. Moving the cursor drops sugar crumbs; click drops a sugar cluster.
- Black holeKeplerian particles spiral into an accretion disk; foreground gets stretched and swallowed, background galaxies stay put. Click fires polar jets.
- BoidsReynolds 1987 boids — separation, alignment, cohesion — running on a spatial hash grid. Cursor attracts the flock; click repels. Torus wraparound.
- DogA dog on an open lawn that reads your cursor: follows, gets excited, chases its tail, fetches the ball you knock, rolls over when petted, digs when bored.
- Galactic addressZoom from the Milky Way and Sagittarius A* down to Orion Spur, the Solar System, and Earth's orbit. Traverse cosmic scales across 16 orders of magnitude.
- SheepdogCursor is the dog. Sheep flee it; once inside the pen they settle.
- SnowflakeThree tiers of snowflakes in sinusoidal drift. Cursor pushes them outward; flakes accumulate as a heightmap, click clears a depression.
- Solar systemEight planets at compressed orbits seeded from J2026.0; Earth's moon, Saturn's ring. Cursor x scales angular velocity; y tilts the plane.
- Sun attractionPlants probe 18 angles for sun-aligned open sky and lean to grow there; conifers cast shadow polygons. Cursor is the sun.
By category
- Chaos & emergenceAnt pheromone trails and snowbank accumulation — emergent behavior from simple rules.
- Life & natureBoids, sheepdogs, a dog, ants, growing plants — cursor-driven nature scenes.
- Space & astronomySolar system, black hole accretion, a cosmic zoom from the Milky Way to Earth — interactive astronomy in the browser.