Skip to content

AlexandrinoVM/gravitySimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gravity Simulator

A simple gravity simulator built in C++, using OpenGL, GLM, and SDL2.
The goal of this project is to experiment with basic physics and rendering to simulate gravitational attraction in 3D space.


Demo

Features

  • 🌍 Simple gravity simulation with spheres.
  • 🎥 Camera system to explore the environment.
  • ⚡ Built with OpenGL for rendering.
  • 🖥️ Uses SDL2 for window/context management.
  • 📐 GLM for math and transformations.

Requirements

Make sure you have the following installed on your system:

  • g++ (or another C++17+ compiler)
  • make
  • OpenGL
  • GLM
  • GLEW
  • GLFW
  • SDL2

Build & Run

# Inside the project folder
make
make run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages