I've got a program without the standard "draw()" function, as I'm calling a user defined function directly from "setup()". The drawing of this graphic is CPU heavy, so there's no drawing loop. After drawing this graphic, I'd like to finally center it on screen, by using the translate(x, y) function. However, this doesn't work, because as I understand, transformation matrices apply only in the next drawing loop.
How can I enforce the translate function to apply directly to my canvas? Or: how do I instantly shift all pixels on my screen to a certain position?