title: WebGL Heightmap from array?
body: <p>Anyone happen to know of an example or can point me in the right direction on rendering a heightmap/terrain in WebGL from a three dimensional array? Basically I have an array that contains data relevant to x and y coordinates and a 'height' (z axis).</p>
  
  <p>Everything I've found (like in the threejs world) shows how to create one dynamically or from a 2d image. Ideally I'd like to have the color of the pixel/particle related to the height. Basically looking to do something like below but in WebGL:</p>
  
  <p><a href="https://i.stack.imgur.com/CPc3A.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CPc3A.jpg" alt="enter image description here"></a></p>