CS 420/594 — Biologically Inspired Computation
NetLogo Simulations
NetLogo Simulation Information Page
In addition to running the applets from the CS 420/594 class
website, you can run these programs on your own computer. There
are several ways to do this:
- You can download the NetLogo interpreter from the NetLogo homepage <ccl.northwestern.edu/netlogo>.
It is written in Java and runs on Mac OS X, Windows, and a variety of
other platforms. Then if you want to run a program, such as
Life.nlogo, all you have to do is download the nlogo file: right-click
(Windows) or control-click (Mac) on Life.nlogo). Start NetLogo and Open “Life.nlogo” to run it.
- You can run the program as an applet on your own computer.
To do this, first you will have to download the NetLogoLite.jar
file. You can do this by right-/control-clicking NetLogoLite.jar.
Next you will have to download the NetLogo program you want to
run. For example, to run Life, you right-/control-click on Life.nlogo
and save it to the same directory as NetLogoLite.jar. Finally,
you need to download the simulation’s html file that runs the applet,
for example Life.html, to the same directory. Do not use “Save
As” when you are viewing the html page (which seems to mess up the link
to the nlogo file), but right-/control-click on a link to Life.html (for example); for this purpose, all the simulator html files have a link to themselves. Alternately, go to the NetLogo directory and copy the files you need.
Note: Some of these simulation programs allow
you to write information to a file (e.g., for recording data). This
does not seem to work when the program is running as an applet, so if
you want to write a file, you will have to use the NetLogo interpreter
(option 1, above).
If you have any questions, or discover additional ways to use these simulators, please send me email.
Return to CS 420/594 home page
Return to MacLennan’s home page
Send mail to Bruce MacLennan / MacLennan@utk.edu
This page is www.cs.utk.edu/~mclennan/Classes/420/NetLogo/Info.html
Last updated: 2007-11-27.