UCSC: Porter 34B, Chaos, Fractals, and the Arts, Spring 2011

RALPH'S HELP FILES


How To Post a NetLogo Model to your Website

  • Create a single directory to hold all your NetLogo models
    This might be called, for example, "mymodels"
  • Locate the NetLogo distribution folder on your computer
    Locate (1) the file "NetLogoLite.jar"
    Locate (2) the folder "sound" in the folder "extensions"
  • Upload the file (1) and the folder (2) to "mymodels"
    Just do this once and you are set
  • Save your model as an applet
    Use File -> Save As Applet in NetLogo
    Edit the HTML file created by NetLogo to delete the instructions
  • Upload your NetLogo model to "mymodels"
    Upload both the HTML file and the NLOGO file
    If your model uses the sound extension it should run as an applet
  • Create (or edit) the index.html file in "models"
    the new link line in the index file need only point to the new HTML file

  • Revised 26 April 2011