min property

double min
final

The bounds of this Crinkle's animation. Default drives -2..2.

Any given animation value at "keyframe" t lies between min and max. Say t is 0 as an animation has just begun, then min value (defaults -2.0) and its mathematical sign is the current animation value. This is provided to the gradient-transformation process, as a percentage-of-offset, to transform.

  • This transformation applies seperately from and in addition to any accelerometer sensor data (unless Foil.useSensor == false).
  • If no transform is provided, default will be a TranslateGradient.

After one period our t would be 1.0 and max (default is 2.0) is provided as the current animation value.

Furthermore, this animation value is finally multiplied by the relevant Scalar.horizontal or Scalar.vertical factor, as well as its mathematical sign, before transforming the gradient.

Implementation

final double min, max;