Opus Motion ★ Star on GitHub

Data · element-columns-3d

Element columns 3D

A periodic table of 3D tiles on a wooden bench in a dark lab: the columns rise from the floor to heights set by a property (melting point), the camera drifts round, the tallest column is tagged with a label and a caption pill sits at the bottom. Sample values are illustrative.

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

Element columns 3D: three frames of the animated chart, start, middle and end
Element columns 3D — start, middle and end of the 9.0-second motion.

What Element columns 3D is for

Show a property across the periodic table (or any 118-item grid dataset) and call out the extreme; science explainers.

  • periodic-table
  • chemistry
  • 3d
  • data
  • bars
  • science

Details

Category
Animated charts & data visualisation
Length
9.0 s (270 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
unit caption
Colour props
colors background floorColor
Mood
3d, hud, playful, editorial, night
Roles
subject

Use Element columns 3D in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add element-columns-3d --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render element-columns-3d --props '{"unit":"K","caption":"The taller the column, the higher its melting point.","colors":["#F28C38","#2FB8B0","#8A6FD8","#5FA8F0","#E87FA8","#E6C34A"],"background":"#0b1522","floorColor":"#8a5a33"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export element-columns-3d --as mp4 --props '{"unit":"K","caption":"The taller the column, the higher its melting point.","colors":["#F28C38","#2FB8B0","#8A6FD8","#5FA8F0","#E87FA8","#E6C34A"],"background":"#0b1522","floorColor":"#8a5a33"}'

React / Next.js

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

<MotionPlayer
  motion="element-columns-3d"
  props={{
    unit: 'K',
    caption: 'The taller the column, the higher its melting point.',
    colors: ['#F28C38', '#2FB8B0', '#8A6FD8', '#5FA8F0', '#E87FA8', '#E6C34A'],
    background: '#0b1522',
    floorColor: '#8a5a33',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="element-columns-3d"
  props='{"unit":"K","caption":"The taller the column, the higher its melting point.","colors":["#F28C38","#2FB8B0","#8A6FD8","#5FA8F0","#E87FA8","#E6C34A"],"background":"#0b1522","floorColor":"#8a5a33"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "element-columns-3d",
      "props": {
        "unit": "K",
        "caption": "The taller the column, the higher its melting point.",
        "colors": [
          "#F28C38",
          "#2FB8B0",
          "#8A6FD8",
          "#5FA8F0",
          "#E87FA8",
          "#E6C34A"
        ],
        "background": "#0b1522",
        "floorColor": "#8a5a33"
      }
    }
  ]
}

Element columns 3D props

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

PropDefaultWhat it does
values[14,1,454,1560,2349,3800,63,54,53,25,371,923,933,1687,317,388,172,84,337,1115,1814,1941…118 numbers in atomic-number order (default: illustrative melting points in K); sets column heights
unit"K"unit shown in the auto label
caption"The taller the column, the higher its melting point."bottom caption pill text
highlightLabel""text for the tallest-column label (empty = element name + value)
highlightIndex-1zero-based element index to highlight (-1 = the tallest)
colors["#F28C38","#2FB8B0","#8A6FD8","#5FA8F0","#E87FA8","#E6C34A"]six group colours: alkali, transition, post-transition, nonmetal, noble gas, f-block
background"#0b1522"room colour
floorColor"#8a5a33"wooden bench colour
maxHeight4tallest column height in tile widths
orbitDeg38camera orbit over the clip, degrees
startYaw-22starting camera yaw, degrees
pitch52camera elevation, degrees
showCaptiontrueshow the caption pill

Notes & credits

Technique sources:

  • analysis/sheets/r3/v1.jpg