Grasshopper

algorithmic modeling for Rhino

Another simulation type for my network strategy in me thesis project. This is based on agents depositing pheromones, that others then follow. The logic is essentially wander around, if you smell pheromones then follow them. The logic is similar to the way in which ants forage for food.

Views: 930

Comment

You need to be a member of Grasshopper to add comments!

Comment by David Rutten on November 1, 2013 at 9:31am

Hi Jens,

if you create a pixel image which stores scent density (black = no scent, white = strong scent) you can probably speed this algorithm up significantly. It also allows you to simulate slowly dissipating smells (blurring) and smooth scent decay (darken).

The speed increase is because every ant only has to sample the 9 surrounding pixels to get a direction gradient. You do of course get a slightly lower accuracy depending on the size of your pixels, but then the same is true in real life.

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service