Opus Motion ★ Star on GitHub

3D · sun-shadow-measure

Sun shadow measure

A low winter sun swings across a white massing model while a clock readout runs; shadow sides go deep projected blue. Then one tower's shadow is traced as a cool fill with a bright edge while a range line with 100 m ticks grows from its base to the tip and a counter lands; the roofs inside the shadow ping on one by one.

A free, MIT-licensed 3D motion graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Sun shadow measure: three frames of the 3D motion graphic, start, middle and end
Sun shadow measure — start, middle and end of the 11.0-second motion.

What Sun shadow measure is for

Shadow-impact stories for a new building, solar-panel roof ranking, "daylight in a courtyard", sundial / education pieces, any measured "how far does it reach" beat.

  • sun
  • shadow
  • solar
  • daylight
  • city
  • massing model
  • measure
  • range line
  • architecture
  • urban planning
  • clock
  • projection

Details

Category
3D motion graphics (three.js)
Length
11.0 s (330 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
unit label
Colour props
amber trace background
Mood
nature
Roles
subject

Use Sun shadow measure in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render sun-shadow-measure --props '{"unit":"m","label":"Winter solstice · sun time","amber":"#ffb347","trace":"#1a38a6","background":["#07090d","#1b1f29"]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export sun-shadow-measure --as mp4 --props '{"unit":"m","label":"Winter solstice · sun time","amber":"#ffb347","trace":"#1a38a6","background":["#07090d","#1b1f29"]}'

React / Next.js

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

<MotionPlayer
  motion="sun-shadow-measure"
  props={{
    unit: 'm',
    label: 'Winter solstice · sun time',
    amber: '#ffb347',
    trace: '#1a38a6',
    background: ['#07090d', '#1b1f29'],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="sun-shadow-measure"
  props='{"unit":"m","label":"Winter solstice · sun time","amber":"#ffb347","trace":"#1a38a6","background":["#07090d","#1b1f29"]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "sun-shadow-measure",
      "props": {
        "unit": "m",
        "label": "Winter solstice · sun time",
        "amber": "#ffb347",
        "trace": "#1a38a6",
        "background": [
          "#07090d",
          "#1b1f29"
        ]
      }
    }
  ]
}

Sun shadow measure props

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

PropDefaultWhat it does
seed4city seed (same model as white-model-projection)
lat51.5latitude in degrees
lon-0.12longitude in degrees (east positive)
date"2026-12-21"ISO date for the sun path
tz0timezone offset in hours (clock times are local)
timeKeys[[0,"10:55"],[175,"12:40"]][[frame, "HH:MM"]] clock keys (linear)
subject"tallest"'tallest' or a building index
traceAt190frame the shadow trace begins
traceFrames52frames the trace takes
pingAt252frame the roof pings start
pingEvery3frames between pings
measure777the length printed at the end of the trace (scales the metres)
unit"m"unit text beside the counter
tickEvery100tick spacing on the range line, in units
amber"#ffb347"colour of the earlier data layer (old buildings)
trace"#1a38a6"reserved: trace tint
label"Winter solstice · sun time"small caption above the clock
camera[[0,208,54,19.5],[330,232,48,17.5]][[frame, azimuthDeg, elevationDeg, distance]]
zoom0.95model size in frame
background["#07090d","#1b1f29"][inner, outer] room colours

Notes & credits

Technique sources:

  • lemo-opuscar styles/white-model (MIT, LemoLab) — sun light, shadow trace, range line, DEMO.md shot 9
  • own NOAA solar-position + analytic prism shadows