Hello there! I’m starting using OPENRNDR and I wonder if there is a way to draw on screen only once. This can be achieved in other creative coding enviroments such as Processing or Nannou. For instance, in the former it is enough to draw everything in the the setup() function.
I just replicated this behavior in Kotlin by creating the objects within the program block, and then draw them in the extend block, but I wonder if there is any other way to do it. Thank you!
Another thing I do often is to draw everything to a RenderTarget (like a PGraphics in Processing), maybe in a computationally heavy process, then only draw the result (the ColorBuffer in the RenderTarget) inside extend.