From 1a027fa1a29727065cd48a5522b3355c387bae52 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Wed, 27 Dec 2023 19:48:56 -0800 Subject: [PATCH] lower lava lamp blob count on mobile --- examples/lava-lamp/example.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/lava-lamp/example.html b/examples/lava-lamp/example.html index ad88948..8d372e2 100644 --- a/examples/lava-lamp/example.html +++ b/examples/lava-lamp/example.html @@ -114,16 +114,16 @@ let currentMaterial = 'liquid2' let resolution = 60 - + const numBlobs = window.innerWidth <= 720 ? 5 : 10 cameraRig.distance = cameraRig.minDistance = cameraRig.maxDistance = window.innerWidth <= 720 ? 2000 : 1500 const effectController = { material: currentMaterial, speed: 0.2, - numBlobs: 5, resolution, isolation: 15, + numblobs, floor: false, wallx: false,