Skip to content

Commit 579c06e

Browse files
Added Achievements
1 parent 43f9402 commit 579c06e

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

index.html

+17-16
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
align-items: center;
4949

5050
text-align: center;
51-
font-size: 16px;
51+
font-size: 14px;
5252
cursor: pointer;
5353
}
5454
#textHover{
@@ -160,13 +160,13 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
160160
6:"https://www.instagram.com/reel/CcR7X-WA3nK/",
161161
7:"https://devfolio.co/projects/rakt-nidhi-e1c5",
162162
8:"https://www.linkedin.com/posts/ayankhan3105_aiinnovation-chatgpt-aiadvancements-activity-7108877409700974592-blbi",
163-
9:"https://www.linkedin.com/posts/ayankhan3105_certificate-for-mentorship-activity-7112316866857615360-EhSO",
163+
9:"https://www.linkedin.com/posts/ayankhan3105_certificate-for-mentorship-activity-7112314866857615360-EhSO",
164164
10:"https://www.linkedin.com/posts/ayankhan3105_generativeai-aiinnovation-zeroshot-activity-7110827693700493312-eqX0",
165165
11:"https://solve-sphere.devfolio.co/",
166166
12:"https://www.linkedin.com/posts/ayankhan3105_pydelhitalk-autonomousagents-techexploration-activity-7154529315538243584-VSM0",
167167
13:"https://hom-frontend.vercel.app/",
168-
14:"https://github.com/programmingninjas/quectoLink",
169-
15:"https://www.linkedin.com/posts/ayankhan3105_another-year-another-win-thrilled-to-share-activity-7171500568312557570-848d"
168+
14:"https://www.linkedin.com/posts/ayankhan3105_another-year-another-win-thrilled-to-share-activity-7171500568312557570-848d?utm_source=share&utm_medium=member_desktop",
169+
15:"https://github.com/programmingninjas/quectoLink"
170170
}
171171

172172
let moveForward = false;
@@ -237,7 +237,7 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
237237
}
238238
)
239239
imgLoader = new THREE.TextureLoader();
240-
var geometry = new THREE.PlaneGeometry(9.5*2, 16.5*2);
240+
var geometry = new THREE.PlaneGeometry(9.5*2, 14.5*2);
241241

242242
imgMaterial1 = new THREE.MeshBasicMaterial({
243243
map: imgLoader.load(`/static/imgs/${state}.jpg`)}
@@ -250,9 +250,9 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
250250
imgObjects.push(mesh1,mesh2)
251251
mesh1.userData.url = urls[state]
252252
mesh2.userData.url = urls[state+1]
253-
mesh1.position.set(-57,16.7,-0.5)
253+
mesh1.position.set(-57,14.7,-0.5)
254254
mesh1.rotation.set(0,Math.PI/2,0)
255-
mesh2.position.set(56,16.3,-0.7)
255+
mesh2.position.set(56,14.3,-0.7)
256256
mesh2.rotation.set(0,-Math.PI/2,0)
257257
scene.add(mesh1,mesh2);
258258

@@ -467,22 +467,23 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
467467
else{
468468
currentIntersect = null;
469469
}
470+
const mod_val = Math.abs(state)%16;
470471

471472
if (camera.position.z > 90){
472473
camera.position.setZ((-90))
473474
state+=2;
474-
imgMaterial1.map = imgLoader.load(`/static/imgs/${Math.abs(state)%16}.jpg`)
475-
mesh1.userData.url = urls[Math.abs(state)%16]
476-
imgMaterial2.map = imgLoader.load(`/static/imgs/${Math.abs(state)%16+1}.jpg`)
477-
mesh2.userData.url = urls[Math.abs(state)%16+1]
475+
imgMaterial1.map = imgLoader.load(`/static/imgs/${mod_val}.jpg`)
476+
mesh1.userData.url = urls[mod_val]
477+
imgMaterial2.map = imgLoader.load(`/static/imgs/${mod_val+1}.jpg`)
478+
mesh2.userData.url = urls[mod_val+1]
478479
}
479480
if (camera.position.z < -90){
480481
camera.position.setZ((90))
481482
state-=2;
482-
imgMaterial1.map = imgLoader.load(`/static/imgs/${Math.abs(state)%16}.jpg`)
483-
mesh1.userData.url = urls[Math.abs(state)%16]
484-
imgMaterial2.map = imgLoader.load(`/static/imgs/${Math.abs(state)%16+1}.jpg`)
485-
mesh2.userData.url = urls[Math.abs(state)%16+1]
483+
imgMaterial1.map = imgLoader.load(`/static/imgs/${mod_val}.jpg`)
484+
mesh1.userData.url = urls[mod_val]
485+
imgMaterial2.map = imgLoader.load(`/static/imgs/${mod_val+1}.jpg`)
486+
mesh2.userData.url = urls[mod_val+1]
486487
}
487488

488489
const time = performance.now();
@@ -543,4 +544,4 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
543544
}
544545

545546
</script>
546-
</html>
547+
</html>

0 commit comments

Comments
 (0)