42 Astoundingly Useful Scripts and Automations for the Macintosh

Commemorate Patriot Day with Betsy Ross

The Declaration of Independence overlaid on the Betsy Ross flag.

Jerry Stratton, September 11, 2019

The asciiArt script from 42 Astoundingly Useful Scripts and Automations for the Macintosh is astoundingly useful, as the title of the book implies, and can be used for a wide variety of purposes. I originally made this image for Independence Day, overlaying the Declaration of Independence on a drawing of the Betsy Ross flag. The Betsy Ross flag’s simple design is perfect for sequential ASCII art. The circle is a simple geometric element that shows up when placed in text; the stars of the modern 50-star flag get muddled unless the text is made so small as to be unreadable.

  1. Download the Betsy Ross flag for use with the asciiArt script: Betsy Ross flag (PNG, 24.9 KB)
  2. Place it in a folder where you can run the asciiArt script.
  3. Open the Terminal.
  4. Type “cd”, a space, and then drag your work folder onto the Terminal. Press the RETURN key, and you’re ready to create ascii art from the Betsy Ross flag.

Because the flag is such a simple design, when recreating it using text for the greyscale it makes more sense to keep the number of characters small. Here’s the Betsy Ross flag with just the asterisk, equals, and exclamation:

  • ~/bin/asciiArt "Betsy Ross Flag.png" --palette "*=! "

You can imagine that even this would get pretty muddled with either (a) fifty stars, or (b) a larger palette to draw from.

More appropriately, though, the simple Betsy Ross flag can have its colors superimposed over other text. The command to create a flag based on the Declaration of Independence is a long command due to having to reproduce the entire preamble on the command line. This is even longer than the Peanuts quote from the book. If I’m going to keep using longer and longer text with this script, I should probably add the ability to make the palette be a file. Probably before I put the entire Gettysburg Address over the Lincoln Memorial, I’ll need to do that.

Fortunately, it’s easy enough to copy and paste from the Declaration (in, say, Safari) into Terminal.

  • ~/bin/asciiArt "Betsy Ross Flag.png" --palette "We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness. That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government, laying its foundation on such principles and organizing its powers in such form, as to them shall seem most likely to effect their Safety and Happiness. " --sequence .9 --quiet --save declaration.png --colors --blank " " --width 240

If you want a shorter text, more appropriate for Patriot Day, you could simply quote Todd Beemer:

  • ~/bin/asciiArt "Betsy Ross Flag.png" --palette "Are you guys ready? Okay, let’s roll. " --sequence .9 --quiet --save roll.png --colors --blank " " --width 240

Without the courage of Beemer and the other men on Flight 93 who fought back, I doubt we’d be commemorating Patriot Day on September 11. I suspect the national mood following September 11, 2001, would have been very different. They were heroes, and what they did reverberated far beyond the hundreds or thousands of lives they saved.

We may not be asked to scramble up over a trench and across a muddy field in Flanders, but it’s all too possible we may be called upon to demonstrate great heroism close to home, as the firemen of New York and the passengers of Flight 93 were. They are the Dead. They lived, felt dawn, saw sunset glow, loved and were loved. They did not deserve their premature deaths. But they join the untold legions who helped the Union win the Civil War, the Americans and the British Empire win the Great War, and the Allies the Second World War. — Mark Steyn (The Face of the Tiger)

It is very easy to say “never forget”, but it’s a lot harder to remember what we were once so dedicated to never repeating.

For an amazing look at the year following September 11, 2001, I recommend Mark Steyn’s The Face of the Tiger. As a Canadian immigrant, he has a unique view of both America’s and the world’s responses to the attack.

  1. <- Shooting stars