[etoys-dev] How can I set the tick rate of a script from a script?

Rita Freudenberg rita at isg.cs.uni-magdeburg.de
Wed Jun 2 06:06:16 EDT 2010


On Jun 2, 2010, at 12:02 PM, K. K. Subramaniam wrote:

> On Wednesday 02 Jun 2010 12:41:21 pm Steve Thomas wrote:
>> Once again smalltalk will be fine, as I do not believe there are any tiles
>> to do this.
> True, but this gives you a golden opportunity to build cams.
> 
> You can use a clock face (line in a circle) with a single rotating hand. At 
> specific intervals along the circle place a trigger dot so that when the hand 
> moves over it, a script is triggered. The tick rate of the script can now be 
> varied by adjusting the dot(s) along the circle. The dot's position can be 
> keyed to a variable, or the line reset its heading when it touches the dot. 
> Many other variations are possible.

This is a great idea!

Rita 
> 
> Subbu
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev



More information about the etoys-dev mailing list