WebGL - canvas and getContext

In this episode of ProgrammingTIL WebGL, we'll look at a few concepts:
* canvas object, check if webgl present
* API: getContext, clearColor, clear, COLOR_BUFFER_BIT

https://github.com/davidwparker/programmingtil-webgl/tree/master/0001-blank-canvas
https://www.programmingtil.com/

© programmingtil.com