A simulation of gravitationally bound particles with an interactable graphical user interface.
LEFT MOUSE BUTTON
- hold and drag the cursor around to move the cameraRIGHT MOUSE BUTTON
- spawn a new particle at the location of the cursorSCROLL WHEEL
- zoom in/out on the position of the cursorLEFT SHIFT
- hold to increase camera movement and zoom speedW
A
S
D
or↑
←
↓
→
- move the camera using the keyboardC
- toggle tracking of center of mass (any camera movement except zooming will also disengage this mode)G
- toggle anti-aliasing (can reduce performance)ESC
- exit the application
/
- main components of the application like the viewport or input handling/calculators/
- methods for calculating forces applying on simulation particles, currently just the O(n^2) strategy of comparing all particle pairs is implemented/integrators/
- methods for translating calculated forces into particle movements over the timespan of the simulation, currently Euler with Leapfrog or its variants planned in the future/models/
- objects for holding the state of various parts of the system like particles or camera