force fields

Turtles are moving in a field of forces calculated according to a pretty arbitrary made up formula. This formula can be changed to obtain other interesting graphical effects or to test more realistic scenarios.
Turtles have a small mass and closely follow the field lines. There is also a small loss coefficient to keep the numerical behaviour stable.

Have a good time with modifications!

download project