auditorium icon indicating copy to clipboard operation
auditorium copied to clipboard

Make `render` generate animations

Open apiad opened this issue 6 years ago • 0 comments

When using render, allow for a possibly optional flag --animations that makes auditorium inject into the generated HTML the content for all frames of animations, and corresponding JavaScript to change them.

Beware that in general is it not possible to cover all possible cases, e.g., animations that have some randomness, animations that interact with input values, nested animations whose state depends on different combinations of frames.

Since this can potentially create very large HTML files, perhaps it should be opt-in and log a warning when animations are found and --animations is not passed.

apiad avatar Dec 21 '19 08:12 apiad