Slow down, pause, or speed up time of any web content.
Debug animations, study cool demos, and make games easier or harder.
import slowmo from "slowmo"
slowmo(0.5) // half the speed of time
Drag outer edge to change speed. Click center to pause.
@keyframes
JS animation loop
element.animate()
HTML5 video
Hover to animate
import slowmo from "slowmo"
slowmo(0.5) // half speed
slowmo(2) // double speed
slowmo(0) // pause
slowmo(1) // normal
slowmo.pause() // pause all
slowmo.play() // resume
slowmo.reset() // back to 1×
slowmo.getSpeed() // current speed
Inspired by agentation by Benji Taylor and his related blog posts