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

有关于特效参数的说明吗?比如,如何控制动画的速度、循化等,支持什么样的入参? #422

Open sandheart opened 3 months ago

sandheart commented 3 months ago

// add custom effect creator.createEffect('customEffect', { from: { opacity: 0, y: 350, rotate: 190, scale: 0.3 }, to: { opacity: 1, y: 200, rotate: 0, scale: 1 }, ease: 'Back.Out', });

有关于特效参数的说明吗?比如,如何控制动画的速度、循化等,支持什么样的入参?

drawcall commented 3 months ago

https://tnfe.github.io/FFCreator/#/guide/animate

sandheart commented 3 months ago

https://tnfe.github.io/FFCreator/#/guide/animate

首先感谢回复,这个看过了,但没找到控制动画速度和次数的办法

drawcall commented 3 months ago

文档后续补齐,可以先参看demo

sandheart commented 3 months ago

好的,好期盼