better animation loop for hotspot image sequence

  • Hi all,
    I was looking for a way to create an image loop based on the washing machine example:
    [https://krpano.com/krpano.html?xm…chmaschinen.xml ]
    I succeeded at last, but only by creating a "restart"-action which has an empty tween method...
    If I leave that out, the framenumber has no reset.
    There has to be a better method for this,
    but at the moment I can't werap my head aroiund this...
    Also, the update_frame call in the tween method is called far to often.
    Any help is appreciated -
    I will build an awesome demo example with this!

    Here is my code


    Thank you in advance and best regards,
    MT

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!