Animations with PlotlyJS?

Has anyone put together an animated plot using PlotlyJS to display the progress of a computation (so not a postprocessed gif and such)? If so, is there an example?

FYI: PlotlyJS.jl turns out to be quite capable with respect to animated graphics, displayed from a running program. Kudos to @sglyon!
s
addtraces! and deletetraces! did not work. Perhaps I was doing it wrong. But react! was just the ticket.
Code at https://github.com/PetrKryslUCSD/FinEtoolsFlexBeams.jl

2 Likes

Looks exciting! Great work

The next step would be to have the program run ahead, updating the graphics, and to also give some time to the event loop in the figure. How do I do that? Any ideas?

To answer my own question: I don’t think that is possible with PlotlyJS, the communication is one-way.