Over the last couple of years, browsers have gotten more powerful and are capable of delivering complex applications and graphics. Most of this, though, is standard 2D graphics. All modern browsers have adopted WebGL, which allows you to not just create 2D applications and graphics in the browser, but also create beautiful and high-performance 3D applications using the capabilities of the GPU.
Programming WebGL directly, however, is very complex. You need to know the inner details of WebGL and learn a complex shader language to get the most out of WebGL. Three.js provides a very easy-to-use JavaScript API around the features of WebGL, so you can create beautiful 3D graphics without having to learn the details of WebGL.
Three.js provides a large number of features and APIs you can use to create 3D scenes directly in your browser. In this book, you'll learn all the different APIs Three.js has to offer through lots of interactive examples and code samples.