WebGL Tutorial 02 - Rotating 3D Cube
Channel: Indigo Code
Date: 19/01/2016

In this video, I explain the theory behind expressing 3D scenes in 2D spaces (such as your screen), and how to program with that in consideration with WebGL. I imagine this is closer to what you want to do with WebGL.

A live demo is available at http://www.kamaron.me/tutorial-live/webgl/02-rotating-cube/

In this series, I will not be using any external libraries like Three.JS. These tutorials are intended for people comfortable (but not necessarily experienced) with JavaScript and HTML, with or without any prior graphics programming experience. Ideally, I would like anybody watching my full tutorial set to be able to create a 3D video game from scratch using WebGL.

Source code available at https://github.com/sessamekesh/IndigoCS-webgl-tutorials/tree/master/02%20-%20Rotating%20Cube

glMatrix library used for math: http://glmatrix.net/

Other fantastic WebGL resources:
http://antongerdelan.net/opengl/webgl_starter.html
http://webglfundamentals.org/
https://www.chromeexperiments.com/webgl
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial
https://msdn.microsoft.com/en-us/library/dn302341(v=vs.85).aspx