noise1 method

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

Implementation

@override
double noise1(double x) {
  double n = generator.noise1(x);

  for (int i = 1; i < octaves; i++) {
    n += generator.noise1((x + (i * 100000)) * gain * i);
  }

  return n * multiplier;
}