The easiest and fastest way to learn Three.js is by playing around with the examples in this book. In this section, we'll have a quick look at how you can get the source code for this book and set up a local web server to easily test and extend the examples.
There are two different ways in which you can get the source code for this chapter. You can download them directly from the Packt website at http://www.packtpub.com/support, or you can get the code directly from the GitHub repository. For the first approach, point your browser to the specified URL, download the source code, and extract the
.zip file into a directory of your choice.
When you want to get the source code directly ...