Re: Animating handwriting
Re: Animating handwriting
- Subject: Re: Animating handwriting
- From: Uli Kusterer <email@hidden>
- Date: Fri, 24 Jun 2011 10:05:22 +0200
On 23.06.2011, at 18:45, Gustavo Pizano wrote:
> Yes kinda.
"kinda"? Well, if you have a font, you simply don't have the information. So all you can do is transition it on screen with a "wipe" effect in direction "toRight". CIFilter and CATransition (not sure if the latter exists on iOS) would be the thing to go for here. This works quite well when done fairly quickly, line-by-line and for small text. The larger the font size, the less believable it looks. But usually it's enough.
OTOH if you can have someone actually write the text for you (or at least each individual letter that you need) you could record the mouse location and then "replay" them.
Come to think of it, you could probably manually click at even intervals on the stroke of every letter in characters written in the font you're using, record the click coordinates, and then draw bezier paths repeatedly, each time to one more point than before. Then draw the corresponding animation instead of each letter in the font.
You would have to layout the text manually, but for button titles and other one-line (or hard-wrapped) text that usually works just fine.
-- Uli Kusterer
Sole Janitor
http://www.the-void-software.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden