Skip to main content

Playground

A little corner to play

Small browser games built for fun — plain JavaScript, nothing to install. For interactive demos of how AI works, head to Learn.

Games

Games

A few small browser games built for fun — pure vanilla JavaScript, no frameworks, no downloads. Have a play.

  • Snake
  • 2048
  • Memory match
Open Games →

Dyslexia Resources

Dyslexia

Free see-and-hear reading tools for dyslexic children and their tutors and parents. A growing set, starting with a phonics word game.

  • See-and-hear phonics game
  • Whole word, letter names & sounds
  • OpenDyslexic font toggle
Open Dyslexia Resources →

Three-Body Problem

Simulator

Three stars, one law of gravity, and pure chaos. A real Newtonian gravity simulation — step through the figure-eight orbit, a famous chaotic setup, and watch a tiny nudge spiral into a different universe.

  • Figure-eight & Lagrange orbits
  • Pythagorean chaos
  • Live energy & chaos ghost
Open Simulator →

Gravity Sandbox

Sandbox

Build your own universe. Click and drag to fling planets, scroll to change their mass, and hit space to watch a cloud collapse into a solar system. Everything pulls on everything, and bodies that touch merge.

  • Click-drag to launch
  • Spawn a collapsing cloud
  • Momentum-conserving merges
Open Sandbox →

ASCII Weather

Toy

The forecast, rendered as ASCII art right in your browser — search any city or use your location. A little homage to wttr.in, with real live data.

  • Real data (Open-Meteo)
  • Use my location
  • Hand-drawn ASCII art
Open Weather →

Double Pendulum

Chaos

Two rods, one hinge, pure deterministic chaos. Watch a one-in-a-thousand nudge send an identical twin down a completely different path.

  • Real RK4 physics
  • Chaos twin
  • Hypnotic trails
Open Pendulum →

Boids

Emergence

Lifelike flocking from three simple rules — separation, alignment, cohesion. No leader, no plan, just emergence. Tune each rule and watch the swarm change.

  • Reynolds' boids model
  • Tune the three rules
  • Up to 250 boids
Open Boids →

Game of Life

Emergence

Conway's classic cellular automaton. Four tiny rules, and out come gliders, guns and patterns that build other patterns. Draw your own or drop in a preset.

  • Draw cells live
  • Glider gun & pulsar
  • Turing-complete
Open Game of Life →

Mandelbrot

Fractal

One equation, infinite detail. Click to zoom into the boundary of the Mandelbrot set — you can keep going essentially forever, and it never stops being intricate.

  • Click to zoom
  • Real escape-time maths
  • Smooth colouring
Open Mandelbrot →

Fourier Epicycles

Maths

Draw any shape and watch a chain of rotating circles redraw it — the Fourier transform made visible, the same maths behind audio and image compression.

  • Draw your own
  • Real DFT
  • More circles = crisper
Open Fourier →

Quantum Eraser

Curiosity

The double-slit experiment, live. Fire particles and an interference pattern builds; measure which slit and it vanishes; erase that knowledge and — impossibly — it returns.

  • Fringes build one dot at a time
  • Which-path detector
  • The quantum eraser twist
Open Quantum Eraser →

Lorenz Attractor

Chaos

The butterfly. Three equations from a toy weather model trace a strange attractor that never repeats — and where "the butterfly effect" got its name.

  • RK4, rotatable 3-D trail
  • The famous butterfly
  • Sensitivity twin
Open Lorenz →

Reaction-Diffusion

Patterns

Spots, stripes and coral emerging from two reacting chemicals — the Gray-Scott model, the maths Turing proposed for how animals get their markings. Pick a recipe or paint into it.

  • Turing patterns
  • Spots / mitosis / coral / maze
  • Paint your own seeds
Open Reaction-Diffusion →

Wave Interference

Waves

A ripple tank: two sources overlap into constructive and destructive interference. Drag the sources and tune the wavelength — the same physics as the double-slit fringes.

  • Superposition, live
  • Drag the sources
  • Tune wavelength & spacing
Open Wave Interference →