title: adding perlin noise to THREE.js r121
body: <p>I have been struggling with finding a good tutorial to add perlin noise to a newer version of THREE.js. I have found many tutorials and examples but they all seem to break when I add r121 into the mix.</p>
  <p>I've tried a great example from Codepen using a script from jeromeetienne.github.io</p>
  <p>I've also tried this guys tutorial and file <a href="http://www.stephanbaker.com/post/perlinterrain/" rel="nofollow noreferrer">http://www.stephanbaker.com/post/perlinterrain/</a></p>
  <p>I've tried several others and no luck. I am convinced it's due to THREE versions being used. Most of what I can find use an old version of THREE.js. I have forked what others have, and it works with the old version they are using but not the new one.</p>
  <pre><code> //land
   let landGeo = new THREE.PlaneGeometry(500,500, 50, 50);
    let landMat = new THREE.MeshStandardMaterial({
  color:'green'
  })
  land = new THREE.Mesh(landGeo, landMat);
    scene.add(land);
  noise.seed(Math.random());
  for(let i=1;i&lt;100;i++) {
    for(let j=1;j&lt;100;j++) {
     var value = noise.simplex2(i / 100, j / 100);
      // ... or noise.simplex3 and noise.perlin3:
  //    var value = noise.simplex3(i / 100, j / 100, clock);
  
      landGeo[i][j].r = Math.abs(value) * 256; 
    }
  }
  </code></pre>
  <p>So does anyone know how  can get some version of perlin noise working? I am trying to creat terrain.</p>
  <p><a href="https://codepen.io/jfirestorm44/pen/mdEEwqb?editors=0010" rel="nofollow noreferrer">https://codepen.io/jfirestorm44/pen/mdEEwqb?editors=0010</a></p>
  <p>Thank you</p>