Create a canvas like we did in the last exhibit. However, we get the canvas element with jQuery,
and get the WebGL context in a slightly different way.
var canvas = $("#webglCanvas");var gl = canvas[0].getContext("webgl2");
Note that we use "webgl2" instead of "webgl" or "experimental-webgl".
This code will most likely not run on your cellphone. If it doesn't run on your laptop, you need to update
your browser.
Update Chrome to the latest version (56 as of Jan 26, 2017) should do the job.
For Firefox, you need to download and install version 51 beta.