diff --git a/README.md b/README.md new file mode 100644 index 0000000..f67f223 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# 3D Nostalgia +**Deployment :** habbatul.github.io/3D-Nostalgia/ + +## About + +A three-dimensional website with a digital nostalgia theme for Gen Z, featuring a lonely and liminal atmosphere. This website is created as an exploration of WebGL using Three.js. My exploration involves basic trigonometry, shaders, application of GLTF and HDRI, the combination of WebGL-Three.js with JavaScript event handlers, and more. + +### Run on Your PC + +Install npm on your desktop and run this web locally. + +``` +git clone +npm install +npx vite +``` + +### Tech Stack + +My focus is on exploring vanilla JavaScript and implementing trigonometry. Basically, Three.js provides everything we need. + +- Vite +- ThreeJS +- Javascript (Vanilla) \ No newline at end of file diff --git a/main.js b/main.js index bc69ab0..0d9c7b2 100644 --- a/main.js +++ b/main.js @@ -561,7 +561,7 @@ controls.dampingFactor = 0.25; controls.enableZoom = true; controls.enablePan = false; controls.target.set(0, 0, -25); -controls.minDistance = 20; +controls.minDistance = 24; controls.maxDistance = 120;