Integration Techniques for Physics Simulations

Simon has made a visual about what he calls “three different ways to make a physics simulation”:

Blue: Modified Euler Integration (aka Backward Euler Integration);

Green: Euler Integration (aka Forward Euler Integration);

Red: Kinematic Equations;

In this situation, the kinematic equations give the same results as Runge-Kutta integration.

Simon’s Code: https://editor.p5js.org/simontiger/sketches/Ftv4vZyjm

Simon discussing the idea with The Coding Train’s Daniel Shiffman on Discord:

Leave a comment