Skip to content

A n-body particle simulator that simulates the gravitational effects of n point masses on each other

Notifications You must be signed in to change notification settings

ArhumJain/N-Body-Gravitation-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Body Gravitational Particle Simulator

Uses SSBO's and transform feedback for GPU accelerated, real-time physics. Can simualte attractions between 25000-30000 particles at 60 FPS on a GTX 1080.

No formal parameter tweaking system so if you want to experiment you can play with the values in the vertex shader (where all the physics computations goes down).

Compiled with MSVC 2022 (Only on Windows 10) and support for OpenGL 4.3 and higher.

Controls

  • WASD - move around
  • Space - move up
  • Ctrl - move down
  • Shift - speed up
  • Mouse to look around

demo1

demo2

About

A n-body particle simulator that simulates the gravitational effects of n point masses on each other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages