HappyBearLandia · WebGPU compute labAll demos ↗
Experiment 01 / Flow & motion

A field of possibilities.

Particle simulations

A thousand tiny trajectories, one GPU dispatch. Follow particles moving through a vortex field, with a local repulsion approximation and reflective walls.

Shape the field

Choose a starting point, then run your experiment.

Checking WebGPU…

Particle field

Seeded starting positions · run the experiment to reveal the flow.

Model & parallel workload

Each GPU invocation integrates one particle for the requested steps. It samples eight neighboring initial positions for a bounded local-repulsion approximation; this is not an all-pairs fluid solver. Particle colors show final speed.

Seeded, reproducible random inputs. GPU compute generates the results; Canvas 2D draws the chart after readback. WebGPU dispatch reference.