vanta icon indicating copy to clipboard operation
vanta copied to clipboard

How to align the horizon in the clouds example?

Open C5H8NNaO4 opened this issue 1 year ago • 0 comments

Hey, I've been using your animated clouds background as an easter egg on my frameworks site. I have a button that let's you switch between a blank background, a screenshot of the clouds animation, or the live animation.

So I took the screenshot on a Laptop with a small screen where the horizon is somewhat in the middle of the screen.

image

Now when I switch from background to animated, the animation neatly aligns with the background image when viewed on the same screen. Here's the live example: https://state-less.cloud. Just click on the magic wand icon in the top right two times.

On bigger (widescreen) screens the horizon jumps up and most of the viewport is covered in clouds.

I would like to have it centered, so half the screen is sky and the other half is clouds.

Is there some way I can have the horizon always in the center?

C5H8NNaO4 avatar Sep 01 '23 11:09 C5H8NNaO4