Skip to content

Repository files navigation

Mathematical Surprises

250+ interactive mathematical visualizations, in a single self-contained web page.

Live demo — open on any device

No install, no build step, no backend. Open the link on your laptop or your phone and every visualization runs live in the browser, driven entirely by Canvas + vanilla JavaScript.


What's inside

Each entry is a real, interactive simulation — not a static image. Drag sliders, change parameters, watch the picture redraw in real time. Every one ships with the equation behind it and a short write-up of why it's surprising.

Pack Theme Count
1 Fractal Worlds — Mandelbrot family, Burning Ship, Tricorn, Multibrot 10
2 Chaos & Dynamics — bifurcation, Lorenz-style attractors, Chirikov map 10
3 Number Theory — primes, Collatz, Farey sequences, Gaussian primes 10
4 Curves & Geometry — cycloids, epicycloids, Bézier, conic sections 10
5 Physics, Probability & Automata — Galton board, cellular automata, boids 10
6 The Final Seventeen 16
7 25 New Mathematical Visualizations 21
8 Number Theory Deep Dive 25
9 Number Theory II 22
10 Integral Calculus 25
11 Differential Calculus 25
12 33 New Visualizations 33
core Foundational pieces built into the main page 33

A few favorites to start with: Burning Ship Fractal, Buddhabrot, Double Pendulum, Chladni Patterns, Coprime Lattice & 6/π², Fourier Epicycles, Apollonian Gasket, Abelian Sandpile.

Running it locally

# just open it — everything is static
launch.bat          # Windows: opens index.html in your default browser
# or
python -m http.server 8000   # then visit http://localhost:8000

How this was built

Built collaboratively across three models, each doing what it's best at:

  • Fable 5 — visualization design and the "why is this surprising" narrative for each entry
  • Opus — architecture, the core rendering engine, and the larger/more delicate simulations (fractals, PDE-style patterns, physics)
  • Qwen3-Max — bulk generation of additional visualization packs

All under Claude Code, orchestrating the three.

License

Personal project — explore, fork, and adapt freely.

About

Interactive mathematical & physics visualizations

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages