August 2012
Beginner
356 pages
9h 21m
English
CHAPTER 1
![]()
Setting the Scene
In this chapter we will go through all the steps of creating a scene rendered with WebGL. We will show you how to
A Blank Canvas
Let’s start by creating a HTML5 document with a single <canvas> element (see Listing 1-1).
Listing 1-1. A basic blank canvas
<!doctype html>
<html>
<head>
<title>A blank canvas</title>
<style> ...
Read now
Unlock full access