Doing a (simple?) 2D Image Background effect

Discussion in 'iOS Programming' started by Soulstorm, May 14, 2009.

  1. Soulstorm macrumors 68000


    Feb 1, 2005
    I am trying to make an application as proof of concept. I have an image, with which I want to fill the screen. When the user clicks somewhere, I want the image to be distorted in that spot, like if it was on a net of some short (that spot of the image going forwards and backwards).

    Does anyone have any idea on how to make this possible?
  2. jnic macrumors 6502a

    Oct 24, 2008
    For simple animations, CGAffineTransform and a bit of matrix algebra should do the trick. Depending on the sort of thing you're going for, OpenGL ES might be a better option though.

Share This Page