Free and open source · MIT · Version 1.0.0
Animate formulas for Manim, glyph by glyph.
The Manim Formula Editor is a video editor for formulas that runs in your browser. Write formulas in LaTeX, place them on a timeline, say where each glyph of one formula goes in the next, and watch the change play. Then export it as a scene for ManimCE or ManimGL, or as a video.
- Opens from your disk on Linux, macOS and Windows
- No account, no server
- No Manim needed to start
Not a video: the editor’s own engine plays Deriving the quadratic formula, a tutorial of the documentation. Press the scene to pause it, or drag the time.
01 / GLYPH BY GLYPH
Say where every glyph goes
A transformation is a relation between two formulas: pairs of glyphs, drawn as links from one formula to the next. A glyph can go to one glyph or to several, and several can merge into one. What has no partner leaves with its formula’s outro, or arrives with the intro of the next.
- Click a glyph of the upper formula, then one of the lower: that links them.
- Delete link removes the links of the selected glyphs; Suggest links by label offers the pairs the editor finds.
- Press Preview to play the transformation with your links.
02 / TIMING AND STYLE
Choose when it moves, and how
A relation has a window on the timeline, the time its glyphs take to travel, and each pair a style. Both are yours to change, here as in the editor.
Drag the window
The two clips of a relation, and its window on both. Drag the window to move it in time, or an edge to change its length: the scene plays with the new timing.
Compare the styles
One relation played with each style of a pair at once: Transform, Copy (source stays), Fade transform and Fade copy (source stays), with what Manim plays for each.
03 / THE CAMERA
Move the camera through the scene
Turn the multicamera on and the frame becomes a camera you move and zoom while the video plays. Here it closes in on c², travels to a formula written outside the first frame, pulls back to show both and returns.
- Moves are blocks on the timeline’s Camera row, each with its start, duration and easing.
- Target cameras set a frame aside, for several moves to go to.
- The video is filmed through the camera, and so is the exported scene: a ManimCE
scene becomes a
MovingCameraScene, and in both libraries each move is aself.play(…)of the camera’s frame.
04 / AROUND THE FORMULAS
Derivations, braces, shapes and colour
What a lesson needs around its formulas, each part exported to Manim with the rest. Every scene below is an example of the documentation.
-
Morph blocks
A derivation written inside one formula: each row grows out of the row above.
Morph blocks -
Braces, lines and arrows
A labelled brace under each side, and an arrow that arcs from one side to the other.
Braces -
Colour by role
Each term keeps its colour while it becomes a number and then a square. Palettes by role are made in the editor, or designed in Chroma Lab, the colour studio inside it.
Palettes and Chroma Lab -
Shapes
Boxes, circles, underlines, crosses and highlights on glyphs: here two cross lines strike out a common factor.
Shapes
05 / EXPORT
Python you can read, for ManimCE or ManimGL
Export ▸ Python writes the scene as a file you can read and change: the same animation for either library, each written its own way.
-
A video
MP4 or WebM, drawn by the editor and encoded in the browser, with its sound. With the companion, ffmpeg or your own Manim makes it.
Exporting video -
A web page
The scene played live in a page that stops at its pauses: made to be embedded, and extended by hand or by an agent.
The HTML page -
Sound and pictures
The mix of your recordings as WAV or WebM, and the frame at the playhead as a PNG.
Exporting
06 / SLIDES
Present it, one pause at a time
The Slides mode puts pauses and notes on the scene’s time, and Export ▸ HTML… turns the scene into a page that plays it live and stops at each pause until you go on.
This is one such page, embedded here. Press Play: it stops at each pause. Then press Next, or click the scene and use → and ←; S shows the notes.
07 / LEARN IT
From the first formula to the last detail
The documentation teaches the editor with live examples like the ones above, captures of every panel, and a reference of every shortcut, menu and preference. The documentation
-
Start here
Your first animation
Two formulas and a transformation between them, step by step, to the export for Manim.
Basic -
01
Solving a linear equation
Solve a linear equation step by step, each step a transformation.
Basic -
02
The Pythagorean theorem, in colour
Animate the Pythagorean theorem, each of its terms in a colour of its own.
Basic -
03
Deriving the quadratic formula
Complete the square and derive the quadratic formula, one step after another.
Intermediate -
04
A derivative from first principles
Derive the derivative of x² from its limit definition, row by row, with Morph blocks.
Advanced -
05
An identity with braces and arrows
Explain a² − b² = (a − b)(a + b) with a labelled brace under each side and an arrow.
Advanced
08 / GET IT
Get the editor
Free, and open source under the MIT licence.
-
1
Download it
The ready-built editor is one ZIP of about 2.5 MB, on the project’s releases page.
Download 1.0.0 -
2
Open it from your disk
Unzip it and open its
Browsersindex.htmlin your browser. A recent Chrome or Edge gives the whole editor; Firefox and Safari save a project by downloading it. -
3
Add what you need
The companion, one Python file of the repository, adds exact LaTeX glyphs, font text (on Linux), encoding with ffmpeg and rendering with Manim. Manim itself runs the Python you export.
The optional companion
Or build it from its source: clone the repository, then
npm install and npm run build in app/.
Getting the app running