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

title-screen isn't pixel-perfect-integer upscaled #568

Open
increpare opened this issue Feb 9, 2021 · 7 comments
Open

title-screen isn't pixel-perfect-integer upscaled #568

increpare opened this issue Feb 9, 2021 · 7 comments

Comments

@increpare
Copy link
Owner

image

@increpare
Copy link
Owner Author

window.devicePixelRatio on my pc is 1.5

https://www.html5rocks.com/en/tutorials/canvas/hidpi/ doesn't seem to fix anything - if anything it breaks it more - 'pixelate' doesn't seem to have any effect.

@increpare
Copy link
Owner Author

image

@increpare
Copy link
Owner Author

increpare commented Apr 1, 2021

https://news.ycombinator.com/item?id=26655521 for future reference - not a full solution, but a partial solution

@increpare
Copy link
Owner Author

note to self: check out ResizeObservers - they seem to be widely supported now.

@increpare
Copy link
Owner Author

increpare commented Mar 15, 2022

March 2022 update: checked again - pixel access in the browser is still a hellscape, just as it was in Feb 2021, just as it was in 2013.

I feel like I've partially mccolough effected myself by looking at the ycomb test code...

@increpare
Copy link
Owner Author

https://news.ycombinator.com/item?id=26655521 for future reference - not a full solution, but a partial solution

2022 update: none of these work on my m1 macbook 😁

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