p5canvas
p5canvas copied to clipboard
Rescaling canvas by size of window
Hello Is it possible to rescale canvas to fill the editor window? Now i see mostly only 400pix of the canvas on 4k monitor.
thanks
Hej @barbarerik,
Do you have some example code for me? If you don't use any setup function the canvas will have automatically the full width and height. If you want to keep your own p5 setup function, you can use the width/height variables from p5 to automatically use the available width and height.
Best regards, Garrit
Hi I probably wanted to have opportunity rescale canvas so i can see whole space zoomed out... i know its not pixel precise but for test it would be nice option.