Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Implementations in Unity of the Ten Minute Physics YouTube channel. Instead of using Unity's built-in physics engine, you will learn how to make your own XPBD based physics engine. This is useful if you want to simulate ropes, cloth, tires, etc. You will also learn how to make fluid simulations and soft body physics.
| Date | Stars |
|---|---|
| 2026-07-25 | 354 |
| 2026-07-28 | 354 |
| 2026-07-30 | 354 |
| 2026-08-06 | 354 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# Ten Minute Physics in Unity Implementations in Unity of the YouTube channel [Ten Minute Physics](https://matthias-research.github.io/pages/tenMinutePhysics/). My contribution is that I have translated the code from mainly JavaScript to C#, and I have commented the code to make it easier to understand what's going on. I have also fixed a few minor bugs and improved the performance. ## 1-2. Cannon ball Simulate a bouncy cannon ball. <img src="/_media/01-bouncy-ball.png" width="400"> ## 3. Billiard Simulate billiard balls with different size and mass. Watch this YouTube video for examples: [](https://www.youtube.com/watch?v=ErsK2osLkQU) ## 4. Pinball Simulate a pinball game. <img src="/_media/04-pinball.png" width="400"> ## 5. Beads on wire Simulate beads attached to a circular wire. <img src="/_media/05-beads-on-wire.png" width="400"> ## 6. Pendulums Simulate the chaotic behavior of pendulums with as many arms as you want and where each arm can have different mass. With many arms you get a rope or hair! Watch these YouTube videos for examples: [](https://www.youtube.com/watch?v=GqGHz6gtakY) [](https://www.youtube.com/watch?v=jMDiP7mhEx0) ## 7. 3d Vector Math for Simulation Nothing to simulate ## 8. Interaction Catch and throw a ball with your mouse. <img src="/_media/08-user-interaction.png" width="400"> ## 9. Getting ready to simulate the world with XPBD Nothing to simulate ## 10. Soft body physics Simple unbreakable soft body bunny physics. You can flatten it and throw it around with your mouse. <img src="/_media/10-soft-body.gif" width="400"> ## 11. Find overlaps among objects Find overlaps among thousands of objects blazing fast. Implements a version of the [Spatial Partitioning design pattern](https://github.com/Habrador/Unity-Programming-Patterns) called "Spatial Hashing" which is really useful if you have an unbounded grid. <img src="/_media/11-spatial-hashing.png" width="400"> ## 12. Optimized soft body physics (TODO) Is not optimizing the code from #11, but is showing how you can use a more detailed mesh and make that faster. You use two meshes: one with fewer triangles that is tetrahedralized, and one with more triangles, and then they interract during the simulation. ## 13. Tetrahedralizer (TODO) Implemetation of an algorithm that splits a mesh into tetrahedrons. Will be available here when finished: [Open source Computational Geometry library](https://github.com/Habrador/Computational-geometry) ## 14. Cloth simulation Basic cloth simulation. <img src="/_media/14-cloth-simulation.gif" width="400"> ## 15. Cloth self-collisions TODO ## 16. Simulation on the GPU TODO ## 17. Eulerian Fluid Simulator with 200 lines of code Spoiler: It's just the simulation part that's 200 lines of code. You need a few more lines of code to set it up, display it on screen, etc. Watch this YouTube video for examples: [](https://www.youtube.com/watch?v=6Jw1CsTOkDg) ## 18. FLIP Water Simulator <img src="/_media/18-flip-fluid.jpg" width="400"> ## 19. Differential equations and calculus from scratch Simulate a car showing the graphs of distance, velocity, and acceleration. <img src="/_media/19-car.png" width="400"> Display the Julia set and Mandelbrot fractals <img src="/_media/19-fractals.png" width="400"> ## 20. Height-field water simulation Simulate a swimming pool with balls. <img src="/_media/20-heightfield.gif" width="400"> ## 21. Fire simulator TODO ## 22. Basic rigid body simulator Simulating rigid bodies in 3d using XPBD (Extended Position Based Dynamics) physics simulation. <img src="/_media/22-basic-
Excerpt of 5,580 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:152bf7e89c99c4fd, topic:simulation