I'm attempting to create an initial flipper value of "???". Then on a specific event, I'd like to flip the counter over to zeros, and count upwards to a specific 3-digit (or less) number.
I'm using the following for the numeric counting: data-transform="arrive(9, .001) -> round -> pad('???') -> split -> delay(rtl, 100, 150)" (adapted from the "Animated Values" example).
I've tried playing around with the documentation here and messed with variations on data-transform="transform(split() -> map(replace('?', '0'))) -> arrive(9, .001) -> round -> pad('000') -> split -> delay(rtl, 100, 150)", but it either didn't achieve what I wanted or threw errors.
Happy to provide more context if needed. Ideally, the flipper would function like this:
Initialize with "[?] [?] [?]" (each bracket being it's own flipper)
On specific trigger, each "[?]" flips over to "[0]".
Then counts up to whatever the specific number is.
I'm attempting to create an initial flipper value of "???". Then on a specific event, I'd like to flip the counter over to zeros, and count upwards to a specific 3-digit (or less) number.
I'm using the following for the numeric counting:
data-transform="arrive(9, .001) -> round -> pad('???') -> split -> delay(rtl, 100, 150)"
(adapted from the "Animated Values" example).I've tried playing around with the documentation here and messed with variations on
data-transform="transform(split() -> map(replace('?', '0'))) -> arrive(9, .001) -> round -> pad('000') -> split -> delay(rtl, 100, 150)"
, but it either didn't achieve what I wanted or threw errors.Happy to provide more context if needed. Ideally, the flipper would function like this:
Thanks!