Get the Flash Player to see this content.
I tried creating a small eco system. The small dots are called food. The triangles are the second lowest on the food chain behind the food. The turquiose circles are in the middle of the food chain and only the large green circles can eat them. None of the same species will eat each other. The predators select the closest prey, symbolized by the white line, and accelerates in their direction, the larger predators moving slower. The prey will try to avoid the predators. The turquiose circles only move toward the closest prey, while the largest predators also apply a gravitational pull toward their prey, pulling in and moving toward their prey. The larger each object, the more gravitational force is applied.
Every time that a predator eats, his life is extended, however, if he does not eat enough, ahhhhh! He or she will explode and contribute back to the eco system, generating lil guys and food, based on their size.
Built with Processing

November 23, 2009 at 3:29 am
WOW really cool!
It’s my second day after i know about processing and i’m in shock what i can do … AMAZING things.
But i want to ask you a help or some recommends about learning this programm, if you can. Thnx!
November 23, 2009 at 7:50 am
Daniel Shiffman has some good tutorials online for learning Processing and animation techniques, titled The Nature of Code.
http://www.shiffman.net/teaching/nature/
December 11, 2009 at 10:14 am
THNX for Help!!!