From 34a35a69d7d2514ddb9bf9dd29de18dc7d8ae5e0 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Fri, 21 Nov 2025 23:48:24 +0100 Subject: [PATCH] Tweak: camera path --- party-cathedral/src/core/animate.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/party-cathedral/src/core/animate.js b/party-cathedral/src/core/animate.js index c38675a..ec47125 100644 --- a/party-cathedral/src/core/animate.js +++ b/party-cathedral/src/core/animate.js @@ -7,18 +7,17 @@ function updateCamera() { const globalTime = Date.now() * 0.0001; const lookAtTime = Date.now() * 0.0002; - const camAmplitude = new THREE.Vector3(1.0, 0.1, 10.0); - const lookAmplitude = 8.0; - // Base Camera Position in front of the TV const baseX = 0; - const baseY = 2.6; - const baseZ = 0.0; + const baseY = 3.6; + const baseZ = -5.0; + const camAmplitude = new THREE.Vector3(1.0, 1.0, 6.0); // Base LookAt target (Center of the screen) const baseTargetX = 0; const baseTargetY = 1.6; const baseTargetZ = -30.0; + const lookAmplitude = 8.0; // Camera Position Offsets (Drift) const camOffsetX = Math.sin(globalTime * 3.1) * camAmplitude.x;