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

Pixel perfect on chrome #59

Closed
ClementCariou opened this issue Dec 27, 2023 · 1 comment
Closed

Pixel perfect on chrome #59

ClementCariou opened this issue Dec 27, 2023 · 1 comment

Comments

@ClementCariou
Copy link
Contributor

I noticed the render looks blurry on Chrome.
The simplest way to fix it would be to add the following lines in the HTML files :

<style>canvas{ image-rendering: pixelated; image-rendering: crisp-edges; }</style>
Before After
image image

But you might find a better way to fix it directly in the engine itself.

@KilledByAPixel
Copy link
Owner

Thanks for reporting this! It seems like it was working before because the canvas is the same size as the window, but something recently has caused a slight blur. I have it set to use image-rendering:pixelated now

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