;;; star, josh mcveigh-schultz 01-15-08
to setup ca ;;; clear all crt 1 ;;; creat just one turtle ask turtle 0 [
set size 2 set color brown set heading 0 pen-down
]
end
to step ;;;; to make a 5 pointed star we need to create angles of 36 degrees ;;;;(because that's a 3rd of 108 degrees which would make a pentagon) ;;;; 180 degrees - 36 = 144 degrees
ask turtle 0 [
rt 144 forward 10 rt 144 forward 10 rt 144 forward 10 rt 144 forward 10 rt 144 forward 10
]
end
to go
step ;;; step forever
end