Aman Rai Agrawal


Grasshopper projects

A portrait made by ants.

This algorithm mimics the movement of the ants looking for food. The algorithm initiates by bringing one ant to the canvas at a random xy coordinate. The ant can only survive if it gets the color(food) it was born with. Or it can also decay if it gets too old after 10 instances. The given statement is run n times to create an ant colony of n ants. The result is an emerging property that resembles a portrait made by ants.

ant sketch.jpg
Grasshopper Ant CreativeMutation.png