[MWForum]Re:snowflake

Mikula Family mwforum@lists.mathcats.com
Tue, 15 Jul 2003 14:43:24 -0700


It Works!!! It Works!! I made the sliders and fooled around with it - added
color and it is wonderful. Now - how do you make it stop after a specified
number of shapes? I had it pick up the pen and draw the next one beside the
first. So if you want it to make only 4, how do you tell it to stop?


Wendy Petti wrote:

> 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.
>
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html