r3f-learning-01

SHOWCASE · PLAYGROUND

Physics Playground

A satisfying physics toy. Rapier rigid bodies stack into a 3×3×3 grid; click any cube to launch it along the camera-forward vector with random magnitude and torque. Hit reset to rebuild the world (key-prop change on <Physics> — Rapier's WASM is loaded once, only the world is rebuilt).

Click any cube to launch it. Drag to orbit, scroll to zoom.

Where it shows up: Bruno Simon's portfolio (drivable car), product-launch microsites with physics gimmicks (e.g. clickable confetti dumps), interactive 404 pages. The pattern reads as "this site has personality" without needing a narrative.

Why it works: physics is universally understood. A user clicks a cube, the cube flies — the brain rewards the predictable feedback even when the site has no real purpose for it. Couples well with audio cues for the "app feels alive" effect.

Variations: drag-to-throw with screen-space velocity; replace cubes with a glTF model (logo, mascot, product); add joints for chains/rope; couple with sound (per-impact sample).