We use the vtk (python) to generate .vtkjs file that we load in a viewer using the vtkjs library.
I am interested in understanding how I can use time series in the above-mentioned workflow. I see in this example that a series of .vtp files are necessary for a time series animation. Is this the only way to have a time series animation?
Our use case
We use scalars of celldata to mount simulation data. In one particular case, we have 8760 arrays of simulation data. In this case, the geometry data (celldata) remains the same and only the scalar gets updated at each time step. If we produce 8760 .vtp files, the geometry data will be duplicated and it will unnecessarily increase storage needs. Is there a way to avoid this?
In my search for an answer, I do see objects such as vtkMultiBlockDataSet and vtkTemporalDataset. Can I use any of those objects to achieve what I have mentioned above?