Archive by Author

How to Draw the Swiss Flag

4 Jan

This is one a series of posts on how to draw world flags. Finding the specifications for these flags, and attempting to reproduce the flag perfectly, according to the specifications, is a great way to teach yourself basic graphics programming.

Previously: Kenya

The last flag was pretty darned complicated, so I thought I’d throw in an easy one.

Wikipedia tells us that this is one of only two flags that are perfectly square. The other is Vatican City. This particular square flag, however, is significantly easier to draw.

Rather than thoroughly explain this one, I’m going to leave it as an exercise to you, the reader. Instead of looking at my source code, try reading the Wikipedia article and constructing this one yourself!