NetLogo User Community Models(back to the NetLogo User Community Models)
|
Download If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".
Try It in NetLogo Web
|
FLOOD FILL
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
DRAWING
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
CONTACT
I always like to hear about improvements to and applications for my work: Talaya White talayawhite@gmail.com
More models I've made can be found here: http://fiendconsulting.com/models.html
|