observable-prerender
might be an option here, if you’re alright with generating it from outside observable (and if you’re comfortable with the command line). This notebook has an example of making PNG screenshots of a cell for every frame of an animation, then using ffmpeg to convert those frames to MP4 (though you can do something very similar with SVGs and GIFs). There’s also a CLI that makes it slightly easier
1 Like