noise2 method
Implementation
@override
double noise2(double x, double y) {
List<double> box =
getScaleBoundsC2D4(x, y).map((e) => e.toDouble()).toList();
return bicubic(
input.noise2(box[X1_D4], box[Y1_D4]),
input.noise2(box[X1_D4], box[Y2_D4]),
input.noise2(box[X1_D4], box[Y3_D4]),
input.noise2(box[X1_D4], box[Y4_D4]),
input.noise2(box[X2_D4], box[Y1_D4]),
input.noise2(box[X2_D4], box[Y2_D4]),
input.noise2(box[X2_D4], box[Y3_D4]),
input.noise2(box[X2_D4], box[Y4_D4]),
input.noise2(box[X3_D4], box[Y1_D4]),
input.noise2(box[X3_D4], box[Y2_D4]),
input.noise2(box[X3_D4], box[Y3_D4]),
input.noise2(box[X3_D4], box[Y4_D4]),
input.noise2(box[X4_D4], box[Y1_D4]),
input.noise2(box[X4_D4], box[Y2_D4]),
input.noise2(box[X4_D4], box[Y3_D4]),
input.noise2(box[X4_D4], box[Y4_D4]),
normalize(box[X2_D4], box[X3_D4], x),
normalize(box[Y2_D4], box[Y3_D4], y));
}