Skip to content

Conversation

@jameshadfield
Copy link
Member

We've long wanted the ability to save animations for later use (in presentations etc) I spent an hour trying to implement this by saving each frame as a PNG using html2canvas with the intention of then using ffmpeg to stitch & crop them into a video. It kind-of worked... for small phylogenies the images look good but for larger ones the tree panel was blank (apart from the legend). I presume this is a DOM-complexity thing, but I haven't looked into it!

We've long wanted the ability to save animations for later use (in presentations etc)
I spent an hour trying to implement this by saving each frame as a PNG using
html2canvas with the intention of then using ffmpeg to stitch & crop them
into a video. It kind-of worked... for small phylogenies the images look good
but for larger ones the tree panel was blank (apart from the legend). I presume
this is a DOM-complexity thing, but I haven't looked into it!
@nextstrain-bot nextstrain-bot temporarily deployed to auspice-experiment-save-8v1z7j November 23, 2022 02:33 Inactive
@jameshadfield jameshadfield added the experiment PRs which may never be merged label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

experiment PRs which may never be merged

Projects

No open projects
Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants