Replies: 1 comment 2 replies
-
that's a quite some read, could you explain quickly what you need? normally you don't need to worry about these things here, canvas takes care of everything. you can control resolution with a system aware clamp: <Canvas dpr={[1, 2]}> no lower than 1, no higher than 2, prefer 2 IF the system supports it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
If you want to limit the resolution of a canvas, kind of like in this guide for webgl, are there any utilities or frameworks that are good for that? If you set the width and heigh paramaters of a
Canvas
element, and those parameters change, will that make the resolution of the canvas change or do you need to refresh that somehow?Beta Was this translation helpful? Give feedback.
All reactions