Activity › Forums › Adobe After Effects Expressions › Video to ASCII effect
-
Dan Ebberts
September 11, 2012 at 11:29 pmBy the way, if you wanted to use luminance, you just need to change a couple of lines:
sample = rgbToHsl(target.sampleImage(center,[(w-1)/2,(h-1)/2]));
s += density[Math.round(linear(sample[2],0,1,0,density.length – 1))];Dan
-
Emmanuel Kowandy
September 12, 2012 at 7:28 amThank you a lot for your help Dan and Patrick!
The power of the backslash is magic!!! 😉
Now I can continue my projet, as I wanted it.
Just by curiosity, do you think that it is possible to interpret the color?
Thank you again!
Emmanuel -
Dan Ebberts
September 12, 2012 at 5:59 pm>do you think that it is possible to interpret the color?
I’m not sure what you mean. You have access to the R,G,B,A and (with conversion) the H,S,L,A color channels. Did you mean that you wanted to color each character based on the color at that sample point? Unfortunately, when you use an expression to generate a text layer’s text, you can’t have multiple colors. However, you might be able to use the text as a track matte for a matching mosaic layer. That might work.
Dan
-
Emmanuel Kowandy
September 12, 2012 at 6:12 pmYes, this is what I mean.
For exemple at this blog link : https://aeportal.blogspot.fr/2010/04/ascii-art-after-effects.html
-
Harry Hoag
July 3, 2014 at 9:07 amHi Guys,
I havent used this yet but looks like someone is charging to do the same thing:
https://aescripts.com/l3tt3rm4pp3r/Not sure why you would buy that when you can use this amazing expression!
Has anyone checked to see if they’re ripping off Dan’s script?
-
Sean Archibald
November 23, 2016 at 2:08 pmIt looks like many people here have been able to make use of Dan’s great looking script over the years. I have just tried to use this script in AE CC2015 today, but I get the following error:
After Effects error: unbalanced unlock( 7 :: 40 )
This is after pasting the text into the Source Text expression of a text layer. There was already a video titled ‘target’ in my composition. The error remains even after purging my memory and cache (Edit > Purge > All Memory & Disk Cache…)
Please can anybody confirm if this script should work in CC2015? I would be so grateful to start using this kind of ASCII effect for an upcoming project. Thanks!
Reply to this Discussion! Login or Sign Up