Play Scripts
Small worlds to play with.
Pick a simulation. Drag on it, tap it, and move its sliders.
Simulations
- Bell test Entangled pairs break the classical CHSH bound of 2.
- Boids Flocking from three rules: cohesion, separation, and alignment.
- Cellular automata One rule number grows a whole pattern from a single cell.
- Chaos theory Lorenz and Hénon attractors, logistic map: small causes, big effects.
- Fourier series Spinning circles add up to a square wave.
- Fractal tree Each branch splits into two smaller branches.
- Game of Life Conway's cells live, die, and spread on a wrapped grid.
- Genetic drift Allele frequencies wander by chance from one generation to the next.
- Gravity Bodies pull on each other and fall into orbits.
- Julia set Iterate z² + c for one fixed c, then zoom in.
- Mandelbrot set How fast z² + c escapes, across the complex plane.
- Market dynamics Trading agents find a price together.
- Particle system Particles move under gravity, wind, and force fields.
- Predator and prey Foxes and rabbits rise and fall in cycles.
- Prime patterns Primes on the Ulam spiral, with their gaps and counts.
- Prisoner's dilemma Strategies meet in an iterated tournament.
- Protein folding A protein backbone anneals its twist angles by Monte Carlo.
- Reaction-diffusion Gray-Scott chemistry you can paint into.
- Sandpile Grains topple in avalanches of every size.
- Spin network A loop quantum gravity spin network evolves.
- Turing patterns Two chemicals diffuse and react into spots and stripes.
- Wave interference Waves from two sources add and cancel.