Opus Motion ★ Star on GitHub

Music · engraving-hatch

Engraving hatch (white-line plate)

A white-line scratchboard engraving cuts itself on near-black: contour lines follow the form of a slowly turning sphere (or a ridge terrain), each line swelling where the light hits and thinning to a hair in shadow, a ground plate with a cast shadow, a hot orange rim light (or spark path) as the only glowing thing, deadpan figure labels.

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

Engraving hatch (white-line plate): three frames of the music visualizer, start, middle and end
Engraving hatch (white-line plate) — start, middle and end of the 8.0-second motion.

What Engraving hatch (white-line plate) is for

Treatise / banknote / scientific-plate looks, “engraved” product or concept renders, premium editorial backdrops behind lyrics or titles.

  • engraving
  • hatching
  • scratchboard
  • white line
  • line art
  • sphere
  • terrain
  • contour
  • banknote
  • treatise
  • scientific plate
  • rim light
  • editorial
  • backdrop

Details

Category
Music visualisers & audio graphics
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
caption
Colour props
background ink rim
Mood
nature, editorial
Roles
subject

Use Engraving hatch (white-line plate) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render engraving-hatch --props '{"caption":"FIG. 3 — ENGRAVED SPHERE","background":"#0A0A0B","ink":"#EEE9DF","rim":"#FF4D12"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export engraving-hatch --as webm-alpha --props '{"caption":"FIG. 3 — ENGRAVED SPHERE","background":"#0A0A0B","ink":"#EEE9DF","rim":"#FF4D12"}'

React / Next.js

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

<MotionPlayer
  motion="engraving-hatch"
  props={{
    caption: 'FIG. 3 — ENGRAVED SPHERE',
    background: '#0A0A0B',
    ink: '#EEE9DF',
    rim: '#FF4D12',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="engraving-hatch"
  props='{"caption":"FIG. 3 — ENGRAVED SPHERE","background":"#0A0A0B","ink":"#EEE9DF","rim":"#FF4D12"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "engraving-hatch",
      "props": {
        "caption": "FIG. 3 — ENGRAVED SPHERE",
        "background": "#0A0A0B",
        "ink": "#EEE9DF",
        "rim": "#FF4D12"
      }
    }
  ]
}

Engraving hatch (white-line plate) props

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

PropDefaultWhat it does
subject"sphere"'sphere' (contour latitudes, rim light) or 'terrain' (ridge profile lines + orange spark path)
lines64number of engraved lines (auto-limited so they never get closer than ~2 px — no moiré)
lightSpeed0.35how fast the light orbits (rad/s)
spin0.18how fast the sphere nods on its tilt axis
engraveSec3seconds for the plate to cut itself in
background"#0A0A0B"plate colour or 'transparent'
ink"#EEE9DF"line colour (bone on ink = white-line engraving)
rim"#FF4D12"rim light / spark colour
caption"FIG. 3 — ENGRAVED SPHERE"figure caption
labelstruemono figure labels

Notes & credits

Technique sources:

  • pdoom-video app/src/engine/glsl/common.ts hatch()/engrave(), ilya-glsl.ts band-limited spacing (MIT); SVG re-expression