in this DaVinci resolve tutorial, you will learn how to animate a counter in DaVinci resolve.
CODE ::
: -- setup
from = 0; -- starting value
to = 123456; -- ending value
delim = "," -- the text inserted as a thousands separator.
prefix = "pre " -- text before the number
postfix = " post" -- text after the number
-- setup end
number = from + (to-from)*(time/comp.RenderEnd)
delimited = (string.format('%d', number)):reverse():gsub("(%d%d%d)","%1" .. delim):gsub(",(%-?)$","%1"):reverse()
return(prefix .. delimited .. postfix)
#davinchiresolve
#davinciresolve19
#davinci
#howto