Press escape to exit fullscreen

{{sketch.instructions}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Click capture
to take a screenshot

Ant Colony Pheromone Simulation

{{$t('general.by')}}
They leave pheromone trails to home and to food. You can click to add food. Suggestions and forks welcome! I would like to add collision detection, obstacles, and a pheromone pen and eraser. I was wondering why my ants were making zigzag paths instead of straight lines to the food, but then I remembered that they can travel faster diagonally (1,1) than straight (0,1)... so they _are_ making an optimal path in their pixel-constrained world. I'm so proud of the little buggers. Timelapse: http://www.youtube.com/watch?v=41fbig0tlPs
{{$t('general.eg',["mouse, keyboard"])}}
{{$t('general.eg',["visualization, fractal, mouse"])}}
{{$t('general.learnMoreAbout')}} Creative Commons
{{$t('general.joinPlus')}}
{{$t('sketch.privateURLDescription')}}
{{$t('sketch.privateURL-pleaseSave')}}
  • {{v.title}}

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}