In all honesty this is where the music major in me regrets having such problems with math. I was reading reordering segments to form a polygon this morning and it scratched an old itch that I have tried many times in the past to itch. What I'd like to find is the most elegant way to express perfect hexagons from data. I have always marveled at the hex since the old Avalon Hill Bookshelf games and held a facination with them. Looking at the quick elagent responses to that node I was wondering if some 'big brain' around here could do that in a snap as it would be most appreciated.

As this expresses laziness not of the Perlish kind downvotes would be understood.


In reply to In search of the perfect digital hexagon by coreolyn

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.