Projects
Java Practice
Java Gravity Simulation
A Java gravity sandbox with 2D and 3D simulation classes for practicing vectors, objects, and force integration.
Java
Physics
Simulation
Live: Local Java runCode: Local Java source
Why It Is Useful
The project is useful as a lower-level implementation exercise: it builds simulation pieces explicitly instead of relying on a browser sketching library.
Problem It Solves
Understanding a physics engine requires more than seeing motion; the object model, vectors, and update loop need to be built and debugged.
Real-World Applications
- Game physics engine foundations.
- Simulation code that separates models from rendering.
- Java practice around classes, packages, and reusable math utilities.
Concepts Used
- Object-oriented simulation design
- Vector classes
- 2D and 3D force integration
- Time-step update loops
Solution Used
- The source separates gravity objects, vectors, handlers, and simulation entry points.
- Forces update acceleration, velocity, and position over each step.
- The structure creates reusable pieces for expanding the simulation beyond one demo.