A procedural side-view Rube-Goldberg course ā ramps, two logarithmic spiral chutes, a narrowing funnel spiral and a torque-driven see-saw. Each marble tracks an arc-length position along two polyline paths; its speed each frame is integrated from the local track slope (gravity along the tangent) minus a velocity-proportional friction term.