Drawing the Animated Frames

An event listener is invoked with the slider position when it is moved.

171                 function sliderChanged(position)
172                 {
173                     var animationMatrix = generateModelViewMatrix(position);
174                     drawFrame(gl, identityMatrix, animationMatrix, vertexBuffer, anotherBuffer);
175                 }

Notes