Documents · textbook-energy-lab
Textbook energy lab
An open physics textbook on a sage desk under window-light shadows. The right-page pencil apparatus stands up: a ball rolls a U-track while three beakers (gravitational, kinetic, thermal) trade liquid levels, joined by glowing transfer arcs.
A free, MIT-licensed document animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Textbook energy lab is for
Explaining energy conservation, or any interactive-textbook look: a lesson page with a live diagram beside the formula.
Details
- Category
- Document, form & report animations
- 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
captionlabels- Colour props
liquidColorsdeskpaperinkaccent- Mood
- paper, 3d
- Roles
- subject
Use Textbook energy lab in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add textbook-energy-lab --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render textbook-energy-lab --props '{"caption":"Lift the flap to see the answer.","labels":["GRAVITY","MOTION","HEAT"],"liquidColors":["#8a4fe0","#3f8cf0","#f08a3a"],"desk":"#9db3a6","paper":"#f7f4ec","ink":"#3a3a40","accent":"#6b4fb0"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export textbook-energy-lab --as mp4 --props '{"caption":"Lift the flap to see the answer.","labels":["GRAVITY","MOTION","HEAT"],"liquidColors":["#8a4fe0","#3f8cf0","#f08a3a"],"desk":"#9db3a6","paper":"#f7f4ec","ink":"#3a3a40","accent":"#6b4fb0"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="textbook-energy-lab"
props={{
caption: 'Lift the flap to see the answer.',
labels: ['GRAVITY', 'MOTION', 'HEAT'],
liquidColors: ['#8a4fe0', '#3f8cf0', '#f08a3a'],
desk: '#9db3a6',
paper: '#f7f4ec',
ink: '#3a3a40',
accent: '#6b4fb0',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="textbook-energy-lab"
props='{"caption":"Lift the flap to see the answer.","labels":["GRAVITY","MOTION","HEAT"],"liquidColors":["#8a4fe0","#3f8cf0","#f08a3a"],"desk":"#9db3a6","paper":"#f7f4ec","ink":"#3a3a40","accent":"#6b4fb0"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "textbook-energy-lab",
"props": {
"caption": "Lift the flap to see the answer.",
"labels": [
"GRAVITY",
"MOTION",
"HEAT"
],
"liquidColors": [
"#8a4fe0",
"#3f8cf0",
"#f08a3a"
],
"desk": "#9db3a6",
"paper": "#f7f4ec",
"ink": "#3a3a40",
"accent": "#6b4fb0"
}
}
]
}Textbook energy lab props
16 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
heading | "Up and down" | left-page title |
formula | "E = m g h" | formula line under the heading |
bodyLines | ["A ball high on a track stores energy","in its height. Let it go, and that store","dra… | lines of body text on the left page |
caption | "Lift the flap to see the answer." | handwritten note in the answer box |
labels | ["GRAVITY","MOTION","HEAT"] | three beaker labels (potential, kinetic, thermal) |
liquidColors | ["#8a4fe0","#3f8cf0","#f08a3a"] | three liquid colours |
desk | "#9db3a6" | desk colour |
paper | "#f7f4ec" | page colour |
ink | "#3a3a40" | pencil line colour |
accent | "#6b4fb0" | handwriting colour |
releaseFrame | 70 | frame the ball is released |
speed | 1 | rolling speed multiplier |
friction | 0.0012 | energy lost to heat per frame (0 = none) |
startAt | 0.06 | start position along the track, 0..1 |
formulaNote | "E = PE + KE + heat" | handwritten note under the pendulum diagram |
figLabel | "Fig. 1" | figure label in the bottom corner of the right page |
Related motions

Energy jar fill
Visualising stores and quantities (energy, budget, storage, progress) as glowing jars — a physical alternative to a bar chart in…
energy-jar-fill
Lift the flap
Quiz and answer reveals, "before you guess…" moments, myth-vs-fact beats and interactive-feeling explainers.
lift-the-flap
Transfer arc
Showing flows and transfers between containers — energy between stores, money between accounts, data between services — in explainers and…
transfer-arc
Archive photo + caption
Documentary and history videos, news background pieces, "this is what it looked like" photo beats, dated archive stills with a credit line.
archive-photo-ken-burns-caption
Atom / molecule model
Chemistry / physics explainers, end stage of a scale-dive, science and materials brands.
atom-model
Book open 3D
Textbook, storybook or "chapter 1" openers; education products; any brand story told as a book.
book-open-3d
Notes & credits
Technique sources:
- analysis/sheets/r3/v4.jpg