FORUMS: list search recent posts

Need to generate random numbers like in an iP address

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Insaf Nias
Need to generate random numbers like in an iP address
on Feb 19, 2020 at 7:12:38 am

Hi Guys,

I am literally tearing my head off ☹

I need to create an effect of a screen filled with ip addresses which keeps on changing randomly

Example - 192. 125.01.02

I have no idea on how to get the 4 punctuation.

Appreciate the help

Thank you,
Insaf Nias


Return to posts index

Eric Santiago
Re: Need to generate random numbers like in an iP address
on Feb 19, 2020 at 4:11:59 pm

I know there is a script for that but I've had to do it using multiple comps to create that sequence.


Return to posts index

Insaf Nias
Re: Need to generate random numbers like in an iP address
on Feb 19, 2020 at 7:05:35 pm

Hi Eric,

But how were you able to move the position of the numbers when the it changes from 2 digits to 3, because the position of the punctuation changes as per the number of digits.

There are scripts that work like a charm, but it generates only one punctuation (ex. 192.52)

I am so damn lost ☹ been struggling for days with this thing!

Regards
Insaf Nias


Return to posts index


Greg Gesch
Re: Need to generate random numbers like in an iP address
on Feb 20, 2020 at 1:04:25 am

Hi Insaf. I don't know what I'm talking about but:
"There are scripts that work like a charm, but it generates only one punctuation (ex. 192.52)"
Is it possible to put two of the numbers side by side ie. 192.52, then a full stop and then add another iteration on the same line?


Return to posts index

Insaf Nias
Re: Need to generate random numbers like in an iP address
on Feb 20, 2020 at 6:56:39 am

Hi Greg,

The issue with that method is that the position of the punctuation changes according to the number.

I used the following script; but it give me only one punctuation point, i need 3 in total (Ex - 192.168.25.01)

frames = 10; // frames to hold each random number
seed = Math.floor((time - inPoint)/framesToTime(frames));
seedRandom(seed,true);

random(300).toFixed(2)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]