Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

Country Flags

On an AWTRIX display
Country Flags shown on an AWTRIX display
Country Flags · by gkaramanis

On your display

215 pixel-art country and territory flags with their names. The knob steps through them.

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Miscellaneous
Includes
Script

Runs on

  • Does not run on 32×8 (TC001 & DIY) Made for 52×16 (TC002).
  • Runs on 52×16 (TC002)
  • Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

Country FlagsAWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

Script description

215 country and territory flags as 16×12 pixel art, with the name beside the flag. You get the next flag each time the app comes round, or a random one if you prefer. Turning the knob while it's on screen steps through them. Long names scroll. Works offline.

Settings

  • Flags: the codes to show, separated by commas, e.g. se,gr,jp,gb-eng. Leave it empty for all 215. Places without an ISO code go by their name, like abkhazia or northern-cyprus.
  • Order: in-turn (the next flag each time) or random.
  • Show names: turn it off and the flag sits alone in the middle.
  • Duration: how long each turn lasts, 10 s by default.

Credits

200 of the flags come from pixel-flags by Tony Gines (MIT). I drew the other 15 in the same style: Taiwan, Scotland, Wales, Hong Kong, Macau, Greenland, the Faroe Islands, Gibraltar, the Falkland Islands, Western Sahara, Northern Cyprus, Somaliland, Abkhazia, South Ossetia and Transnistria.

Missing a flag, or one looks wrong? Say so in the comments.

More scripts in Miscellaneous

Something wrong with this script? Report it.