ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Counter rounding and then no rounding?

COW Forums : Color Grading

VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan Ebberts
Re: Counter rounding and then no rounding?
on Apr 16, 2020 at 3:11:41 pm

Something like this maybe:

timeA = 0;
timeB = 1;
val = Math.round(linear(time, timeA,timeB, 0, 3.9));
(val > 3 ? 3.9 : val)+'%'


Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]