|
2 | 2 | <html lang="en">
|
3 | 3 | <head>
|
4 | 4 | <meta charset="UTF-8">
|
5 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
6 | 6 | <title>Infinite Hallway</title>
|
7 | 7 | <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
|
8 | 8 | <script src="https://kit.fontawesome.com/6c2b708adc.js" crossorigin="anonymous"></script>
|
@@ -160,6 +160,8 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
|
160 | 160 | 5:"https://www.linkedin.com/posts/ayankhan3105_technology-healthcare-hackathon-activity-7076256497260797952-_2tS",
|
161 | 161 | 6:"https://www.instagram.com/reel/CcR7X-WA3nK/",
|
162 | 162 | 7:"https://devfolio.co/projects/rakt-nidhi-e1c5",
|
| 163 | + 8:"https://www.linkedin.com/posts/ayankhan3105_aiinnovation-chatgpt-aiadvancements-activity-7108877409700974592-blbi", |
| 164 | + 9:"https://www.linkedin.com/posts/ayankhan3105_certificate-for-mentorship-activity-7112314866857615360-EhSO", |
163 | 165 | }
|
164 | 166 |
|
165 | 167 | let moveForward = false;
|
@@ -464,18 +466,18 @@ <h1 style="font-size:60px;">WELCOME TO AYAN'S</br>INFINITE HALL OF FAME</h1>
|
464 | 466 | if (camera.position.z > 90){
|
465 | 467 | camera.position.setZ((-90))
|
466 | 468 | state+=2;
|
467 |
| - imgMaterial1.map = imgLoader.load(`/static/imgs/${Math.abs(state)%8}.jpg`) |
468 |
| - mesh1.userData.url = urls[Math.abs(state)%8] |
469 |
| - imgMaterial2.map = imgLoader.load(`/static/imgs/${Math.abs(state)%8+1}.jpg`) |
470 |
| - mesh2.userData.url = urls[Math.abs(state)%8+1] |
| 469 | + imgMaterial1.map = imgLoader.load(`/static/imgs/${Math.abs(state)%10}.jpg`) |
| 470 | + mesh1.userData.url = urls[Math.abs(state)%10] |
| 471 | + imgMaterial2.map = imgLoader.load(`/static/imgs/${Math.abs(state)%10+1}.jpg`) |
| 472 | + mesh2.userData.url = urls[Math.abs(state)%10+1] |
471 | 473 | }
|
472 | 474 | if (camera.position.z < -90){
|
473 | 475 | camera.position.setZ((90))
|
474 | 476 | state-=2;
|
475 |
| - imgMaterial1.map = imgLoader.load(`/static/imgs/${Math.abs(state)%8}.jpg`) |
476 |
| - mesh1.userData.url = urls[Math.abs(state)%8] |
477 |
| - imgMaterial2.map = imgLoader.load(`/static/imgs/${Math.abs(state)%8+1}.jpg`) |
478 |
| - mesh2.userData.url = urls[Math.abs(state)%8+1] |
| 477 | + imgMaterial1.map = imgLoader.load(`/static/imgs/${Math.abs(state)%10}.jpg`) |
| 478 | + mesh1.userData.url = urls[Math.abs(state)%10] |
| 479 | + imgMaterial2.map = imgLoader.load(`/static/imgs/${Math.abs(state)%10+1}.jpg`) |
| 480 | + mesh2.userData.url = urls[Math.abs(state)%10+1] |
479 | 481 | }
|
480 | 482 |
|
481 | 483 | const time = performance.now();
|
|
0 commit comments