Skip to content

Commit

Permalink
Change : change mindistance of the secondary camera (monitor) and giv…
Browse files Browse the repository at this point in the history
…e readme
  • Loading branch information
Habbatul committed Jul 11, 2024
1 parent 6e32275 commit 562968c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 <this-repo>
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)
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down

0 comments on commit 562968c

Please sign in to comment.