issues
search
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
flatten rulesArray[] further
#49
Closed
skal65535
closed
1 year ago
skal65535
commented
1 year ago
Using a 1-dim array instead of 2-dim one (~10-20% faster)
also store the squared cut-off distance in radii2Array[], since that's what we need in the loop
misc syntactic nits