diff --git a/index.html b/index.html index f6d69eb..8af2be1 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ Vite App - - + +
@@ -23,9 +23,9 @@

Projects:

- - + +

-

Professional Experience:

+

Professional experience:

- +

Education:

-
-
-
-howdy -
-
-
-doody -
-
-
-every -
-
-
-body - - - - - - -
+ diff --git a/main.js b/main.js index cbd92ef..6f0bf63 100644 --- a/main.js +++ b/main.js @@ -2,7 +2,7 @@ Author: Daniel Jones IDE: VSCodium Browsers tested: Firefox 125 -Last change: 04/24/24 +Last change: 05/08/24 purpose: portfolio website to show to potential freelance customers/web developer positions */ @@ -52,7 +52,7 @@ pointLight.position.set(10, 10, 10); //const controls = new OrbitControls(camera, renderer.domElement); -//floor object that appears in the background +//floor object that appears in the background const floorTexture = new THREE.TextureLoader().load("marble.jpg"); floorTexture.wrapT = THREE.RepeatWrapping; floorTexture.wrapS = THREE.RepeatWrapping; @@ -69,7 +69,7 @@ scene.add(floor); //when the user scrolls, walk down the hallway. function updateCamera(ev){ let div1 = document.getElementById("div1"); - camera.position.z = 10 - window.scrollY; + camera.position.z = 100 - window.scrollY / 3; } window.addEventListener("scroll", updateCamera);