Any sugguestions on movable clock arms?
JimAultWins at yahoo.com
Sat Feb 16 05:05:18 EST 2008
I would start with
ballClock.rev by Scott Rossie
(try to ignore the beauty and get to the math)
You will see the use of points on a hidden object
TNT.rev also by Scott Rossi
this stack show the application of rotation
And you might like the drag-duplicate-snapshot technique
Chipp Walters used in
then I would suggest you think of an image that is twice the length of the
visible clock hand so that rotation about the center would be the same as
the center of the clock. This could be a group[visible hand, invisible
hand] with the group center in the middle of the clock.
The 'getinline' snapshot technique could allow the visual feedback of a
cursor indicating the destination time if the user was to release the mouse.
To get these stacks, open Rev, go to Documentation, click Search, then click
the center icon in the header of the window, select Web Database from the
drop down menu then type
"getinline" = the link to Chipp's web site
"ball clock" = the link to Scott's web site
"TNT" = the link to Scott's web site
Sounds like fun.
On 2/16/08 1:32 AM, "William de Smet" <williamdesmet at gmail.com> wrote:
> Thanks Sarah,
> Your suggestions looks like a working clock.
> Maybe I should have been more specific.
> My idea about it is hat I just draw a cirkel which suggests the clock.
> I just want to show two clock hands which he can move clockwise so his
> pupils can tell time.
> I am looking for some scripting suggestions on how to move images in a circle.
> 2008/2/16, Sarah Reichelt <sarah.reichelt at gmail.com>:
>>> It's been a while but still enjoying RR in my sparetime ;-)
>>> A collegue of mine asked me if I could make an instruction clock with
>>> movable arms.
>>> He wants to us it with his Smartboard in his classroom to teach clocktimes.
>>> I think I know how to drag an image but in a circle is not easy?
>>> Then there is the issue of two clock arms and of course the middle of
>>> the clock should stay fixed.
>>> Can anyone give me a clue where and how to start?
>> This discussion might give you some ideas
>> It shows vaious ways to display a clock with moving hands, but I
>> expect you could alter it to allow the hands to be dragged.
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the Use-livecode