Page 1 of 1
Accessing textIndex from the Position property
Posted: September 25th, 2007, 4:00 pm
by lloydalvarez
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?
Posted: September 26th, 2007, 5:49 am
by Atomic
You could use multiple layers with a single character in each layer.
Posted: September 26th, 2007, 6:39 am
by lloydalvarez
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.
Posted: September 26th, 2007, 8:25 am
by lloydalvarez
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!