Rješenje radnog zadatka
to trokut
setpc 4
setpensize [2 2]
repeat 3[fd 50 rt 120]
end
to kvadrat
setpc 3
setpensize [2 2]
repeat 4[fd 50 rt 90]
end
to sesterokut
setpc 5
setpensize [2 2]
repeat 6[fd 50 rt 60]
end
to cvijet1
repeat 5[trokut rt 72]
end
to cvijet2
repeat 6[kvadrat rt 60]
end
to cvijet3
repeat 9[sesterokut rt 40]
end
to livada
cvijet1
pu fd 150 rt 90 fd 100 pd
cvijet2
pu bk 200 pd
cvijet3
end
|