Communitygithub.com

logo-reveal

Build a polished animated logo reveal (logo intro, sting or outro) as ONE self-contained HTML + SVG + JavaScript file with synthesized Web Audio sound effects, starting from the user's logo image and reference animation videos, then export it to MP4 through the html-to-video skill. Use this whenever the user wants to animate a logo, make a logo intro or sting, copy the motion of a reference video onto their own logo, add sound effects that match a logo animation, fix timing or volume problems in one, or says things like "make my logo move", "logo animation with sound", "animate this logo like this video", "turn my logo into a Reel intro" - even if they never mention HTML, SVG or Web Audio and have no animation experience.

What is logo-reveal?

logo-reveal is a Claude Code agent skill that build a polished animated logo reveal (logo intro, sting or outro) as ONE self-contained HTML + SVG + JavaScript file with synthesized Web Audio sound effects, starting from the user's logo image and reference animation videos, then export it to MP4 through the html-to-video skill. Use this whenever the user wants to animate a logo, make a logo intro or sting, copy the motion of a reference video onto their own logo, add sound effects that match a logo animation, fix timing or volume problems in one, or says things like "make my logo move", "logo animation with sound", "animate this logo like this video", "turn my logo into a Reel intro" - even if they never mention HTML, SVG or Web Audio and have no animation experience.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Haewhynot/Logo-Motion/tree/HEAD/skills/logo-reveal

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Logo Reveal

Turn a flat logo into a 10-12 second animated reveal with sound, built as one HTML file that can be previewed in any browser and exported to a frame-accurate MP4.

The idea in one paragraph

Everything is a pure function of time. render(t) draws the picture at time t; the same physics (easing, springs, gravity bounces) also tell the sound code exactly when things hit. Nothing depends on a real-time clock, so the result is reproducible, can be rendered frame by frame at 60 or 90 fps, and the sound cannot drift away from the picture. Most "my sound is late / too loud / does not match" problems come from breaking this rule, so keep it.

What you need from the user

Ask for what is missing in one short message, not one question at a time. Many users are beginners: explain any term you use in half a sentence.

InputNeeded?Notes
Logo image (PNG / SVG / JPG)yesFlat shapes in 1-2 colours work best. If it is a photo or a gradient, say you will simplify it.
Motion reference video for the logoyes, at least 1Any short clip with the kind of motion they like (liquid blobs, pop-ins, draw-on lines...).
Motion reference video for the textyes, at least 1Can be the same video.
Style imageoptionalA second image whose look (palette, corner radius, stroke weight, mood) should be copied onto the logo.
Brand text and taglineif the logo has anySpelled exactly as it must appear.
Output formatdefaultSquare 1080x1080 and vertical 1080x1920, 60 fps.
End statedefaultEnds and holds on the logo. Loop with "draw back in" outro only if asked.

Why a reference video is mandatory: without one, motion collapses into generic ease-in/ease-out that looks like every template. If the user has none, say so plainly, suggest search terms ("metaball logo reveal", "liquid logo animation", "kinetic typography bounce"), and wait. Never ship someone else's video or frames in the result; references are for studying timing and character, not for copying artwork.

Workflow

Follow the stages in order. Each ends with a gate: do not move on until it passes. Full detail with checklists: references/workflow.md.

  1. Intake - collect the inputs above. Gate: you can name the logo's shapes, colours, text and target formats.
  2. Analyse references - run scripts/analyze_reference.py on each video, look at the contact sheet, write 5-8 lines of "motion notes" (what enters, how it moves, how it settles, rhythm). Read references/reference-analysis.md. Gate: you can describe the motion without saying "nice" or "smooth".
  3. Vectorise the logo - rebuild the logo as SVG paths (Bezier curves) in a viewBox you control. Never animate the raster image. If a style image was given, apply its palette / radius / stroke weight here. Gate: your SVG, overlaid on the original, matches within a few pixels.
  4. Build the picture - start from assets/reference-reveal.html, keep its structure, replace the logo-specific parts listed in references/adaptation-map.md, and tune motion using references/motion-recipes.md. Gate: snapshots at 6-8 timestamps look right (use the exporter's --snapshots).
  5. Picture lock - freeze all timings. Put every timing constant in one place; sound is derived from them. Gate: the user (or you) says the picture is final.
  6. Add sound - synthesise it with Web Audio, derived from the motion. Read references/sound-design.md before writing any audio code. Gate: every visual event in the sound map has a cue and verify_mp4.py is clean.
  7. QA and export - run the checks in references/troubleshooting.md, then export with the html-to-video skill.

Do the sound after the picture is locked. Sound written against moving timings is the main reason first attempts come out late, loud or mismatched.

Build rules (and why)

  • One file, no external assets. Draw letters as round-capped strokes instead of loading a font, embed everything inline. A single file previews anywhere and exports reproducibly.
  • Deterministic. No Date.now(), no unseeded Math.random(), no setTimeout choreography, no CSS animations that render(t) does not control. Use a seeded hash for variety. The exporter calls render(t) for arbitrary t and expects identical output every time.
  • Time-based, never frame-based. Express everything in milliseconds so 30, 60 and 90 fps all look the same.
  • Stateful physics is precomputed. A spring that chases a moving target depends on its past. Simulate it at a fixed 240 Hz into a lookup table once, then render(t) only reads the table (see references/motion-recipes.md).
  • Sound comes from the same numbers as the picture. Impact times from drop() / hits(), pan from X position, loudness from impact speed.
  • Expose the contract. The page must offer window.__motion = { duration, render, audio, staticRanges }, or keep the reference template's globals. See ../html-to-video/references/contract.md.
  • Respect the viewer. Add aria-label on the SVG, honour prefers-reduced-motion (render the final frame), and never autoplay sound before a user gesture in the live page.
  • Loudness budget. Normalise the master to about -1 dBFS peak, glue with a compressor, and check the result with verify_mp4.py.

Files in this skill

FileRead it when
references/workflow.mdYou start a project, or need the exact gate checklist for a stage.
references/reference-analysis.mdYou have reference videos or a style image to study.
references/adaptation-map.mdYou adapt the template to a new logo (which identifiers to change).
references/motion-recipes.mdYou need an easing, spring, bounce, goo/metaball, letter-drop or star-twinkle recipe.
references/sound-design.mdYou write or fix any sound. Always read before writing audio code.
references/troubleshooting.mdSomething is late, loud, blank, blurry or will not export.
scripts/analyze_reference.pyTurn a reference video into a contact sheet, motion-energy curve and burst timings.
assets/reference-reveal.htmlThe complete, working reference implementation (two-block logo, 12 ink dots, stars, bouncing letters, full soundtrack).

Run the helpers

# 1) study a reference video (writes ref_analysis/report.md, contact_sheet.jpg, peak_frames/)
python "${CLAUDE_SKILL_DIR}/scripts/analyze_reference.py" reference.mp4 --out ref_analysis

# 2) look at your animation without exporting a video
python "${CLAUDE_SKILL_DIR}/../html-to-video/scripts/export_mp4.py" logo.html --snapshots 0,1500,3500,6000,9000

# 3) export
python "${CLAUDE_SKILL_DIR}/../html-to-video/scripts/export_mp4.py" logo.html -o logo-square.mp4 --fps 60
python "${CLAUDE_SKILL_DIR}/../html-to-video/scripts/export_mp4.py" logo.html -o logo-reel.mp4 --preset vertical --fps 60

If ${CLAUDE_SKILL_DIR} is not expanded in your environment, use the path to this skill's folder instead. One-time setup: pip install -r scripts/requirements.txt here and in ../html-to-video/scripts/, then python -m playwright install chromium.

What to tell the user at the end

  • The files you made (HTML, MP4s) and what each is for.
  • How to preview (open the HTML, click once to enable sound) and how to export again after a change.
  • The 3-5 knobs they are most likely to tweak (colours, text, timing constants), with the names to search for.
  • Anything you simplified (for example "the gradient was flattened to two colours") so nothing surprises them.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Related Skills