Closed AnasQiblawi closed 1 year ago
Hi Anas, thanks for the nice Enhancements. There was an earlier Enhancement which I have accepted and now may conflict with your changes. The JavaScript code is getting crazy it may top-up the C++ version at some point :) Thanks again for your contribution
Hi @hunar4321, thanks for your reply, Yup, I've noticed the other pull request and I really loved it, it was so good and interesting.
add Random Rules generator function:
RandomRules( ["yellow", "red", "green", "#FFF"], 5)
range=5
, will give randoms between-5 to 5
)Atoms drawing points are now centered around its coordinates.
Optimize velocityFactor & RandomRules() values to get interesting formations more often
0.5 to 0.1
to stabilize atoms and get interesting formations more often.applyRules() function is now called after cleaning canvas from previous drawing session.
add a function that will draw lines between atoms that are attracted to each other (activate manually if needed)