Physics and nature simulations

These simulations run textbook models of the physical and living world in the browser. Each one follows a published model, so what you see is the behavior of that system, simplified to run in real time or faster.

Ink & Smoke Fluid solves Jos Stam's stable-fluids equations on your graphics card, Gravity Sandbox integrates Newtonian orbits, Cloth & Rope links particles with springs you can tear, and Falling Sand mixes dozens of elements that burn, melt and grow. Crystal & Lightning Growth uses diffusion-limited aggregation, Sandpile Avalanches the Bak–Tang–Wiesenfeld model of self-organized criticality, and Oscillating Reaction a chemical clock. Living systems are here too: Forest Fire & Regrowth runs the Drossel–Schwabl model, in which trees regrow, lightning strikes and fires of every size burn, and Tree Growth grows branches toward the light by space colonization. Animals have a category of their own, Animal Behavior, and so do crowds, traffic and epidemics, People & Traffic.

Four tools follow air, water and radio waves. Wi-Fi Signal Map maps a router's signal through a floor plan's walls with the free-space loss of Harald Friis (1946) and the wall losses of ITU-R P.2040. Room Airflow & Smoke blows wind through windows and a door with Stam's stable fluids and times how long smoke takes to clear. Cloud Formation warms the ground until thermals rise and condense into cumulus, a stratus deck, a cap cloud over a hill or a storm that rains. River Flood floods a valley with the shallow-water equations, times when the water reaches each house, and checks a dam break against August Ritter's exact solution of 1892.

Change a setting while a simulation runs to see cause and effect, read the live charts, and record a video or GIF in most of them.

13 Physics & Nature tools

Frequently asked questions

Are these simulations scientifically accurate?

They implement the published models they're named after, with the same rules and equations, simplified to run in real time in a browser. They're good for building intuition and for teaching, but they aren't calibrated for engineering or medical decisions.

Do they work on phones?

Yes. The simulations run in mobile browsers, and you can touch the canvas wherever a tool takes input, such as painting sand or stirring fluid. Very large grids run fastest on a desktop.

What is self-organized criticality?

A state some systems drift into on their own, where events of every size happen and their sizes follow a power law. The sandpile and forest-fire simulations are classic examples.

More categories