Creating animations with Tween.js
In Chapter 1, Getting Started, we've already showed you how to set up an animation loop, and in Chapter 2, Geometries and Meshes, we showed you how to create simple animations by changing properties of
For this recipe, we use a library from https://github.com/sole/tween.js/. As this is an external library, we first need to make sure it is included in our HTML page. For this, first add the following within ...