-
Notifications
You must be signed in to change notification settings - Fork 72
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
[FEATURE REQUEST] Support for Declarative (SMIL) Animation #39
Comments
Hi @christianhujer, unfortunately due to its implementation, timecut/timesnap does not support SVG animations-- it only aims to support JavaScript and (some) video. |
I guessed so. Maybe we can keep this ticket open as a feature request? I understand that upstream changes may be required, even as far as to Chromium itself. |
This project primarily uses only JavaScript and Puppeteer for time handling, so changes to Chromium would probably be outside of the scope. That said, it's not completely out of the question to make a JavaScript implementation of SMIL. In fact, a quick search shows that there's a JavaScript polyfill for SMIL at https://github.com/ericwilligers/svg-animation, which might work for you (though it might require some work to force an overwrite with browsers that already support it and disabling native SMIL support). See Also: |
I'm not a web developer, so I might be entirely wrong here, but it appears that SVGs have a couple methods that can help:
Can't they be used to pause the animation and then advance it along with the "virtual time" in which all other elements live? |
Thanks @Minoru for the information; I wasn't aware of these methods. This does make SVG Animations look a lot more promising. I'll take a look into this when I have some time. |
When recording a declarative (SMIL) animation, the animation speed in the recorded video does not match the animation speed in the actual SVG file.
The text was updated successfully, but these errors were encountered: