We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › rotating an image independently
Page Index Toggle Pages: 1
rotating an image independently (Read 1754 times)
rotating an image independently
Oct 29th, 2008, 4:22am
 
Hello,
as the title says, I was trying to get an image to rotate independently of the entire window.
When using rotate(), I found that I was rotating the entire window contents, rather than independent images.
Does anyone know how to to this?
Thanks in advance.
Re: rotating an image independently
Reply #1 - Oct 29th, 2008, 9:41am
 
You have to call pushMatrix() before and popMatrix() after rotating.
Re: rotating an image independently
Reply #2 - Oct 29th, 2008, 8:40pm
 
thanks, that helps!
Page Index Toggle Pages: 1