Due: Wednesday 12/04 10:00am

Write the following NetLogo procedures:

  • setup
    • Clears the screen.
    • Creates 1 turtle facing up. (you may set other properties if you like)
  • regulargon [n s]
    • Instructs a turtle to draw a regular polygon with n sides where each side is s steps in length.
    • You should look into the repeat command, either on the online book or the netlogo dictionary

Make sure to test these procedures.