Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Dan Ebbert’s Random Binary Block

  • Dan Ebbert’s Random Binary Block

    Posted by Jerrold Le tourneau on November 28, 2007 at 5:13 pm

    Sorry if I cross posted this message.

    Rather new to expressions so forgive my ignorance.

    I am making a binary background of numbers 1440 ax 972 filled with 1 & 0 using Dan expression. I have modified it slightly to try to do 36 rows by 96 columns. Problem is that the rows only show “0” after about 60 places.. so that about 30-40 “0” end each line.

    How can I set the randomization to compute across the complete row and not just part of the way?

    Dan Ebberts replied 18 years, 5 months ago 3 Members · 7 Replies
  • 7 Replies
  • Dan Ebberts

    November 28, 2007 at 6:07 pm

    You’ve probably hit the limit for the number of digits in a JavaScript number. How about cutting the columns in half (48) and just use twice as many blocks?

    Dan

  • Mike Clasby

    November 28, 2007 at 6:30 pm

    Work-around…

    Not an expression fix, but can you just duplicate the layer and mask off the right half (if that’s where the zeroes stack up) and then move the dup to fill in the hole on the right. I’d be surprised if anyone noticed.

    If they do, change the seed in the second block, methinks that should work.

    A link to Dan’s expression would be good, he has a quite a few out there.

  • Jerrold Le tourneau

    November 28, 2007 at 6:44 pm

    I figured that’s what I had run up against. I will try a combination of both fixes listed. Thanks Dan and Mike for the feedback.

  • Jerrold Le tourneau

    November 28, 2007 at 8:23 pm

    Dan is there away to change the text alignment from the current left align to right alignment? The 1’s and 0’s don’t quite line up for clean masking.

  • Dan Ebberts

    November 28, 2007 at 9:29 pm

    I’m not sure I follow. The alignment is determined by what you have set in the Paragraph palette when you create the text layer. To change it, just select the text layer and modify selection in the palette. Is that what you meant?

    Dan

  • Jerrold Le tourneau

    November 30, 2007 at 1:44 pm

    Dan-

    For some reason I am unable to change any text tool parameters using any of the related pallets. I had assumed this because it was not the basic text effect but text from the text tool. Based on that then there is something wrong with my AE install or there must be a setting buried someplace that I need to change.

  • Dan Ebberts

    December 1, 2007 at 12:23 am

    If you want to make a change to the text palette that affects all the text in a text layer, make sure you are using the select tool (not the text tool) and that the text layer is selected in the timeline. Maybe you knew that already – I’m having a hard time picturing what the problem could be.

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy