Hello everyone,
First post here, so I apologise for the beginner question.
I’m trying to use the Improved Noise function in the math folder and have been able to import it using:
import {ImprovedNoise} from 'https://unpkg.com/three/examples/jsm/math/ImprovedNoise.js';
But when I try to access the noise function using:
let val = new ImprovedNoise().noise(5);
It comes back with a 0 regardless of what the input value is.
I get the same response regardless of if I put the “new” in it or what value / number of values I give the function. So I’m at a bit of a loss of how to actually access this function.
Many thanks in advance,
chreeb
( Link to Improved Noise module here)