Skip to content

Commit

Permalink
update clouds demo
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Apr 4, 2024
1 parent 97d972f commit 42eaee9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions apps/lookbook/src/components/demos/clouds/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ const Demo = ({speed, alpha}) => (
origin="bottom left"
width={1024}
height={768}
distanceToProjectionPlane={250}
distanceToProjectionPlane={1500}
fit="contain"
/>

<Clouds
capacity={400}
gap={5}
gap={20}
speed={speed}
width={2500}
width={3500}
height={600}
yOffset={-400}
zOffset={-660}
fadeInRange={0.1}
fadeOutRange={0.2}
yOffset={-1750}
zOffset={-15000}
fadeInRange={0.3}
fadeOutRange={0.3}
postAlphaMultiplier={alpha}
/>
</Stage2D>
Expand All @@ -37,8 +37,8 @@ const Demo = ({speed, alpha}) => (

export default function DemoOrDie() {
const {speed, alpha} = useControls({
speed: {value: 100, min: 0, max: 250, step: 1},
alpha: {value: 0.9, min: 0.01, max: 0.99, step: 0.01},
speed: {value: 1300, min: 0, max: 5000, step: 1},
alpha: {value: 0.23, min: 0.01, max: 0.99, step: 0.01},
});

return (
Expand Down

0 comments on commit 42eaee9

Please sign in to comment.