From: "Lloyd Alvarez" Received: from c147c-aesc.jetrails.io ([69.27.38.85] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 7435631 for AE-List@media-motion.tv; Sat, 14 Sep 2019 20:48:59 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aescripts.com; s=default; h=Content-Type:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yYEW2aTh7DGNi2nZyz6axLMemsbgXliYUeTNqC2ne0A=; b=Uw1/iBc2ISSRiAC+G+KiCr0aH YSd5xl2AKaAm4ACNWFdJrY35RCoarBfjVAa8w5IiAPdlKqts6jJtJ3QhcGGA8dtrvwzlR6JnhvQt0 VePNyVF7+OfrD3ctl8aNSf2ZZO0ZadEKg3jOsiF7h2EjX+Jc5kU291Z4ARh5UtpaAMd7+RAqOESBH UuK8tOkeswy3P2FZ+lt+0cLrJfCkPmcCJHNbcDMdNkk7EVmqtd7gL1jwe/UqDSFCiLnkTceiWS2DP sgfQfLEdA6gVvHuEQPU7AmYDZMzk7VUHV040k1GTaAZNVzd7dVMgWLomJ1HY7uDhhZyuPjIKelfp+ kXb7rrjlw==; Received: from mail-vs1-f42.google.com ([209.85.217.42]:39304) by c147c-aesc.jetrails.io with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1i9D9A-0006G1-N5 for AE-List@media-motion.tv; Sat, 14 Sep 2019 18:51:48 +0000 Received: by mail-vs1-f42.google.com with SMTP id y62so20769961vsb.6 for ; Sat, 14 Sep 2019 11:51:48 -0700 (PDT) X-Gm-Message-State: APjAAAV2uyVRHZSwS1y1Y8OWtnToEqcNxN47zP5GQyLTZ5c/Flwoil/J j5woVY9Ivm9+MJfjRMVmFHm7XwvoxOcx8F+etV4= X-Google-Smtp-Source: APXvYqztR6rd/QInZ2Jf5S2Nl9zvA+DCP7dTSkDOLL4ivaLZLVeK0U3rxwCkGucRlIIpJuFOssjR7t4FJr55coOTdHo= X-Received: by 2002:a67:d789:: with SMTP id q9mr2447295vsj.159.1568487107979; Sat, 14 Sep 2019 11:51:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 14 Sep 2019 14:51:35 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [AE] long string of random nimbers To: After Effects Mail List Content-Type: multipart/alternative; boundary="000000000000e7ee6b059287dc41" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - c147c-aesc.jetrails.io X-AntiAbuse: Original Domain - media-motion.tv X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - aescripts.com X-Get-Message-Sender-Via: c147c-aesc.jetrails.io: authenticated_id: smtp@aescripts.com X-Authenticated-Sender: c147c-aesc.jetrails.io: smtp@aescripts.com X-Source: X-Source-Args: X-Source-Dir: --000000000000e7ee6b059287dc41 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If you want an easier way you can just use Digit Fiddler: https://aescripts.com/digit-fiddler/ Lloyd On Sat, Sep 14, 2019 at 2:48 PM David Torno wrote= : > You are better off making a string of numbers instead of an actual number > that will naturally hit limits as you=E2=80=99ve found. > > If you want random then this should work... > > //=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94 > var n =3D [=E2=80=9C0=E2=80=9D,=E2=80=9D1=E2=80=9D,=E2=80=9D2=E2=80=9D,= =E2=80=9D3=E2=80=9D,=E2=80=9D4=E2=80=9D,=E2=80=9D5=E2=80=9D,=E2=80=9D6=E2= =80=9D,=E2=80=9D7=E2=80=9D,=E2=80=9D8=E2=80=9D,=E2=80=9D9=E2=80=9D]; > var nLen =3D n.length-1; > var len =3D 100; //Length of final number > var result =3D =E2=80=9C=E2=80=9D; > for(var i=3D0; i <=3D len; i++){ > result +=3D n[Math.random(0, nLen)]; > } > > result; > //=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94 > > My random syntax might be off, but give that a try. > > > David Torno > 818.391.6060 > -------------------- > https://vimeo.com/davidtorno (experiments & breakdowns) > https://gumroad.com/davidtorno (products for sale) > http://provideocoalition.com/author/dtorno (tutorials) > > "The most useless day is that in which we do not laugh" > -Charles Field > > > On Sep 14, 2019, at 10:09 AM, Jim Curtis > wrote: > > > > I=E2=80=99ve entered this expression on my Source Text applied to =E2= =80=9C999999999999=E2=80=9D. > > > > Math.round(random(99999999999999999999999999999999999999)*99999999999) > > > > At a certain point, Ae returns an exponential value, like =E2=80=9C...9= 9999e +48=E2=80=9D > > > > What I=E2=80=99m trying to get is a really loooooonnng string of animat= ing > random numbers with no decimal points. > > > > What am I doing wrong? I=E2=80=99m an expression dummy. > > +---End of message---+ > > To unsubscribe send any message to > > > > > +---End of message---+ > To unsubscribe send any message to > --=20 Cheers, Lloyd --000000000000e7ee6b059287dc41 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you want an easier way you can just use Digit Fid= dler:=C2=A0

Lloyd


On Sat, Sep 14, 20= 19 at 2:48 PM David Torno <AE= -List@media-motion.tv> wrote:
https://vimeo.com/davidtorno (experiments & breakdowns)
https://gumroad.com/davidtorno (products for sale)
http://provideocoalition.com/author/dtorno (tutorials)=

"The most useless day is that in which we do not laugh"
-Charles Field

> On Sep 14, 2019, at 10:09 AM, Jim Curtis <AE-List@media-motion.tv> wrote:<= br> >
> I=E2=80=99ve entered this expression on my Source Text applied to =E2= =80=9C999999999999=E2=80=9D.
>
> Math.round(random(99999999999999999999999999999999999999)*99999999999)=
>
> At a certain point, Ae returns an exponential value, like =E2=80=9C...= 99999e +48=E2=80=9D
>
> What I=E2=80=99m trying to get is a really loooooonnng string of anima= ting random numbers with no decimal points.
>
> What am I doing wrong?=C2=A0 I=E2=80=99m an expression dummy.
> +---End of message---+
> To unsubscribe send any message to <ae-list-off@media-motion.tv>
>


+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>
--
Cheers, Lloyd
--000000000000e7ee6b059287dc41--