Finding and organizing

A project grows: nine formulas, then ninety. This page is about finding one, picking several at once, keeping them in order with groups, changing many together, and giving a clip a formula of its own.

The examples use a small project, Circles and triangles, with nine formulas and two LaTeX texts. Its card is at the end of the page; to follow along, choose File ▸ Open… and press Other file… in the dialog that opens (Projects and files explains it).

The Creator's toolbar

The toolbar of the Creator on one line. Numbered: 1 the magnifier, 2 the key of the view, 3 the key with a sigma and a small arrow, whose menu selects a kind, 4 the plus-minus key of the size of the previews, 5 the + New button.
The toolbar: the search (1), the view (2), the menu of the kinds (3), the size of the previews (4) and + New (5).

Everything below starts here. The magnifier opens the search, the key beside it switches between the list and the block view, showing the icon of the other (see Writing formulas), the ∑ key opens a menu to select a kind of object, +/− makes the previews larger with a click and smaller with a right-click, and + New makes one. In a Creator too narrow for all of it on one line, as it starts in a window of 1280 pixels (in one of 1440 or 1920 it is all on one line), the ∑ key and the key of the previews take a line of their own, under the magnifier.

The search covers the Preview. Typing pi narrows the three tabs at once; the key Esc gives the Preview back.

Press the magnifier, or Ctrl+F from anywhere (but over a dialog, where the browser's own find takes the key), and a panel comes up in the place of the Preview. The Preview is still there underneath, as you left it, and the rest of the app stays in use beside the search: the Creator, the Animations panel and the timeline all work while it is open.

The search panel with the word pi typed: the field (1), three tabs Formulas 3, Texts (LaTeX) 1 and Fonts 0 (2), the result cards (3) and a close button (4).
The search panel: the field (1), the tabs with their counts (2), the results (3) and the close button (4).
One search result: the drawing of A equals pi r squared, the tag and the name circle_area, a line with its LaTeX, and the group Circles.
A result: its name and clips (1), a line of its LaTeX (2) and its group (3).

The panel is not a dialog, and a result is a card of the list in what it does:

Close it with its close button, the magnifier or Esc. The tab and the text are there the next time, selected so that typing replaces them. While the search covers the Preview, the keys that act on the scene (align, the grid, the circle selector, align by symbol, colours in order) wait. The search is for the project in front of you: open another, and it closes and forgets its text.

Selecting by region

A rectangle dragged from the empty space between the cards selects the ones it touches; a second one, with Ctrl held, takes a card out.

Drag from the empty space of the results (the gaps between the cards, or the margin around them) and a rectangle selects every card it touches:

The list may scroll under a held rectangle, with the wheel, and the rectangle stays on the cards it was drawn over. Esc gives the selection back as it was. A press on a card is still the card's: its click, and its drag onto the timeline.

Selecting in the list

The tools of this page act on what is selected, so here is how the cards of the Creator are selected, in the list and in the block view alike. The results of the search take the same clicks and keys.

The keyboard does the same on the card that has the focus: click a card, or press Tab to reach the list.

KeysWhat they do
↑ ↓, Home, End Move to the previous or next card, or to the first or the last, and select it.
Shift with those keys Select the range from the card you last clicked or selected by key.
Ctrl with those keys Move the focus and leave the selection as it is.
SpaceSelect the card that has the focus.
Ctrl+Space Add the card to the selection, or take it out.
← → In the block view and in the results of the search, move to the previous or next block or card; ↑ ↓ then move a whole row of them.

On a group's row, Enter opens and closes the group; see Groups in the Creator.

By region, in the list

A rectangle from the free space under the blocks selects the ones it touches; the next one, with Alt held, starts on a block.

The list takes the rectangle of the search too, in the list view and in the block view alike. Drag from its empty space (its margins, the gaps between the cards, the room under the last one) and every card it touches is selected, with the same keys: none to replace the selection, Shift to add, Ctrl to take out. Esc gives the selection back, and the rectangle stays on its cards while the list scrolls.

In the list view the cards fill the width, so there is little empty space: hold Alt and the rectangle may start on a card too. That card is then not dragged onto the timeline, and a click with Alt that does not move is still a click. A group's row is not selected by a rectangle, nor are the formulas of a closed group, which are not drawn: open the group first.

Select by kind

The pointer on the ∑ key drops its menu. The rows add up: the formulas, then the LaTeX texts, then the font text; the first row again takes the formulas out. Off the key and the menu, it closes. (Without the companion a font text is drawn as boxes; it keeps its kind.)

One key of the toolbar, left of + New, wears ∑ and a small arrow. Point at it and a menu drops under it with a row per kind: ∑ Formulas, T LaTeX texts and P Font texts. A row adds every object of its kind in the project to the selection, those in a closed group too, and whatever the search shows.

With a kind selected, the right-click menu of the Creator acts on all of it: Group, Edit together…, Add to the timeline or Delete N formulas….

Groups in the Creator

A group is one row of the Creator that holds several formulas. It keeps the list in order and changes nothing else: the scene, the timeline and the exported Python are the same with or without groups. Groups are saved with the project.

The row of a group called Circles, closed: its name, how many formulas it has, and the drawings of its first three formulas.
A closed group: its name, how many formulas it holds, and the drawings of its first three.
The Creator with the group Circles open onto three formulas, and the menu of its row open over it: Edit together, Add to the timeline, Rename group, Ungroup, Apply match colors, Duplicate and Delete 3 formulas.
The menu of the row of a group: its formulas' menu, with Rename group and Ungroup.

To change what is in a group, without undoing it:

A formula is in one group at most. The copy of a formula in a group stays in it, deleting a formula takes it out of its group, and a group left with no formulas goes. A group is not dragged onto the timeline: use Add to the timeline. In the block view a group is a block, and its formulas' blocks come after it while it is open.

Edit together

Select several formulas or texts, right-click one and choose Edit together…. One dialog shows the glyphs of all of them, to colour or hide glyphs of every formula at once. You can also open it from the timeline, on the clips of several formulas.

The Edit 3 formulas together dialog: a bar with a row of colour swatches and a hex field, the buttons Clear colour, Hide at the start, Show at the start, Select all and Clear selection, a Scale field that says mixed and a Match colors button, and the three formulas as cards of glyphs, the exponents of the first two drawn in blue.
The dialog: the glyph tools, then Scale and Match colors for the whole formulas, then a card for each. Here the exponents of two formulas were picked with Ctrl+click and given one colour.

Two tools act on the whole formulas, whatever glyphs are selected, each as one undo step:

Standard scale

New formulas and new LaTeX texts are born with a size: 1 is Manim's font size 48. The standard scale is the size they start with, one for formulas and one for LaTeX texts. Open Preferences ▸ Standard scale….

The Standard scale dialog with two fields, Formulas and Texts, the first holding 3/2 followed by = 1.5 and font_size 72, each with an Apply to all button, and Cancel and Save buttons.
The standard scale: a field for the formulas and one for the texts, each with its own Apply to all.

It is one undo step, whether you then save the dialog or cancel it. The clips keep their own scale and their animations. A font text has no standard scale and is left out. To change one formula's size, use its Size in the formula editor.

Duplicate, in the menu of selected formulas and on the button of a card, makes a copy of each formula right after it in the Creator, and in its group, under the next free name. It copies the formula and not its clips.

A clip is another matter. A formula on the timeline more than once is one object that all its clips show: edit it, and every clip changes. That is usually what you want. When it is not, Unlink formula (make a copy), in the menu of a clip, gives that clip a copy of the formula of its own.

The same scene after unlinking: the first clip of the right triangle holds its copy, pythagoras2, edited to x² + y² = r²; the last clip still holds pythagoras.

The project that the examples of this page use, with nine formulas and two LaTeX texts, is here to download:

Where to go next