Accessing textIndex from the Position property

Moderators: Disciple, zlovatt

Post Reply
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

I am trying to write an expression that forms a word by randomizing the position of each character. If I use the expression selector I can randomize the amount of position offset per char but not randomize the actual position of each char.

Any ideas?
User avatar
Atomic
Posts: 157
Joined: April 30th, 2007, 5:55 am
Location: United States, Ohio

You could use multiple layers with a single character in each layer.
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Atomic wrote:You could use multiple layers with a single character in each layer.
I thought of that except for I am building an editable toolkit so I won't know how many characters there will be each time. This is why it would be great to be able to do it within a text animator since it is flexible on the number of characters.
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Dan Ebberts gave me the solution:

Add an Expression Selector with this expression:

seedRandom(textIndex,true);
random([-100,-100],[100,100]);


then animate the position from whatever offset I want to zero.

Thanks Dan!
Post Reply