when interval is started, tick called in first time with zero
every tick call - time argiment increment by timeout (maybe perfomance.now())
usage
sample({ clock: tick, filter: time > 1e4, target: stopAnimation })
reference: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame (callback argument)
when interval is started, tick called in first time with zero
every tick call - time argiment increment by timeout (maybe
perfomance.now())usage
reference: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame (callback argument)