logoalt Hacker News

Countries 15x10 Pixel Flags

10 pointsby lionelloyesterday at 11:57 PM4 commentsview on HN

Comments

eqvinoxtoday at 4:30 AM

Failure on the Swiss flag:

https://en.wikipedia.org/wiki/Flag_of_Switzerland

The Swiss flag is square, instead of the rectangular shape typical for national flags.

Even if it were to be the civil & state ensign, the cross must remain "quadratic" with the horizontal and vertical arms the same width. They clearly aren't, and it looks horrible.

lifthrasiirtoday at 3:48 AM

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

kdakertoday at 4:21 AM

Hasn’t been updated in 5 years. The Syrian flag for one is out of date. There could be others.

MiroslavPokornytoday at 4:30 AM

Theres no license in the repo so its basically unusable.