ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Animated Number equals Scale Value with Wiggle

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Scott Green
Animated Number equals Scale Value with Wiggle
on Feb 10, 2017 at 2:37:56 pm

I'm changing the scale of a simple shape using the uniform wiggle expression

w = wiggle(5,5);
[w[0],w[0]]


I'd like to animate a number that shows the scale value ie. the number displays "100%" when the shape is at 100% scale, the number displays "47%" when the scale of the shape is at 47% etc.

How can I achieve this? Is there an option to include decimal points or not too?

Thanks in advance,
Scott.

Motion Videos UK - We are creative video designers who bring pleasure, meaning and beauty to our small world through film, motion graphics and animation.


Return to posts index

Emre Anil
Re: Animated Number equals Scale Value with Wiggle
on Feb 11, 2017 at 4:44:16 pm

Create a text layer and add the following expression to it's Source Text (.toFixed(2) sets the decimals to 2 digits):

thisComp.layer("Shape Layer 1").transform.scale[0].toFixed(2)


Return to posts index

Scott Green
Re: Animated Number equals Scale Value with Wiggle
on Feb 13, 2017 at 9:27:46 am

Beautiful ☺

Many thanks.

Motion Videos UK - We are creative video designers who bring pleasure, meaning and beauty to our small world through film, motion graphics and animation.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]