I want to work with Three.js
and I would like to download it, but when I click "download", on the Three.js-Website, I get a folder with a lot of stuff in it:
From looking at this folder structure, I'm guessing I'll only need to include three.js
, or three.min.js
, which, I'm guessing is the same, only with less code, no tabs…
Is this correct, do I only need the: three.js
-file, for Three.js to work? …and what is the three.module.js
-file for?
Not sure where you want to use it, but if it's for web development, do the following:
open the page you're looking for, and just before the tag </body>
add
<script src="https://cdn.jsdelivr.net/npm/three@0.124.0/build/three.js"></script>
and that's it! :)