Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Second hand of a clock

  • Second hand of a clock

    Posted by Stu Pond on January 15, 2007 at 12:13 pm

    I’ve just posted a similar question in the Cionema 4D forum but have learnt I may need to do this in AE so thought I might ask here too.

    I want to animate the second hand of a clock as it ticks. Rather than create a sweep hand I would like the hand to click a sceond at a time in realitme.

    Obviously this means rotating the hand (6 degrees I m ake it) every second, can anyone suggest an expression rather than keyframe it?

    Cheers,

    stigWeard

    Stu Pond replied 19 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Julian Sixx

    January 15, 2007 at 3:42 pm

    Hi

    value + Math.floor(time)*6 // for the second hand:

  • Stu Pond

    January 15, 2007 at 7:15 pm

    Brilliant!

    Thanks very much for your help – it works a treat. I realise I could have done this using differing frame rates etc, but this seems much more elegant.

    Sorry for my appalling spelling in my first post – this is why I do pictures : )

    Thanks again!

    stigWeard

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy