NetLogo Examples

Examples Index ...
Confluence Notes

Run Examples

example jnlp jnlp Date of last change otml file most recent revision
ImportImage-model learner author Tue, 13 Jul 2010 15:07:25 GMT ImportImage-model.otml 22937
button-graph-labels-example learner author Tue, 23 Mar 2010 14:19:50 GMT button-graph-labels-example.otml 22224
climate-change-graph-NK learner author Tue, 23 Mar 2010 14:19:50 GMT climate-change-graph-NK.otml 22224
climate-change-graph learner author Tue, 23 Mar 2010 14:19:50 GMT climate-change-graph.otml 22224
greenhouse-model learner author Thu, 10 Apr 2008 13:43:24 GMT greenhouse-model.otml 13206
greenhouse-model4 learner author Wed, 16 Sep 2009 16:36:01 GMT greenhouse-model4.otml 20339
multi-graph-example learner author Mon, 20 Sep 2010 14:51:38 GMT multi-graph-example.otml 23294
multiple-models-4.1-test-1 learner author Thu, 25 Mar 2010 16:23:42 GMT multiple-models-4.1-test-1.otml 22237
netlogo-record-cars-test learner author Thu, 24 Feb 2011 19:55:36 GMT netlogo-record-cars-test.otml 24209
netlogo-replay-prediction-test learner author Thu, 24 Feb 2011 19:55:36 GMT netlogo-replay-prediction-test.otml 24209
netlogo-sensor-light-test learner author Tue, 15 Apr 2008 20:24:37 GMT netlogo-sensor-light-test.otml 13270
netlogo-sensor-volts-test learner author Mon, 09 Jun 2008 20:00:09 GMT netlogo-sensor-volts-test.otml 13805
sheep-selection-model learner author Fri, 11 May 2007 17:37:11 GMT sheep-selection-model.otml 40
snapshot-nl4 learner author Mon, 31 Dec 2007 18:09:14 GMT snapshot-nl4.otml 9161

MacOS X Java Web Start Problem

If you are using Java 1.5 on MacOS 10.4 or 10.5 you will almost certainly need to run some version of the fixes described on our How to fix Mac OS X WebStart bugs, once on each computer you run the Concord SAIL-OTrunk activities on. If you update Java on your Macintosh you will need to fix this problem again. The problem appears on Mac OS X computers when starting a Java Web Start program you have run before -- if a jar file needs to be updated the download process will freeze without completing.


Description of the difference between running an activity in learner mode and author mode

Running an OTrunk example in learner mode uses the default view mode which assumes a learner. In addition if you use the File menu to save the otml only the differences between the activity otml and the changes will be saved. The otml saved is the learner difference otml and is often much smaller than activty otml.

Running an OTrunk example in author mode sets the following jnlp properties:

Setting otrunk.view.author to true causes the entire OTrunk state to be saved as otml when a File save is performed. Setting otrunk.view.mode to authoring is used in the view system to enable authoring affordances in the views. Many examples do not have special authoring views. The Basic Example: document-edit.otml does have both authoring and student view modes.


All Files

ImportImage-model.otml
OTViewer_NLogo4_Greenhouse_model.launch
OTViewer_NLogo4_Snapshot.launch
OTViewer_NLogo_Greenhouse_model.launch
OTViewer_NLogo_Selection_model.launch
OTViewer_NLogo_Sensor-light.launch
OTViewer_NLogo_Sensor-volts.launch
Smart grapher v.0.3.nlogo
button-graph-labels-example.otml
climate-change-graph-NK.otml
climate-change-graph.otml
greenhouse-model.otml
greenhouse-model4.otml
index.html
modelfiles
multi-graph-example.otml
multiple-models-4.1-test-1.otml
netlogo-record-cars-test.otml
netlogo-replay-prediction-test.otml
netlogo-sensor-light-test.otml
netlogo-sensor-volts-test.otml
ot-index.html
sheep-selection-model.otml
snapshot-nl4.otml

The jnlp urls were constructed using the following template:
http://saildataservice.concord.org/2/offering/144/jnlp/540/view?sailotrunk.otmlurl=%otml_url%&sailotrunk.hidetree=false
You can change this string by putting it in a file named: jnlp_url.tmpl in this directory