Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a way to have multiple layers in Processing ?
Each layer would have its own setup/draw context.
是的,有点。考虑使用PGraphics(基本上缓冲的、独立的画布)。然后,您可以在每个 PGraphic 中操作您的图像,使每个图像都成为屏幕的大小(形成图层),或者将 PGraphic 作为对象在屏幕上移动。这是你可以开始的地方。
PGraphics