Summary
In this chapter, we looked at a couple of technologies related to Three.js. We showed you different ways of integrating Three.js with TypeScript and React, and we also showed you how to create some basic AR and VR scenes.
By using the Three.js TypeScript bindings, you can easily access all the Three.js functionality from your TypeScript project. And integrating Three.js with React is made easy through the React Three Fiber library.
Using VR and AR in Three.js is also very straightforward. By just adding a couple of properties to the main renderer, you can quickly convert any scene into a VR or AR scene. Remember to use the browser plugin to easily test your scenes without needing actual VR and AR devices.
With that, we’ve come to the end of this book. I hope you’ve enjoyed reading it and playing around with the examples. Happy experimenting!