Class CosineInterpolator

java.lang.Object
org.vanted.animation.interpolators.Interpolator
org.vanted.animation.interpolators.CosineInterpolator

public class CosineInterpolator
extends Interpolator
Author:
- Patrick Shaw Interpolates data between the first half a period of a cosine graph.
In position animations, it will cause the animation to start off slow, speed up and slow down again everytime it goes from one data point to the other.
The effect is not as apparent as it would be with a SigmoidInterpolator.
  • Constructor Details

    • CosineInterpolator

      public CosineInterpolator()
  • Method Details