Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to align the horizon in the clouds example? #172

Open
C5H8NNaO4 opened this issue Sep 1, 2023 · 0 comments
Open

How to align the horizon in the clouds example? #172

C5H8NNaO4 opened this issue Sep 1, 2023 · 0 comments

Comments

@C5H8NNaO4
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant