This fun and visual talk shows how to create a perfect (but impractical) physics engine in Python. The key is Python’s SymPy, a free package for computer algebra.

The physics engine turns parts of physics, mathematics, and even philosophy into Python programming. We’ll learn about:

Simulating 2-D Newtonian physics such as Newton’s Cradle and the two-ball drop
Having the computer solve math problems too hard for us to personally solve
The surprising (even to physicists) non-determinism of a billiards break
Thoughts on making the simulator more practical
If you are an enthusiast interested in what Python can do in other fields, or an expert interested in the limits of simulation and programming, this talk is for you!


Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: https://github.com/numfocus/YouTubeVideoTimestamps 


#pydata #python #py #data

Perfect Game Physics in Python: Achieving Infinite Precision
1.00 GEEK