title: Processing: How do I make an object move in a circular path?
body: <p>I have created a class where I define Shape objects for my program. Each of these Shapes has a transparent ellipse drawn around it (I defined that in my constructor) and if any other Shape moves into that circular ellipse area, I want that Shape to change it's direction so that it moves in a circular path.</p>
  
  <p>Each Shape object has a defined radius attribute (because of the ellipse I draw around each object) and I want to use that value to determine how big of a circular pattern the Shape has to move in when it collides.</p>
  
  <p>Please help! Anything is greatly appreciated!</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>As I said above, I want the shape to move into a circular path. HOWEVER, I want it only to move in a circular path once (meaning it moves around a circle once) and then I want it to continue on the original path it was programmed with.</p>