Data · math-equation-solve
Math equation solve
A worked algebra solution on a chalkboard: each step is a new line, surviving terms fly down (across the equals sign when they swap sides), cancelled terms are struck through, new terms pop in, notes explain each move and the answer is boxed with a burst.
A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Math equation solve is for
Maths tutorials, homework-help shorts, algebra explainers, STEM course trailers and "solve it with me" reels — pass any list of equation steps as space-separated tokens and a note per step.
Details
- Category
- Animated charts & data visualisation
- Length
- 12.0 s (360 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
title- Colour props
backgroundinkaccentaccent2cancelColor- Mood
- —
- Roles
- subject
Use Math equation solve in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add math-equation-solve --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render math-equation-solve --props '{"title":"Solve for x","background":"#17342D","ink":"#F4F1E8","accent":"#FFD166","accent2":"#7BDFF2","cancelColor":"#FF7A7A"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export math-equation-solve --as webm-alpha --props '{"title":"Solve for x","background":"#17342D","ink":"#F4F1E8","accent":"#FFD166","accent2":"#7BDFF2","cancelColor":"#FF7A7A"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="math-equation-solve"
props={{
title: 'Solve for x',
background: '#17342D',
ink: '#F4F1E8',
accent: '#FFD166',
accent2: '#7BDFF2',
cancelColor: '#FF7A7A',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="math-equation-solve"
props='{"title":"Solve for x","background":"#17342D","ink":"#F4F1E8","accent":"#FFD166","accent2":"#7BDFF2","cancelColor":"#FF7A7A"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "math-equation-solve",
"props": {
"title": "Solve for x",
"background": "#17342D",
"ink": "#F4F1E8",
"accent": "#FFD166",
"accent2": "#7BDFF2",
"cancelColor": "#FF7A7A"
}
}
]
}Math equation solve props
12 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
steps | ["2x + 3 = 11","2x + 3 - 3 = 11 - 3","2x = 8","2x / 2 = 8 / 2","x = 4"] | equation lines, one string per step; tokens are separated by spaces, e.g. "2x + 3 = 11" (- * / are shown as − × ÷) |
notes | ["Start with the equation","Subtract 3 from both sides","Simplify","Divide both sides b… | optional one-line explanation per step (same order as steps; empty strings are skipped) |
title | "Solve for x" | heading above the board |
background | "#17342D" | backdrop colour or 'transparent' |
ink | "#F4F1E8" | numbers and general text colour |
accent | "#FFD166" | variable (letter) colour |
accent2 | "#7BDFF2" | moving-term flash, notes and answer box colour |
cancelColor | "#FF7A7A" | strike-through colour for terms that cancel |
fontFamily | "" | optional CSS font-family for the equations (empty = monospace; keep it monospaced so columns line up) |
stepFrames | 58 | frames per step |
startAt | 0 | frame the board starts |
speed | 1 | playback speed multiplier |
Related motions

Function plot (curve, tangent, area)
Maths and physics teaching, finance curves, "explain the formula" and derivative / integral explainers.
function-plot
Pythagoras proof by rearrangement
Maths lessons, geometry explainers, "the proof in 7 seconds" shorts, and any "same pieces, new arrangement" idea.
pythagoras-rearrange
Numbered step process
How-it-works, onboarding, recipes, tutorials and "3 steps to…" explainers — pass `steps` as {title, text, icon} (icons: check, bulb, gear,…
step-process-numbered
Cause and effect chain
Domino-effect explainers, "how X leads to Y" chains, root-cause stories, economics / science / news cause chains — pass `steps` (2-7 short…
cause-effect-chain
Clock time teach
Telling-the-time lessons, kids' routine and schedule videos, ESL time vocabulary, timetable explainers and clock-based…
clock-time-teach
Counting objects
Early-years maths and number-recognition videos, kids' app promos, preschool lessons and "how many?" social posts — pass the count, the…
counting-objects
Notes & credits
Technique sources:
- original (round 3)