Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only.
These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use.
Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability.
Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing.
The software is provided as is with no guarantees or support.
The AnimationAPI provides basic functionalities to define keyframe-based animation sequences.
An animation sequence defines a gradual change from one node state to another, whereby a single
state is defined by an AnimationFrame which includes different properties to specify the
transformation and appearance of a node at that point in time. An animation sequence is independent
of a specific node and can be applied to multiple nodes with different AnimationOptions.
Quick Start
Example: create a simple animation sequence which does a full rotation around the Y-axis and apply it to a node.
constcontext = webvis.getContext();// Create a simple animation sequence which does a full rotation around the Y-axiscontext.createAnimationFrames( "rotate" , [ { rotation: [ 0, 0, 0 ] }, { rotation: [ 0, 180, 0 ] }, { rotation: [ 0, 360, 0 ] }]);// Apply the animation sequence to an InstanceGraph node with a total duration of 1000mscontext.setProperty( 1, webvis.Property.ANIMATION, {name :"rotate",duration :1000,});
Events
The following events are associated with the AnimationAPI:
The AnimationAPI
Overview
The AnimationAPI provides basic functionalities to define keyframe-based animation sequences. An animation sequence defines a gradual change from one node state to another, whereby a single state is defined by an AnimationFrame which includes different properties to specify the transformation and appearance of a node at that point in time. An animation sequence is independent of a specific node and can be applied to multiple nodes with different AnimationOptions.
Quick Start
Example: create a simple animation sequence which does a full rotation around the Y-axis and apply it to a node.
Events
The following events are associated with the AnimationAPI:
Restrictions
Animation sequences that include transformations and are applied to a leaf node cannot yet be visualized by the viewer.