Spaces:
Running
Running
slightly bigger
Browse files- index.html +3 -2
index.html
CHANGED
|
@@ -482,8 +482,8 @@
|
|
| 482 |
|
| 483 |
// --- Setup Scene, Camera, and Renderer ---
|
| 484 |
const scene = new THREE.Scene();
|
| 485 |
-
const camera = new THREE.PerspectiveCamera(
|
| 486 |
-
camera.position.z =
|
| 487 |
|
| 488 |
const renderer = new THREE.WebGLRenderer({
|
| 489 |
antialias: true,
|
|
@@ -494,6 +494,7 @@
|
|
| 494 |
document.getElementById("canvas-container").appendChild(renderer.domElement);
|
| 495 |
|
| 496 |
const logoGroup = new THREE.Group();
|
|
|
|
| 497 |
scene.add(logoGroup);
|
| 498 |
|
| 499 |
// --- Dimensions ---
|
|
|
|
| 482 |
|
| 483 |
// --- Setup Scene, Camera, and Renderer ---
|
| 484 |
const scene = new THREE.Scene();
|
| 485 |
+
const camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 100);
|
| 486 |
+
camera.position.z = 10;
|
| 487 |
|
| 488 |
const renderer = new THREE.WebGLRenderer({
|
| 489 |
antialias: true,
|
|
|
|
| 494 |
document.getElementById("canvas-container").appendChild(renderer.domElement);
|
| 495 |
|
| 496 |
const logoGroup = new THREE.Group();
|
| 497 |
+
logoGroup.position.y = 0.6; // Nudge up to account for bottom UI
|
| 498 |
scene.add(logoGroup);
|
| 499 |
|
| 500 |
// --- Dimensions ---
|