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
- Host: GitHub
- URL: https://github.com/diqezit/physicsdemo
- Owner: diqezit
- License: mit
- Created: 2025-02-02T16:22:20.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-02-03T19:14:48.000Z (4 months ago)
- Last Synced: 2025-02-12T06:39:10.597Z (4 months ago)
- Topics: ball, csharp, physics, physics-simulation, rotating, wpf
- Language: C#
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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.
