Hey there! I've been experimenting with running some three.js examples on my local machine. I ran into some security issues, so I set up a local server using Python. While the background image and text appear as expected, the animations are not working.
After checking the console, I noticed an error stating that "THREE is not defined." Despite downloading three.js and adding it to my project directory, I'm still not seeing any progress. Any thoughts on what could be causing this issue?
The animations run smoothly in the browser when accessing them from the three.js
(examples) page. My script src matches the output of the pwd
command while working in the command line within the three.js-master
directory, as shown below:
<script src="/home/iiiiiii/Desktop/test/build/three.js"></script>
<script src="js/controls/TrackballControls.js"></script>
<script src="js/renderers/CSS3DRenderer.js"></script>
<script src="js/loaders/PDBLoader.js"></script>