AbstractAbstractdoneDetermines whether the animation is complete based on the current time or progress.
The current time or progress of the animation. This is typically either a value between 0 and 1 or the time in milliseconds since the start of the animation.
A boolean indicating whether the animation has finished.
AbstractframeThis method should define how the transformation of a WebaniTransformable object changes at each frame.
The current time or progress of the animation. This is typically either a value between 0 and 1 or the time in milliseconds since the start of the animation.
The WebaniTransformable object with updated transformation for the current frame.
Abstract class representing an animation that can modify a
WebaniTransformableobject.This class serves as a blueprint for animations. Subclasses must implement the
framemethod to define how the transformation changes over time, and thedonemethod to specify when the animation has finished.