You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kala0606
Yes, that's right. It's how the library works. I can remove this behaviour, but I'd really suggest to avoid resizing the canvas if possible, because many other things can break.
My suggestion would be to use css resize, rather than canvas resize.
Also the brush.scaleBrushes() doesn't seem to scale accurately. If that's a known issue then I will sit tight else here is a small demo test that i made https://editor.p5js.org/ujjwalagarwal/sketches/VaBAeB0wO
if you resize the window which changes innerWidth and innerHeight, the render is different.
Also i think the fill scales properly, it's the hatch and probably stroke thats an issue.
The text was updated successfully, but these errors were encountered: