Data · emission-spectrum-lines
Emission spectrum lines
A glowing gas-discharge tube sends light through a slit and a prism; a dark spectrum panel with an nm axis draws bright emission lines at element-specific wavelengths (hydrogen, helium, neon) as a scanner sweeps across, then swaps to the next gas.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Emission spectrum lines is for
Physics and chemistry explainers on atomic spectra, "how we know what stars are made of", element fingerprints, astronomy intros.
Details
- Category
- Animated charts & data visualisation
- Length
- 11.3 s (340 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
titlesubtitle- Colour props
backgroundinkColor- Mood
- neon, hud, night
- Roles
- subject
Use Emission spectrum lines in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add emission-spectrum-lines --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render emission-spectrum-lines --props '{"title":"Atomic fingerprints","subtitle":"Every element glows in its own lines","background":"#0a1024","inkColor":"#e8eeff"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export emission-spectrum-lines --as mp4 --props '{"title":"Atomic fingerprints","subtitle":"Every element glows in its own lines","background":"#0a1024","inkColor":"#e8eeff"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="emission-spectrum-lines"
props={{
title: 'Atomic fingerprints',
subtitle: 'Every element glows in its own lines',
background: '#0a1024',
inkColor: '#e8eeff',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="emission-spectrum-lines"
props='{"title":"Atomic fingerprints","subtitle":"Every element glows in its own lines","background":"#0a1024","inkColor":"#e8eeff"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "emission-spectrum-lines",
"props": {
"title": "Atomic fingerprints",
"subtitle": "Every element glows in its own lines",
"background": "#0a1024",
"inkColor": "#e8eeff"
}
}
]
}Emission spectrum lines props
13 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
title | "Atomic fingerprints" | headline (top-left) |
subtitle | "Every element glows in its own lines" | mono sub-line |
gases | [{"symbol":"H","name":"Hydrogen","tube":"#ff6fcf","lines":[410,434,486,656]},{"symbol":… | gases [{symbol,name,tube (tube glow colour),lines: [wavelength nm, ...]}] one per step |
background | "#0a1024" | backdrop colour |
inkColor | "#e8eeff" | text and axis colour |
minNm | 380 | left end of the nm axis |
maxNm | 720 | right end of the nm axis |
framesPer | 100 | frames per gas (30 fps) |
startFrame | 18 | frame the first gas lights |
showLabels | true | print the wavelength under each line |
seed | 1 | unused spare seed |
spectrumLabel | "EMISSION SPECTRUM" | caption after the gas name above the spectrum panel |
axisLabel | "wavelength (nm)" | axis caption under the spectrum panel |
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
Flame test colours
Chemistry lessons on flame tests and emission, "why fireworks have colours", element-by-element reveals, school science channels.
flame-test-colors
Orbit system
Astronomy teaching, "ecosystem" metaphors for products (a platform and its satellites), timelines of cycles, a hero background for space…
orbit-system
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
Atom / molecule model
Chemistry / physics explainers, end stage of a scale-dive, science and materials brands.
atom-model
Energy jar fill
Visualising stores and quantities (energy, budget, storage, progress) as glowing jars — a physical alternative to a bar chart in…
energy-jar-fill
Notes & credits
Technique sources:
- analysis/sheets/r3/v1 (krypton spectrum tube and spectrum panel)