.scale(world, [100, 100, 100], world);
    //drawModel(vertexColorProgramInfo, gridBufferInfo, gl.LINES, gridUniforms, world);
  }

  return {
    render: render
  };
}

var app;
function main() {
  canvas = document.querySelector("#canvas");

  var gl = twgl.getWebGLContext(canvas, {alpha: true, preMultipliedAlpha: false});
  if (!gl) {
    return;
  }

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

  app = createApp(gl);

  va