Mischa POSLAWSKY [Mon, 2 Nov 2015 05:14:51 +0000 (06:14 +0100)]
termcol: use Imager for generic PNG generation
Obviously less efficient than replacing palette at a hardcoded position,
but more flexible and reliable with different sources.
Still only loaded if requested.
Mischa POSLAWSKY [Mon, 2 Nov 2015 04:48:59 +0000 (05:48 +0100)]
termcol: ?img option to draw one image with each palette
Manipulate source PNG file at data/indi.png to use palette colours in order
to compare look of an EGA game for each. Quickly implemented by overwriting
data at certain positions, which will break with unexpected data.
Inline encoding increases page size by 6⋅5kB ≈ 30kB.
Mischa POSLAWSKY [Sun, 1 Nov 2015 20:21:41 +0000 (21:21 +0100)]
termcol: float text samples in cells
Simplify to 1 column per colour with more flexible sample styling, at the
cost of difficulty matching line height.
Mischa POSLAWSKY [Sun, 1 Nov 2015 20:04:17 +0000 (21:04 +0100)]
termcol: greyscales in hue row if no grey ramp specified
Mischa POSLAWSKY [Sun, 1 Nov 2015 19:33:57 +0000 (20:33 +0100)]
termcol: define 512 and 4k colour rgb maps
Common 9- and 12-bit palettes used by various legacy systems.
Mischa POSLAWSKY [Sun, 1 Nov 2015 19:06:34 +0000 (20:06 +0100)]
termcol: move common styling to css include
Reduces page size from 109kB to 88kB (though only 400 bytes over 12kB
compressed) for 140 bytes general css (35 bytes or less download).
Mischa POSLAWSKY [Sun, 1 Nov 2015 17:35:34 +0000 (18:35 +0100)]
termcol: path argument to request custom palettes, groups
Mischa POSLAWSKY [Sun, 1 Nov 2015 16:28:07 +0000 (17:28 +0100)]
termcol: adjust reordering of blues in arnegame
Mischa POSLAWSKY [Sun, 1 Nov 2015 16:22:58 +0000 (17:22 +0100)]
termcol: omit backgrounded sample cells for msx transparancy
Mischa POSLAWSKY [Sun, 1 Nov 2015 16:21:03 +0000 (17:21 +0100)]
termcol: declare ansi reordering in data include
Mischa POSLAWSKY [Sun, 1 Nov 2015 16:09:37 +0000 (17:09 +0100)]
termcol: reference xterm for 256 colour title, rxvt for 88
Name the originators and major proponents of these maps.
Mischa POSLAWSKY [Sun, 1 Nov 2015 15:42:10 +0000 (16:42 +0100)]
termcol: declare rgb maps in include data
Mischa POSLAWSKY [Sun, 1 Nov 2015 15:33:52 +0000 (16:33 +0100)]
termcol: move colour values into data hashes
Instead of special-casing the first colour as metadata, declare all colours
as 'list' property of a single construct.
Mischa POSLAWSKY [Sun, 1 Nov 2015 15:19:53 +0000 (16:19 +0100)]
termcol: declare palette titles in extensible metadata hashes
Split combined html into distinct name, description, link.
Mischa POSLAWSKY [Sun, 1 Nov 2015 15:15:36 +0000 (16:15 +0100)]
termcol: move palette data into separate include
Mischa POSLAWSKY [Sun, 1 Nov 2015 03:06:34 +0000 (04:06 +0100)]
termcol: amstrad cpc palette (27-colour hsv)
Mischa POSLAWSKY [Sun, 1 Nov 2015 03:29:16 +0000 (04:29 +0100)]
termcol: define palette label in rgb value subroutine
Prepare for palette numbering/naming different from 16+bgr offset.
Mischa POSLAWSKY [Sun, 1 Nov 2015 03:03:20 +0000 (04:03 +0100)]
termcol: default values for rgb table colours
Continue with an equally distributed palette if unspecified.
Mischa POSLAWSKY [Sun, 1 Nov 2015 03:05:06 +0000 (04:05 +0100)]
termcol: omit table tags from coltable_hsv() output
Require manual container setup so e.g. captions can be added.
Mischa POSLAWSKY [Sun, 1 Nov 2015 02:50:47 +0000 (03:50 +0100)]
termcol: avoid plp code breaks for hsv tables
Mischa POSLAWSKY [Sun, 1 Nov 2015 02:48:47 +0000 (03:48 +0100)]
termcol: fix cell description fallback of index 0
Mischa POSLAWSKY [Sun, 1 Nov 2015 02:34:10 +0000 (03:34 +0100)]
termcol: append greyscale ramps to colour tables
Mischa POSLAWSKY [Sun, 1 Nov 2015 02:12:48 +0000 (03:12 +0100)]
termcol: use rgb index instead of value for hsv calculation
Final colour value may not map well to table position; prefer original
coordinates to prevent outrageous transforms from breaking grouping
at the cost of adjusting for cumulative exceptions.
Mischa POSLAWSKY [Sun, 1 Nov 2015 01:58:12 +0000 (02:58 +0100)]
termcol: pass parameter to rgb formula
Accidentally used default argument $_ which works in map but isn't safe.
Mischa POSLAWSKY [Sun, 1 Nov 2015 00:38:31 +0000 (01:38 +0100)]
termcol: generate 88-colour map using common function
Mischa POSLAWSKY [Sat, 31 Oct 2015 23:11:47 +0000 (00:11 +0100)]
termcol: generic h/s/v table generator function
Identical results for 256 colours but reusable for other bit sizes.
Mischa POSLAWSKY [Sat, 31 Oct 2015 20:54:09 +0000 (21:54 +0100)]
termcol: unsaturated colours from h/s/v table in greyscale ramp
Mischa POSLAWSKY [Sat, 31 Oct 2015 20:14:44 +0000 (21:14 +0100)]
termcol: list 256-colour hues starting with red
Most wheels have red at 0° so having it on top is more familiar.
Coincidentally also avoids undesirable row breaks.
Mischa POSLAWSKY [Sat, 31 Oct 2015 19:53:54 +0000 (20:53 +0100)]
termcol: group h/s/v columns by saturation level
Mischa POSLAWSKY [Sat, 31 Oct 2015 19:43:02 +0000 (20:43 +0100)]
termcol: lay out 256-colour table by h/s/v
Mischa POSLAWSKY [Sat, 31 Oct 2015 15:54:34 +0000 (16:54 +0100)]
termcol: reorder all incompatible palettes to ansi
Mischa POSLAWSKY [Sat, 31 Oct 2015 15:54:24 +0000 (16:54 +0100)]
termcol: introduction text with link to toggle extended mode
Mischa POSLAWSKY [Sat, 31 Oct 2015 15:53:29 +0000 (16:53 +0100)]
termcol: variant msx palette arnejmp
Mischa POSLAWSKY [Sat, 31 Oct 2015 15:53:05 +0000 (16:53 +0100)]
termcol: generic reorder declaration
Mischa POSLAWSKY [Sat, 31 Oct 2015 15:51:30 +0000 (16:51 +0100)]
termcol: reorder arne to match ansi better
Mischa POSLAWSKY [Sat, 31 Oct 2015 15:50:35 +0000 (16:50 +0100)]
termcol: rename game to arne, include version
Mischa POSLAWSKY [Mon, 26 Oct 2015 22:16:09 +0000 (23:16 +0100)]
unicode: copy to clipboard using execCommand
Fallback via temporary textarea for modern browsers (chrome 43+, ff 41+).
Code adapted from:
<http://stackoverflow.com/questions/400212/copy-in-js#answer-
30810322>
Mischa POSLAWSKY [Mon, 26 Oct 2015 16:07:50 +0000 (17:07 +0100)]
termcol: show incompatible palettes on ?v option
Mischa POSLAWSKY [Mon, 26 Oct 2015 15:20:42 +0000 (16:20 +0100)]
termcol: annotate game colour names
Mischa POSLAWSKY [Mon, 26 Oct 2015 15:14:09 +0000 (16:14 +0100)]
termcol: game palette by niklas jansson
Reference: <http://androidarts.com/palette/16pal.htm>
Mischa POSLAWSKY [Mon, 26 Oct 2015 14:59:41 +0000 (15:59 +0100)]
termcol: analog msx1 colour values
Reference: <http://bifi.msxnet.org/msxnet/tech/tms9918a.txt>
Mischa POSLAWSKY [Mon, 26 Oct 2015 13:44:29 +0000 (14:44 +0100)]
termcol: original c64 colour values
Reference: <http://www.pepto.de/projects/colorvic/>
Mischa POSLAWSKY [Mon, 26 Oct 2015 12:19:29 +0000 (13:19 +0100)]
termcol: replace msx colours by msx2 rgb values
Reference: <http://www.konamiman.com/msx/msx2th/th-2.txt>
Mischa POSLAWSKY [Mon, 26 Oct 2015 12:08:04 +0000 (13:08 +0100)]
termcol: 16-colour palettes for msx and c64
Additional data for common '90s home computers from Wikipedia
<https://en.wikipedia.org?oldid=
686243993>,
with composite YPrPb values converted to hex and to RGB using formula from
<https://en.wikipedia.org?oldid=
670394866#ITU-R_BT.601_conversion>.
Mischa POSLAWSKY [Mon, 26 Oct 2015 12:05:41 +0000 (13:05 +0100)]
termcol: globally define luma coefficients
Prepare for reuse in other YUVish conversions.
Mischa POSLAWSKY [Mon, 26 Oct 2015 12:03:22 +0000 (13:03 +0100)]
termcol: 16-colour system palettes for mac2 and risc os
Mischa POSLAWSKY [Sun, 25 Oct 2015 17:54:19 +0000 (18:54 +0100)]
termcol: prepend palette title in colour data
Mischa POSLAWSKY [Sun, 25 Oct 2015 17:51:11 +0000 (18:51 +0100)]
termcol: include colour names with rgb definition
Mischa POSLAWSKY [Mon, 28 Sep 2015 15:06:36 +0000 (17:06 +0200)]
latin: declare colour of inner dot in pigpen letters
Mischa POSLAWSKY [Mon, 28 Sep 2015 14:46:44 +0000 (16:46 +0200)]
latin: normal class for X in simplified tap code
Mischa POSLAWSKY [Mon, 28 Sep 2015 14:34:50 +0000 (16:34 +0200)]
latin: restore experimental class of ambiguous tap code
Mischa POSLAWSKY [Mon, 28 Sep 2015 14:30:39 +0000 (16:30 +0200)]
latin: cell styling for tap code dots (replacing small bullets)
Mischa POSLAWSKY [Mon, 28 Sep 2015 14:21:39 +0000 (16:21 +0200)]
latin: code128 bar code row (unicode)
Similar to code39, but with additional U+275A heavy vertical bar for
additional 4th width.
Mischa POSLAWSKY [Mon, 21 Sep 2015 17:05:14 +0000 (19:05 +0200)]
common: bump version to 1.8
Ensure CSS reload and page version increment for any significant changes.
Mischa POSLAWSKY [Mon, 21 Sep 2015 17:08:01 +0000 (19:08 +0200)]
common: prefix version numbers by unlinked 'version'
Separate repository link from preceding source link.
Mischa POSLAWSKY [Mon, 21 Sep 2015 17:06:53 +0000 (19:06 +0200)]
common: drop leading 'v' in version numbers
Mischa POSLAWSKY [Mon, 21 Sep 2015 17:03:49 +0000 (19:03 +0200)]
common: declare viewport to prefer native pixel sizes
Mischa POSLAWSKY [Mon, 21 Sep 2015 17:15:25 +0000 (19:15 +0200)]
font: distinct page titles if given font parameter
Mischa POSLAWSKY [Mon, 21 Sep 2015 16:24:10 +0000 (18:24 +0200)]
writing: indicate writing system for asl (l)anguage
Mischa POSLAWSKY [Mon, 21 Sep 2015 16:21:34 +0000 (18:21 +0200)]
latin: plain html output instead of FormatChar module
Mischa POSLAWSKY [Mon, 21 Sep 2015 16:21:23 +0000 (18:21 +0200)]
latin: overlap semaphore arrows for diagonals
Mischa POSLAWSKY [Mon, 21 Sep 2015 16:19:25 +0000 (18:19 +0200)]
latin: inherit foreground colour for svg paths
Fix visibility in dark style.
Mischa POSLAWSKY [Mon, 21 Sep 2015 16:15:03 +0000 (18:15 +0200)]
common: beta indicator on top
Draw over search button on browser page.
Mischa POSLAWSKY [Tue, 9 Jun 2015 04:17:10 +0000 (06:17 +0200)]
common: development indicator optionally written in html
Reverts hardcoded indicator in css by commit
v1.4-5-g387941691e (2010-12-17)
[style: mark development version], instead outputting initial body text if
requested subdomain matches "dev".
Mischa POSLAWSKY [Thu, 17 Sep 2015 23:30:14 +0000 (01:30 +0200)]
latin: replace pigpen approximates by proper svg drawings
Mischa POSLAWSKY [Fri, 4 Sep 2015 16:43:25 +0000 (18:43 +0200)]
latin: drop wingdings
No more interesting than any other set of random glyphs,
and lacks lowercase for a complete lookup.
Mischa POSLAWSKY [Thu, 17 Sep 2015 21:47:26 +0000 (23:47 +0200)]
latin: remap suetterlin font to latin characters
Move from private use U+F0xx to appropriate unicode semantics.
Some symbols and accented glyphs removed, keeping just common German
and ligatures (at multi-character code points, likely unsupported).
Mischa POSLAWSKY [Thu, 17 Sep 2015 21:46:26 +0000 (23:46 +0200)]
latin: fix suetterlin font match on 3rd row
Broken (again) in commit
v1.7-158-gafa53ab113 (2015-09-17)
[latin: uppercase row].
Mischa POSLAWSKY [Thu, 17 Sep 2015 20:23:26 +0000 (22:23 +0200)]
source: link generator scripts in includes
Click-through for "# automatically generated by ..." headers in various
includes.
Mischa POSLAWSKY [Sat, 22 Aug 2015 07:30:45 +0000 (09:30 +0200)]
perl: combined experimental class and version
Also in v5.23.1: a named feature with maturing version.
Mischa POSLAWSKY [Sat, 22 Aug 2015 07:30:38 +0000 (09:30 +0200)]
perl: experimental feature removal for v5.23.1
Misuse version number prepended by \0 since there's no Perl version below 1.
Admittedly an unintuitive hack, but I like it better than verbose hashes.
Mischa POSLAWSKY [Sat, 22 Aug 2015 07:08:27 +0000 (09:08 +0200)]
mutt: categorise search options as g3/search
While the flags don't search by themselves, it's close enough;
avoids bare buttons, or worse: being hidden for undefined classes,
an unintentional side effect introduced by commit
v1.3-0-g2034c72e12
(2010-06-18) [overhaul keyboard module include syntax].
Mischa POSLAWSKY [Mon, 24 Aug 2015 01:15:53 +0000 (03:15 +0200)]
vi: describe functionality of g^g in visual mode
Similar to normal g^g, but on selection instead of cursor, so distinct.
Mischa POSLAWSKY [Mon, 24 Aug 2015 01:20:15 +0000 (03:20 +0200)]
vi: g^g is an incompatible feature introduced by vim
Mischa POSLAWSKY [Tue, 14 Jul 2015 04:16:39 +0000 (06:16 +0200)]
vi: indicate argument required for T (like t)
Mischa POSLAWSKY [Fri, 4 Sep 2015 15:30:16 +0000 (17:30 +0200)]
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: <http://www.lewiscarroll.org/tag/nyctograph/>
Mischa POSLAWSKY [Sat, 22 Aug 2015 02:09:58 +0000 (04:09 +0200)]
writing: north-eastern iberian
Overview of some non-dual iberian syllables as proposed for Unicode in
<http://www.unicode.org/L2/L2015/15120-northeastern-iberian.pdf>.
Mischa POSLAWSKY [Sat, 22 Aug 2015 00:34:57 +0000 (02:34 +0200)]
latin: identify rows by titles instead of script codes
While shorter strings might be more stable for future translation,
currently it only harms readability by distancing displayed names
behind unrecognisable codes.
Mischa POSLAWSKY [Sat, 22 Aug 2015 00:31:37 +0000 (02:31 +0200)]
latin: prussian semaphore
<https://en.wikipedia.org?oldid=
656504197>
Mischa POSLAWSKY [Sat, 22 Aug 2015 00:24:59 +0000 (02:24 +0200)]
latin: chappe semaphore
<http://www.rioleo.org/the-true-origins-and-history-of-the-telegraph.php>
Mischa POSLAWSKY [Thu, 30 Jul 2015 16:10:22 +0000 (18:10 +0200)]
writing: hatran row
Straight-forward derivative of Aramaic, added in Unicode 8.0.
Mischa POSLAWSKY [Thu, 30 Jul 2015 00:00:27 +0000 (02:00 +0200)]
latin: colour alphabet
A set of distinctly recognisable colours to represent letters, mapped to
English mnemonics (displayed as hover); from original research at
<http://aic-colour-journal.org/index.php/JAIC/article/viewFile/19/16>.
Mischa POSLAWSKY [Wed, 29 Jul 2015 12:23:55 +0000 (14:23 +0200)]
latin: pigpen encoding using lookalike canadian letters
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:56:17 +0000 (13:56 +0200)]
latin: wingdings row with unicode equivalents
Wingdings is a dingbat font included in Microsoft Windows 3.1+, substituting
letters by shapes and symbols which in turn have all been encoded in Unicode
version 7.0.
Show the results for capital letters A-Z for a general impression of these
glyphs (as listed on <http://www.alanwood.net/demos/wingdings.html>),
although lowercase a-z are also commonly used in this kind of obfuscation.
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:55:06 +0000 (13:55 +0200)]
latin: code39 bar code row (unicode)
Use U+200A hair space, U+2758 light bar, and U+2759 medium bar
to represent 3 widths of 6 columns (restricted to 2 wide and 3 narrow bars
(2 nCr 5 = 10) with 1 dividing space (4 positions) for 40 characters).
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:45:28 +0000 (13:45 +0200)]
latin: rm4scc barcode row
Inline SVG generated from 4 digits describing forms (1|2 for line up/down:
unextended, ascended, descended, full height) of 4 bars as described for
example on <https://en.wikipedia.org?oldid=
670826999>.
This encoding developed by Royal Mail (identical to PostNL KIX-code)
restricts the 4⁴ combinations to exactly 2 ascenders and 2 descenders each
for 2⋅(4 nCr 2) = 36 characters.
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:25:49 +0000 (13:25 +0200)]
latin: flag semaphore row (arrows)
Image representations widely available online, but manually encoded as
directions for schematic display using unicode arrow symbols with css to
overlap compatible hands.
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:06:38 +0000 (13:06 +0200)]
latin: uppercase row
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:06:04 +0000 (13:06 +0200)]
latin: distinguish alternative tap code name
Mischa POSLAWSKY [Wed, 29 Jul 2015 11:05:08 +0000 (13:05 +0200)]
latin: format tap code with multiline bullets
Mischa POSLAWSKY [Wed, 29 Jul 2015 10:58:10 +0000 (12:58 +0200)]
latin: international maritime signal flags
SVG adapted from Wikipedia <https://en.wikipedia.org?oldid=
671150888>.
Mischa POSLAWSKY [Fri, 24 Jul 2015 17:06:38 +0000 (19:06 +0200)]
latin: replace asl font by signwriting unicode
Shapes copied from "Lessons in SignWriting" by Valerie Sutton, page 74
<https://books.google.nl/books?id=RID9hyzNhgEC&pg=PA74>
Mischa POSLAWSKY [Wed, 15 Jul 2015 01:10:53 +0000 (03:10 +0200)]
writing: prefer modern variant of greek qoppa
Later form only used numerically, but more appropriate with most fonts.
Mischa POSLAWSKY [Wed, 22 Jul 2015 15:43:38 +0000 (17:43 +0200)]
sc: note zerg and protoss regeneration rates
Mischa POSLAWSKY [Wed, 22 Jul 2015 15:42:43 +0000 (17:42 +0200)]
sc: shield damage note is only relevant for bw
Mischa POSLAWSKY [Tue, 14 Jul 2015 00:49:15 +0000 (02:49 +0200)]
countries: intermediate circus colour for europe
Create a distinct style between g4 (africa) and g7 (asia) for better
distribution.
Mischa POSLAWSKY [Tue, 14 Jul 2015 00:42:34 +0000 (02:42 +0200)]
countries: apply data include to modification date
Mischa POSLAWSKY [Tue, 14 Jul 2015 00:40:35 +0000 (02:40 +0200)]
countries: handle (multiple) aliases properly in flag mode
Mischa POSLAWSKY [Tue, 14 Jul 2015 00:38:43 +0000 (02:38 +0200)]
countries: append alias target in flag mode
Mischa POSLAWSKY [Tue, 14 Jul 2015 00:33:32 +0000 (02:33 +0200)]
countries: include un/locode assignment for xz