Visit this the link below to get started! http://netlogoweb.org/web?url=https://raw.githubusercontent.com/mchen0037/models/master/models/apcsp/blank.nlogo

Your first commands!

<aside> 💡 When you open the link, there may be a model/program pre-loaded. If this happens, just click New Model at the top right.

</aside>

In the command center, type (without the >):

> create-turtles 50

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d931ce04-0530-4e6b-8d26-cbbec825c623/Untitled__Aug_20_2020_1_37_PM.gif

Ok, so what? We want the turtles to do stuff. (Make sure you're polite!) In the command center:

> ask turtles [forward 10]

<aside> ‼️ IMPORTANT: Whenever you type a [, make sure it's followed with a ]. In this case, the turtle will do anything inside the [ ]. 50% of your errors in programming will be because you missed or forgot an open/close bracket.

</aside>

Knowing that turtles walk the same way that we do, what do you think the next command will do?

> ask turtles [right 90]

Try it out!

Commands vs NetLogo Code

In short, anything you type in the command center can also go the NetLogo Code area. If we type something in the command center, the command will be executed once, no matter where you are. This is handy for testing something or trying something out.