An open API service indexing awesome lists of open source software.

https://github.com/diqezit/physicsdemo

physics simulator
https://github.com/diqezit/physicsdemo

ball csharp physics physics-simulation rotating wpf

Last synced: about 2 months ago
JSON representation

physics simulator

Awesome Lists containing this project

README

        

At startup opens a window with a choice of figure (square, triangle, pentagon).
In the selected container (figure), which rotates, a simple physics engine is modeled for a circle (considered as a ball with a fixed radius).
At each frame, the position of the circle is updated to account for gravity
(which remains constant in world coordinates) and collisions with the boundaries of the rotating container are handled.
![image](https://github.com/user-attachments/assets/6e344030-b37f-4e3f-846d-ca2fa60e83ce)