News for hackers. Stuff that matters.
Re:Wobbly Clock! by Medea on Monday January 16, 2023 @11:06AM (#34402000)
Remixed with retina support: https://glitch.com/~noble-gratis-princess
Re:Wobbly Clock! by Kiro on Monday January 16, 2023 @12:34PM (#34403142)
What did you do to make it retina?
Re:Wobbly Clock! by larschdk on Monday January 16, 2023 @04:46PM (#34405899)
You need to manually create a canvas at screen resolution and scale it to fit the screen. A default canvas has pixels that are logical pixels, not actual pixels.
Re:Wobbly Clock! by jonas-w on Monday January 16, 2023 @01:58PM (#34404181)
What does "retina support" mean? What is the benefit?
Re:Wobbly Clock! by TJSomething on Monday January 16, 2023 @03:00PM (#34404813)
I can't tell, since I don't have a Mac, but looking at the code, it implements a note from the Safari documentation for canvas [0]. I assume that if you don't do this, it either is very small or very pixelated.

[0] https://developer.apple.com/library/archive/documentation/Au...

Re:Wobbly Clock! by archon810 on Monday January 16, 2023 @06:49PM (#34407171)
It certainly looks much less blurry on my Pixel 7 Pro with this version.