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/w...
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/Indigo...
glMatrix library used for math: http://glmatrix.net/
Other fantastic WebGL resources:
http://antongerdelan.net/opengl/webgl...
http://webglfundamentals.org/
https://www.chromeexperiments.com/webgl
https://developer.mozilla.org/en-US/d...
https://msdn.microsoft.com/en-us/libr...
On this page of the site you can watch the video online WebGL Tutorial 02 - Rotating 3D Cube with a duration of hours minute second in good quality, which was uploaded by the user Indigo Code 18 January 2016, share the link with friends and acquaintances, this video has already been watched 151,904 times on youtube and it was liked by 1.7 thousand viewers. Enjoy your viewing!