Is there a way to have multiple layers in Processing ?
Each layer would have its own setup/draw context.
Yes, sort of. Consider using PGraphics
(essentially buffered, independent canvases). You can then manipulate your images inside each PGraphic, making each the size of the screen (forming layers), or move the PGraphics about the screen as objects. Here's a place you might start.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With