
If, for any reason, we believe that you have not complied with these terms of service, we may, at our sole discretion, cancel your use of FireAlpaca immediately and without prior notice. Other acts that bring detriment to our company.You shall not, except with our written permission, distribute or commercially exploit the content in any other website, magazine, or publication. This freeware, its content and intellectual property are copyright of PGN Inc.Īny redistribution or reproduction of part or all of the contents in any form is prohibited. If you disagree with any part of the terms then you may not download the service.įireAlpaca is a freeware that does not require payment of any license fee for both individual users and commercial use. Your download of this freeware and use of the service is conditioned on your acceptance of and compliance with these terms. If you use our service, you agree to all of the terms listed below. Then you can use reverse() and the like and it will appear to play backwards indefinitely (at least for 1 hour or so depending on that startTime you used and the playback rate you set).Please read these terms carefully before using FireAlpaca ("freeware", or "service") provided by PGN Inc.

1000 * 60 * 60 for 1 hour in the past) and set its iterations value to a very large number or Infinity. One approach you can use it to set the animation's startTime to a very long time in the past (e.g. If you set the direction property, the animation will play backwards indefinitely but changing the direction while the animation is in play will not cause it to update smoothly (unlike using reverse() or updatePlaybackRate()). it simply plays it back in reverse to its starting point. Unfortunately there is no concept of an animation that plays indefinitely in reverse with Web Animations.Īn animation plays from the iteration number defined by its iterationStart property (typically 0) and if you reverse it using reverse(), updatePlaybackRate(), or by setting playbackRate directly, it simply plays backwards until that point. That said, even if I set the iterations to some large number as suggested, the animations "finish" shortly after reversing playback rate

However, if your animation has an infinite length, that would mean jumping to infinity! The behavior of reverse(), like play(), is that if the animation is at the “end”, it jumps back to the start and begins playing.įor reverse() this means that if the current time is zero when you call it (as in your example), then it should jump back to the beginning. Index.js:70 Uncaught DOMException: Failed to execute 'play' on 'Animation': Cannot play reversed Animation with infinite target effect end. I notice that the 'scenery' animations finish despite being created as follows: const sceneryKeyframes = [ I'm following along with MDN's Web Animations API docs here (full pen here) and I'm running into the following:
