Previewing a transformation

You do not have to save a relation to see what it does. The relation editor can play the transformation as it is now, in two ways: Preview shows it as the scene will, and Preview raw animates the drawing itself, so that you can check the pairs.

Why preview in the editor

Without a preview you would save the relation, close the editor and play the timeline to see a pair you got wrong, then open the editor again. The previews of the editor play the draft: the pairs, the styles, the window and what the unpaired glyphs do, as they would be saved now. Nothing is saved for them, and the side column stays beside them, so that a change shows at once.

Both use the scene engine of the main Preview, and the export agrees with it. What loops in the editor is what the scene will show.

The Preview tab

Over the drawing that links glyphs there is a switch, Link | Preview. Press Preview and the transformation takes the place of the drawing.

The picture shows only the two formulas of the relation, as the scene draws them, in a loop. The loop starts half a second before the window and ends half a second after it, so that you see the source standing and the target settled. It does not reach before the first of the two clips starts, nor after the last one ends.

The camera frames the formulas for the whole loop, so a glyph that follows a wide arc stays in the picture. A clip on a hidden track is drawn too: hiding a track is a choice of the preview, and the export draws it.

Switch to Link to add a pair, and back to Preview: the picture is at the instant you left it, and the new pair already moves.

Choosing the instant

Press the bar, or drag its thumb, and the loop stops where you put it. The picture follows the thumb in both directions, so you can go back and forth through the transformation as slowly as you like. Press play to let the loop go on from there.

The loop runs by itself. A press on the bar stops it, and dragging the thumb through the band goes through the transformation, forwards and back.

Changing things while you look

The side column works while the preview plays. Change the style of a pair, the window, the easing, the path arc or what the unpaired glyphs do, and the picture shows it at once. This is the quickest way to choose a style: try each on the instant that matters.

When there is nothing to show

If the draft has an error, the editor does not draw it: the picture is replaced by Fix the problems listed to see the transformation. Fix the problems under the side column and the preview comes back. If a formula has no glyphs to show, the editor says why: it is empty, it does not render (with the reason), it draws no glyphs, or its glyphs are still rendering.

Preview raw

The last key of the toolbar of the Link view is Preview raw. It animates the drawing itself: the source and the target stay where the drawing has them, one over the other or side by side, and the glyphs go from one to the other as the pairs and their styles say. It is the quickest check that the right glyph goes to the right place.

Four things set it apart from Preview.

The pairs are the scene’s. A style, a copy, a fade and what the unpaired glyphs do are what the scene would do, so a Copy pair leaves its source where it is, and the glyphs of the source that belong to no pair leave with the outro of their clip.

The bar of the loop takes the place of the toolbar: play and pause, the bar with the window marked, the time and the percentage, and End preview. The side column stays, and a change there shows at once.

Preview raw playing in a loop; Esc ends it, and the editor stays open.

Ending the preview

End preview brings the drawing back. So does Esc: the editor stays open, and the focus returns to Preview raw. (A field of the side column with an edit to take back keeps its first Esc, which takes the edit back.) The next Esc clears the selected glyphs, if there are any; then Esc closes the editor, or asks first when you have changed something. Switching to Preview ends the raw preview as well.

Preview raw is off while the draft has an error, with a note that says why, and while a formula is not rendered.

Preview or Preview raw?

They answer different questions. Here is one swap with a path arc of 90°, at the same instant: the scene bends the paths, the raw preview does not.

The Preview of the editor half way through a swap with an arc of 90 degrees: the two letters pass on opposite sides of the plus sign.
Preview: the letters follow the arc, one above the plus sign and one below.
Preview raw of the same swap at the same instant: the two letters meet on top of each other half way, with the ghost of the target below.
Preview raw: the letters go straight, and meet in the middle.
PreviewPreview raw
Shows The transformation as the scene plays it, the formulas where they are in the scene. The drawing that links glyphs, animated: the source and the target where the drawing has them.
Paths The path arc, and the paths drawn by hand. Always straight.
Glyphs that are not on screen Not drawn. Outlined, dashed.
Use it to Judge the result: the look, the timing, the easing, the arc. Check the pairs: which glyph goes where, what a copy or a fade does, what is left unpaired.

After you save

The previews of the editor never change the project. When the transformation is right, press Save relation: the relation is in the timeline, and the main Preview plays it with everything else. This is the relation of the raw tour above, as the player plays it: the glyphs follow the arc of −60°, and the minus sign and the b are written after the transformation.

Where to go next