Most modern browsers implement WebGL, a javascript API modeled after the OpenGL API that allows your javascript code to directly access your GPU for rendering graphics to a canvas element. Let's have a first look at how to use WebGL to create graphics in the browser.