We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, it's me with a displaying question again...
I tried using rotate(-angle) and then drawing an image, but it won't display the image. (I also put resetMatrix() behind)
I guess displaying an image rotated is one of those things that's impossible to do as well? (I was only trying to rotate the image multiples of PI/2)
Kind regards, OrOrg
Answers
No example code? Hard to tell what your problem is. Maybe you rotated the image around the top left corner, so it's not drawn on the screen at all?
Try throwing a
translate(width/2,height/2);
in at the start of draw. Do you see your image at all now?http://OpenProcessing.org/sketch/139280
https://forum.Processing.org/two/discussion/3439/how-to-do-flip-canvas-horizontal-to-an-image-and-save#Item_21
I am, once again, a moron. Indeed, the canvas still has to move. Welp, I can only say I can learn from mistakes. Thanks for the lots of information, the only thing I had to do was put a translate() in, however. The reason I did not put my code in here is becaus it is 951 lines long now, so... it's not very useful to put it here, and it was not necessary, after all. I'll try to now display the images in a non-resource-extensive way, but that might be tricky, it already had a hard time to keep up last time (up to 100 images to display per 1/30 second now...)
Thanks again!