Ten Minute Physics

This is the page accompanying my youtube channel Ten Minute Phyics. In short episodes of about ten minutes I explain the basic concepts of physically based simulation. Each time I write a little javascript demo that runs in any browswer.

Youtube Contributions Back

Contributions

Write a cool standalone html demo based on one of the tutorials. Send me the html file, your name, country, short description and a thumbnail (640 x 360) to matthimf at gmail dot com. If you like you can also send me a link to your personal page. I will then put your contribution online here.

Tutorials

Many more to come - stay tuned!
09 Getting ready to simulate the world with XPBD
In this tutorial I introduce general extended position based dynamics or XPBD, a simple and unbreakable method to simulate almost everything. The tutorial is self contained. However, I highly recommend to watch tutorial 7 first to refresh your 3d math.
Video Notes (PDF)
08 Providing user interaction with a 3d scene
In this tutorial I show how to enable the user to pick up move and throw objects in a 3d scene. For this I introduce the concepts of a mouse ray and ray casting.
Video Code Demo
07 Intuitive 3d Vector Math for Simulation
I give an introduction to 3d vector math, the math that we need to write 3d simulations. In the compact presentation I focus on the part used in simulations. In addition to the definitions of the concepts, I explain my personal intuitions behind the concepts which I developed over time.
Video Notes (PDF)
06 Writing a triple pendulum simulation is simple
I show you how to handle hard distance constraints with Position based dynamics. They can be used to simulate a large variety of objects like cloth, ropes, hair, fur, sand and many more. To demonstrate the accuracy of PBD we will write a triple pendulum simulation.
Video Short Code Short Demo       Code Demo      
05 The simplest possible physics simulation method
I introduce the Position Based Dynamics method to simulate constraints. I apply it to the circle on wire problem and compare it to the analytic solution to demonstrate its accuracy.
Video Code Demo       Code Demo      
04 How to write a pinball simulation
I show you how to handle ball - capsule collisions and collisions against arbitrary boundaries represented by segments. I also show how to handle touch and mouse events.
Video Code Demo      
03 - Ball collision handling in 2d
I show how to handle collisions of balls in 2d while creating a billiard scene.
Video Code Demo      
02 - Introduction to 3d and VR web browser physics
We make our cannonball 3d and turn it into a VR demo using the graphics engine THREE.js.
Video Code Demo       VR Code VR Demo      
01 - Introduction to 2d web browser physics
I give a brief intoduction to this channel and to physics. After that we write a 2d cannonball simulation.
Video Code Demo