How to animate a sequence of individual images?

Hi @kan, welcome to the Streamlit Community!

Your request sounds perfect for our new Components framework that we’ll be releasing shortly:

https://discuss.streamlit.io/t/interested-in-creating-and-or-testing-components/2962/2

This will allow developers to create widgets in JavaScript and register them as Python packages, which opens up the types of functionality you are talking about. If you’d like to participate in the beta, we’d love to see you build this out as an example!

Best,
Randy