Friday, March 26, 2010

Shrinking text on spiral path

Using CS4 and I need to make the text look like it is going down a drain. Google returned some results for older versions that had a script to do this but with everything Adobe the script faded away.

I have the text on a spiral path, but how do I get the outer text to look bigger and the inner text to look smaller?

Shrinking text on spiral path

The only way i can think of is to put the text on a spiral path and resize the letters on at a time.

Shrinking text on spiral path

Here's a hacked up version of another script that was posted a month or so ago. You can play with the starting size and the amount of decrease by changing the numbers.

// change size of paragraph text

//$.bp();

ChangeSize();

function ChangeSize()
{
?selectedItems = selection;
?// check to make sure something is selected.
?if (selectedItems.length == 0)
?{
?alert(''Nothing is selected'');
?return;
?}

?endIndex = selectedItems.length;

?for (index = 0; index %26lt; endIndex; index++)
?{
?pageObject = selectedItems[index];
?pageItemType = pageObject.typename;

?if (pageItemType == ''TextFrame'')
?{
?// get the paragraphs from the selection.
?theTextRange = pageObject.textRange;
?paraTextRange = theTextRange.paragraphs;?
?numParagraphs = paraTextRange.length;

?for (i = 0 ; i %26lt; numParagraphs ; i++)
?{
?aParagraph = paraTextRange[i];

?charTextRange = aParagraph.characters;
?charCount = charTextRange.length;

?if (charCount %26gt; 1)
?{
?end = charCount;
?fontSizeChanger = 14/end;
?currentFontSize = 18;
?for (j = 0 ; j %26lt; end; j++)
?{
?theChar = charTextRange[j];
?theChar.size = currentFontSize;
?currentFontSize = currentFontSize - fontSizeChanger;
?}

?}
?}
?}
?}
}

You might check here for?simplier version

http://forums.adobe.com/message/2037393#2037393

put your text on a straight path and convert to outlines - use the free distort tool to taper the text or use a tapered rectangle (what are they called? Truncated triangle?) as a shape to define a warp. Drop your tapered text into the brushes palette and make it an art brush - draw the required spiral shape and stroke it with your brush. You can scale the brush to fit your spiral in the art brush dialogue. You may also have to reverse the direction of the brush to get the thick end outer-most.

Very Excellent and elegant, there is your answer.

P.S. You don't need to make the text outlines - that doesn't mean that it is editable though because it is automatically converted to outlines when you drop it on the brushes pallet

No way to do it keeping the text editable, i suppose?

That was what I was trying to do.

Wade_Zimmerman wrote:

That was what I was trying to do.

Yeah it would be good to be able o do all this kind of text stuff with

a text effects tool.

The text generated by the script is fully editable.

OP must also decide what kind of effect is desired. Distort transforms will, predictably, distort each character. Scripts that vary text size will not distort individual characters. The effects are the not the same.

See previous discussion: http://forums.adobe.com/message/1275493#1275493.

No comments:

Post a Comment