FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   rotate and move image
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: rotate and move image  (Read 1238 times)
capeta


rotate and move image
« on: Jan 5th, 2005, 2:55pm »

OH MY GOD! im going nuts on this on for days!
My mathematical skills are horrible!
 
i need to rotate and image, and move it around the screen... ok rotate is easy, but when i rotate, i lost track of the user space... and the image doesnt behave like it was supossed to behave (like, when reaching the end of the application size, it stops and bounce back)
 
i know i have to translate the coordinates of the image back to its original state, but i dont know how...
 
most of the tutorials i see are rotating an static image... thats easy.
 
please help me out! if you could post your code using only JAVA, instead of processing syntax it would be better, if not... give me a light!!!!!
 
st33d

WWW Email
Re: rotate and move image
« Reply #1 on: Jan 5th, 2005, 3:26pm »

Do you mean like this rotating and moving jig
 
http://processing.org/discourse/yabb/board_Programs_action_disp_lay_num_1102177687.html
 
Sorry about the lack of java syntax. Could you post the select bit of offending code at all I fear my example won't be of use.
 

I could murder a pint.
Pages: 1 

« Previous topic | Next topic »