Someday, an enthomologist told me it was easy to modelise ants behaviour. I tried this...
Keyboard controls:
• Give birth to an ant in the anthill : "n" key
• Create a batch of ants on the playground : ["a" key + mouse] or touch drag
• Create a batch of food pieces : ["f" key" + mouse] or touch drag
• Create a unique red repulsive ant : "r" key
• Toggle the 'lift ant' fonction : "l" key
• Make all the ants turn : keyboard arrows
• Make all ants get back to the anthill : "h" key
• Make all ants stop for a short moment : "s" key
• Show carrying ants tracks : "k" key
• Toggle stop/start the animation : "space" key
• Toggle on/off debug console messages : "d" key
Touch controls:
• use the bottom buttons to handle ant / food creation by drag
• use the radial menu with long tap
• 2-fingers tap : toggle 'home' command
• double tap : toggle pause / resume