WebGL - Intro to Matrices / 2d translation

In this episode, I discuss Matrices in WebGL and use 2d translation with a Transformation Matrix.
Concepts:
  • Matrix multiplication
  • Vectors
  • APIs
  • GLSL uniform mat4
  • gl.uniformMatrix4fv

Resources:
  • https://github.com/davidwparker/programmingtil-webgl/tree/master/0038-intro-matrices
© programmingtil.com