Data · flame-test-colors
Flame test colours
A Bunsen-style burner on a lab bench: a wire loop dips into the flame, which turns crimson, yellow, lilac, green, red and orange for Li, Na, K, Cu, Sr and Ca with sparks, a label pill and the matching sample bottle lighting up.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Flame test colours is for
Chemistry lessons on flame tests and emission, "why fireworks have colours", element-by-element reveals, school science channels.
Details
- Category
- Animated charts & data visualisation
- Length
- 13.0 s (390 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
titlesubtitle- Colour props
backgroundbenchColorbaseFlameinkColor- Mood
- hud, playful, night
- Roles
- subject
Use Flame test colours in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add flame-test-colors --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render flame-test-colors --props '{"title":"Flame test","subtitle":"Each metal burns its own colour","background":"#0f1b2b","benchColor":"#8a5a38","baseFlame":"#6ea8ff","inkColor":"#e9f1ff"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export flame-test-colors --as mp4 --props '{"title":"Flame test","subtitle":"Each metal burns its own colour","background":"#0f1b2b","benchColor":"#8a5a38","baseFlame":"#6ea8ff","inkColor":"#e9f1ff"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="flame-test-colors"
props={{
title: 'Flame test',
subtitle: 'Each metal burns its own colour',
background: '#0f1b2b',
benchColor: '#8a5a38',
baseFlame: '#6ea8ff',
inkColor: '#e9f1ff',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="flame-test-colors"
props='{"title":"Flame test","subtitle":"Each metal burns its own colour","background":"#0f1b2b","benchColor":"#8a5a38","baseFlame":"#6ea8ff","inkColor":"#e9f1ff"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "flame-test-colors",
"props": {
"title": "Flame test",
"subtitle": "Each metal burns its own colour",
"background": "#0f1b2b",
"benchColor": "#8a5a38",
"baseFlame": "#6ea8ff",
"inkColor": "#e9f1ff"
}
}
]
}Flame test colours props
11 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
title | "Flame test" | headline (top-left) |
subtitle | "Each metal burns its own colour" | mono sub-line |
elements | [{"symbol":"Li","name":"Lithium","color":"#ff2f5a","colorName":"Crimson"},{"symbol":"Na… | steps [{symbol,name,color (flame colour),colorName?}] one per dip |
background | "#0f1b2b" | wall colour |
benchColor | "#8a5a38" | bench wood colour |
baseFlame | "#6ea8ff" | flame colour before the first dip |
inkColor | "#e9f1ff" | text colour |
framesPer | 58 | frames per element (30 fps) |
startFrame | 22 | frame of the first dip |
sparks | 26 | spark particles per dip |
seed | 3 | spark seed |
Related motions

Atom electron cloud builder
Chemistry and physics explainers, "how elements are built" lessons, periodic-table intros, science channel hero shots.
atom-electron-cloud
Emission spectrum lines
Physics and chemistry explainers on atomic spectra, "how we know what stars are made of", element fingerprints, astronomy intros.
emission-spectrum-lines
Element columns 3D
Show a property across the periodic table (or any 118-item grid dataset) and call out the extreme; science explainers.
element-columns-3d
Periodic table light-up
"How many X of Y" science and finance explainers and data storytelling (elements used in a phone, states served, features in a matrix).
periodic-table-lightup
Orbit system
Astronomy teaching, "ecosystem" metaphors for products (a platform and its satellites), timelines of cycles, a hero background for space…
orbit-system
Body vessel glow character
Biology and health explainers, "what is in your body" reveals, nutrition and iron/mineral stories, science-for-kids channels,…
body-vessel-glow
Notes & credits
Technique sources:
- analysis/sheets/r3/v1 (strontium flame test with wire loop)