Fix: Picture frame position, camera tweaks

This commit is contained in:
Dejvino
2025-11-17 23:00:35 +01:00
parent bc79301364
commit e5e6312f0d
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ function updateCamera() {
// Base Camera Position in front of the TV
const baseX = -0.5;
const baseY = 1.5;
const baseZ = 2.5;
const baseZ = 2.2;
// Base LookAt target (Center of the screen)
const baseTargetX = -0.7;
@@ -31,7 +31,7 @@ function updateCamera() {
state.camera.position.z = baseZ + camOffsetZ;
// LookAt Target Offsets (Subtle Gaze Shift)
const lookOffsetX = Math.sin(lookAtTime * 1.5) * lookAmplitude;
const lookOffsetX = Math.sin(lookAtTime * 1.5) * lookAmplitude * 3;
const lookOffsetY = Math.cos(lookAtTime * 1.2) * lookAmplitude;
// Apply lookAt to the subtly shifted target