How do I get the ProcessingJS canvas to span an etnire webpage?
Maybe I just missed something, but every time I see a site using ProcessingJS, I need to set "Size (x, y)" to create a work area inside the canvas. I'm sure the canvas height and width can use CSS to set the values ββto 100%, but I can't find a way to make the size of the renderable area inside the canvas a solid canvas even when the user resizes the browser window.
My plan is to use ProcessingJS's drawing feature to create a non-removable background for a web page, but perhaps I'm approaching this from the wrong angle. Any help or advice would be appreciated, even if it helps me learn how to use a different library.
+3
source to share