Talk:Mayan numerals

Revision as of 22:50, 14 January 2019 by rosettacode>Gerard Schildberger (added a new "talk" section to (possibly) show a better rendering.)

Cartouche display is messy for Chrome and Safari

It looks as if the the testing may only have been done with Firefox - the cartouches are ragged for Chrome and Safari. Particularly where their integer value is shown to the left with an arrow, which disrupts the vertical alignment for the rest of the line. Hout (talk) 18:12, 14 January 2019 (UTC)

PS the Perl 6 cartouche-rendering has already achieved a much better signal-to-noise ratio – perhaps worth standardising on something like that ? (Especially if there is a way of tweaking it for continuous (rather than dashed) horizontal 5-bars) Hout (talk) 19:51, 14 January 2019 (UTC)


possible a better rendering for the Mayan numerals

How does this rendering look versus the one on the task page?     -- Gerard Schildberger (talk) 22:50, 14 January 2019 (UTC)


The Mayan numerals   (and some random numbers)   shown in the   vertical   format would be shown as
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║    ║                            ║    ║    ║
       ║    ║                      ║ ∙  ║                            ║    ║    ║
  1──► ║    ║                11──► ║────║                      21──► ║    ║    ║
       ║ ∙  ║                      ║────║                            ║ ∙  ║ ∙  ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║    ║                            ║    ║    ║
       ║    ║                      ║ ∙∙ ║                            ║    ║    ║
  2──► ║    ║                12──► ║────║                      22──► ║    ║    ║
       ║ ∙∙ ║                      ║────║                            ║ ∙  ║ ∙∙ ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║    ║                            ║    ║    ║
       ║    ║                      ║∙∙∙ ║                            ║    ║    ║
  3──► ║    ║                13──► ║────║                      40──► ║    ║    ║
       ║∙∙∙ ║                      ║────║                            ║ ∙∙ ║ Θ  ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║    ║                            ║    ║    ║
       ║    ║                      ║∙∙∙∙║                            ║    ║    ║
  4──► ║    ║                14──► ║────║                      80──► ║    ║    ║
       ║∙∙∙∙║                      ║────║                            ║∙∙∙∙║ Θ  ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║    ║                            ║    ║    ║
       ║    ║                      ║────║                            ║    ║    ║
  5──► ║    ║                15──► ║────║                      90──► ║    ║────║
       ║────║                      ║────║                            ║∙∙∙∙║────║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║ ∙  ║                            ║    ║    ║
       ║    ║                      ║────║                            ║    ║    ║
  6──► ║ ∙  ║                16──► ║────║                     100──► ║    ║    ║
       ║────║                      ║────║                            ║────║ Θ  ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║ ∙∙ ║                            ║    ║    ║
       ║    ║                      ║────║                            ║    ║    ║
  7──► ║ ∙∙ ║                17──► ║────║                     200──► ║────║    ║
       ║────║                      ║────║                            ║────║ Θ  ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╗
       ║    ║                      ║∙∙∙ ║                            ║    ║    ║
       ║    ║                      ║────║                     300──► ║────║    ║
  8──► ║∙∙∙ ║                18──► ║────║                            ║────║    ║
       ║────║                      ║────║                            ║────║ Θ  ║
       ╚════╝                      ╚════╝                            ╚════╩════╝
       ╔════╗                      ╔════╗                            ╔════╦════╦════╗
       ║    ║                      ║∙∙∙∙║                            ║    ║    ║    ║
       ║    ║                      ║────║                     400──► ║    ║    ║    ║
  9──► ║∙∙∙∙║                19──► ║────║                            ║    ║    ║    ║
       ║────║                      ║────║                            ║ ∙  ║ Θ  ║ Θ  ║
       ╚════╝                      ╚════╝                            ╚════╩════╩════╝
       ╔════╗                      ╔════╦════╗                       ╔════╦════╦════╦════╗
       ║    ║                      ║    ║    ║                       ║    ║    ║    ║    ║
       ║    ║                      ║    ║    ║                       ║    ║    ║    ║    ║
 10──► ║────║                20──► ║    ║    ║             16,000──► ║    ║    ║    ║    ║
       ║────║                      ║ ∙  ║ Θ  ║                       ║ ∙∙ ║ Θ  ║ Θ  ║ Θ  ║
       ╚════╝                      ╚════╩════╝                       ╚════╩════╩════╩════╝


Note that the Mayan numeral   13   in   horizontal   format would be shown as:


                                   ╔════╗
                                   ║  ││║
                                   ║ ∙││║
                             13──► ║ ∙││║        ◄─── this glyph form won't be used in this Rosetta Code task.
                                   ║ ∙││║
                                   ╚════╝
-----   (end of rendering)   -----
Return to "Mayan numerals" page.