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:

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s