A blog created whilst studying Digital Media Arts at the University of Brighton.
by James
Following the NPM installation tutorial at https://threejs.org/docs/#manual/en/introduction/Installation
Reading about NPM packages at https://eloquentjavascript.net/20_node.html#h_J6hW/SmL/a
When you run npm install without naming a package to install, NPM will install the dependencies listed in package.json
“^2.3.0” would mean that any version greater than or equal to 2.3.0 and less than 3.0.0 is allowed
After reading about WebPack, now following the SnowPack tutorial https://www.snowpack.dev/tutorials/quick-start
Now following the more detailed tutorial - https://www.snowpack.dev/tutorials/getting-started
Success! Working demo of three.js running
Added gitignore https://www.toptal.com/developers/gitignore
Made github repository
Adding fingerprint.js - it works fine, returns a mix of digits and letters for id - will update API to be compatible.
Found a neat outdoors model. https://sketchfab.com/3d-models/camping-buscraft-ambience-7b65e4df95c3492fbf4e0641e3b472c1#download
“camping buscraft ambience” (https://skfb.ly/6V9Ru) by Edgar_koh is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/).
Added stats.js and dat.GUI. Adding libraries is so much easier with NPM, I love it.
Adding lighting, reusing code from the Gallery Project.
tags: Reflective Writing - Web Projects