Answered
random size shapes and follow text width



I want an expression where each shape has a random height and automatically adds a shape according to the text length.
please let me know if there's a good way



I want an expression where each shape has a random height and automatically adds a shape according to the text length.
please let me know if there's a good way
Maybe something like this:
minHeight = 25;
maxHeight = 50;
seedRandom(index,true);
h = random(minHeight,maxHeight);
r = thisComp.layer("text").sourceRectAtTime(time,false);
w = r.width;
[w,h]Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.