Due: Thursday 1/09 10:00am

Recreate the NetLogo program found here: http://homer.stuy.edu/~dw/netlogo/work36_obf.html. Use the following setup procedure:

to setup
  ca
  crt 1 [
    set color yellow
  ]
  crt 2000 [
    set color orange
    setxy random-xcor random-ycor
  ]
end

Each push procedure asks turtle 0 to wiggle, then check for other turtles. If there are other turtles, turtle 0 will “push” (ask them to move forward 10) them and ask them to turn green.

  • push0 uses turtles-here
  • push1 uses in-radius along with the radius slider.
  • push2 uses in-cone with the radius and degrees sliders.