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
simplify background_color
#50
Closed
skal65535
closed
1 year ago
skal65535
commented
1 year ago
'active' was not really needed, just need to check if the background.color isn't black before fillRect().
also reserve drawSquare() for particle drawing, with same signature as drawCircle(), for coherence