Note: This is a very simple example
with only 8 frames:
The practical limitation is the maximum texture size supported by most
devices/browsers (currently 4k x 4k).
Assuming each frame is 256 x 256, this allows for 256 frames in a 4kx4k texture.
This page is part of the PhotoAnim JavaScript API documentation