The ants wander around randomly until a piece of food is in its field of view. It then points towards the food and picks it up. If it lags use turbowarp https://turbowarp.org/769859664
I was watching (pezza's work) videos and stumbled upon an ant simulation. I thought I would make my own. All code is mine.