Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 375 Bytes

README.md

File metadata and controls

9 lines (9 loc) · 375 Bytes

physics-nbody

a simple nbody simulator for gravitation(newtons).

controls

  1. wasd - movement
  2. scrool - zoom
  3. left click - add particle

note

you can also run the python version but it will be very slow(300 particles for average fps on my intel celeron). the cpp one could handle to around 4000 particles on my celeron cpu. i might optimize it even more in future.