What's New?
NetLogo 3.1.5 User Manual
Feedback from users is very valuable to us in designing and
improving NetLogo. We'd like to hear from you. Please send comments,
suggestions, and questions to feedback@ccl.northwestern.edu,
and bug reports to bugs@ccl.northwestern.edu.
Version 3.1.5 (December 5, 2007)
- improved model: GasLab Atmosphere (bugfix)
- sort-by on an agentset now randomizes the order of equal agents
- fixed bug in distance primitive in non-wrapping worlds
- fixed bug in in-radius primitive in off-center worlds
- fixed bug where saved applets didn't work on some web servers
Version 3.1.4 (February 16, 2007)
- installer now works on Windows Vista
- improved models: GasLab Circular Particles (bugfix), Small Worlds (bugfix)
- Unicode characters are now supported when importing and exporting worlds
- fixed bug where a too-small 2D view could cause unusual behavior
Version 3.1.3 (September 20, 2006)
- fixed 3.1.2-only bug where exporting the world could cause
a Java exception on Windows machines
- fixed bug where saving a model didn't update the expected
location of data files
Version 3.1.2 (August 9, 2006)
- documentation:
- rewritten and expanded Tutorial #3
- models:
- improved models: 3D Shapes Example (bugfix), GasLab Single
Collision (improved code), Tetris (bugfix), GasLab Circular
Particles (bugfixes, added code for reversing time)
- new Code Examples: Musical Phrase Example, Network Import Example
- engine fixes:
- fixed 3.1-only bug where startup procedures didn't work properly
- fixed 3.1-only bug where in-radius in non-wrapping worlds was slow
- fixed compiler bug where repeated <breeds>-own declarations would not result in an error
- fixed bug where sprout 0 caused Java exception
- fixed bug where using sort with an invalid input
could cause a Java exception
- other fixes:
- fixed Windows-only bug where saved model files could include
inconsistent line-ending characters
- extensions
- new command in the sound extension play-note-later can be
used to play a musical phrase
Version 3.1.1 (June 16, 2006)
- content:
- corrections to User Manual
- new biology models: Daisyworld, Wolf Sheep Stride Inheritance
- improved models: Ethnocentrism (clearer code, corrected
reference), Bug Hunt Camouflage (upgraded, now verified), Fire
(improved info tab), GasLab Two Gas (bug fix), Heatbugs (now
verified), GasLab Single Collision (bug fix), Disease Solo
(improved interface), Echo (improved)
- new Code Example: Line of Sight Example
- engine fixes:
- many extensions can now be used in saved applets
(however, extensions that require additional external jars still
don't work)
- fixed bug in in-radius where a large radius in a
non-wrapping world could give incorrect results
- fixed bug where calling movie-close when no movie
was open could cause NetLogo to hang
- fixed some error messages to more accurately report the location of the error
- interface fixes:
- when opening models from old NetLogo
versions, user-choice is now auto-translated
to user-one-of
- in the 3D view, patch and turtle labels are now positioned
correctly even if the origin is off-center
- link direction indicators now show up in the 3D view and in
HubNet view mirroring
- fixed bug where the Procedures tab could lose the keyboard
focus when the compiler finds an error
- fixed bug where using the black arrows in the control strip
to resize the world could cause an incorrect world size to
appear in the strip
- fixed bug in BehaviorSpace where failure to create an
output file caused an uninformative error message
Version 3.1 (April 14, 2006)
- system:
- the 3D view now works on Intel-based Macs
- for Windows users, our bundled Java version is now 1.5 (was 1.4)
- for Mac users, Java 1.5 is now used if it is available
- models:
- new earth science model: Grand Canyon
- new EvoLab evolution model: Sunflower Biomorphs
- new social science model: Ethnocentrism
- new mathematics model: Voronoi
- new physics model: DLA Simple
- new computer science models: Perceptron,
Artificial Neural Network
- new biology/system dynamics models: Tabonuco Yagrumo,
Tabonuco Yagrumo Hybrid
- new code examples: Moore & Von Neumann Example,
Intersecting Lines Example,
Diffuse Off Edges Example, Tie System Example
- improved ProbLab model: Dice Stalagmite
- improved social science models: Traffic Grid, Scatter
- improved chemistry/physics model: GasLab Circular Particles
(runs faster)
- improved networks models (using experimental link primitives):
Giant Component, Preferential Attachment, Small Worlds
- features:
- randomized agent ordering:
every agentset is now always in random order
(a different random order each time you use it)
- world topologies:
- the world isn't always a torus anymore; by turning vertical and
horizontal wrapping on or off, you can choose between a torus, a
rectangle, or a vertical or horizontal cylinder
- using primitives ending in -nowrap is no longer
necessary; just turn off world wrapping instead
- new can-move? reporter lets turtles sense the
world edges
- screen-edge-x and screen-edge-y have been
renamed to max-pxcor and max-pycor (and
new min-pxcor and min-pycor primitives
have been added)
- screen-size-x and screen-size-y have been
renamed to world-width and world-height
- see the Topology section of the Programming Guide for more information
- new, experimental suite of link primitives, useful for network models and others;
see Links sections of Programming Guide and Primitives Dictionary
- model authors can now specify the singular form of a breed name:
- the new syntax for declaring each breed is e.g. breed [wolves wolf]
- you can ask for a breeded turtle by who number, e.g. wolf 0
- in model output, breeded turtles also appear as e.g. wolf 0
- added new reporter e.g. is-wolf?
- this form also appears elsewhere in the user interface, e.g. when picking a turtle from the view, in turtle monitors, and so on
- new command stamp-erase
- new __tie and __untie primitives allow turtles to connect their movement to another turtle. See the Tie Section of the Programming Guide for details.
- other language changes:
- the sort and sort-by primitives can now be
used to convert an agentset to a sorted list of agents; if you
use sort, turtles are sorted by who number, and patches are
sorted left-to-right, top-to-bottom
- new reporters random-xcor, random-ycor,
random-pxcor, and random-pycor are handy for
generating random coordinates
- member? can now be used to check whether an agent is a
member of an agentset (worked in 3.0, but was undocumented)
- random-one-of and random-n-of have been
renamed to just one-of and n-of
- removed no-label from the language; use the empty
string instead
- renamed user-choice to user-one-of,
user-choose-file to user-file,
user-choose-new-file to user-new-file,
user-choose-directory to user-directory
- interface changes:
- minor improvements to look & feel, e.g. vertical buttons in
toolbars instead of horizontal ones
- the info tabs of saved applets are now more attractive,
as in the application
- user-one-of (formerly user-choice) now always
shows the choices as a menu, never buttons
- engine fixes:
- fixed 3.0-only bug where the repeat and let
commands didn't always work correctly when used from the Command
Center
- in the System Dynamics Modeler, system-dynamics-t is now
incremented at the end of each step, not the beginning
- interface fixes:
- double clicking outside a bracket or parenthesis in the editor
now selects all of the text between the matching brackets or
parentheses
- when shapes are off, shapes consisting of a single line now
still draw as lines, not squares
- fixed some incorrectly worded compiler error messages involving
primitives that can take a variable number of inputs,
such as list and sentence
- fixed Windows-only bug where the Procedures menu had trouble
showing very large number of procedure names
- fixed Mac-only bug where pasting text from another application
could cause a compiler error
- BehaviorSpace changes:
- you can now use the stop command in an experiment's go
commands, or in the procedure called by your experiment's go
commands, to stop a model run, the same way it works to stop a
forever button
- you can now choose to save no results at all
- the Abort button is now more often able to halt a stuck model
- the Procedures tab is now always recompiled before an
experiment begins
- HubNet changes:
- new activities: Bug Hunters Camouflage,
Walking, Disease Doctors,
Function, Guppy Spots
- improved activities: Predator Prey Game (formerly
Herbivore Carnivore), Root Beer Game (formerly Beer Game)
- API changes:
- documentation now recommends using the server VM for best performance
Version 3.0 (September 2005)
- 3D view (for 2D models)
- System Dynamics Modeler
- follow, ride and watch
commands for tracking particular agents
- drawing layer for marks left by turtles
- buttons take turns now (instead of interleaving their code
with each other)
- more muted, harmonious color palette
- more attractive Information tab
- GoGo extension for interfacing NetLogo with physical devices
- Color Swatches dialog helps you choose colors
- substantial improvements to BehaviorSpace
- commands for importing image files
- turtles can have cones of vision
- expanded controlling API
Version 2.1 (December 2004)
- much larger and higher quality library of turtle shapes
- runs models "headless", with no GUI, from the command line
- editor now highlights matching parentheses and brackets
- "action keys" let buttons be triggered by keypresses
- makes QuickTime movies of models
- redesigned Command Center for greater usability
- optional "output area" in models
- greatly improved shapes editor
- easy capture of images from Interface tab
- multilevel "Undo" in editor
- new let command for easy creation of local variables
- new carefully command for trapping runtime errors
- computer HubNet:
- substantially improved reliability
- "server discovery" is now fully supported
- you may serve multiple activities simultaneously from the same computer
- improved client interface and Control Center
Version 2.0.2 (August 2004)
- new, experimental "extensions" API lets users write new
commands and reporters in Java
- NetLogo can now make sounds and music; this is done
with a new, experimental sound extension that is also
an example of how to use the extensions API
- new "controlling" API lets users control NetLogo from external
Java code (such as for automating multiple runs)
Version 2.0 (December 2003)
- full support for Mac OS X; improved Linux support
- minimum Java version is now 1.4.1;
Windows 95, MacOS 8, MacOS 9 no longer supported
- increased overall reliability
- improved look and feel throughout the application
- faster and more flexible graphics (labels, turtle sizes,
exact turtle positions all now fast, reliable, and
flicker-free)
- suite of primitives for reading and writing external files
- "strict math" mode now always on, for reproducible results
- export graphics window or interface tab as image file
- revamped BehaviorSpace (various improvements made;
some old features are missing)
- Mersenne Twister random number generator
- many new primitives
- computer HubNet:
- improved reliability; no longer alpha or beta
- improved graphics window mirroring features and
performance
Version 1.3 (June 2003)
- graphics window control strip
- choosers
- strict math mode so results are identical on all platforms
(requires Java 1.3 or higher)
- new primitives including run/runresult and
map/foreach/filter/reduce
- some primitives now accept a variable number of inputs
Version 1.2 (March 2003)
- alpha release of computer HubNet: formerly HubNet required the TI
Navigator calculator network to operate; now you can use it
over TCP/IP with networks of laptop or desktop computers
- new primitives and other language improvements
- display of coordinates when mousing over plots
Version 1.1 (July 2002)
- "Save as Applet" lets you embed your model in any web page
- printer support
- Procedures menu
- scrollable Interface tab
- contextual menus in Interface tab
- new primitives
Version 1.0 (April 2002)
- initial release (after a series of betas)