SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
TRAINING
VIDEOS - REELS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
Motion Graphics
Training
Cinema 4D
FAQ
Re: Video to ASCII effect
Cow Forums
:
Adobe After Effects Expressions
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
•
Read entire thread
Re: Video to ASCII effect
by
Dan Ebberts
on Oct 26, 2007 at 12:14:09 am
If your video layer is named "target", you can apply an expression like this to a text layer:
density = " .'`,^:" + '";~-_+<>i!lI?/|()1{}[]rcvunxzjftLCJUYXZO0Qoahkbdpqwm*WMB8&%$#@';
target = thisComp.layer("target");
cols = 80;
rows = 60;
w = thisComp.width/cols;
h = thisComp.height/rows;
s = ""
for (var i = 0; i < rows; i++){
for(var j = 0; j < cols; j++){
center = [w/2 + j*w, h/2 + i*h];
sample = target.sampleImage(center,[(w-1)/2,(h-1)/2]);
s += density[Math.round(linear(sample[0],0,1,0,density.length - 1))];
}
s += "r";
}
s
You'll have to fiddle with the font size, tracking, leading, etc. Edit the cols and rows variables to suit your needs
Dan
Respond to this post
•
Return to posts index
•
Read entire thread
Current Message Thread:
Video to ASCII effect
by jporter313 on Oct 25, 2007 at 11:11:27 pm
Re: Video to ASCII effect
by Dan Ebberts on Oct 26, 2007 at 12:14:09 am
Re: Video to ASCII effect
by jporter313 on Oct 26, 2007 at 12:56:14 am
Re: Video to ASCII effect
by moldyboot on Oct 26, 2007 at 4:00:29 pm
Re: Video to ASCII effect
by Dan Ebberts on Oct 26, 2007 at 5:31:42 pm
Re: Video to ASCII effect
by Patrick Deen on Oct 30, 2007 at 11:04:52 pm
Re: Video to ASCII effect
by jporter313 on Nov 5, 2007 at 7:08:27 pm
Re: Video to ASCII effect
by jporter313 on Nov 6, 2007 at 12:08:15 am
Re: Video to ASCII effect
by Patrick Deen on Nov 6, 2007 at 1:30:39 pm
Re: Video to ASCII effect
by jporter313 on Nov 6, 2007 at 5:20:56 pm
Re: Video to ASCII effect
by Patrick Deen on Nov 6, 2007 at 7:07:09 pm
Re: Video to ASCII effect
by jporter313 on Nov 6, 2007 at 11:39:30 pm
Re: Video to ASCII effect
by jporter313 on Nov 6, 2007 at 11:54:24 pm
Re: Video to ASCII effect
by Patrick Deen on Nov 7, 2007 at 5:56:10 pm
Re: Video to ASCII effect
by jporter313 on Nov 7, 2007 at 6:01:00 pm
Re: Video to ASCII effect
by Patrick Deen on Nov 7, 2007 at 6:04:31 pm
Re: Video to ASCII effect
by jporter313 on Nov 7, 2007 at 7:30:38 pm
Re: Video to ASCII effect
by Olivier Vincent on Aug 28, 2008 at 2:36:04 am
Re: Video to ASCII effect
by Olivier Vincent on Aug 28, 2008 at 5:03:00 pm
Re: Video to ASCII effect
by Patrick Deen on Aug 28, 2008 at 8:10:01 pm
Re: Video to ASCII effect
by Olivier Vincent on Aug 29, 2008 at 1:08:08 am
Re: Video to ASCII effect
by Eric Manevy on Nov 15, 2008 at 5:52:56 pm
Re: Video to ASCII effect
by Patrick Deen on Nov 15, 2008 at 7:07:10 pm
Re: Video to ASCII effect
by Eric Manevy on Nov 15, 2008 at 9:32:18 pm
Re: Video to ASCII effect
by Patrick Deen on Nov 6, 2007 at 5:27:16 pm
Note:
If you are a registered user please
click here to login
before posting.
Your post will not be accepted if your name and email address are not registered in our database. Click
here
if you do not have an account.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message:
Note:
The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key.
Read more...
Please post Expressions Code in the box below:
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
TRAINING
•
VIDEOS - REELS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]