Opus Motion ★ Star on GitHub

Data · atom-electron-cloud

Atom electron cloud builder

Dark blue space: a nucleus of protons and neutrons grows one proton per beat with a counter and an element symbol/name card updating (H, He, Li ...) while each new electron is a seeded particle swarm that spreads into its shell, expanding the electron cloud.

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

Atom electron cloud builder: three frames of the animated chart, start, middle and end
Atom electron cloud builder — start, middle and end of the 10.0-second motion.

What Atom electron cloud builder is for

Chemistry and physics explainers, "how elements are built" lessons, periodic-table intros, science channel hero shots.

  • atom
  • electron
  • proton
  • neutron
  • periodic table
  • chemistry
  • physics
  • element
  • particles
  • counter
  • science
  • education
  • dark
  • nucleus
  • shells

Details

Category
Animated charts & data visualisation
Length
10.0 s (300 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title caption
Colour props
background protonColor neutronColor electronColor inkColor accent
Mood
hud, night
Roles
subject

Use Atom electron cloud builder in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add atom-electron-cloud --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render atom-electron-cloud --props '{"title":"Build an atom","caption":"Each click adds a proton.","background":"#050f26","protonColor":"#ff6b8c","neutronColor":"#a9b9d8","electronColor":"#6fd0ff","inkColor":"#e8f0ff","accent":"#6fd0ff"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export atom-electron-cloud --as mp4 --props '{"title":"Build an atom","caption":"Each click adds a proton.","background":"#050f26","protonColor":"#ff6b8c","neutronColor":"#a9b9d8","electronColor":"#6fd0ff","inkColor":"#e8f0ff","accent":"#6fd0ff"}'

React / Next.js

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

<MotionPlayer
  motion="atom-electron-cloud"
  props={{
    title: 'Build an atom',
    caption: 'Each click adds a proton.',
    background: '#050f26',
    protonColor: '#ff6b8c',
    neutronColor: '#a9b9d8',
    electronColor: '#6fd0ff',
    inkColor: '#e8f0ff',
    accent: '#6fd0ff',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="atom-electron-cloud"
  props='{"title":"Build an atom","caption":"Each click adds a proton.","background":"#050f26","protonColor":"#ff6b8c","neutronColor":"#a9b9d8","electronColor":"#6fd0ff","inkColor":"#e8f0ff","accent":"#6fd0ff"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "atom-electron-cloud",
      "props": {
        "title": "Build an atom",
        "caption": "Each click adds a proton.",
        "background": "#050f26",
        "protonColor": "#ff6b8c",
        "neutronColor": "#a9b9d8",
        "electronColor": "#6fd0ff",
        "inkColor": "#e8f0ff",
        "accent": "#6fd0ff"
      }
    }
  ]
}

Atom electron cloud builder props

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

PropDefaultWhat it does
title"Build an atom"headline (top-left)
caption"Each click adds a proton."mono sub-line
elements[{"symbol":"H","name":"Hydrogen","neutrons":0},{"symbol":"He","name":"Helium","neutrons…steps [{symbol,name,z? (default index+1),neutrons? (default ~z)}], one per beat
background"#050f26"space colour
protonColor"#ff6b8c"proton colour
neutronColor"#a9b9d8"neutron colour
electronColor"#6fd0ff"electron cloud / shell colour
inkColor"#e8f0ff"text colour
accent"#6fd0ff"element-card outline
beatFrames26frames between steps (30 fps)
startFrame22frame of the first step
particles110particles per electron (more = denser cloud)
stars90background star count
seed4nucleus layout / particle seed
protonsLabel"PROTONS"label of the proton counter
neutronsLabel"NEUTRONS"label of the neutron counter
electronsLabel"ELECTRONS"label of the electron counter
protonNote"+1 proton"floating note when a proton is added

Notes & credits

Technique sources:

  • analysis/sheets/r3/v1 (3D periodic table: click adds a proton, electron cloud)