[MWForum]Re:snowflake
Wendy Petti
mwforum@lists.mathcats.com
Tue, 15 Jul 2003 02:47:00 -0400
Did you create a slider called LENGTH? and another called LEVEL? If you
did, then the turtle should know what these words mean.
Wendy
-----Original Message-----
From: mwforum-admin@lists.mathcats.com
[mailto:mwforum-admin@lists.mathcats.com]On Behalf Of Mikula Family
Sent: Tuesday, July 15, 2003 1:50 AM
To: MW Forum Replies
Subject: [MWForum]Re:snowflake
When I run Wendy's following program:
to koch_snowflake
seth -90
repeat 3 [rt 120 side length level]
end
to side :length? :level?
if :level? = 0 [fd :length? stop]
side :length? / 3 :level? - 1 lt 60
side :length? / 3 :level? - 1 rt 120
side :length? / 3 :level? - 1 lt 60
side :length? / 3 :level? - 1
end
The message is ... I don't know how to length in koch_snowflake
Her demo on mathcats is perfect. This is fun. Thanks for the help.