VideoHive

Help! Binary random 1's & 0's in AE

976 posts
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Envato Staff
  • Reviewer
  • Lead Reviewer
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
baf2681 says

Can some one tell me how to randomly generate ones and zeros in AE. I need a whole screen of them. and im blanking on how to figure it out.

B

3 years ago
baf2681 is an Envato staff member
976 posts
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Envato Staff
  • Reviewer
  • Lead Reviewer
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
baf2681 says

then i need to turn them into a tunnel somehow.

3 years ago
baf2681 is an Envato staff member
138 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • Bulgaria
  • Referred between 10 and 49 users
plamencvetanov says

Wow Brian,you have to turn them to a tunnel after that,i never do something like that,i am pretty sure this can be done with Text Anarchy,but you know that. I dont have much experience with this plugin. maybe felt_ will come up with idea for this.

3 years ago
976 posts
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Envato Staff
  • Reviewer
  • Lead Reviewer
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
baf2681 says

yeah im trying to not buy a plug in then have to figure it out.

3 years ago
baf2681 is an Envato staff member
702 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • Europe
  • Referred between 500 and 999 users
Massfocus says

Yo Brian did you try this?

Make a ‘tunnel’ comp something like 500X1000 in size, fill the entire screen with zeros. then play with this animation controls of the text, add character offset, change offset to 1 then add a wiggly, change the minimal amount to 0.

Now create your main comp and add the tunnel comp and add cc cylinder?

I hope it helps

Peace

3 years ago
702 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Beta Tester
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 50 and 99 items
  • Europe
  • Referred between 500 and 999 users
Massfocus says

I’m sure there are some expressions that cover the number generating topic but sadly i never really dove into it..

3 years ago
2876 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a File in an Envato Bundle
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
felt_tips says
tX = 10; tY = 10; tText = ""; for (j = 0; j < tX; j++) { for (i = 0; i<tY; i++) { t= random(100)>50; t = (t?"1":"0"); tText += t; } tText += "\r"; } tText;

Hi Brian,

Here’s an expression method.

Put it in the Source Text property of a text layer and it makes a block of random 1s and 0s that is tX characters long by tY lines high. Works best with a monospace typeface.

Not sure how familiar you are with Javascript syntax… so just incase, the (a ? b : c); is shorthand for an if / else statemtent. If a is true, return b, otherwise return c.

a += b; is the same as a = a+b;

-felt.

3 years ago
felt_tips is a moderator
2876 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a File in an Envato Bundle
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
felt_tips says

PS sorry… the code tag has removed all line breaks from that code. Not exactly easy to read. If anyone knows how to do a line break in a code block, I’d love to know.

I can’t take the code out of the code block or it recognises lots of the code syntax as formatting.

PM me if you need an annotated and nicely spaced version. :)

-f.

3 years ago
felt_tips is a moderator
2876 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a File in an Envato Bundle
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
felt_tips says

Does the tunnel need to be straight?

You can just use Cycore Cylinder, if so.

If the tunnel needs to weave, you could generate a series of randomly changing 1s and 0s in a 3D circle, using text on a 3D path. Put it in a precomp.

Then you could arrange multiple iterations of this precomp (collapsed transformations) along a spline that winds through 3D space (making sure that they align to spline). Then offset each comp by a random amount (there’s a script for doing this – the random layer offset – over at AE scripts)

I suspect you could achieve the effect with Particular too, but that would be a pretty code heavy solution.

-f.

3 years ago
felt_tips is a moderator
2876 posts
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a File in an Envato Bundle
  • Community Moderator
  • Beta Tester
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 10 and 49 users
felt_tips says

Another thought…. You use Cinema 4D don’t you? Why not use Mograph in C4D ? That would do the job.

Or even animate your flat texture in AE, sweep a circle along a wiggly spine in C4D and then wrap your AE texture around the resulting wiggly tunnel. Export render, spline and camera move back into AE.

-f.

3 years ago
felt_tips is a moderator
by
by
by
by
by