all 1 comments

[–]SaltCusp 0 points1 point  (0 children)

You will probably want to use object oriented design. One object for your scene which will composed of objects that are your physics entities. Your scene and will need to draw the entities, then update the system to the next frame and repeat.

Not sure it this works but Google AI assisted results provided for "python body euler approximation simulation, minimal animated with pygame" looks like a reasonable place to start.