[MWForum]MIA, Ask an Expert Question
Harvey Bornfield
mwforum@lists.mathcats.com
Thu, 27 May 2004 01:39:49 -0700
--=====================_1429000484==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
In Microworlds, the current turtle answers to the name who. To control any
other turtle than the WHO, you need to know its name, and then you can
issue an ask command, which is like a radio broadcast only the
"askee" hears..................
A simple implementation would be:
1. ask "turtle1 [setsh "choice1]
or
2. ask [turtle1 turtle2 turtle3] [setsh "choice1]
but usually, you'll be trying to change each into a different shape
Which leads us to what I call the "flip-shape" magic trick
at the command line type:
ask "turtle1 [setsh [bird1 bird2]]
ask "turtle2 [setsh [bee1 bee2]]
any movement command, even fake movement such as fd 0 in a turtle's
instruction box, will cause a turtle set to a list of shapes to recycle to
the next shape. To get an instruction box, right click on a turtle.
now type twice or more, observing:
ask [turtle1 turtle2][fd 0]
watch each change to the next shape
then, repeat the above, but after each ask command,
type ask "turtle1 [show shape]
observe the result.
AND NOW, A VOYAGE:
If you
1. Get to the shape editor, make two TV shapes, both 120 by 80 rectangles,
fill the colors light red and light blue
name them redTV and blueTV inside the shape editor
Then hatch a turtle and name it "TV (right click gets you dialog box
to do the renaming)
while you've got the dialogue box open, set the instruction to,
(wouldn't_cha guess) fd 0
Close the dialogue box, hop down to the command line, and
clothe your TV in the two shapes by typing in at the command line
ask "TV [setsh [redTV blueTV]]
then
2. Hatch a second turtle,
Rename it "Channel and set its shape to a list of assorted shapes, as in:
setsh [jeep car boat sun tree flower]
3. Right click the Channel turtle and type in its instruction box fd 0
4. Now find another empty box in the shape section,
and create a vertical rectangle that you'll in the shape editing
window tv_remote
5. Drag the Channel turtle over the TV, and center it.
6. Hatch a third turtle, right click on it, naming it "remote.
At the command line, set its shape by typing
ask "remote [setsh "tv_remote]
7. Right Click the remote and set its instruction to fd 0......
8. FINALLY!
click the remote and watch the channels recycle forward.
What we didn't do, (tasks on credit!)
Explain why you'd want two TV backgrounds, which would change by clicking
on the tv.
Imagine: You could use the reporter that tells you the shape of a turtle
inside an ifelse command
ifelse shape = "redTV [channelforward][channelbackward]
which gives us some dramatic/traumatic tension, aka, "homework", in coming
up with routines for advancing and regressing the shapes, the as yet still
embryonic vaporware procedures
channelforward and channelbackward. Of which the first is a piece of cake,
but the second is more interesting
Why is this icon manipulation important?
It's an elegant visual intelligence manifestion of a case statement which
Daniel presented to the forum a couple of months ago. By having a child
select a channel, you can bypass words, and set up a graphical environment
in which the student is not insulted with instructions, but honored by
discovering relationships...........
Answers soon to come, if no one has time to collaborate.
best regards,
(Hope you got your money's worth :-), )
Harvey
At 07:06 PM 5/26/2004, you wrote:
>This is an automatic message sent from the web form at:
>http://mia.openworldlearning.org/howdoi.htm
>
>from: 07hassaa@mbc.qld.edu.au
>date: Wed, 26 May 2004 17:25:25 -0600
>
>How do you make another tutle change it's shape through a different
>turtle's procedure?
>
>
>
>_______________________________________________
>MWForum mailing list
>MWForum@lists.mathcats.com
>http://lists.mathcats.com/mailman/listinfo/mwforum
>Attachments archived at:
>http://www.mathcats.com/mwforum/attachments.html
>To unsubscribe or for administrative questions contact
>mailto:mwforum-admin@lists.mathcats.com
"Music is the one incorporeal entrance into the higher world of knowledge
which comprehends mankind, but mankind cannot comprehend."
Ludwig van Beethoven
--=====================_1429000484==.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<body>
In Microworlds, the current turtle answers to the name who. To control
any other turtle than the WHO, you need to know its name, and then you
can issue an ask command, which is like a radio broadcast only the
"askee" hears..................<br><br>
A simple implementation would be:<br>
1. <font color="#0000FF">ask "turtle1 [setsh "choice1]<br>
</font>or<br>
2.<font color="#0000FF"> ask [turtle1 turtle2 turtle3] [setsh
"choice1]<br>
</font>but usually, you'll be trying to change each into a different
shape<br><br>
Which leads us to what I call the "flip-shape" magic
trick<br><br>
at the command line type:<br>
<font color="#0000FF">ask "turtle1 [setsh [bird1 bird2]]<br>
ask "turtle2 [setsh [bee1 bee2]]<br><br>
</font>any movement command, even fake movement such as
<font color="#0000FF">fd 0 </font>in a turtle's instruction box, will
cause a turtle set to a list of shapes to recycle to the next shape. To
get an instruction box, right click on a turtle.<br><br>
<br>
now type twice or more, observing:<br>
<font color="#0000FF">ask [turtle1 turtle2][fd 0]<br>
</font>watch each change to the next shape<br><br>
then, repeat the above, but after each ask command,<br>
<font color="#0000FF">type ask "turtle1 [show shape]<br>
</font>observe the result.<br><br>
AND NOW, A VOYAGE:<br><br>
If you <br><br>
1. Get to the shape editor, make two TV shapes, both 120 by 80
rectangles, <br>
fill the colors light red and light blue <br>
name them <font color="#FF0000">redTV</font> and
<font color="#FF0000">blueTV</font> inside the shape editor<br>
Then hatch a turtle and name it "TV (right
click gets you dialog box to do the renaming)<br>
while you've got the dialogue box open, set the
instruction to, (wouldn't_cha guess) <font color="#0000FF">fd
0<br>
</font> Close the dialogue box, hop down to the command
line, and <br>
clothe your TV in the two shapes by typing in at the
command line <br>
<font color="#0000FF">ask "TV [setsh [redTV
blueTV]]<br><br>
</font>then<br><br>
2. Hatch a second turtle, <br>
Rename it "Channel and set its shape to a list of
assorted shapes, as in:<br>
<font color="#0000FF">setsh [jeep car boat sun tree
flower]<br><br>
</font>3. Right click the Channel turtle and type in its instruction
box <font color="#0000FF">fd 0<br>
</font>4. Now find another empty box in the shape section,<br>
and create a vertical rectangle that you'll in the
shape editing window <font color="#FF0000">tv_remote <br>
</font>5. Drag the Channel turtle over the TV, and center it.<br>
6. Hatch a third turtle, right click on it, naming it "remote.<br>
At the command line, set its shape by
typing<br>
<font color="#0000FF">ask "remote [setsh
"tv_remote] <br>
</font>7. Right Click the remote and set its instruction to
<font color="#0000FF">fd 0</font>......<br>
8. FINALLY!<br>
click the remote and watch the channels recycle
forward.<br><br>
<br>
What we didn't do, (tasks on credit!)<br>
Explain why you'd want two TV backgrounds, which would change by clicking
on the tv.<br>
Imagine: You could use the reporter that tells you the shape of a turtle
inside an <font color="#0000FF">ifelse</font> command <br>
<font color="#0000FF">ifelse shape = "redTV
[channelforward][channelbackward]<br><br>
</font>which gives us some dramatic/traumatic tension, aka,
"homework", in coming up with routines for advancing and
regressing the shapes, the as yet still embryonic vaporware
procedures<br>
channelforward and channelbackward. Of which the first is a piece of
cake, but the second is more interesting<br><br>
Why is this icon manipulation important?<br>
It's an elegant visual intelligence manifestion of a case statement which
Daniel presented to the forum a couple of months ago. By having a child
select a channel, you can bypass words, and set up a graphical
environment in which the student is not insulted with instructions, but
honored by discovering relationships...........<br><br>
Answers soon to come, if no one has time to collaborate.<br><br>
best regards,<br>
(Hope you got your money's worth :-), )<br><br>
Harvey<br><br>
<br><br>
<br><br>
At 07:06 PM 5/26/2004, you wrote:<br>
<blockquote type=cite class=cite cite>This is an automatic message sent
from the web form at:<br>
<a href="http://mia.openworldlearning.org/howdoi.htm" eudora="autourl">http://mia.openworldlearning.org/howdoi.htm</a><br><br>
from: 07hassaa@mbc.qld.edu.au<br>
date: Wed, 26 May 2004 17:25:25 -0600<br><br>
How do you make another tutle change it's shape through a different
turtle's procedure?<br><br>
<br><br>
_______________________________________________<br>
MWForum mailing list<br>
MWForum@lists.mathcats.com<br>
<a href="http://lists.mathcats.com/mailman/listinfo/mwforum" eudora="autourl">http://lists.mathcats.com/mailman/listinfo/mwforum</a><br>
Attachments archived at:<br>
<a href="http://www.mathcats.com/mwforum/attachments.html" eudora="autourl">http://www.mathcats.com/mwforum/attachments.html</a><br>
To unsubscribe or for administrative questions contact <br>
<a href="mailto:mwforum-admin@lists.mathcats.com" eudora="autourl">mailto:mwforum-admin@lists.mathcats.com</a>
</blockquote>
<x-sigsep><p></x-sigsep>
<font face="Bell MT">"Music is the one incorporeal entrance into the higher world of knowledge which comprehends mankind, but mankind cannot comprehend." <br>
Ludwig van Beethoven <br><br>
<br>
</font></body>
</html>
--=====================_1429000484==.ALT--