-
Count down with expresssions
Hi all
I’ve just done this great tutorial: https://vimeo.com/4409159
However I need the numbers to go backwards. The tutor generates the numbers in relation to a slider he creates that tracks the time. The new number (the falling one) gets it’s value by rounding the timecode up, so if we are at 2.5 seconds then the new number is 3. The opposite is for the old number (the one that will be covered by the falling number, so this is rounded down.
He uses this expression: src =comp (“Flip Clock Render”).layer(“Clock”).effect(“Time”)(“Slider”);
Math.floor(src)What I need is for my counter to count down. So if the duration of the clip is 10 seconds then somehow at 2 seconds it shows 8.
Can anyone help?
Thanks
Sam
src =comp ("Flip Clock Render").layer("Clock").effect("Time")("Slider");
Math.floor(src)
Some contents or functionalities here are not available due to your cookie preferences!This happens because the functionality/content marked as “Vimeo framework” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.