-
write on-animation of shape layers with variable stroke width coming from illustrator
hi everybody,
i researched this extensively and found a lot of related stuff but not really the solution to this:the problem is getting a nice write-on effect with ai files using variable brush widths… my workflow is:
i have illustrations done in illustrator. i import the ai-file into after effects and then convert it to a shape layer (menu/layers/create shapes from vector layer). then i add the write on-effect by adding trim paths.
now, this works nicely as long as the stroke width used in illustrator is constant – because then in my shape layer, each group has a a path and a stroke.
however, if the illustrations where drawn using a variable stroke width, in after effects these are converted not to strokes but to paths with fills instead. which looks very weird when animating via trim paths.is there an easy solution for this? i found an approach using “offset paths” instead of trim paths but this only seems to work with very simple shapes. also i know of the “old way” of doing this with masks and stroke effect but this approach has all sorts of other problems (eg. fills) so i really want to do it via shape layers.
last but not least, it has to be super-efficient since i’m designing a workflow which will be used in literally hundreds of films…thanks a lot for any help with this!
p