Dynamically adding frames to animations?

Here a filter transform was used to create a cumulative animation without precomputing each frame.

However, unfortunately transforms are maked as deprecated in plotly.js v2 (and plotly.py v5) and will be removed in a future version.