PhysicsPopcorn

200 kernels rest in a hot bowl. While they sit on the heat, each one suddenly grows (its Circle.radius is mutated at runtime), gets a small upward kick and spin, then fluffs into a popcorn cloud. Kernels pop while they're inside the bowl or after they tumble out into the flame below it — anywhere else they just fall harmlessly back down. The kinematic bowl jiggles on every pop and the camera shakes with it.

Loading engine…
FPS: — Bodies: — Step: — Drag or tap the canvas to interact. Switch renderer with the 2D / 3D / PixiJS buttons.
GitHub

Engine features used

Dynamic ResizeImpulseKinematicEffects

Related guides

More demos

All Physics demos →