Hello,

Any suggestions for algorithms implementable in perl to create round tuits? Input would be a string; algorithm attempts to lay it out in a circle and displays the best possible arrangement.

It's been said ever so often by many an expert that in ol' plain text one neer can get a round tuit, but just look here
Would help if algorithm can give the author clues regarding where to add or remove words, where to use longer or shorter or hyphenatable words. (The longer the message, the more circular the appearance of the output is likely to be.) Would help to output a numerical measure of the circularness of the output.

Since Damian (Conway) asks for tuits in his interview, it would help if the solution used his Text::Autoformat!

Besides algorithms, any suggestions for texts for potential tuits?

Incidentally, the first time I saw the word tuit was a few days ago while reading Damian's interview cited above. I then looked for "tuit" at www.m-w.com (doesn't exist!) and googled for info on it. I found a fake history of tuits and a boring tuit.

Also, in the history of tuits I came across an interesting British expression that I had never heard before, viz., "pull your finger out": "This round ‘Tuit’ was a sign from her people and her son, Tuitkharmen, that she needed to pull her finger out and finish the project."


In reply to Round tuits via Text::Autoformat or other ways by sg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.