I want to fold the rod like the image in response to the user's touch. The user should be able to change the curvature of the image using touch. How do you do using quartz? Obviously there is no standard change for this. It takes a hard time for mathematics to do this.
You can do this using just one affine transformation, which is linear by definition Can pull bars in many small areas, slowly bow down on the path, or use OpenGL with tri-strip or quad-strip.
Comments
Post a Comment