WebGL - canvas and getContext
In this episode of ProgrammingTIL WebGL, we'll look at a few concepts:
https://github.com/davidwparker/programmingtil-webgl/tree/master/0001-blank-canvas https://www.programmingtil.com/
- canvas object, check if webgl present
- API: getContext, clearColor, clear, COLORBUFFERBIT
https://github.com/davidwparker/programmingtil-webgl/tree/master/0001-blank-canvas https://www.programmingtil.com/
© programmingtil.com