3D Game Programming

(C. Jardin) #1

APPENDIX 2


JavaScript Libraries Used in This Book


This appendix contains a list of the JavaScript libraries used in this book,
and details on how you can find more information about each.

A2.1 Three.js


The Three.js JavaScript library is the main library used throughout this book.
The home page for the project is http://threejs.org/. The home page includes lots
of cool animations and samples, many of which you can try in the ICE Code
Editor.

We’re using version 52 of Three.js. Detailed documentation for properties and
methods not discussed in this book can be found at http://gamingjs.com/docs/
threejs/.

A2.2 Physijs


The physics engine that is used in this book is Physijs. The home page for
the library is http://chandlerprall.github.io/Physijs/. That page includes brief samples
and some introductory articles.

The Physijs project doesn’t have as much documentation as the Three.js
project, but there is some on the project wiki: https://github.com/chandlerprall/Physijs/
wiki. We’re using the version of Physijs that is compatible with Three.js 52.
Since Physijs continues to grow, the wiki may refer to newer features than
those supported by the version we’re using.

A2.3 Tween.js


When we want to change values (location, rotation, speed) over the course of
time in this book, we use the Tween library. The project home page is
http://github.com/sole/tween.js.

Prepared exclusively for Michael Powell report erratum • discuss

Free download pdf