Random letter particle generator

Scripting for After Effects

Re: Random letter particle generator

Postby tequilaman2006 on 03/14/2009, 2:08 pm

@john: please refrain from double posting the same questions, especially when u notice the same people answeing the questions...
"Is it the right of the postal service to search every package to see if I'm sending you a photocopied novel? if its not right in the analog world, it isn't right in the digital world either."

--a very smart person.
tequilaman2006
 
Posts: 163
Joined: 08/2/2008, 11:54 pm
Location: the mindless downloads of america

Re: Random letter particle generator

Postby Trystan on 03/23/2009, 10:44 am

Mylenium wrote:No, not at all.

Mylenium


I'm sure there's a way, there's always a way! :D It'd probably involve a much longer script though. Or maybe not, I dunno.
Trystan
 
Posts: 40
Joined: 02/23/2009, 11:20 am

Re: Random letter particle generator

Postby Trystan on 03/23/2009, 10:44 am

Mylenium wrote:No, not at all.

Mylenium


I'm sure there's a way, there's always a way! :D It'd probably involve a much longer script though. Or maybe not, I dunno.
Trystan
 
Posts: 40
Joined: 02/23/2009, 11:20 am

Re: Random letter particle generator

Postby gerito on 03/24/2009, 11:54 am

hello:

I have done this with "trapcode particular" (emitting letters of a precomposition that contains all letters of the alphabet)


http://www.vimeo.com/3835924

if this is what you´re looking for, let me know and i´ll send you the file for you to check it
gerito
 
Posts: 8
Joined: 03/23/2009, 4:12 am

Re: Random letter particle generator

Postby Hannes on 09/1/2009, 2:03 pm

BHarrison wrote:Quick question.

Is it possible to make the random expression change the letter every few frames instead of every frame?

Changing it say every third frame, and leaving the particle generator on the normal setting would give it a neat scrolling look on each particle.



Yes there is, and I would say this method is way easier too. I actually whent ahead and made a tutorial about it. It's quick, and only shows how to do the custom particle, not how to use it. I figured you already know how to use it :).

http://stalofilm.se/tutorials/particle.html

Edit:
This method will of course generate A, then B, then C and so on. Fix this by checking "Random - still frame" in the settings for the particles in particular. This will not let the letter stay for three frames, but it will generate a random letter. If you want i to stay for three frames you would check the "random - loop" option. But then we would have the same problem with the sequential letters. But hey, I didn't say this method was flawless. :)
I'm a swedish freelancing after effects animator/visual effects artist.
http://www.stalofilm.se
Hannes
 
Posts: 59
Joined: 08/2/2008, 8:57 am
Location: Sweden

Re: Random letter particle generator

Postby rafaelinux on 09/1/2009, 5:24 pm

I was browsing the web just now and found this:
http://www.fxoffice.net/?p=322

"Free after effects project for download - Letter squirt.

Needed plugins: Trapcode Particular 2.0."


Preview video http://www.trapcode.com/movies/letter_squirt_H264.mov
rafaelinux
 
Posts: 5
Joined: 08/30/2009, 11:10 pm

Re: Random letter particle generator

Postby codemonkey123 on 09/2/2009, 1:28 am

Doogle wrote:I wanted this kind of effect only using asteroid images instead of text for an asteroid belt.
I ended up using a comp with each asteroid image in a sequence ie |-image1-|-image2-|-image3-| etc and then set particular to use the sequence with the split clip and then set the number of clips to the number of images (in your case, 26)

The downside was that it would spit out a long line of the same image over time :(


Why not use multiple layers, each generating a differing images of said asteriod?
codemonkey123
VC Moderator
VC Moderator
 
Posts: 1877
Joined: 08/5/2008, 12:57 am

Re: Random letter particle generator

Postby 2dpostp on 09/5/2009, 3:59 am

http://www.trapcode.com/movies/letter_squirt_H264.mov

there is a tutorial here. well this is the movie anyway but its on the trapcode site.
2dpostp
 
Posts: 1051
Joined: 06/22/2009, 7:52 pm

Re: Random letter particle generator

Postby siva_gfx on 09/18/2009, 8:47 am

Why i am getting error if i use
Code: Select all
(random(words.length-1)
instead of using
Code: Select all
  Math.round (random(words.length-1) 
.
Is it necessary to add Math.round before random function why or why not please help me. I am little bit confused because in MEL we can use rand(); without any prefix functions like math.floor or any thing etc... >-|| .
siva_gfx
 
Posts: 16
Joined: 09/6/2009, 7:06 am

Re: Random letter particle generator

Postby illuminatus23 on 09/18/2009, 10:16 am

Well... random() returns a rational number, but what you need is a nonnegative integer to use it as index for the array. So you just round it.
By trying to access the array with a number that is not whole you create an error.
illuminatus23
 
Posts: 88
Joined: 02/23/2009, 3:47 pm

Re: Random letter particle generator

Postby illuminatus23 on 09/19/2009, 4:29 am

Yes of course.
You don't need any expression at all to achieve that effect.
illuminatus23
 
Posts: 88
Joined: 02/23/2009, 3:47 pm

Previous

Return to After Effects Expressions

cron