Script-based animation using requestAnimationFrame

linear
ease
ease-in
ease-out
ease-in-out


requestAnimationFrame频率为1/60秒,60帧渲染动画是足够的,类似setTimeout(code, 1000/60)

SINCE 2022 © markbuild