Opus Motion ★ Star on GitHub

Data · microscope-dive

Microscope dive

One continuous powers-of-ten zoom from a glass slide on a graphite bench through a procedural stained tissue section and cell field to a single nucleus; focus racks in, breathes at each magnification step and sweeps a focal plane on landing; frosted instrument panel (1-2-5 scale bar, rolling field of view, magnification and turning turret glyph) and a measurement ring with leader to a reading panel.

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

Microscope dive: three frames of the animated chart, start, middle and end
Microscope dive — start, middle and end of the 10.0-second motion.

What Microscope dive is for

Scale reveals from object to cell, "one measured number" beats, science / medical / materials explainers, powers-of-ten transitions.

  • microscope
  • zoom
  • powers of ten
  • scale
  • cell
  • nucleus
  • slide
  • histology
  • science
  • measurement
  • scale bar
  • instrument
  • focus
  • data
  • biology
  • lab

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
label unit title
Colour props
bench
Image props
src
Mood
hud, ui
Roles
subject

Use Microscope dive in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render microscope-dive --props '{"label":"Nucleus diameter","unit":"µm","title":"","bench":"#0B0D0F","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export microscope-dive --as mp4 --props '{"label":"Nucleus diameter","unit":"µm","title":"","bench":"#0B0D0F","src":""}'

React / Next.js

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

<MotionPlayer
  motion="microscope-dive"
  props={{
    label: 'Nucleus diameter',
    unit: 'µm',
    title: '',
    bench: '#0B0D0F',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="microscope-dive"
  props='{"label":"Nucleus diameter","unit":"µm","title":"","bench":"#0B0D0F","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "microscope-dive",
      "props": {
        "label": "Nucleus diameter",
        "unit": "µm",
        "title": "",
        "bench": "#0B0D0F",
        "src": ""
      }
    }
  ]
}

Microscope dive props

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

PropDefaultWhat it does
label"Nucleus diameter"small label above the reading
value8.4the measured number (also sets the nucleus size, and so the final field of view)
unit"µm"unit of the reading ('µm', 'nm' or 'mm')
method"least-squares circle · 72 rays"mono method line under the reading
stain"he"'he' (pink / purple) or 'trichrome' (red / blue)
accent"rgb(120,240,205)"measurement ring and reading colour
bench"#0B0D0F"bench colour at the dark end of the graphite gradient
seed4seed for the procedural specimen
title""optional small title written on the slide label at the start
src""optional public/ image used as the specimen (zoom range is shortened so it stays sharp; give value/unit that match the circled region)
fieldLabel"FIELD"small label above the field-of-view readout

Notes & credits

Technique sources:

  • lemo-opuscar styles/microscope (LemoLab, MIT code / CC BY 4.0 docs) — idea only, re-implemented