Yet Another Clock

Scott Rossi scott at tactilemedia.com
Wed Jun 1 04:40:23 EDT 2005


Recently, Geoff Canyon  wrote:

> My first thought was that the whole thing could be reduced to
> periodic "move to the points of..." task. That doesn't work out very
> well. I tried:
> 
> move image "sBall" to the points of grc "_ball" in 60 seconds
> 
> That gave me a good second hand, but CPU usages was up at 70 percent.
> Not good. So I went for minor changes to the existing code.
>
> ...
>
> CPU usage with this script is about 8 percent.
> For comparison, the scripts from yesterday that set the startAngle of
> a graphic averaged about 1.5 percent.

Well, with the stack I originally posted, CPU usage runs between 1 and 2
percent here.  But the move you added is so nice it easily warrants the
extra usage.  Nice Geoff. :-)

Movado, eat your heart out.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list