Placing an image using z-axis
in
Programming Questions
•
3 years ago
Hello all,
I'm a Processing newbie and I cannot seem to find documentation on this topic. I want to place an image above the data in my draw() function. I tried placing at the bottom of the code, under void draw() but this makes the applet run super slow. However, if I place it in the setup(), the image winds up below the data in draw(). I know in css, there is a way to place a div above things by using z-index. Is there an equivalent in Processing?
Thanks.
I'm a Processing newbie and I cannot seem to find documentation on this topic. I want to place an image above the data in my draw() function. I tried placing at the bottom of the code, under void draw() but this makes the applet run super slow. However, if I place it in the setup(), the image winds up below the data in draw(). I know in css, there is a way to place a div above things by using z-index. Is there an equivalent in Processing?
Thanks.
1