Orbits Simulation
This is a Orbits simulations with n bodys in the tridimensional space, any force over of gravitational attraction was disregarded. The simulation try emulate the collisions with the bodys, but I dont have certain wether this is right, enjoy fun
- Mouse Left Button: Create a body
- Left Button + Scroll: Set body radius.
- X + Scroll or X + Mouse Right Button: Move body in x axe.
- Y + Scroll or Y + Mouse Right Button: Move body in y axe.
- Z + Scroll or Z + Mouse Right Button: Move body in z axe.
- C: Change the body color.
- Enter: Complete the body creation.
- Left Button + Scroll: Set body radius.
- Mouse Right Button: Rotate the space visualization.
- Scroll: Scale the space visualization.
- P: Change between perspective or orthographic projection.
- G: Generate the bodys with random position, mass and color.
- M: Enable or disable the gravity in simulation before generate the bodys, dont work after generate bodys.
- V: Change the visualization axis state.
- R: Restart the program.
- Arrow Keys: In orthographic perspective it rotate the space visualization, in perspective projection it change vision field.
I try use the makefiles to compile my code but I dont know what happened that this dont work, so I was crying in the bathroom. You can try compile of manual way with the commands in compile.txt file, good luck.
This dont work here, unfortunaly ;-;