evolvePath()
Part of the @remotion/paths package.
Animates an SVG path from being invisible to it's full length. The function takes two arguments:
- progressis the progress towards full evolution, where- 0means the path being invisible, and- 1meaning the path being fully drawn out.note- Passing in a value above 1 will result in the start of the path getting devolved. Passing in a value below 0 will result in the path getting evolved from the end. 
- pathmust be a valid SVG path.
The return value will be an object containing strokeDasharray and strokeDashoffset values, which should be passed to the <path> element.
tsxevolvePath } from "@remotion/paths";constpath = "M 0 0 L 100 0";constevolution =evolvePath (0.5,path );console .log (evolution ); // { strokeDasharray: '100 100', strokeDashoffset: 50 }constelement = (<path d ={path }strokeDasharray ={evolution .strokeDasharray }strokeDashoffset ={evolution .strokeDashoffset }/>);
tsxevolvePath } from "@remotion/paths";constpath = "M 0 0 L 100 0";constevolution =evolvePath (0.5,path );console .log (evolution ); // { strokeDasharray: '100 100', strokeDashoffset: 50 }constelement = (<path d ={path }strokeDasharray ={evolution .strokeDasharray }strokeDashoffset ={evolution .strokeDashoffset }/>);