explicit Eulersemi-implicit Eulervelocity VerletRK4
Couldn't start the 3D scene.

Game Physics Integrators: Explicit Euler, Semi-Implicit Euler, Verlet and RK4 Energy Drift at Frame Rate

Four identical springs are stepped with four different integrators at a chosen frame rate: explicit Euler, semi-implicit (symplectic) Euler, velocity Verlet and fourth-order Runge-Kutta, next to the exact solution. Change the spring frequency, the frame rate and the damping and watch explicit Euler gain energy and blow up while the symplectic methods stay bounded. Growth factors, conserved shadow energy and convergence orders are checked numerically.

Made with 🟠 Blender · Three.js