Due: Thursday 1/09 10:00am
Submission name: work36.nlogo
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
usesturtles-here
push1
usesin-radius
along with theradius
slider.push2
usesin-cone
with theradius
anddegrees
sliders.