1. Overview of WebGL

Chapter Overview:

This chapter briefly introduces you to WebGL, outlines some of the key features and advantages of WebGL, and discusses its origins. It finishes by explaining the relationship of WebGL to HTML5 and JavaScript and which web browsers you can use to get started

with your exploration of WebGL.

Chapter 1 doesn't contain any sample programs, however there are a couple of links that are worthwhile checking out. Firstly, to make sure that your browser supports WebGL try:

HelloTriangle which should show you a simple red triangle like this:

If you fail to see this triangle, take a look at these suggestions

Here are the examples of the power and sophistication that WebGL is able to achieve and that we show in figure 1.3. Courtesy of Gregg Tavares (Google)