From 8da970b4f4986af95676aa9dc6736aa026828224 Mon Sep 17 00:00:00 2001 From: alex-mcneilly Date: Wed, 28 May 2025 14:22:41 -0700 Subject: [PATCH] fix speed on camera movment (final fix) --- examples/vfx-particle-simulation/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vfx-particle-simulation/index.html b/examples/vfx-particle-simulation/index.html index 2b607db..1608e82 100644 --- a/examples/vfx-particle-simulation/index.html +++ b/examples/vfx-particle-simulation/index.html @@ -221,7 +221,7 @@ // camera movement const targetZ = 90.5; const startZ = 104; - const duration = 9; + const duration = 90; const progress = Math.min(1, t / duration); const smoothProgress = Math.sin(progress * Math.PI * 0.5); camera.position.z = startZ + (targetZ - startZ) * smoothProgress;