Communitygithub.com

motion-effects

Build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says

O que é motion-effects?

motion-effects is a Claude Code agent skill that build any of 16 premium motion effects from scratch in your own brand, as one 8-second looping HTML file with window.seek(seconds) so it exports frame-exact to MP4 or GIF. Interfaces (button to player, search to results, card to workspace, tabs to panels), data (chart morph, dashboard zoom, spring stack, magnetic dock), type (masked type, elastic type, text to layout, image reveal) and systems (perspective shift, glass focus, flowing paths, particle logo). Use when someone says.

Funciona com✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/charlie947/motion-graphics-skills/tree/main/skills/motion-effects

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Motion effects, built in your brand

Sixteen effects that make a product, a number or a word move like it was made by a motion designer. Each one is a recipe: what it is, where it starts, where it ends, when each part moves inside an 8-second loop, and the one detail that makes it look premium. You pick the effect, give it your real words, and it gets built from scratch in your colours and type.

Before you start: read brand.md and MOTION.md if they exist. If not, run brand-intake first, or ask for hex codes, a font and a logo file. Never call a result on-brand without them.

Step 1: Ask for four things, then wait

  1. The effect. One of the 16 by name or number. If they describe a job instead ("show our pricing", "reveal the launch name"), suggest the two effects from the table below that fit best and let them pick.
  2. The real content. The words, labels and numbers that go in it. Real figures, or say they are samples.
  3. The size. 1080 x 1080 (square), 1080 x 1350 (LinkedIn portrait), 1080 x 1920 (Reel) or 1920 x 1080 (YouTube).
  4. Loop or hold. Loop repeats forever (a post or a GIF). Hold plays once and stays on the finished frame (under a voiceover, so it never resets mid-sentence).
#EffectUse it when you
01Button → playeradd a "watch the demo" moment to a landing page or launch email
02Search → resultsshow what people find in your help centre or content library
03Card → workspaceannounce a feature, and one small card becomes the whole editor
04Tabs → panelscompare plans, packages or channels without a wall of text
05Chart morphdrop a weekly result into a client report or results post
06Dashboard zoompull the one KPI that matters out of a dashboard
07Spring stackshow three offers, case studies or testimonials in turn
08Magnetic dockshow the tools you use, or a product's integrations
09Masked typereveal a campaign name, issue number or launch headline
10Elastic typeopen an event, webinar or podcast with a title card
11Text → layoutturn a headline into a carousel cover or article teaser
12Image revealtease a product drop, then swap in your own photo
13Perspective shiftexplain the layers of a service, brand system or stack
14Glass focusmake people read the one line of a report that matters
15Flowing pathsshow one piece of content feeding several channels
16Particle logoclose a video, reel or post on your mark

Step 2: Read the recipe

Open references/effects.md and read the chosen effect in full: start state, end state, timing, the premium detail. The recipe is the spec. Swap the demo words for the user's real ones, and map every colour role (ground, surface, ink, muted, accent, second accent) to a colour in MOTION.md.

Step 3: Build it

Build one self-contained file, effect.html, to these rules:

  1. One clock. Every frame is worked out from the time alone. Add window.seek(seconds) that draws the exact frame for that moment, in any order, as often as it is called. No setTimeout, no CSS animations running on their own, no randomness that is not seeded.
  2. One loop, 8 seconds. Move from 0.0 to 2.2, hold to 6.6, return by 8.0. seek(0) and seek(8) must draw the same frame. In hold mode, play the move once and stay on the finished frame from 6.6 onwards.
  3. Back to the start. The return eases every element back to exactly where it began. Nothing snaps home.
  4. Real content, never lorem. The user's words and numbers. Sample numbers carry a visible "illustrative" or "example" label on every frame.
  5. Self-contained. Fonts embedded, images inlined, no network requests, so it opens offline and renders the same every time.
  6. Autoplay unless told not to. Play in real time when opened in a browser, and stop the clock when the URL ends in ?render, so an exporter drives window.seek() itself.
  7. Scale the effect up. It fills the frame at the chosen size, with margins from MOTION.md. It is not a small tile in a big empty canvas.

Step 4: Check it before you show it

Capture frames at 0, 1, 2.2, 4.4, 6.6, 7.9 and 8 seconds and look at every one.

  • The loop: frame 0 and frame 8 are identical.
  • The move: frames 0, 1 and 2.2 are all different. If two match, part of the effect is not running.
  • The fit: no text runs past its box, and nothing is cut off at any of the seven moments.
  • The still: pause on 4.4. The point of the effect reads from that single frame.
  • The brand: every colour and font on screen is in MOTION.md.

Fix what fails, capture again, and only then show the user the 2.2 and 4.4 frames with the file path.

Step 5: Export it

Now turn effect.html into a video and a GIF I can post. Use tools already on this computer. If you need something that is not installed, stop and tell me what it is before you install anything. Load the page with ?render, call window.seek() for every frame at 30 frames per second (240 frames for 8 seconds), and encode an MP4 in H.264 at [SIZE]. Then make a GIF that loops forever. Show me three frames from the finished GIF so I can check it came out right.

HyperFrames (npx skills add heygen-com/hyperframes) does this in one step if it is installed.

What I learned the hard way

  • "Make it premium" means one object changing shape. Every one of the 16 effects is a thing turning into another thing: a button into a player, bars into a line, a card into a window. A fade from one picture to another looks cheap every time.
  • The hold is where people actually look. 4.4 of the 8 seconds is the hold. If nothing moves in it, the loop feels dead. Each recipe keeps something small alive there: a progress bar, a cursor, a second wave of light.
  • A ghost of the start state sells the change. A faint outline left where the button or card began lets the eye follow the move. Without it the end state looks like it appeared from nowhere.
  • Stagger by a beat, not all at once. Rows, slats, letters and dots each start a fraction later than the last. Everything moving together reads as a slide transition.
  • Frame 0 drew in the wrong font. An embedded font does not load until something uses it, so the first frame can paint in a fallback. Load every font explicitly before the first seek(0).
  • Scale it up, do not redraw it. An effect drawn with fixed coordinates ends up in one corner when you just change the canvas size. Scale the whole drawing to fill the frame instead.
  • A blank page is usually a name declared twice. Copying helpers between files duplicated a colour constant and stopped the whole script. Declare each name once, and paste the red console error back to Claude if the page is empty.
  • Eight seconds is too slow for a Reel cut. A full loop dropped into Instagram B-roll failed a motion check. Cut the active move (about 1.4 seconds of it) and use hold mode under narration.
  • Pick one unit for time and keep it. The exporter and the page must agree on seconds or milliseconds. This pack uses seconds everywhere.
  • Label made-up numbers on the frame. I made up every figure on my own board for the demo, so every effect carries an "example" label until real numbers go in.

Hand off

Give the user effect.html, the MP4 and the GIF, with the three checked frames. Then offer the next step in one line: another effect from the same group, or reel-export to turn it into a vertical Reel with safe-zone text.

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

animated-chart

Make a looping animated chart for LinkedIn or a newsletter in code with Claude Code. Bars that become a line, a number that counts up, a before and after. Every value stays exactly as given. Use when someone says

apple-launch-film

Rebuild an Apple-style Mac launch film entirely in code with Claude Code. A thin menu bar, the black notch growing into widgets one scene at a time, full-screen gradient wallpapers and one short caption per scene. No screen recording, no After Effects. Use when someone says

brand-intake

The setup step every other skill in this pack reads. A short interview plus 3 to 5 reference frames becomes two files in your project, brand.md (who you are, what you sell, your assets) and MOTION.md (your colours, type, timing and motion rules), plus a rule in CLAUDE.md so Claude reads them before it animates anything. Use at the start of any motion project, or when someone says

launch-video

Make a 30-45 second product launch video in code with Claude Code, the kind SaaS companies post on launch day. One sentence split across scenes, real product screens with slow camera moves, a typed prompt, a proof beat and a clear call to action. Use when someone says

loop-cover

Turn a newsletter or blog cover into a seamless looping GIF at 896 x 640, 180 frames at 20fps. Only the one element you name moves, the loop is rotated so frame 1 shows the finished picture, and the seam is measured, not eyeballed. Use when someone says

milestone-reveal

Make a 12-second looping milestone clip in code with Claude Code. Thousands of tiny points drift like a night sky, pull together into your real number (followers, subscribers, revenue, customers), a line draws underneath and the label settles in. Premium, not a party. Use when someone says

model-showdown

Give the same motion brief to three AI models, keep each first try, render all three the same way and stack them into one comparison video with model names and logos. Makes a 16:9 side-by-side for a newsletter and a 1080 x 1920 stacked reel for Instagram and TikTok. Use when someone says

motion-brief-writer

Turns a rough idea for an animated graphic into a precise build brief for Claude Code, in your own brand. Asks for anything essential first (exact numbers, size, length, brand), keeps real results apart from sample data, and never invents a figure. Use when someone says

motion-prompt-writer

Write a complete 8-part Claude Motion prompt (The bar, Format, The one rule, Look, Motion, Never, Before you finish, The scene) for one short looping motion graphic, in your own brand. Takes your brand (a website screenshot, a logo, hex codes, or nothing for the Apple-style default) and one moment you want to show, in plain words. Use when someone says

newsletter-promo

Turn a newsletter edition into a 12-20 second promo clip for LinkedIn, Instagram or X that drives people to read and subscribe. Hook question, three proof frames from the edition, then the newsletter name and where to read it. Use when someone says

reel-export

Turn any horizontal or square motion video into a 1080 x 1920 Instagram Reel or TikTok that uploads cleanly. Headline and logos inside the safe zone, H.264, yuv420p, limited colour range, bt709, a silent audio track when there is no sound, and an ffprobe check before upload. Use when someone says

reference-to-motion

Turn references you admire into a scene-by-scene Claude Motion prompt for your own topic and brand. Takes a video for the moves (screenshots, frames or a contact sheet of a reel or ad) and, optionally, a look reference for the style (a website, a brand, a moodboard). Use when someone says

title-sequence-3d

Make a cinematic 3D title sequence (8-15 seconds) in code with Claude Code and Three.js. A camera moves through a lit scene, such as a rainy street at night with brand names as neon signs, then a big question or title lands. Use when someone wants a scroll-stopping opener, a film-style intro,

vox-explainer

Make a short Vox-style documentary explainer (30-60 seconds) entirely in code with Claude Code. Torn paper, halftone texture, bold condensed type, motion on twos. Use when someone says

Habilidades Relacionadas