Math Visualizer
Interactive visualizations of mathematical systems: stochastic processes, algorithms, graph structures, dynamical systems and more. Every run is seeded, so a link reproduces exactly what you saw.
The project is open source under the Apache License 2.0 and built to make adding a new visualization straightforward. View the source on GitHub or read how it works.
Visualizations
- Probabilityintroductory2D
2D Random Walk
Independent walkers take fixed-length steps in uniformly random directions. Watch the cloud spread like the square root of time.
- Probabilityintermediate2D
Site Percolation
Open the sites of a grid one at a time, at random, and watch clusters merge until one suddenly connects top to bottom near p ≈ 0.593.
- Dynamical systemsintermediate3D
Lorenz Attractor
Hundreds of trajectories start almost at the same point, then spread across the butterfly-shaped Lorenz attractor. Drag to rotate.
- Statistical mechanicsintermediate2D
Ising Model
Tiny magnets on a grid try to align with their neighbors while heat flips them at random. Cool the grid below the critical temperature, about 2.269, and it magnetizes.
- Statistical mechanicsintermediate2D
Potts Model
Each site on a grid takes one of q colors and prefers to match its neighbors. With up to 4 colors the order melts gradually at the critical temperature; with more it breaks abruptly.