All 80+ recipes from Three.js Cookbook online

3 minute read

About a month ago my third book on Three.js got released: Three.js Cookbook. This book has 80+ recipes on how to accomplish common tasks in Three.js. On this page you can find all the code examples from that book. If you like to know more about these recipes, click the link on the right side of this page:

Note that some of the examples might take some time to load. A number of examples use large textures, large models or other big files that need to be downloaded.

Chapter 1: Getting started

Chapter 2: Geometries and Meshes

Chapter 3: Working with camera

Chapter 4: Materials and textures

Chapter 5: Lights and shaders

Chapter 6: particles and postprocessing

Chapter 7: Animation and physics