CHAPTER 7

image

Three.js Framework

There are many WebGL frameworks that are available to abstract away the lower-level application programming interface (API) calls that we have covered in the first six chapters of the book. This abstraction helps to make WebGL development easier and more productive. We will discuss several WebGL frameworks in the next chapter. In this chapter we will concentrate on one of the most widely used frameworks – Three.js. We will cover the following:

  • A background of the library
  • How to start development with Three.js
  • Falling back to a 2D canvas context for rendering if WebGL is not supported
  • Three.js API calls to easily ...

Get Beginning WebGL for HTML5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.