Binary Character Offset

Scripting for After Effects

Binary Character Offset

Postby mrousseaux on 06/16/2009, 12:09 pm

Hello, I am trying to create dynamic binary text in the background of my project, kinda like the matrix... ish. Anyway I am unable to get the text to stay as 1's and 0's using character offset, is there an expression to limit what characters can be used so that i don't keep getting 2's :shock:. I have after effects CS3. thank you for your time!
mrousseaux
 
Posts: 4
Joined: 06/16/2009, 11:58 am

Re: Binary Character Offset

Postby parabola01 on 06/19/2009, 12:02 pm

Are you using Particular to create 1 and 0 particles?
If so, you can use this method: http://www.videocopilot.net/forum/viewtopic.php?f=5&t=1010#p6142 just replace the alphabet with 1 and 0.

There is another method not using Particular later on in that thread, but I haven't tried it.
parabola01
 
Posts: 29
Joined: 05/8/2009, 8:53 am

Re: Binary Character Offset

Postby robbieS on 06/19/2009, 2:04 pm

i'm sure there is any easier or more efficient way to do this, but this is the quick expression i would use
(use the expression on the "source text" property)

Code: Select all
posterizeTime(10)
x=random(0,1)
Math.round(x)


What this means:
posterizeTime is saying how many times per second you want the expression to be executed. so change the 10 to whatever number you want. (without it the experssion will spit a number every frame)

random(0,1) is saying pick a number between 0 and 1

Math.round is telling it to round the random number up or down (without it you will get a bunch of decimals (i.e. 0.235234)

with all that said, Red Giant's text anarchy is designed to do specificly what your looking for.

hope it helps!
robbieS
 
Posts: 65
Joined: 01/7/2009, 6:37 pm
Location: New York

Re: Binary Character Offset

Postby mrousseaux on 02/4/2013, 9:07 pm

I know this is a couple years to late, but I tried this in a now new project, and it worked great, thanks!
mrousseaux
 
Posts: 4
Joined: 06/16/2009, 11:58 am


Return to After Effects Expressions