Playables
WebGL Fluid Simulation
Simulation
Swirl colorful smoke-like fluid around the screen and tweak the physics, bloom and colors.
This is a toy with no goal, score or ending. The screen is a tank of simulated fluid that starts with a few random bursts of colored dye. Drag across it to inject dye and push the fluid the way you move, then watch the colors swirl, mix and fade.
A panel of controls changes how the fluid behaves. Density diffusion sets how quickly the dye fades, velocity diffusion sets how soon the motion dies down, vorticity controls how much the flow curls, and splat radius sets the size of each burst. Bloom and sunrays are lighting effects that can be switched off, and the capture section saves a screenshot.
How to play
Click and drag to push the fluid. Press Space for random splats, P to pause, and use the panel to change settings.
Tips
- Set density diffusion to 0 and the dye stops fading, so the tank slowly fills with color.
- Each press of Space adds between 5 and 24 bursts at once.
- On a touch screen every finger pushes its own stream.
Credits
By Pavel Dobryakov · Original credits · Source: github.com
More Simulation Playables
- LOOPY: Draw circles and arrows to model a system, then press play and watch changes ripple around the loops.
- Kubernetes Cluster Simulation: Run a Kubernetes cluster in 3D: deploy pods and services, scale them and fix incidents such as crash loops before they spread.
- Parable of the Polygons: Move triangles and squares between neighborhoods and watch how small personal preferences can add up to a divided town.
- Particle Clicker: Click the detector to collect data, hire students and researchers and work through the history of particle physics discoveries.
- Wisdom & Madness of Crowds: Draw connections between people and watch ideas and habits spread through the network you build.
- Conway’s Life: Draw cells and run Conway’s rules at huge speeds, or load classic patterns such as gliders, guns and spaceships.
- Fireflies: Watch a swarm of fireflies learn to blink in sync, then change the rules to see how order appears without a leader.
- Unicorn Tycoon: Turn a green field into a happy park in thirteen days with rides, snack stands and rainbow-beam repairs.