Sun, 09 Mar 2008

Vexillological Mathematica

One of our kids is a budding vexillologist and he greatly enjoys things like this flag page I made with Mathematica. When you move your mouse over a flag the country's name will pop up in a moment, which makes it nice for flag quizzes. Here's how I did it:

Export["/home/billw/flags.html",
  TableForm[Partition[
    Tooltip[Framed[CountryData[#, "Flag"]], CountryData[#, "Name"]]& /@ CountryData[],
    5, 5, 1, " "]]]

A facility for quotation covers the absence of original thought.—Lord Peter Wimsey

Left column Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.