[etoys-dev] How can I set the tick rate of a script from a script?
K. K. Subramaniam
kksubbu.ml at gmail.com
Wed Jun 2 06:02:19 EDT 2010
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.
More information about the etoys-dev