INNER CODE UNIT · JavaScript
t
paladin-t/bitty · lib/fast_noise/JavaScript/FastNoiseLite.js:396
let t = (x + y) * F2;
x += t;
y += t;
break;
default:
break;
}
switch (this._FractalType) {
default:
return this._GenNoiseSingleR2(this._Seed, x, y);
case FastNoiseLite.FractalType.FBm:
return this._GenFractalFBmR2(x, y);
case FastNoiseLite.FractalType.Ridged:
return this._GenFractalRidgedR2(x, y);
case FastNoiseLite.FractalType.PingPong:
return this._GenFractalPingPongR2(x, y);
}