Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 279 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 279 Bytes

n-body in c and raylib

to add collision box add -DBOX and to add space curvature grid lines add -DGRID compile and run

$ cc -o 2d 2d.c -lraylib -lm -O2
$ ./2d <#particles> <arrangement> <mass>

there exist defaults the available arrangements are circle and random