Manim Formula Editor Documentation GitHub

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.

  1. Click a glyph of the upper formula, then one of the lower: that links them.
  2. Delete link removes the links of the selected glyphs; Suggest links by label offers the pairs the editor finds.
  3. Press Preview to play the transformation with your links.

How relations work The relation editor

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.

Timing a relation

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.

The styles of a pair

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 a self.play(…) of the camera’s frame.

The camera

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.

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.

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.

Slides and the HTML page

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

  1. Start here Your first animation

    Two formulas and a transformation between them, step by step, to the export for Manim.

    Basic
  2. 01 Solving a linear equation

    Solve a linear equation step by step, each step a transformation.

    Basic
  3. 02 The Pythagorean theorem, in colour

    Animate the Pythagorean theorem, each of its terms in a colour of its own.

    Basic
  4. 03 Deriving the quadratic formula

    Complete the square and derive the quadratic formula, one step after another.

    Intermediate
  5. 04 A derivative from first principles

    Derive the derivative of x² from its limit definition, row by row, with Morph blocks.

    Advanced
  6. 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. 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. 2

    Open it from your disk

    Unzip it and open its index.html in your browser. A recent Chrome or Edge gives the whole editor; Firefox and Safari save a project by downloading it.

    Browsers
  3. 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