![]() |
HeatBugsBy Sean Luke |
HeatBugs is a model originally developed on the Swarm toolkit. The environment is a toroidal 100x100 grid of "heat", populated with 100 "bugs" with built-in heaters which heat up their environment. The bugs prefer it to be not too warm and not too cold (the range differs from bug to bug), and will follow the gradient towards regions more to their liking. The heat diffuses and evaporates at the provided rate. We have set up various model parameters you might like to play with.
HeatBugs spends the large majority of its computer time in the diffusion of heat. Our version of HeatBugs optimizes this in two ways:
You might also try HexaBugs: HeatBugs on a hexagonal grid. Or try 3D HeatBugs: plain 2D HeatBugs displayed in a 3D fashion.