Due: Wednesday 12/11 10:00am

Patch Patterns!

Recreate this netlogo program.

  • There are 4 procedure, each corresponds to a button of the same name.
  • The box procedure uses the boxEdge slider. The slider should determine the edge of the red box (for both x and y, positive and negative). In the example image, edge is set to 7.
  • For all of these functions you only need:
    • Arithmetic operators (+ - * / mod)
    • Comparison operators (> < >= <= = !=)
    • Boolean opertors (and or not)
    • if, ifelse, set
  • You may use other colors if you find my color selections objectionable.