noise1 method

  1. @override
double noise1(
  1. double x
)
override

Implementation

@override
double noise1(double x) {
  List<double> box = getScaleBoundsC1D4(x).map((e) => e.toDouble()).toList();
  return cubic(
      input.noise1(box[X1_D4]),
      input.noise1(box[X2_D4]),
      input.noise1(box[X3_D4]),
      input.noise1(box[X4_D4]),
      normalize(box[X2_D4], box[X3_D4], x));
}