All 109 Examples from my book on Three.js for Three.js version r63

4 minute read

A couple of months ago my book on Three.js was published by packt (which you can buy from here: Learning Three.js: The JavaScript 3D Library for WebGL). All the examples from that book were made for the version of Three.js which at that moment was the latest, which was r60. About a week ago Three.js r63 was released. No big changes this time, but there we’re still some minor changes which caused a couple of examples to stop working. So I created a seperate branch on the learning three.js github repo, where you can access all the examples updated and tested with version r63 of Three.js.

You can find the complete repo for r63 here: https://github.com/josdirksen/learning-threejs/tree/threejs_r63 If you’re still on r60 you can find that in the main branch: https://github.com/josdirksen/learning-threejs

If you don’t want to clone the repo you can also look at the examples online:

Chapter 1: Creating Your First 3D Scene with Three.js

Chapter 2: Working with the Basic Components That Make Up a Three.js Scene

Chapter 3: Working with the Different Light Sources Available in Three.js

Chapter 4: Working with the Three.js Materials

Chapter 5: Learning to Work with Geometries

Chapter 6: Using Advanced Geometries and Binary Operations

Chapter 7: Particles and the Particle System

Chapter 8: Creating and Loading Advanced Meshes and Geometries

Chapter 9: Animations and Moving the Camera

Chapter 10: Loading and Working with Textures

Chapter 11: Custom Shaders and Render Post Processing

Chapter 12: Adding Physics to Your Scene with Physijs

Updated: