Animation Through Interpolators and Alpha Objects

The Interpolator class extends Behavior that is used in conjunction with an Alpha object to provide animation to the scene graph. We use the term animation to refer to basically non-interactive changes to the scene graph.

The name Interpolator reflects the use of these classes in interpolating between sets of values. We all remember having to interpolate tables and such in math class. This idea is the same. Often, the programmer will specify two values, and the Interpolator will provide a smooth set of values between the pair. Other Interpolators can have a variable number of points called knots to interpolate between.

Note that Interpolators are almost always considered with respect to an Alpha ...

Get Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.