Projects

Solar System Simulator

C++
C
OpenGL

3D simulation of the solar system within an interspecialty project

Solar System Simulator

For this project, we were made up of a group of 5 students, including 3 in the IT specialty, and 2 in the electronics and robotic systems specialty. The instruction given was to choose a scientific subject that could be represented on a graphical interface, and requiring the use of physics. We then decided to work on a representation of the solar system, with all the planets orbiting the Sun.

We therefore did research on the different astrophysical formulas, and recovered all the characteristics of the stars, such as their gravity, their mass... From this data and mathematical calculations, we ended up succeeding in generating a natural movement of these stars around the sun.

Then, the most interesting part was to see the evolution of the movement of the planets, when we varied the mass of the sun. By reducing its mass, we could clearly see the planets leaving their orbit and moving away into space. Conversely, by increasing the mass of the Sun, the planets were drawn toward it.

Finally, we added an asteroid, launched towards the solar system, in order to see its behavior and manage possible collisions linked to its trajectory.

The project sources are available on my Github