Periodic fractional Brownian motion. Sums octaves octaves of
periodicNoise2, each sampled at lacunarity × the previous
frequency and scaled by gain × the previous amplitude. The
lattice period passed to each octave scales with the frequency, so
the wrap stays consistent across the spectrum. pX and pY
describe the base octave's period.
Periodic fractional Brownian motion. Sums
octavesoctaves of periodicNoise2, each sampled atlacunarity ×the previous frequency and scaled bygain ×the previous amplitude. The lattice period passed to each octave scales with the frequency, so the wrap stays consistent across the spectrum.pXandpYdescribe the base octave's period.