Gravity simulation

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
darkfrei
Party member
Posts: 107
Joined: Sat Feb 08, 2020 11:09 pm

Gravity simulation

Post by darkfrei » Wed Nov 11, 2020 10:38 pm

Hi!

I've made small simulation of gravity. No collisions, but you can simulate up to 1000 bodies with up to 14 fps. Such big simulation need about half million of interactions with each other body.

By default only 30 bodies, relative huge gravitational constant.
Attachments
gravity-1-01.love
(1.36 KiB) Downloaded 90 times
2020-11-11T23_10_57-Gravity v1.01.png
2020-11-11T23_10_57-Gravity v1.01.png (32.71 KiB) Viewed 2640 times

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests