Mografy Templates · Explainers

Before and after

A grey half with twelve messy manual steps; an orange line wipes down into the white half and its one clean, checked line.

Motion principlesstagingtimingfollow-throughexaggeration
9:165 sFree · MIT
Put it on the editing desk with other templates
Also designed for 16:9before-after-wide

Add the template

Run this in your Mografy folder. The template, the shared modules and its fonts are copied into the project; files you changed are kept. A folder that is not a project yet becomes one, with a scene that plays the template.

Terminal
npx mografy add before-after projects/my-film

To watch it on its own, point the project's scene to the template: "scene": "scenes/templates/before-after.ts"

Use it in a film

Play the template on your film's timeline and override its parameters. Pass backdrop: false to draw an overlay template over your own picture.

scenes/main.ts
import * as beforeAfter from './templates/before-after.js'
import { play } from './templates/kit.js'

// inside renderFrame(ctx, time): play it from 2 s, with your own copy
play(ctx, time, 2, beforeAfter, { before: "BEFORE: 12 MANUAL STEPS" })

Or describe the film to Claude or Codex: the Mografy Skill knows every template and picks the ones that fit.

For your agent Contrast the old way with the product. Write each label as "KICKER: HEADLINE" (the part after the colon is the big line, 1–3 words). The twelve steps and the checked line are STEPS and RESULT in the file.
Prompt for Claude or Codex
Add the Before and after template (before-after) to my Mografy project and swap in my own before, after. Keep its timing, then show me a preview.

Parameters

  • beforestringBEFORE: 12 MANUAL STEPS
  • afterstringAFTER: ONE CLICK
  • themeenum · light | darklight
  • accentcolor#D4643A
  • safeGuidebooleanfalse

Timing and layout live in the template file itself: edit them there, then check and review the frames.

In recipes

This template is part of these recipes. Open one to see the whole sequence and add it with one command.

More like this