mifi / editly

Slick, declarative command line video editing & API
MIT License
4.8k stars 313 forks source link

Feature request: add more ken burns parameters #237

Open Kalo0m opened 1 year ago

Kalo0m commented 1 year ago

Hi, is it planned to add new ken burns parameters? I would like to translate a zoomed image from left to right for example. I've tried to use the img.translateToCenterPoint(Point, originX, originY) from fabric.js http://fabricjs.com/docs/fabric.Image.html#translateToCenterPoint but I don't know if it's the right function (not well documented). Do you have any suggestions?

mifi commented 1 year ago

Hi. No immediate plans but pr is welcome. Or you can c reate your own custom fabric plugin

Kalo0m commented 1 year ago

I would be glad to create a pr but do you have any clue of which function can I use from fabricjs? because translateToCenterPoint display nothing and there is no documentation on it. I don't know if it's the right method https://codesandbox.io/s/fabricjs-playground-forked-o82tsl?file=/src/index.ts:1070-1147

mifi commented 1 year ago

Sorry i dont have time to work on this now