SleepPolar
Explore posts from serversProblem in Canvas
I forgot to tell you, a chill guy responded to me, he said that scaling it with width and height sometimes causes fractional scaling, and that's why there are misaligned pixels. And it is solved simply by using "scale" in the transform. 😃
76 replies
Problem in Canvas
Something like this?
I’m drawing 16x16 pixel images on a 64x64 canvas and using CSS to scale them. However, one corner of the image is misaligned by a pixel. Can someone help me figure out why this happens and how to fix it?
76 replies