Guides › How the pixel art in Black Box Trivia is made
How the pixel art in Black Box Trivia is made
Every picture question in Black Box Trivia is a tiny image just 96 pixels wide and 64 pixels tall. That is about the size of an icon on a 1980s computer screen, and it is a deliberate choice: the game is a tribute to the black-and-white machines of that era. Here is how the pictures are made.
The rules
Most pictures use only two colours, black and white, the way early personal computers did. Shading is done with patterns of dots called dithering, the same trick newspapers used to print photographs. A few rounds, such as famous trains, inventions, paintings and cloud types, use a small 8-bit colour palette inspired by 1980s games consoles instead.
Silhouettes from real shapes
The aircraft, ships, tanks and spacecraft are traced, not guessed. Aircraft outlines come from open-source 3D flight-simulator models, and the spacecraft from 3D models published by NASA. The models are viewed from the side, flattened to a silhouette and shrunk down, then cleaned up by hand so that the important details (a tail fin, a gun turret, a solar panel) survive at such a small size.
Maps and outlines from open data
Country shapes, islands and lakes are drawn from Natural Earth, a free public-domain map dataset. Racing circuits come from an open dataset of Formula 1 track layouts. The tricky part is choosing how thick to draw the lines: too thin and they break up into dots; too thick and every circuit looks like a blob.
Drawn by code
Some rounds are drawn entirely by small programs. Mountains are described as a list of points along their skyline, with snowfields added as separate shapes. Maritime signal flags are built from their official layouts of stripes, crosses and squares. Clouds are made from overlapping circles, shaded from light to dark.
From photographs
The famous trains started as freely licensed photographs. Each photo is cropped, shrunk to 96 by 64 pixels, and reduced to a limited colour palette, then tidied pixel by pixel to remove speckles. The credits for these photographs are listed on our About page.
Why so small?
Partly for the look, and partly because it makes the game better. A tiny picture keeps only the most recognisable features of a thing, so the question becomes: do you know the shape of it? That is surprisingly hard for a country you have never looked at closely, and surprisingly satisfying when you get it.
Want to test yourself? Browse the picture quizzes, or start a game and turn on picture rounds.