hunar4321 / particle-life

A simple program to simulate artificial life using attraction/reuplsion forces between many particles
MIT License
2.93k stars 291 forks source link

minor refactoring + features from js vesion #71

Closed ker2x closed 1 year ago

ker2x commented 1 year ago

i added many harmless refactoring, potentially beneficial to performance (many const)

ker2x commented 1 year ago

i just added gravity in the cpp code as well since there is a pull request for it on the html code.

ker2x commented 1 year ago