NetLogo banner

 Home
 Download
 Resources
 Extensions
 FAQ
 References
 Contact Us

 Models:
 Library
 Community

 User Manuals:
 Web
 Printable
 Chinese
 Czech

Donate

NetLogo Models Library:
Curricular Models/Urban Suite

(back to the library)

Urban Suite - Cells

[screen shot] Run Urban Suite - Cells in your browser
uses NetLogo 4.1.3
requires Java 5 or higher
(system requirements)

Note: If you download the NetLogo application, every model in the Models Library (besides the Community Models) is included. If you have trouble running this model in your browser, you may wish to download the application instead.

WHAT IS IT?

This is a model of 2d cellular automata. It uses very simple rules to grow a form. These forms may be very complex, or highly regular.

HOW IT WORKS

At each step, each patch looks to see if it satisfies the rules defined for being turned on. The rule is defined by the NEIGHBORHOOD chooser and the N-COUNT chooser. If the number of currently turned on patches in the NEIGHBORHOOD around the patch is non-zero and also satisfies N-COUNT, then that patch has a chance to turn. The change to turn on is defined by the PROBABILITY slider. If AGE-LIMIT is non-zero, then any patches that have been turned on for more ticks than AGE-LIMIT will be turned off.

The patches color shows their age, with darker patches being older than lighter patches.

HOW TO USE IT

Press SETUP to clear the board and create the initial seed patch. Optionally, you may also press the RANDOM SEED button to create another seed in a random location.

Press the GO * 80 button and the model will run thru 80 ticks. You may also press the STEP button to advance the model a single tick. Lastly, the GO button will run the model an unlimited number of ticks, until it is pressed again.

The NEIGHBORS and N-COUNT choosers define the rule used to determine if a patch turns on or not, see the HOW IT WORKS section for details.

PROBABILITY is the chance a patch has of turning on if it satisfies the current rule.

AGE-LIMIT is the number of ticks a patch will stay turned on. If AGE-LIMIT is 0, then there is no AGE-LIMIT defined and turned on patches stay that way forever.

The CYCLE COLORS button will make all turned on patches to cycle their colors.

The LIVE CELLS plot is a plot of the patches that are turned on at each tick.

THINGS TO NOTICE

Which rules produce the most complex shape?

How many ticks does it take for the rules to fill up the world?

THINGS TO TRY

Some rules will result in a form that grows and fills the whole space, while others will have empty spots in them.

If you play with the PROBABILITY slider you can get asymmetrical forms, and also cause "mutations" in the growth of a form that would otherwise stop growing after a set number of ticks. Such mutations can grow to fill in more patches because of the irregularity.

EXTENDING THE MODEL

Add new neighborhoods to the NEIGHBORHOODS chooser. You can do this by writing a reporter with the same name as your new neighborhood and adding the name to the chooser.

NETLOGO FEATURES

The scale-color primitive is used to set the color of patches according to their age.

RELATED MODELS

This model is related to all of the other models in the "Urban Suite".

This model is also similar to the models in the Computer Science/Cellular Automata section of the NetLogo models library.

CREDITS AND REFERENCES

This model is based from the models described in chapter 2 of the book "Cities and Complexity" by Michael Batty.

Thanks to Craig Brozefsky for his work on this model.

The Urban Suite models were developed as part of the Procedural Modeling of Cities project, under the sponsorship of NSF ITR award 0326542, Electronic Arts & Maxis.

Please see the project web site ( http://ccl.northwestern.edu/cities/ ) for more information.

HOW TO CITE

If you mention this model in an academic publication, we ask that you include these citations for the model itself and for the NetLogo software:
- Wilensky, U. (2007). NetLogo Urban Suite - Cells model. http://ccl.northwestern.edu/netlogo/models/UrbanSuite-Cells. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
- Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.

In other publications, please use:
- Copyright 2007 Uri Wilensky. All rights reserved. See http://ccl.northwestern.edu/netlogo/models/UrbanSuite-Cells for terms of use.

COPYRIGHT NOTICE

Copyright 2007 Uri Wilensky. All rights reserved.

Permission to use, modify or redistribute this model is hereby granted, provided that both of the following requirements are followed:
a) this copyright notice is included.
b) this model will not be redistributed for profit without permission from Uri Wilensky. Contact Uri Wilensky for appropriate licenses for redistribution for profit.

(back to the NetLogo Models Library)