I want to make an object "ball" move from whereever it's at to new variable X and Y posistions. Furthermore I want it move along a spiral path.

I guess these would be the variables involved:
  • newX (new X position)
    newY (new Y position)
    counter (how many steps)
    curveFactor (how curved should the motion be)


Can anybody help me out with some code?
podenphant