Courses/CS 461/Winter 2007/Edward Chou/Week 2

From CSWiki

Jump to: navigation, search

I tried these 3 NetLogo models, Optical Illusions, Ant lines, and Fire.

Optical Illusions

In this model, the black and white squares creates an illusion that lines between them being not parallel.

The rules are: arrange the rows of black and white squares so that they don't match.

The rules is based on some psychological properties of human perception.


Ant lines

In this model, the ants that follow its leader create a path which is the shorter route to the destination.

The rules are: leader ant moves go in a random path to find food, after a delay, each ants would follow ant in front of them.

After leader first go to look for food, after a delay, the ant after leader will take a short path because of the extra the leader is taking. If the longer ants line, and longer delay, the ants in the back could find a more direct route to the food.


Fire

In this model, it simulates spread of fire in a forest.

The rules are: fire can spread in four directions, north, east, south, and west. In order for the fire to spread to neighboring trees, there must be a tree in one of the 4 directions.

Personal tools