Skip to content

Commit

Permalink
lower lava lamp blob count on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Dec 28, 2023
1 parent 0445a2e commit 1a027fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/lava-lamp/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1a027fa

Please sign in to comment.