three.js Getting started with three.js Installation or Setup


Example

npm install three
  • You can add it from a CDN to your HTML:
 <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r83/three.js"></script>
  • You can use the three.js editor to give it a try and download the project as an example or starting point.