It is currently Fri May 10, 2024 10:04 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Is there a script that can do this?
PostPosted: Wed May 25, 2016 12:09 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
I was wondering if there's such a script that takes a number of words,
and then does random sizes of the words and placed them horizontal/vertically like this background?
Image

I thought if there isn't one, I'd try to write one..but i don't know how to handle the logical part of it? like how would it know how to fit the words into horizontal/vertical?

_________________
TinT


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Is there a script that can do this?
PostPosted: Wed May 25, 2016 12:35 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4741
trandoductin wrote:
I was wondering if there's such a script that takes a number of words,
and then does random sizes of the words and placed them horizontal/vertically like this background?
[ Image ]

I thought if there isn't one, I'd try to write one..but i don't know how to handle the logical part of it? like how would it know how to fit the words into horizontal/vertical?

When you create a text layer you can obtain its size from which you can obtain the aspect ratio. Then your problem is tiling the area with rectangles having only these aspect ratios (or their inverse, when using vertical rectangles). Once you have all rectangles, you just generate the adequate text, scale (and possibly rotate) the path.

You can make the problem simpler by tiling with plain rectangles (forget the aspect ratio) and then figure out the text that fits with the least distortion (closest aspect ratio). See http://www.math.ucsd.edu/~ronspubs/82_04_tiling.pdf

_________________
Image


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) Script-fu

6

No new posts Attachment(s) Rotate Hue Script

74



* Login  



Powered by phpBB3 © phpBB Group