-
Scale change loop
I am trying to figure out an expression that will scale an object from 105% to 95%, and then from 95% to 105%, continuously through the animation. Each scale (e.g. 95% to 105%) would last 1 second.
I can’t figure out how to loop the effect. I know how to do this in Java (using if statements, but the syntax isn’t the same in javascript. Below are the lines I have figured (not much, I know…)
Any help would be greatly appreciated!
Thanks in advance,
JG
linear(time, 0, 1, [105,105], [95,95]);
linear(time, 0, 1, [95,95], [105,105]);