Thanks, Toby: Thank you very much for providing the source in that download. I'm very interested in seeing how you've done that.
Achim: Thanks for the guide, I'll try and have a go at implementing it today. It does seem very strange how Quartz doesn't have a per character animation function. Regards, Charlie On 22 January 2011 09:41, Achim Breidenbach <ac...@boinx.com> wrote: > Hi Charlie, > > I think, you can do it with rendering multiple images and compare them: > > (assuming your sample string "Here is a long string") > - first you render the image you have already in your composition with the > truncated text. (e.g "Here is a lo") > - second image would be the same truncated text but including the complete > word. This will involve some jave script patch to figure out where the > current word will end. ("Here is a long") > - now you can compare the "Line Count"- output of the "Image with String" > patches and see, if they are different. > - if the line count is the same, you are save to use the first image. > - if not, you render only the current word, but truncated, into an image. > (just "lo") > - use the width of that third image to blend the first two images with a > "Swipe" patch ("Width"-parameter = "0") > > I didn't try it myself but I am certain this will work. > > Achim Breidenbach > Boinx Software > > On 21.01.2011, at 17:20, Charlie Francis wrote: > > > Hi guys, > > > > I've been trying to look for a type writer effect. I'm sure I've seen one > somewhere before, but I can't seem to find it. > > > > So I tried to make one! Here are my two attempts. > > > > The one on the left "Char by Char" uses the String Truncate function to > put each character up at a time, the problem with this is that when a long > word comes up near the boundary of the box it gets wrapped half way through > printing. > > > > I came up with the one of the right, using the Bars Swipe Transition. It > takes the amount of lines produced combined with a constant of 0.75 (this > was just a rough guess) to calculate the width of the bars. I still have to > do some calculations to work out a constant per line speed, but it's ok for > now. > > > > > > Is there a way to combine these two effects? So that the characters write > on one by one, as in the first example, whilst keeping the singular image of > the second. Or has anyone created such an effect before. > > > > > > > > This is part of a bigger plan, to queue the text coming in, and have > multiple messages, kind of like a chat box. with old messages scrolling out > of view. > > > > Thanks, > > Charlie > > <write_on_effect.qtz> _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com > ) > > Help/Unsubscribe/Update your Subscription: > > > http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com > > > > This email sent to ac...@boinx.com > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com