INNER CODE UNIT · JavaScript

F2

paladin-t/bitty · lib/fast_noise/JavaScript/FastNoiseLite.js:395

                    const F2 = 0.5 * (SQRT3 - 1);
                    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);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…