What is this?
A cart on a rail carries a pendulum. Drag the bob to set an angle, then release
to drop it. Friction at the pivot (cP) and rail (cR) bleeds energy away, so
the swing decays over time. The damping regime depends on the damping ratio
ζ: ζ<1 is underdamped (it oscillates while decaying), ζ=1 is
critically damped (fastest return without overshoot), ζ>1 is overdamped
(slow, no oscillation). Critical occurs at cP = 2·√(g·L). The Motor uses a small
neural network that learns in the background (hill-climbing) to actively push the cart and
cancel the swing — turn it ON to watch the learned policy stabilize the pendulum.