Skip to content

About

How do fireworks make colour? An interactive, open-source explainer. Glassbox No. 240.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FireworksClear

How do fireworks make colour?
A firework shell is a timed paper machine that opens at the top of its climb. See what is inside, how the stars draw a peony or a willow, and why atoms of strontium, barium and copper glow red, green and blue.

▶ Play with it  ·  Read the 60-second explainer

Glassbox No. 240 Chemistry Code: MIT Content: CC BY 4.0 Privacy: explained

In 60 seconds

  1. A shell is a timed machine. An aerial shell is a paper ball. A lift charge below it burns in a flash and throws it up out of a tube called the mortar. The same flash lights a slow fuse inside. After a few seconds, near the top of the climb, the fuse reaches a burst charge at the centre, which splits the casing and throws out the stars.
  2. The stars carry the colour. Stars are small pellets that burn with a coloured flame or with sparks. The burst charge lights them and throws them out. Each one flies in a straight line, then slows in the air and falls. What you see in the sky is where the stars were when they burned.
  3. Packing makes the shape. Stars packed evenly in a ball make a peony. Give them tails and it is a chrysanthemum. Lay them in a circle and you get a ring. Slow stars that burn for a long time droop into a willow, and a few rows of stars make a palm. Air drag and gravity do the rest.
  4. Atoms give out set colours. Heat kicks an electron in a metal atom up to a higher energy level. When it falls back it gives out a photon, and the size of the drop sets the colour. Sodium gives yellow-orange at about 589 nanometres, calcium orange, strontium red at about 640 to 660, barium green at about 510 to 530, and copper blue at about 450.
  5. Heat helps, then hurts. A hot flame is bright, but past a point plain glow floods it with white and breaks up the colour molecules. Copper chloride, which makes blue, is fragile and needs a narrow range of temperature and a chlorine donor. That is why blue is the hardest colour. Magnesium and aluminium burn extremely hot and give white light, titanium gives silver sparks, and charcoal gives gold.
  6. The bang, the risks and the costs. Sound travels about 343 metres per second, so a burst a kilometre away bangs about three seconds after the flash. Shells are explosives made and fired only by licensed professionals, and amateurs are hurt every year. Fireworks leave smoke, and some chemicals such as perchlorate can reach water. Drone shows draw in light with no bang or smoke.

Words worth knowing

Term Meaning
Aerial shell A paper ball of stars, a burst charge and a time fuse, fired from a tube into the sky.
Lift charge The charge below a shell that burns fast and throws it out of the mortar.
Burst charge The charge at a shell's centre that splits the casing and lights and throws the stars.
Star A small pellet that burns with colour or sparks. The stars make the picture in the sky.
Chrysanthemum A round burst whose stars leave long glowing tails.
Willow Slow, long-burning stars that droop towards the ground after the burst.
Luminescence Light from excited atoms or molecules, in narrow bands of colour.
Incandescence The smooth glow of anything simply hot. It goes from red to white as it heats.
Chlorine donor A material that supplies chlorine so metal-chloride molecules, the best colour emitters, can form.
Speed of sound About 343 m/s in air at 20 °C, which gives roughly three seconds per kilometre.

A short history

From bamboo that bangs to drones that draw, two thousand years of making fire into colour.

  • 621 · Legend: Li Tian and the first firecrackers (Li Tian (a legend), Liuyang, Hunan)
  • 850 · Gunpowder is found, by accident (Alchemists in the Tang era, China)
  • 1540 · The first printed book to describe the art (Vannoccio Biringuccio, Venice, Italy)
  • 1733 · Fireworks over the Sumida River (Shogun Tokugawa Yoshimune, Edo (Tokyo), Japan)
  • 1739 · The Ruggieri family bring theatre fireworks to Paris (The Ruggieri family, Paris, France)
  • 1859 · Bunsen and Kirchhoff read flames with a prism (Robert Bunsen and Gustav Kirchhoff, Heidelberg, Germany)
  • 2024 · Injuries rise (US Consumer Product Safety Commission, United States)

The full story, with 25 moments, charts, people and 31 sources: glassbox.how/e/fireworksclear/history. The data lives in history.json.

Privacy

This box has no accounts and no ads, and it ships its own fonts and libraries. When you run it yourself it sends nothing anywhere. On glassbox.how, the site's /bar.js also loads Glassbox's analytics: Google Analytics to count visits (it asks first in the EU, UK and Switzerland, and stays off when your browser sends Global Privacy Control or Do Not Track) and ClickTrust to detect bots.

It remembers a few things in your own browser only, and never sends them anywhere:

Browser storage key What it holds
fireworksclear.v1 Which chapters you have opened, your best quiz scores, and sound on or off.

Exactly what each one sees is at glassbox.how/privacy.

Licences

Found a mistake? Open an issue. Corrections happen in public.

Run it

It's plain HTML, CSS and JavaScript. No build step and no dependencies. Run locally, it contacts no other website.

python3 -m http.server 8000

Three.js and the fonts ship in vendor/ and fonts/, so it also works offline.

Then open http://localhost:8000.

How it's built

File What
index.html, css/app.css The page and its styles
js/app.js, js/stage.js, js/ui.js, js/kit.js The shared Glassbox 3D engine: chapters, 3D stage, controls, quiz, video director
js/chapters/*.js One file per chapter: the 3D model, controls, text, key terms, quiz and video scenes
glassbox.json Title, question, explainer beats, key terms, browser storage and credits shown on glassbox.how
reel in each chapter The storyboard the Glassbox studio records into short videos
glassbox/ The published video, slides, thumbnail and post copy
fonts/, vendor/three/ Self-hosted Geist and Instrument Serif (SIL OFL 1.1) and three.js (MIT)

About

How do fireworks make colour? An interactive, open-source explainer. Glassbox No. 240.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages