Opus Motion ★ Star on GitHub

Data · periodic-table-lightup

Periodic table light-up

The 118-element periodic table as rounded tiles; the chosen elements light up one per frame in ink with a pop, a second group lights in the accent colour, a big count-up "N /118" ticks beside the table, and a soft shimmer sweeps the lit tiles. Switch to a custom grid for any category matrix.

A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Periodic table light-up: three frames of the animated chart, start, middle and end
Periodic table light-up — start, middle and end of the 8.0-second motion.

What Periodic table light-up is for

"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
  • grid
  • light up
  • counter
  • count up
  • data storytelling
  • matrix
  • tiles
  • science
  • chemistry
  • how many

Details

Category
Animated charts & data visualisation
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title
Colour props
background litColor accentColor
Mood
hud
Roles
subject

Use Periodic table light-up in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add periodic-table-lightup --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render periodic-table-lightup --props '{"title":"ELEMENTS IN USE","background":"#EEF1F4","litColor":"#25313D","accentColor":"#FF5A36"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export periodic-table-lightup --as mp4 --props '{"title":"ELEMENTS IN USE","background":"#EEF1F4","litColor":"#25313D","accentColor":"#FF5A36"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="periodic-table-lightup"
  props={{
    title: 'ELEMENTS IN USE',
    background: '#EEF1F4',
    litColor: '#25313D',
    accentColor: '#FF5A36',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="periodic-table-lightup"
  props='{"title":"ELEMENTS IN USE","background":"#EEF1F4","litColor":"#25313D","accentColor":"#FF5A36"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "periodic-table-lightup",
      "props": {
        "title": "ELEMENTS IN USE",
        "background": "#EEF1F4",
        "litColor": "#25313D",
        "accentColor": "#FF5A36"
      }
    }
  ]
}

Periodic table light-up props

13 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
grid"periodic"'periodic' (built-in 118 layout) or 'custom' (use cells)
cells[]custom grid cells [{label, row, col}] (col 1-based, row 1-based; fractional rows allowed)
lit"H Li B C N O F Na Mg Al Si P S Cl K Ca Ti Cr Mn Fe Co Ni Cu Zn Ga Ge As Br Sr Y Zr Nb …space-separated labels that light in ink
accent"Ru Rh Pd Pt Ir Os Re Eu Tb Dy Er"space-separated labels that light in the accent colour afterwards
order"sequence"'sequence' (grid order) | 'random' | 'by-row'
stagger1.1frames between tiles lighting
startAt14frame the first tile lights
accentAt90earliest frame the accent group starts
title"ELEMENTS IN USE"small caption above the counter
background"#EEF1F4"page colour
litColor"#25313D"lit tile fill
accentColor"#FF5A36"accent tile fill
seed3seed for random order

Notes & credits

Technique sources:

  • mg-styles-15 demos/19-paperclip/index.html tiles / TP / USED (MIT)