Hi Guys,

I have just finished creating a little text crawler, and was wondering if
anyone has any ways of improving it. I know this isn't exactly the place for
Code Reviews, but I'd be very grateful to anyone who has the time to look
over my compositions and help me improve and understand the wonderful world
of Quartz a bit more.


I built the composition to animate the text across the whole width of the
composition, but it can easily be change to run on another fixed size. The
text scrolls from the right to left, using the image crop path. I did it
this way, instead of just moving the x position, because with very long text
strings the quality of the image degrades quite considerably, and using the
image crop patch seems to keep the text rendering clear.

You can specify a speed at which the text travels across the screen, instead
of a fixed duration period. I thought this would be better as you can change
the text, and not worry about it whizzing across the screen, or taking a
million years to move.


I do have a few issues I'd like to fix, the first is that it can be a bit
juddery, but I expect that this can't be fixed due to how quartz animates.

The second issues I would like to solve is that the text animates all the
way off, before the animation starts again. I would like the crawler to be
seamless, or (wishful thinking) be able to set a specific width to leave as
a gap.
I was thinking about generating 2 images from the string, animating one,
then animating the next, then pausing the first, and so on. But I'm not sure
how this would effect performance.


Once again, thanks to any one that replies!

Regards,
Charlie

Attachment: text_crawler.qtz
Description: Binary data

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to