title: How to rotate image or sprite along X or Y axis in Cocos2d, Objective-c, or in a popular or free mac image editor?
body: <p>If you visit the following link, it may be easier to understand what I am trying to accomplish:</p>
  
  <p><a href="http://blog.flexexamples.com/2008/08/02/rotating-an-image-along-its-x-axis-y-axis-and-z-axis-in-flex-and-flash-player-10/" rel="nofollow">http://blog.flexexamples.com/2008/08/02/rotating-an-image-along-its-x-axis-y-axis-and-z-axis-in-flex-and-flash-player-10/</a></p>
  
  <p>In cocos2d it is easy to rotate an image along the z-axis. What I am trying to do is rotate along the X or Y axis as illustrated in the link (if you slide the sliders of rotationX or rotationY).</p>
  
  <p>Being able to do this programmatically in cocos2d would be ideal, but if I could even do this in a free or low-cost mac image editor it would solve my problem, as I could then save the images and just animate them in cocos2d.</p>