It would be handy to have a function in @remotion/paths which takes a path and adds X / Y translation to it.
Could use this code: https://github.com/michaelrhodes/translate-svg-path/blob/master/index.js and re-use the path parsing patterns already existing in @remotion/paths.
Should also have 1-2 basic unit tests and a new documentation article like the other path functions.
It would be handy to have a function in
@remotion/pathswhich takes a path and adds X / Y translation to it.Could use this code: https://github.com/michaelrhodes/translate-svg-path/blob/master/index.js and re-use the path parsing patterns already existing in
@remotion/paths.Should also have 1-2 basic unit tests and a new documentation article like the other path functions.