The example uses Allura to typeset “Grow AI Skills” in white on black. Separate guide paths reveal the lettering, a colored light follows them, and copies of the complete words fill small gaps at the end. It creates the appearance of writing without recording a person's pen strokes. The September 7, 2026 example is 1920 × 1080 at 30 fps. Instructions for other sources and export formats follow; those variations have not been rendered for this guide.

The frames above come from the exported MP4. Use them to judge the reveal and final lettering. The preview sheet below lets you compare the editable composition with the exported result.
Prepare your input and a working project
This guide is for someone who already uses Codex and wants an editable logo animation. Codex can run the commands and write the code below. You supply the artwork and review the finished lettering, guide paths, and animation. Start with the project brief for a first version; use the mask and timing sections when that version needs adjustment.
Choose one source: your existing SVG, a raster logo, or the exact words you want to typeset. Put it in a project folder Codex can access. Include the required background, output dimensions, duration, and whether the logo's colors and proportions must stay unchanged. If you supply a reference clip, identify the part you want to borrow, such as the pace or the glow. Supply your own mark and sounds for the finished video.
For an existing brand, provide the approved logo file. Asking Codex to retype its name in a similar font changes the letterforms. If you are creating a new wordmark from text, choose the font and spacing before animating it, because moving the letters later also changes where the guides need to run.
Use Codex in a workspace where it can create files and run the HyperFrames CLI. HyperFrames' local CLI setup requires Node.js 22 or newer, FFmpeg, and a suitable Chrome installation. Ask Codex to inspect these dependencies before building. A useful initial sequence for a new folder is:
npx hyperframes init logo-reveal --non-interactive
cd logo-reveal
npx hyperframes doctor
init creates the basic project files. Codex still needs to build the logo animation. Ask it to resolve missing Node.js, FFmpeg, or Chrome dependencies reported by doctor before proceeding. If you already have a composition, ask Codex to inspect and revise that folder instead of initializing over it. Keep the project's CLI version recorded so a later export can use the same environment.
The optional Handwritten Logo Reveal Codex Skill bundles instructions, a script that inspects your input, and review guidance. It does not contain the video's complete editable project. You can start with the brief below or use the longer project prompt. For repeating the workflow, OpenAI's skill documentation explains how skills package reusable instructions and files.
Give Codex a brief it can execute
Replace the bracketed fields below. For an existing logo, describe its file path. For new text, supply the exact phrase and a font choice or ask for a still to approve first. This brief requests a preview before an export:
Create an editable handwritten logo reveal with HyperFrames in [project folder].
Source: [local SVG/PNG path, or exact text and local font].
Preserve: [approved geometry, proportions, colors, spacing].
Output: [1920x1080 or other size], 30 fps, about 6 seconds.
Background: [black, brand color, or transparent].
Finish: hold the complete readable mark for at least 1 second.
Sound: [silent, or locally licensed ignition and completion accents].
Inspect the source and explain the reveal method before animating.
Build the finished still first. Show the guides over it for review.
Keep the final mark sharp. Use the same paths and timing for the reveal
and moving light. Hide the light during jumps between strokes.
For crossing strokes, isolate regions so future letters stay hidden.
Use local assets and a paused timeline that works when scrubbed backward.
Run lint, browser checks, and snapshots of the pen lifts and final hold.
Open Studio for review. Report the project path and remaining issues.
Do not render until I approve the preview.
The response should include actual files in that folder and a working preview. If Codex returns only a storyboard, ask it to implement the approved layout and timing in the project. Check the first complete still before spending time on glow or sounds.
Choose a reveal method that fits the source
| Your source | Build the reveal this way | Check before animating |
|---|---|---|
| Open stroked SVG | Animate the original strokes in a chosen order. | Do the paths follow the lettering's centerlines, and are separate pen strokes separate paths? |
| Filled or outlined SVG | Keep the finished shapes and reveal them through guides drawn along the strokes. | Can each guide cover its intended stroke without exposing neighboring letters? |
| PNG or other raster mark | Reveal the original image through SVG masks. | Are the edges clean at output size, and does the source have the transparency you need? |
| Exact text | Typeset the finished words, freeze the font locally, and author guides against that layout. | Does the font contain every character, and have you approved the final lettering? |
When the SVG contains open strokes
Ask Codex to inspect the paths with their fill disabled and their stroke visible. A useful path runs through the center of a pen stroke. An outline often runs around both edges of the letter and closes with Z. That outline would draw a border around the letter if you animated it directly.
For a suitable open path, measure its length, set the dash length and gap to that measurement, then animate the dash offset from the full length to zero. SVG's dash properties control which part of the stroke is painted. With several paths, decide their order explicitly. The file's element order can be an export artifact and need not match writing order.
Separate disconnected strokes. A compound path can include several M commands, so one measured path may jump between unrelated pieces. Giving each piece its own start time makes it easier to hide the writing light during a pen lift and to schedule a dot or crossbar separately.
When the SVG contains filled shapes
Keep those shapes as the final logo. Draw additional curves through the approximate centers of the strokes and use them to reveal the shapes. The guide controls visibility; it does not replace the logo's geometry. This preserves varying stroke widths and the original spacing.
Have Codex show the guides in a contrasting color over the complete logo before it animates them. Examine each loop and narrow join. If a broad guide exposes the next letter while drawing the current one, isolate those letters or stroke regions into separate masked groups. A single mask covering the entire phrase makes this harder to control.
Review one letter first. Follow its guide from the starting point through the main stem, any loop, and the exit into the next letter. The curve should remain inside the intended ink, except for gaps where the light will be hidden. If it cuts across a loop, ask Codex to move the curve's control points. If it leaves a crossbar untouched, add a separate guide for that crossbar. Only extend the same method to the rest of the phrase after this first letter reveals cleanly.
Sanitize imported SVGs before placing them in the project. Retain the drawing geometry and needed definitions, remove executable content and unnecessary external references, and compare the sanitized appearance with the original. If removing a dependency changes the artwork, resolve that dependency locally or obtain a cleaner export.
When you only have a PNG or JPEG
Use the raster as the finished mark and draw guides over it. Ask Codex to compare its pixel dimensions with the size it will occupy in the video. Inspect the output at 100% for jagged edges, JPEG noise, or a pale fringe around the letters. Enlarging a small image does not recover the original edge detail.
Compare the image with the mark's displayed size, rather than the whole canvas. If the logo will occupy 1,200 pixels across a 1920-pixel video, a 600-pixel-wide source needs to be enlarged twofold. That is a reason to inspect the edges or request a larger file. It does not become a sharper source because the export is 1080p.
A white rectangle behind a logo is part of the image unless it has been removed. Revealing that image on a black stage can reveal pieces of the rectangle too. Obtain a transparent PNG or an SVG when possible. If background removal is necessary, approve a still first, especially where white lettering meets a white background.
Do not automatically trace and redraw an approved logo just to obtain paths. Tracing can change small counters, joins, and line widths. Keeping the original pixels under a mask is a useful option when exact appearance matters more than a fully vector output.
When you want to animate a phrase
Supply exact capitalization, spaces, punctuation, and line breaks. Choose a script font for the desired appearance, then retain its file and license in the project. The example uses Allura; its upstream license is the SIL Open Font License. Use a font that covers your phrase. Allura's role in this English example does not establish support for another script.
Inspect the complete text after the local font loads. For non-Latin or joined lettering, approve the shaped result as a whole before dividing it into animation regions. Changing the text or font later requires refitting the guides. Converting approved text to outlines can remove a font-loading dependency, but it still produces outlines, not recorded handwriting paths.
When the lettering does not suit a writing effect
A script wordmark with clear strokes gives the moving light a plausible route. A solid badge, detailed illustration, or heavy block lettering may have no useful pen path. For those assets, ask for a contour trace followed by the unchanged logo, or a simple reveal that suits the shapes. Label a border trace accurately so viewers understand the effect they will receive.
If you need the movement to match your own handwriting, supply your written mark and an approved stroke sequence or a recording you are allowed to use. A flattened image tells Codex how the result looks; it does not tell it where you started or when you lifted the pen. Review the proposed order before expecting an accurate reconstruction.
Approve the finished mark before drawing guides
View the final logo without a mask. Compare it with the source at the intended scale. Look at the capital letters, spacing between words, small enclosed spaces, and the lowest descender. For exact text, verify the spelling and font. For a supplied mark, verify that Codex has preserved its proportions.
Leave space around the lettering for the moving light and its blur. As an initial layout choice, try a mark occupying roughly 70% of the canvas width, then adjust it after inspecting the most extended flourish. This is a starting point, not a required logo margin. A long phrase on a portrait canvas may need a smaller scale or an approved alternative layout. Do not stretch it horizontally to force a fit.
Use the same SVG coordinate system for the logo, mask guides, and writing light. If they live under different transforms, a light can follow the correct coordinates and still appear beside the letters. Resize their shared parent to reposition the animation. Once the still is approved, keep an unmasked copy as the visual reference for the final hold.
Make the mask reveal the right parts of the lettering
A mask decides how much of the final mark is visible. In a luminance mask, white reveals and black hides. Set mask-type="luminance" explicitly if you use this convention; opaque black does not hide content in an alpha mask. Set maskUnits and maskContentUnits to userSpaceOnUse when the guides use the logo's own coordinates. The mask specification defines these distinctions.
Start with the smallest continuous section you can judge, such as one letter. Draw a centerline through that section, then widen the white mask stroke until it reveals the intended ink. Check it at partial progress as well as at completion. A mask that covers everything at the end can still reveal letters in the wrong order on the way there.
At a crossing, the mask exposes whatever final artwork sits underneath it. It has no knowledge of which stroke you intended to draw. Reduce its width locally, split the guide, or restrict the affected artwork with a clip region. If these fixes leave a missing patch, add a short detail stroke after the main stroke. Avoid solving every gap by widening the entire mask.
The mechanism below uses an illustrative curved stroke. It belongs inside a HyperFrames scene with GSAP already loaded locally; it is not a complete project or the Grow AI Skills artwork. For a filled logo, replace the finished stroke with your approved shapes and fit the mask guide to those shapes.
<svg viewBox="0 0 600 260" xmlns="http://www.w3.org/2000/svg">
<defs>
<mask id="reveal" mask-type="luminance"
maskUnits="userSpaceOnUse" maskContentUnits="userSpaceOnUse"
x="0" y="0" width="600" height="260">
<rect width="600" height="260" fill="black" />
<path id="maskStroke" fill="none" stroke="white"
stroke-width="34" stroke-linecap="round" />
</mask>
</defs>
<path id="finishedStroke" fill="none" stroke="white"
stroke-width="24" stroke-linecap="round" mask="url(#reveal)" />
<path id="writingHead" fill="none" stroke="#41d9ff"
stroke-width="5" stroke-linecap="round" opacity="0" />
</svg>
const guide = "M 70 190 C 120 20 235 20 260 145 S 420 230 530 70";
const mask = document.querySelector("#maskStroke");
const head = document.querySelector("#writingHead");
const mark = document.querySelector("#finishedStroke");
[mask, head, mark].forEach(path => path.setAttribute("d", guide));
const length = mask.getTotalLength();
const headLength = 18;
mask.style.strokeDasharray = `${length} ${length}`;
head.style.strokeDasharray = `${headLength} ${length + headLength}`;
gsap.set(mask, { strokeDashoffset: length, opacity: 0 });
gsap.set(head, { strokeDashoffset: headLength, opacity: 0 });
const tl = gsap.timeline({ paused: true });
tl.set(mask, { opacity: 1 }, 0.5);
tl.set(head, { opacity: 1 }, 0.5);
tl.to(mask, { strokeDashoffset: 0, duration: 2, ease: "none" }, 0.5);
tl.to(head, { strokeDashoffset: -length, duration: 2, ease: "none" }, 0.5);
tl.set(head, { opacity: 0 }, 2.5);
tl.to({}, { duration: 1 }, 2.5); // Keep the finished mark until 3.5 s.
window.__timelines = window.__timelines || {};
window.__timelines["logo-demo"] = tl; // Match the scene's composition id.
The dash on the head has a small length of its own, so its leading edge is slightly ahead of the mask. That overlap helps it cover the advancing reveal edge. Both tweens begin together, last two seconds, and use the same guide. To add another stroke, give it its own mask and head with unique IDs, then schedule its draw after the first. SVG's geometry interface supplies path-length measurements; those measurements describe the guide path, not a person's writing speed.
When a mask is almost complete, compare its result with the unmasked reference. Repair missing strokes first. A brief fade to a clean final copy can cover a few small edge gaps. The Grow AI Skills project uses copies of the complete words and a final copy of the whole phrase. If a whole letter suddenly appears during that fade, the guide needs more work.
Fit the motion to the words
Give each continuous stroke a start time and drawing duration. Allocate more time to a longer or more complex section, then adjust by watching it at normal speed. Equal time per word makes a short word crawl and a long word rush. A reasonable starting schedule uses path length to divide the available drawing time, with extra time where tight curves need to remain readable.
Subtract the opening, pen lifts, finishing effect, and final hold from the total duration before dividing the drawing time. For an illustrative two-stroke example, lengths of 450 and 150 SVG units share a two-second drawing budget as 1.5 and 0.5 seconds. The calculation is stroke duration = drawing budget × stroke length / total stroke length. It gives you an initial schedule to adjust by eye; it does not simulate natural handwriting speed.
The Grow AI Skills example uses this schedule. The values are specific to its three-word layout:
| Time in seconds | Visible event | What to inspect |
|---|---|---|
| 0.000 to 0.200 | Black lead-in | No stray fragments from the final mark. |
| 0.200 to 0.367 | Ignition | The light begins at the first guide; the whoosh starts at about 0.233. |
| 0.367 to 1.567 | Grow reveals | The first word completes without exposing later words. |
| 1.567 to 1.700 | Pen lift | No luminous line travels across the gap. |
| 1.700 to 2.267 | AI reveals | The two shorter paths have enough time to read. |
| 2.267 to 2.400 | Pen lift | The next head starts from its own guide. |
| 2.400 to 4.033 | Skills reveals | The longer word gets more drawing time. |
| 4.033 to 4.800 | Details finish; bloom settles | The clean final layer completes; the chime starts at 4.2. |
| 4.800 to 5.800 | Final hold | The complete white lettering stays sharp and still. |
For dots, accents, and crossbars, choose their place in the schedule deliberately. They can appear after the connected stroke or during a brief separate touch. For lettering with an unfamiliar writing order, obtain an approved sequence from someone who knows that script if accuracy matters. Otherwise describe the animation as a stylized reveal.
Hide the light during a pen lift, reset the next head to its start, and bring it back when the next stroke begins. The already revealed ink should stay visible. Do not rewind a shared mask to animate the next word, because that can erase completed letters.
Add glow and sound after the reveal works
Keep a sharp finished mark underneath the effects. Put the writing light's narrow core on top, then duplicate it for wider, lower-opacity blur layers. Start by checking the sharp core alone. Add blur gradually and inspect small enclosed spaces at the scale where viewers will watch the clip.
If a halo has a rectangular edge, inspect the SVG filter region as well as the canvas crop. If you see two outlines around a letter, inspect duplicated layers and their transforms before increasing blur. On a light background, a bright white core can disappear; try a darker core or a restrained colored accent while keeping the approved final logo colors.
A completion bloom is optional. Let it disappear before the hold so viewers can read the finished lettering. In the example, the magenta, violet, and cyan trace resolves to a plain white wordmark. For a multicolor brand mark, reveal its existing colors and reserve the light effect for a separate layer.
Sound is optional too. For an unnarrated sting, start with one accent at ignition and one at completion. Keep the audio files local and retain their source or license. Declare their placement with HyperFrames audio elements so the framework controls playback. Listen to the exported file for a clipped onset, a harsh peak, or a tail cut off at the end. A silent version needs no audio track.
Keep the project correct when you scrub backward
A HyperFrames GSAP timeline must be paused and registered under its composition ID in window.__timelines. Put the visible scene in a clip spanning the whole animation, with the correct data-start and data-duration. These timing attributes keep the scene present during its final hold.
Set initial mask offsets and layer opacity explicitly before registering the timeline. In the snippet, the immediate gsap.set() calls hide the mark before the first seek; the later timeline entries control its appearance. Avoid animations driven by a wall clock, independent timers, or state left over from normal playback. Under deterministic rendering, seeking to a timestamp must reconstruct that timestamp's state. This matters when Studio scrubs and when the renderer captures frames.
Test a sequence such as 4.9 seconds, 0.8 seconds, 3.0 seconds, then 0 seconds. At each point, the visible letters should match the same point reached through forward playback. If letters remain visible after moving backward, inspect callbacks, accumulated DOM changes, and missing initial values. Animating SVG properties directly on the registered timeline keeps the mask and light easier to reconstruct.
Review the preview and fix visible defects
Run the structural and browser checks, then open Studio. The CLI reference documents the sample and snapshot options:
npx hyperframes lint .
npx hyperframes check . --strict --samples 15 --snapshots --at-transitions --frame-check
npx hyperframes snapshot . --at 0,0.3,1.0,1.63,2.0,2.33,3.2,4.2,4.8,5.7667
npx hyperframes preview --background
The explicit snapshot times above target the 5.8-second example. Replace them with your stroke boundaries and pen lifts. Review frames just before and after each transition, because evenly spaced samples can miss a brief flash. Inspect PNGs at full size, then play the whole effect at normal speed.
| Visible symptom | Likely place to inspect | Useful correction |
|---|---|---|
| The logo appears all at once. | Mask reference, mask type, and initial offsets. | Confirm the final mark uses the mask and its guides begin hidden. With white-on-black masks, use luminance. |
| A later letter appears too early. | A wide guide passing over adjacent ink. | Narrow that section or isolate the letter in a separately masked region. |
| Parts of a letter never appear. | Guide coverage, clipping, dots, and crossbars. | Add a detail stroke or adjust its local width. Compare with the full unmasked source. |
| The light floats beside the ink. | Different path data, transforms, or tween timings. | Share the guide geometry and parent coordinates; synchronize start time, duration, and easing. |
| A line flashes between words. | A continuous head crossing a pen lift. | Use separate heads for disconnected strokes and hide them during the gap. |
| The hold changes font or spacing. | A completion layer with different text styling. | Derive the completion copy from the same approved mark and ensure the local font is loaded. |
| Glow ends in a square or is cut off. | Filter bounds, SVG viewport, and canvas edges. | Expand the relevant bounds or scale the shared artwork down. |
| Scrubbing leaves completed letters behind. | Playback-only mutations or omitted initial states. | Move those changes onto the paused timeline and repeat the backward-seek check. |
| The final frame is blank. | Scene duration and the exact end timestamp. | Keep the scene active through the hold and inspect the last in-range frame. |
| A PNG reveals a white box. | Opaque source background. | Replace it with an approved transparent asset or remove the background and review the still. |
Watch the preview even when automated checks pass. Check the writing order, logo shape, and pace yourself. If a custom motion check flags the final hold as frozen, apply its movement requirement only while the letters are being drawn. Keep checking that the complete mark remains visible and within the frame during the hold.
For a revision, describe the visible problem and its timestamp: “At 2.3 seconds the cyan light crosses the gap into Skills. Hide the head for that pen lift; keep the completed AI visible.” That gives Codex a specific change to make and a frame to check.
When the preview or export fails to run
If Studio does not open, ask Codex to confirm the preview server is still running and give you its current URL. An old browser tab can point to a stopped server. If the scene is blank, check the first runtime error, local asset paths, the scene's active time, and the match between its composition ID and timeline registration. If the code example reports gsap is not defined, GSAP must be loaded before that script runs.
For a failed export, keep the first specific error and rerun doctor and the project check. Ask Codex to fix the reported dependency or composition problem before retrying. A message such as “render failed” alone cannot distinguish a missing font, a browser launch failure, and invalid scene timing.
Export the right file for its destination
After approving the preview, render an ordinary opaque delivery as an MP4. For the example's 30 fps output:
npx hyperframes render . --quality high --fps 30 --strict --output renders/logo-reveal.mp4
For a transparent overlay, use an alpha-capable WebM or MOV workflow and remove opaque backgrounds from the composition. HyperFrames' rendering guide explains those formats. Changing the export format alone will not remove a painted black stage. Review the exported overlay on both a light and dark background.
# Web overlay
npx hyperframes render . --format webm --fps 30 --strict --output renders/logo-overlay.webm
# ProRes 4444 editing intermediate
npx hyperframes render . --format mov --fps 30 --strict --output renders/logo-overlay.mov
Check the background on the page, composition root, and full-frame scene. Any painted background can make the overlay opaque. For colored glow, review the edges over both backgrounds: a halo that looks clean over black can reveal an unwanted dark fringe over white. Ask Codex to inspect an exported frame with transparency intact if the video player always puts black behind it.
For a square or portrait version, change the composition's canvas and recheck the layout. A wide phrase may need an approved alternate arrangement. Check the entire animated flourish and halo along with the settled logo. For a loop, decide whether to fade back to the start after a readable hold or to accept a cut; the example's white final frame and black opening would create a visible cut when repeated.
When fading back to the start, fade a parent that contains the mark and its effects so a stray halo does not remain. Keep that ending inside the finite composition duration, then play the exported file twice in succession to inspect the join. A video intro often benefits from a stable final logo, while a continuously repeating page decoration needs a deliberate ending that reconnects with the opening.
Keep the editable project beside the delivery. Retain the source artwork, mask guides, font and license, audio, and local animation runtime. Record the CLI version and export settings. These files let you change the background or timing later without trying to reconstruct the animation from the MP4.
Check the exported video itself
Open the delivered file, listen to it, and inspect its final frame. Browser snapshots come from the composition and cannot establish what survived encoding. These commands inspect an MP4 with FFmpeg and ffprobe installed:
ffprobe -v error -show_entries format=duration:stream=codec_name,width,height,r_frame_rate,pix_fmt,sample_rate,channels -of json renders/logo-reveal.mp4
ffmpeg -i renders/logo-reveal.mp4 -vf "blackdetect=d=0.1:pix_th=0.1" -an -f null -
ffmpeg -i renders/logo-reveal.mp4 -vf "freezedetect=n=-50dB:d=0.5" -an -f null -
The black detector and freeze detector report candidate intervals. Their thresholds can classify a mostly black scene with a tiny light as black, or a slowly changing frame as frozen. Compare the timestamps with your intended schedule before treating them as defects.
The example's saved check results report a black interval from 0 to about 0.267 seconds and a frozen interval from about 4.733 seconds to the 5.8-second end. Those intervals correspond to its dark opening and settled logo. Compare your own scan results with the opening and hold you intended.
At 5.8 seconds and 30 fps, the example contains 174 video frames, indexed 0 through 173. Its last frame begins at about 5.7667 seconds. Sampling exactly 5.8 seconds is outside that frame range. To extract the exact last frame of this constant-frame-rate example:
ffmpeg -i renders/logo-reveal.mp4 -vf "select=eq(n\,173)" -frames:v 1 renders/final-frame.png
Use your file's decoded frame count if its duration or frame rate differs. Compare that frame with the approved unmasked mark. It should contain every intended letter, keep the correct spacing, and have no transient light obscuring the result. Recheck any newly encoded revision before sharing it.
