Skip to content

Simulating gravity in a solar system, using C++ and SFML

Notifications You must be signed in to change notification settings

rabdiego/gravity-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravity Simulation

Simulating gravity in a solar system, using C++ and SFML

image

Name Gravity Simulation
Made in May 2022
Language used C++
Libraries used SFML, cmath, vector, ctime
Programs used VSCode

How to use

This program was compiled on Pop!-OS 22.04, using gcc. You may have to recompile it in order to run the program. If that is the case, you must need the SFML library installed.

To place a planet, point at some location with your mouse, and then press any mouse button.


All code was made by me.

About

Simulating gravity in a solar system, using C++ and SFML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages