Page 2 of 2

Re: Random letter particle generator

PostPosted: 03/14/2009, 2:08 pm
by tequilaman2006
@john: please refrain from double posting the same questions, especially when u notice the same people answeing the questions...

Re: Random letter particle generator

PostPosted: 03/23/2009, 10:44 am
by Trystan
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.

Re: Random letter particle generator

PostPosted: 03/23/2009, 10:44 am
by Trystan
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.

Re: Random letter particle generator

PostPosted: 03/24/2009, 11:54 am
by gerito
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

Re: Random letter particle generator

PostPosted: 09/1/2009, 2:03 pm
by Hannes
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. :)

Re: Random letter particle generator

PostPosted: 09/1/2009, 5:24 pm
by rafaelinux
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

Re: Random letter particle generator

PostPosted: 09/2/2009, 1:28 am
by codemonkey123
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?

Re: Random letter particle generator

PostPosted: 09/5/2009, 3:59 am
by 2dpostp
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.

Re: Random letter particle generator

PostPosted: 09/18/2009, 8:47 am
by siva_gfx
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... >-|| .

Re: Random letter particle generator

PostPosted: 09/18/2009, 10:16 am
by illuminatus23
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.

Re: Random letter particle generator

PostPosted: 09/19/2009, 4:29 am
by illuminatus23
Yes of course.
You don't need any expression at all to achieve that effect.