org.eclipse.nebula.animation.movement
Class SinusDecreaseVariation
java.lang.Object
org.eclipse.nebula.animation.movement.AbstractMovement
org.eclipse.nebula.animation.movement.SinusDecreaseVariation
- All Implemented Interfaces:
- IMovement
- public class SinusDecreaseVariation
- extends AbstractMovement
This is not an easing equation. This movement goes from f(0)=0 to f(t)=0 with
intermediate values between -amplitude and amplitude an decreasing with time.
- Author:
- Nicolas Richeton
|
Method Summary |
double |
getValue(double step)
Get value at step 'step' |
SinusDecreaseVariation
public SinusDecreaseVariation(int nb,
double amplitude)
getValue
public double getValue(double step)
- Description copied from interface:
IMovement
- Get value at step 'step'
- Specified by:
getValue in interface IMovement- Specified by:
getValue in class AbstractMovement