r/Python • • Jan 14 '20

I made a gravity simulation https://github.com/phgilde/gravity_simulation

1.8k Upvotes

82 comments sorted by

View all comments

6

u/tb33296 Jan 15 '20

Hey, OP, add rotation to the particles and update this please..

Liked it..

1

u/[deleted] Jan 15 '20

What do you mean by rotation?

2

u/billsil Jan 15 '20

He means a tangential velocity about some center point, so V x r.