-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG: support 'follow path' (animateMotion) #173
Comments
There is a lot of things you can do in Friction that does not work in export SVG, assume effects (except for blur) don't work. A workaround until this is implemented it to use expressions. |
well again if we know its not supported warning user would be nice . i would much rather if export worked but :D that is porbbyl harder to implment |
I know, but it's a bit more complicated than that. I also think this is a bug, we shouldn't care about "follow path" or whatever, but the actual transform values we end up with. |
A quick look into the code indicate that transform effects are not supported for SVG (no code). So, this is supported:
Will look into supporting transform effects, unsure when. |
Got a proof-of-concept, still need misc fixes etc, but hey, it kind of works 😄 friction-svg-animateMotion-2024-08-26_23.12.35.mp4 |
Yeah... can't used 'rotate' in animateMotion as it forces pivot top-left. Ref: #173
Will need to calculate this in Friction and (in theory) use:
Inside the |
Am I wrong or your are saying that blur effect and expressions work for animated SVG? |
Blur and shadow is supported. All expressions will be applied (converted to transforms) when exporting to SVG, just don't use |
Wow, I understand. I'll try it out tomorrow as well! Thanks! |
You were right, they are all working fine! I'm gonna try the "follow path " branch |
follow path.zip
0.9.6-last
svg suport this effect :
If friction does not there should be maybe warning that this effect is not currently supported on export ? / in UI of exporter
The text was updated successfully, but these errors were encountered: