The Beginner's Guide to NetLogo Programming

Learn how to create computational models with the NetLogo agent-based modeling environment with novice-friendly explanations and interactive code examples.

What is NetLogo?     What is a primitive?     The first 11 primitives to learn    

The first 11 primitives to learn

 

Learn a new primitive

 
 

Video tutorials

 
Disease model from scratch

Let's create a simple infectious disease model from scratch.

Watch
Forest fire model from scratch

Learn how to use patches to model the spread of a forest fire.

Watch
Information spread over a network

Create a network of turtles in NetLogo and move information over it.

Watch
Exploring the Models Library

NetLogo's Models Library is an invaluable resource. Learn how to access it.

Watch
 

Articles and guides

 
  • Getting started with NetLogo

    Learn how to install NetLogo on your computer and start creating your models.

    Read this article

  • Common NetLogo error messages and how to fix them

    It is frustrating to figure out what an error message means and how to get rid of it. Read this article to learn about most common NetLogo error messages.

    Read this article

  • What does each color indicate in NetLogo programming

    Some words in a NetLogo code window are blue, some are green, some are brown. Why is this the case? What do those colors indicate?

    Read this article

  • Shapes and colors in NetLogo

    Learn how to customize the look of your models with NetLogo's Turtle Shapes Editor, Link Shapes Editor, and Color Swatches tools.

    Read this article