Due: Wednesday 12/10 10:00am

Submission name: work24.nlogo or work24.nlogox

Write the Following NetLogo Procedures

  • setup [n]: observer
    • Clear the screen and make n turtles (you can add custom features to the turtle if you wish)
  • square [s]: turtle
    • Have a turtle draw a square with side length s
  • triangle [s]
    • Have a turtle draw an equilateral triangle with side length s
  • regulargon [n s]: turtle
    • Draw a regular polygon with n sides of length s
    • For this, look into the repeat command.