logoalt Hacker News

lifthrasiirtoday at 3:48 AM0 repliesview on HN

I recently had a misfortune to draw every country flag with a limited palette of shapes (axis-aligned rectangle and triangle, ellipses, {a/b} regular polygons) and operations (union, subtraction). [1] It is really annoying to be as faithful as possible; you have to deal with varying aspect ratios and under- or unspecified construction methods and colors, and at some point you have to decide how to modify the flag to fit the target resolution and aspect ratio without being too different. Also you would eventually have to face the flag of Bhutan [2]... (I haven't yet drawn it.)

[1] https://github.com/lifthrasiir/unison/blob/gh-pages/font/fla...

[2] https://en.wikipedia.org/wiki/Flag_of_Bhutan