sample method

  1. @override
double sample(
  1. double normalizedAge,
  2. double random01
)
override

Returns the value for a particle at normalizedAge with per-particle random random01.

Implementation

@override
double sample(double normalizedAge, double random01) =>
    min + (max - min) * random01;