[specimen · calm field]
MARBLE RUN
Roll a physics marble through a procedural course, a camera chasing behind you.
[Vertical Slice]
[ READY ]
[ 01 ]BriefExperience
First physics
Learning Three.js by rolling a ball downhill.
Marble Run is from when I first picked up Three.js — a physics and game-feel exercise. You roll a marble through a procedurally-built course with a camera following behind; Rapier does the real physics work. Nothing clever in the concept — the point was learning to make a physical thing move, and feel right, in a 3D space.
[ 02 ]Build Log5 Milestones
- P1Rapier rigid-body marble + static colliders
- P2Procedural block course (seeded, replayable)
- P3Third-person follow-cam (shared-camera mutation)
- P4Jump — ray-cast ground check
- P5Shadow maps · marble trail · mobile controls
[ 03 ]Stack4 Layers
Three.jsR3FRapierProcedural
[ 04 ]Inputs
WASD / ARROWSRoll
SPACEJump