Cosmos — interactive physics simulation hub
Every simulation is the same swarm of charges obeying different laws. Scroll to change the physics — or open the lab and take the controls.
Every point pulls on every other.
Orbits wind tight near the centre and drift wide at the edge — Kepler’s shear, live. The spiral arms are density waves, not rigid spokes.
Many sources. One field.
Coherent emitters drift across a lattice seen in perspective. Ridges and nodes emerge where they reinforce and cancel. Disturb it and watch it heal.
Lines of force, made visible.
Field lines are traced with a second-order Runge–Kutta integrator every frame, and charges stream along them. Line density is field strength. Flip a charge and the topology snaps.
A cylinder, a current, a vortex street.
Potential flow around a cylinder, plus a von Kármán street of point vortices shed at the Strouhal frequency and summed with Biot–Savart. Tracers reveal the wake.
Where the electron probably is.
Each point is a sample of the hydrogen probability density, drawn by rejection sampling. Colour marks the sign of the wavefunction — and points don’t move, they jump.
Same law. Nearly the same start. Nowhere near the same fate.
Thousands of points, born almost together, trace out the Lorenz butterfly without ever repeating — viewed in a slowly turning 3D projection.
Heat is just motion, counted.
A Langevin bath drives the gas to the Maxwell–Boltzmann distribution — compare the live histogram with theory. The heavy grain performs Einstein’s 1905 random walk.
The whole laboratory.
Seven laws, one swarm. Open any simulation as a full lab with live controls, telemetry, screenshots and video capture — or drop in your own HTML simulations and run them sandboxed.