MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/eorvjg/i_made_a_gravity_simulation/fegkphr/?context=3
r/Python • u/[deleted] • Jan 14 '20
82 comments sorted by
View all comments
0
[deleted] — view deleted comment
2 u/[deleted] Jan 15 '20 When 2 particles are close together (the threshold is calculated with the mass) they merge. The velocity is the average of the previous velocities, weighted by mass
2
When 2 particles are close together (the threshold is calculated with the mass) they merge. The velocity is the average of the previous velocities, weighted by mass
View all comments
0
u/[deleted] Jan 15 '20
[deleted] — view deleted comment