From Dev.to
Deterministic Chart Animation in the Browser: Let the Frame Index Be Your Clock
Deterministic Chart Animation in the Browser: Let the Frame Index Be Your Clock Animation code almost always starts the same way: const t = (performance.now() - startedAt) / duration; drawChart(ease...
