It can't screen record an animation though, but it could be a baseline for hand-animating the elements. Accepting PRs for screen recording functionality :D
It can't screen record an animation though, but it could be a baseline for hand-animating the elements. Accepting PRs for screen recording functionality :D
https://gist.githubusercontent.com/alphapapa/65b0b9d4b3f5534...
[1]: https://developer.apple.com/documentation/appkit/nswindow/14...
https://github.com/TomasHubelbauer/SVG-Screencast
This is for screen recordings. SVG animations as the OP I play around with, too:
https://github.com/TomasHubelbauer/SVG-3D
:)
[1] https://support.mozilla.org/en-US/kb/add-on-signing-in-firef...
(Here's the Chrome extension link for anyone who's interested: https://chrome.google.com/webstore/detail/svg-screenshot/nfa...)
Source: I am lazy.
I'd love a tool like this for generating animated SVG clips of a web page, it'd help immensely when creating walkthroughs. Video recordings do work, but it's a mess working with different encodings to make it look ok. Not to mention, with SVG such walkthroughs could actually be made interactive...
Would be super helpful to have some example screenshots linked in the readme though, to help set expectations.
The tests take a PNG screenshot of the webpage, then a PNG screenshot of the created SVG and pixelmatch the two. The difference must be below 0.5% for tests to pass.
In that case - just install the extension and try it out? :)