Example Models

 

Home page


 

Click one of the pictures below to check out its accompanying model online or to download the Netlogo code.

 

Sharks are feeling snacky.

This is the first Netlogo model I made. The shark will swim back and forth and try to eat birds. If it eats enough, the shark becomes sated and dives to a lower depth until it is hungry again. Meanwhile, birds sometimes sink to the ocean floor where they can be eaten by octopi. Note that this model runs very slowly in the browser window- you should download the model to actually run it.

 

Hold birb gently like hamburger.

I made this simple model of genetic drift. Birds spawn on random landscapes and breed, transmitting their color to their offspring, which then disperse if there is available territory. There is a slight chance for colour mutation, but islands with high-connectivity tend to drift towards colour homogeneity. The more the landscape is broken up into individual islands, the more likely it is that there will be a variety of bird colours. This is almost guaranteed not to work in-browser- download the model file to see the colours change over generations.

Why not choose the middle?.

In this model, the turtles choose their "home range" based on relative food values of patches and the current distance to the patches- closer, more high value patches will be added to their habitat first. However, the turtles have to travel to each new patch they're claiming before they can truly claim it. Runs slowly in browser, download to actually run.

 

Splish splash.

This models flooding where patch "tanks" fill up and spill over into the next highest elevation level.

 

 

They just want to settle down.

This is a simple nesting model that I made to answer a question by Melimel. where agents move randomly through the landscape until they bump into any other turtle. Once that happens, the pair goes to a an unoccupied nest, represented by yellow patches.

 

Some snake guys looking for food.

A snake-inspired model in which agents move around the landscape until they get stuck on a "tail" or until all food circles have been eaten.