Kim Rose Kim.Rose at
Wed Feb 19 08:27:19 PST 2003

Hi, Phil -

If I understand you correctly, you say you'd like to show the 
slider's value without the viewer.  It sounds like you'd like to make 
use of a "watcher".  If you go to the tiny menu to the left of 
"slider's numeric value" in the viewer you'll see some options.  One 
is "detailed watcher". Select that and drag it out.   We have the 
kids we work with use watchers frequently. They can help in a variety 
of ways.  You can leave the watcher on the "world" and then close up 
the viewer. Each time the student activates the script and the object 
moves the watcher will reflect the current value.

The other thing I might suggest, especially since you are working 
with younger children, is to do some measuring activities off the 
computer in conjunction with this computer based project.  Measuring 
in pixels is still an abstraction.....espcially for the younger kids.
Hope this helps!

>Thanks much for the help with repeating a script...I think I've got 
>the idea now. Any script can be repeated by using a conditional 
>(test) statement (if that's the right nomenclature).
>So, here's my project thus far. Activating the first script moves 
>the object (Roam1) based on the value of the slider (light blue 
>rectangle). Now, I'd like to be able to show that value without 
>using the object's Viewer. My initial goal with this project (in 
>addition to learning how to create it for myself) is to have 1st and 
>2nd graders work with estimating distance and number values...they 
>will set the value of the slider as they attempt to get the object 
>to land in the box at the top of the track.
>I've also been trying to slow down the movement of the object so 
>that kids can see more clearly what is happening. Haven't figured 
>that one out yet either.
>Content-Disposition: inline;
>	filename=roam-sim.jpeg
>Content-Type: image/jpeg;
>	x-mac-creator=522A6368;
>	x-unix-mode=0644;
>	x-mac-type=54455854;
>	name="roam-sim.jpeg"
>Attachment converted: 24601:roam-sim.jpeg (JPEG/ogle) (000B745E)
>On Monday, February 17, 2003, at 10:38 PM, Alan Kay wrote:
>>Well, each script can repeat over and over -- so this is quite 
>>doable. However, there is not a case tile (like Test) for 
>>parameterized Repeats (though we could certainly make one). 
>>However, I think that part of the wide spread success of the 
>>current system is how few features it has -- it relies mostly on 
>>having a good object system plus a few programming features.
>>Here's how to do it. Suppose you know how many steps of 30 that 
>>need to be traversed and you have that number in a variable called 
>>Then you just have to build the three cases of the loop -- startup, 
>>looping, and ending.
>>This can be done in one script, but it is clearer and cleaner to 
>>use two scripts.
>>There are many ways to write these scripts. This one makes it quite 
>>clear how many iterations have been done.
>>Now, having shown how to do this, it is rarely the case that a 
>>student will need to write a script like this, especially for 
>>robots. You are much better off having them write a script that 
>>finds the destination rather than measures it. This is simpler, 
>>clearer, and more general. You can see some of these ideas in the 
>>feedback projects on (particularly those that get 
>>cars to follow roads). Here is a simple example of what I mean:
>>This script will work regardless of the distance between the two blobs.
>>At 8:46 PM -0500 2/17/03, Phil Firsenbaum wrote:
>>I'm working on a little project (i'll use it with younger students 
>>if I get it to work). It involves getting an object move a certain 
>>number of "steps" (each being a forward 30) in order to go from one 
>>point to another. It's actually a simulation of work being done 
>>with Roamer floor robots.
>>Anyhow I want the students to be able to figure out how many 
>>"steps" the object needs to take...I thought if I could script a 
>>repeat tile I could accomplish this part of the project pretty 
>>nicely. I haven't seen anything about repeats, though, in the etoy 
>>environment. Does it exist? If not, any thoughts anyone?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Squeakland mailing list