© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. Li, A. NakanoSimulation with Pythonhttps://doi.org/10.1007/978-1-4842-8185-7_4

4. Balls in a 2-D Box, a Simple Physics Engine

Rongpeng Li1   and Aiichiro Nakano1
(1)
Los Angeles, CA, USA
 

If you are a gaming fan or an anime fan, you probably heard about the term physics engine. When you play Kratos in the God of War, his axes interact with the enemies and the environment. You feel that such interaction is real, and his axes are indeed heavy and metal-like. What you are actually controlling is just a playstation controller, but the impression is on another level. Here, physics engines are responsible for creating such feelings of being in a physical world. ...

Get Simulation with Python: Develop Simulation and Modeling in Natural Sciences, Engineering, and Social Sciences now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.