Building a Gravity Physics Simulator in Java
5/10/2026: Started building a gravity simulator in Java using JavaFX. Right now it spawns a ball that falls under gravity and bounces off the walls with a bit of energy loss each bounce. Next I want to get multiple balls working and eventually have them collide with each other.
Check out the code on GitHub.