Animating using vtk.js


I have vtk files with data that changes over time.
Is it possible to animate the data?

yes if you can load each time step. No if it is a single file as we don’t have a JS version of the exodus reader.

Thank you Sebastien for your response.
I’m not sure how to do that. I didn’t find the documentation for it. (I have a single file for each time step).

Assuming you know how to load your data, you need to manage the animation yourself by switching your dataset at the pace you are looking for either via timeout or requestAnimation.
vtk.js does not provide any infrastructure for animation, but JS does.