[MWForum]Re:snowflake
Walter Smith
mwforum@lists.mathcats.com
Tue, 15 Jul 2003 00:05:07 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0003_01C34A64.C08F7D00
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
You are having problems with "variables" . length needs to be :length if =
it
is a variable . note the colon as the first letter of the word . that =
means
that it is really some number that can be changed . I removed the "?" =
there
is no questions as to what they are, they are stated when you run the
program such as "side 100 5" . the 100 is :length and 5 is :level .
=20
Hope this helps . haven't done this type of programs for a couple of =
years
as they closed out computer labs and I am now a kindergarten teacher . =
don't
quite get this far with my kids in the year!
=20
Walter
=20
to koch_snowflake=20
seth -90=20
repeat 3 [rt 120 side :length :level]=20
end=20
=20
to side :length :level
if :level =3D 0 [fd :length stop]=20
side :length / 3 :level - 1 lt 60=20
side :length / 3 :level - 1 rt 120=20
side :length / 3 :level - 1 lt 60=20
side :length / 3 :level - 1=20
end
=20
-----Original Message-----
From: mwforum-admin@lists.mathcats.com
[mailto:mwforum-admin@lists.mathcats.com] On Behalf Of Mikula Family
Sent: Monday, July 14, 2003 10:50 PM
To: MW Forum Replies
Subject: [MWForum]Re:snowflake
=20
When I run Wendy's following program:=20
to koch_snowflake=20
seth -90=20
repeat 3 [rt 120 side length level]=20
end=20
to side :length? :level?=20
if :level? =3D 0 [fd :length? stop]=20
side :length? / 3 :level? - 1 lt 60=20
side :length? / 3 :level? - 1 rt 120=20
side :length? / 3 :level? - 1 lt 60=20
side :length? / 3 :level? - 1=20
end=20
The message is ... I don't know how to length in koch_snowflake=20
Her demo on mathcats is perfect. This is fun. Thanks for the help.
------=_NextPart_000_0003_01C34A64.C08F7D00
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>You are having =
problems
with “variables” … length needs to be :length if it is =
a
variable … note the colon as the first letter of the word … =
that
means that it is really some number that can be changed … I =
removed the “?”
there is no questions as to what they are, they are stated when you run =
the
program such as “side 100 5” … the 100 is :length and =
5 is
:level …</span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Hope this =
helps … haven’t
done this type of programs for a couple of years as they closed out =
computer
labs and I am now a kindergarten teacher … don’t quite get =
this far
with my kids in the year!</span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>Walter</span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>to =
koch_snowflake </span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>seth -90 =
</span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>repeat 3 [rt =
120 side
:length :level] </span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>end =
</span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left:
0in;text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>to side :length :level</span></font></p>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left:
0in;text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>if :level =3D 0 [fd :length stop] =
</span></font></p>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left:
0in;text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>side :length / 3 :level - 1 lt 60 =
</span></font></p>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left:
0in;text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>side :length / 3 :level - 1 rt 120 =
</span></font></p>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left:
0in;text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>side :length / 3 :level - 1 lt 60 =
</span></font></p>
<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:5.0pt;margin-left:
0in;text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>side :length / 3 :level - 1 =
</span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>end</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
mwforum-admin@lists.mathcats.com =
[mailto:mwforum-admin@lists.mathcats.com] <b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Mikula Family<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> </span></font><font =
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>Monday, July
14, 2003</span></font><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'> </span></font><font size=3D2 face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>10:50 =
PM</span></font><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'><br>
<b><span style=3D'font-weight:bold'>To:</span></b> MW Forum Replies<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> =
[MWForum]Re:snowflake</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>When I run Wendy's following program: <br>
to koch_snowflake <br>
seth -90 <br>
repeat 3 [rt 120 side length level] <br>
end </span></font></p>
<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>to side :length? :level? <br>
if :level? =3D 0 [fd :length? stop] <br>
side :length? / 3 :level? - 1 lt 60 <br>
side :length? / 3 :level? - 1 rt 120 <br>
side :length? / 3 :level? - 1 lt 60 <br>
side :length? / 3 :level? - 1 <br>
end </span></font></p>
<p style=3D'margin-left:.5in'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>The message is ... <font =
color=3D"#ff0a22"><span
style=3D'color:#FF0A22'>I don't know how to length in =
koch_snowflake</span></font>
<br>
Her demo on mathcats is perfect. This is fun. Thanks for the =
help.</span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0003_01C34A64.C08F7D00--