Attract and repel

Hi all!

After take several days and looking in the OF wiki and looking code, I had thought about starting with something “simple” based on attracting and repelling.

Know of any site web or code example to learn the various formulas process what involved in the process of “attracting and repelling”

Thank you very much for the information.
Greetings to all.

Daniel Shiffman has some great sample code in his nature of code series. It is in Processing, but can be easily translated to OF.

http://www.shiffman.net/teaching/nature/forces/

Yeah :slight_smile: thank you sooooo much NickHardeman.

And zachlieberman suggested this examples of shiffman ported to OF

http://bit.ly/d4lBmK

Cheers