tnfe / FFCreator

A fast video processing library based on node.js (一个基于node.js的高速视频制作库)
http://tnfe.github.io/FFCreator/
MIT License
2.78k stars 392 forks source link

添加自定义动画,为什么旋转角度会转这么多次呢? #397

Open lqomg opened 10 months ago

lqomg commented 10 months ago

如图:

动画

      comp.addAnimate({
        from: { x: 10, scale: 0.1, alpha: 0, rotation: 0, width: 100, height: 100 },
        to: { x: 1000, scale: 1, alpha: 1, rotation: 120, width: 500, height: 500 },
        time: 2,
        delay: 1,
        ease: 'Quadratic.In'
      });