w Float32Array(gridPoints), gl.STATIC_DRAW);

const indexBuffer = gl.createBuffer();
gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, indexBuffer);
gl.bufferData(gl.ELEMENT_ARRAY_BUFFER, new Uint16Array(gridIndices), gl.STATIC_DRAW);

twgl.resizeCanvasToDisplaySize(gl.canvas);
gl.viewport(0, 0, gl.canvas.width, gl.canvas.height);

const m4 = twgl.m4;
const projection = m4.perspective(
  60 * Math.PI / 180,   // field of view
  gl.canvas.clientWidth / gl.canvas.clientHeight, // aspect
  0.1,  // near
  100,  // far
);