Secret sauce that brings YouTube followers, views, likes
Get Free YouTube Subscribers, Views and Likes

Verlet Integration

Follow
pikuma

This video explains Verlet integration and some other important numerical methods in the context of game programming.

We'll start by learning how numerical integration works. The first numerical integration we'll review is called Euler method, and it's a beginnerfriendly way of understanding about simulating movement.

Euler integration is the most basic numerical integration technique, and it is only 100% accurate when the rate of change is constant over the timestep. For example, if acceleration is constant, the integration of velocity is without error. However, we usually also integrate velocity to get position, and velocity is increasing due to acceleration. This means there is an error in the integrated position value!

Then, we'll proceed to talk about how Verlet integration is different from Euler, and why Verlet is a popular choice for systems with multiple objects constrained together.

Finally, we'll code a very simple Verlet simulation together using JavaScript.

Source code:
https://editor.p5js.org/gustavocp/ske...

Pikuma Blog on Verlet Integration and Cloth Physics Simulation:
https://pikuma.com/blog/verletintegr...

For comprehensive courses on computer science, retro programming, and mathematics, visit:
http://www.pikuma.com.

Also, don't forget to subscribe to receive updates and news about new lectures and tutorials:
   / @pikuma  

Enjoy!

posted by djjairopinedab4