From: Mischa POSLAWSKY Date: Fri, 4 Sep 2015 15:30:16 +0000 (+0200) Subject: latin: nyctographic alphabet by caroll X-Git-Tag: v1.8~22 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/13f2249ae67b02bfe7956adda2d83e32017979df latin: nyctographic alphabet by caroll Square alphabet created by Lewis Carroll ~1891: left top corner is always marked, other corners are either connected, dotted, or skipped; encoded numerically and drawn as svg path. Allows for 34 possibilities with top left anchor: 2^³ (3 dots, only used for A,U,V) + 2^²⋅4 − 2² (2 dots with 1 line, 3 unused) + 2^¹⋅4 − 2⁰ (1 dot with 2 lines) + 2^⁰⋅4 (3 lines) + 2⁻¹⋅4 (2 parallel lines) + 2⁻²⋅4 (square) Reference: --- diff --git a/writing-latn.inc.pl b/writing-latn.inc.pl index fb22bbb..e259da5 100644 --- a/writing-latn.inc.pl +++ b/writing-latn.inc.pl @@ -220,6 +220,22 @@ my %C = qw(red #EC1C24 blue #3953A3 yellow #F9EC31 black #231F20); ) ], 'Pigpen' => [qw( ᒧ ᑌ ᒪ ᑐ □ ᑕ ᒣ ᑎ ᒥ ᒲ ᕫ ᒷ ᕭ 🞔 ᕮ ᒬ ᕬ ᒯ ᐯ ᐳ ᐸ ᐱ ᐁ ᐅ ᐊ ᐃ )], +'Nyctographs' => [ + map { s/M[\d,\hM]+(?=[M"])//gr } # clean up superfluous moves + map { sprintf + '' + . '', + ' stroke="black" stroke-linecap="round" stroke-linejoin="round" fill="none"', + 'h.5v.5h-.5v-.5', # start anchor + map { ['M', 'h0M', 'L']->[$_] } + split //, $_ + } + # draw style (0=empty, 1=dot, 2=line connect) to right, down, left, up + qw( + 0010 0112 2022 2220 2000 2012 0122 0202 0020 0220 0012 0022 2202 + 0222 2222 0102 0200 2201 2002 2200 0100 0110 0120 2001 2010 2020 + ), +], 'Wingdings' => [qw{ ✌ 👌 👍 👎 ☜ ☞ ☝ ☟ ✋ ☺ 😐 ☹ 💣 ☠ ⚐ 🏱 ✈ ☼ 💧 ❄ 🕆 ✞ 🕈 ✠ ✡ ☪ }], 'Chromacons' => [ # Colour Alphabet by Paul Green-Armytage (2010)