Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Ramp down spiral animation

  • Ramp down spiral animation

    Posted by Dino Muhic on July 18, 2011 at 12:20 am

    Hi, I have this code which makes a spiral movement

    shrink=time+1
    radius=1000/shrink
    angle=time*200
    x=radius*Math.cos(degreesToRadians(angle))
    y=radius*Math.sin(degreesToRadians(angle))
    //z=0 // no depth
    z=time*time // with depth
    centre=[640,360,0]
    add(centre,[x,y,z])

    Now I want that spiral to ramp down with the speed (going from a small radius to a wider radius).
    For the radius to grow I know that I need to change the second line to radius=10*shrink or something like that (as far as I understood).
    But how can I achieve the effect that the speed in which the object is travelling decreases over time?

    Thank you very much!

    Dino Muhic – Media Producer
    VFX – Motion Graphics – Web-Design – Or just ART
    http://www.dinomuhic.com

    Dino Muhic replied 14 years, 10 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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