Engagement/Developer Engagement/Grab bag/WebGL

From MozillaWiki
Jump to: navigation, search

WebGL is the 3D equivalent of canvas. It is hardware accelerated and allows you to create 3D animations and games in the browser. WebGL is the web version of OpenGL which is used to create desktop games. This means a lot of talent from the games industry can now come to the web without having to learn a new skill. The introduction of WebGL to the browser gave us a few new tricks like indexed arrays which allow for heavy computation in JavaScript using the GPU instead of the main CPU.

The Firefox Developer Tools feature a shader editor to debug WebGL - you can read all about it on the MDN page.

Issues with WebGL

  • Programming WebGL is a different skill set from web development and the learning kerb might be a bit high for people. Libraries like three.js make things much easier but it still is a switch from a 2D to a 3D world.


Presentations and articles