NetLogo User Community Models
(back to the NetLogo User Community Models)
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".(The run link is disabled for this model because it was made in a version prior to NetLogo 6.0, which NetLogo Web requires.)
Flood Fill is a way of finding the shortest path around walls and other objects.
Think about it like the diffusion of sound through a building with thick walls. The sound will travel through different areas if the doors are open, but will lose volume and clarity as it goes. As a result, you'll hear it loudest by the shortest path.
Possible uses: Mazes, Object Navigation, Egress
HILLS AND VALLEYS
A simple editor to create terrains.
This seeds hills and valleys when you click on their respective buttons, and the "Smooth" button does just that, after you've seeded your terrain. The lower your "smoothness" setting, the sharper and steeper your terrain, the higher the setting, the rounder and more gradual.
As written in this program, the Terrain doesn't cooperate with the Flood Fill, or with Drawing.
Possible Uses: Hill Climbers, Changing Speeds based on Up/Downhill, Water Flow
This lets you use your mouse to change the colors of patches.
Changing patch colors on the fly, drawing specific shapes, etc. is more than difficult if you have to figure out which patches you'd like to change, and then go into the code to tell each of them to do so. Here's a solution to needing a patch interface.
Possible Uses: Game of Life, Mazes, Egress
I always like to hear about improvements to and applications for my work:
More models I've made can be found here: