Drag the bob, release it and watch energy swap between potential and kinetic forms until damping turns it into heat.
The science
"Spiritual energy" is not a measurable physical quantity, so this simulation uses the physical part of the idea: how a single swinging mass trades potential and kinetic energy. Treat the slow swing as a calm picture of conservation and loss, not as a claim about spiritual forces.
Equation of motion (nonlinear, damped): θ″ = −(g/L) sinθ − γθ′, integrated with fixed-step RK4 (1 ms sub-steps, independent of frame rate). Energies: PE = mgL(1−cosθ), KE = ½mL²θ′². Without damping PE+KE is constant; with damping the loss equals the work done by the drag torque.
Small-angle period T0 = 2π√(L/g); the exact period for amplitude θ0 is T = T0 / AGM(1, cos(θ0/2)). Damped amplitude falls as e−γt/2. Simplifications: point mass, massless rigid string, linear (viscous) damping, no pivot friction. Mass does not change the motion (equivalence of inertial and gravitational mass) but scales the energies.
Educational model; a Canvas-only 2D simulation (no Blender assets).