Resizing a PGraphics

I’ve seen there’s been a previous post about this and thats great as the answer has technically already been posted, however I wanted to know what limitations this might have if i’m planning on making use of resize every frame the canvas elements, for example does this cause memory issues as lot of PGraphics elements are created?

i wounder if this refresh the ram or not



1 Like

I think im probably approaching this wrong as there are alternatives if flexible size is required such as textures


I have had memory problems in the past and used VisualVM to visualize these:


1 Like