Drawing a cylinder in “raw” WebGL

We were given an assignment in Computer Graphics to draw a cylinder in WebGL using libraries such as gl-matrix and cuon. That is to say,  not using Three.js. We couldn’t find any tutorials that matched our problem, so hopefully this one will be of help to other students. If you don’t want to read all this, here is the code and here is the… Read more →