Each small particle only interacts with the large "sun" objects rather than with all the other particles. This is a less accurate simulation but it allows many more particles to be simulated. Click to place more "sun" objects, or click one to remove it.
This is based on some Coding Train videos (here and here and here) by Daniel Shiffman.
All Gravity 2D apps:
© 2024 Phil Thompson
‧
All Rights Reserved
‧
Terms
‧
Privacy Policy
‧
Disclaimer
About
‧
Archive
‧
GitHub
‧
Tip Jar
‧
RSS