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

Sheep slows down the website #85

Open
Aloso opened this issue Mar 28, 2022 · 2 comments
Open

Sheep slows down the website #85

Aloso opened this issue Mar 28, 2022 · 2 comments
Assignees

Comments

@Aloso
Copy link
Collaborator

Aloso commented Mar 28, 2022

The framerate of the canvas with the sheep decreases considerably on larger screens. This is a problem because it affects the web page's performance even when the sheep is not moving.

Factors that decrease performance:

  • Using a slower browser
  • Using an old/low budget/low-powered device
  • Using a large screen (e.g. 4K)

You can try it by zooming out. You'll notice that scrolling the page becomes more laggy the further you zoom out.

@94726
Copy link
Collaborator

94726 commented Apr 3, 2022

Did not experience any lag in chrome, I also looked at the frame meter and it constantly stayed at 140 frames no matter the zoom :/

@Aloso
Copy link
Collaborator Author

Aloso commented Apr 3, 2022

I noticed a slight lag in Firefox on my private laptop. When I zoomed to 50%, I got around 15 fps. In Chrome, I had to zoom out to 25% until the framerate got lower than 60 fps. On my phone, it worked smoothly, but it almost crashed when I enabled the desktop page.

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

2 participants