Fluid Dynamics: The Math Behind Paint Swirls
Watch math flow like water
Watch math flow like water
A fluid is made of tiny particles that push and pull each other. Move your mouse to disturb the flow. Watch how particles carry momentum and create patterns.
Move your mouse across the canvas to push the particles.
Viscosity is a fluid's resistance to flow. High viscosity = thick and slow (honey). Low viscosity = thin and fast (water). Drag the slider to change viscosity and see how the flow changes.
When fluid flows past an obstacle, it creates spinning vortices behind it. At low speed the flow is smooth (laminar). At high speed it becomes chaotic (turbulent). Adjust the flow speed to see the transition.
Low speed: laminar flow. Particles move in smooth parallel lines.
Turbulence is so hard to predict that physicist Richard Feynman called it "the most important unsolved problem of classical physics." A $1 million Millennium Prize awaits anyone who can prove the Navier-Stokes equations always have smooth solutions.
The same math that makes paint swirl powers critical simulations across science and engineering.
The atmosphere is a fluid. Weather models solve fluid dynamics equations on a global grid to predict wind, rain, and storms days in advance.
Car and aircraft design uses computational fluid dynamics (CFD) to simulate airflow, reduce drag, and optimize fuel efficiency without building physical prototypes.
Every ocean wave, smoke plume, and lava flow in visual effects is a fluid simulation. Films like "Moana" used millions of CPU hours to simulate water.
Artists use fluid simulations to create organic, unpredictable patterns. No two runs produce the same result, making each piece unique.
You've explored how simple rules about velocity and pressure create the complex, beautiful patterns of flowing fluids. The same math that swirls paint powers weather forecasts, aerodynamics, and ocean simulations.
Every fluid obeys conservation of mass and momentum. What looks chaotic is actually deterministic math running at every point in space.
Honey has high viscosity (resists flow). Water has low viscosity (flows easily). Viscosity determines whether fluid moves smoothly or creates swirls.
When fluid moves fast enough, smooth flow breaks into chaotic eddies and vortices. Predicting turbulence is one of the hardest unsolved problems in physics.
Real fluid math (Navier-Stokes equations) is too complex to solve exactly. Computers divide space into a grid and approximate the answer, updating millions of cells per frame.
Put your new knowledge into practice!