Pixel2motion

Rebuilds a PNG or JPG logo as a clean, smooth SVG, then animates it into a replayable logo reveal delivered as a standalone HTML page.

Design & Coverslogo animationsvgmotion designbrandingby nolangz2.6kGitHub

What it is

Pixel2Motion is for designers, founders and brand teams who have a logo only as an image file, such as a PNG, JPG, WebP or screenshot, and want it to move. Typical uses are a splash screen or brand intro, a header reveal, a loading loop or a hover effect. It first rebuilds the logo as a clean SVG (a vector image format that stays sharp at any size), then choreographs an animation for it, delivered as a self-contained HTML page.

Its method has two halves. For the vector, it starts with the simplest shapes that explain the logo, such as circles and a few curves, and only adds detail where an overlay against the original shows a mismatch. Jagged, stair-stepped edges are rejected even when they match the pixels closely. For the motion, it writes a short brief with three personality words and a usage context, then applies Disney's 12 animation principles with a timeline split of roughly 20% anticipation, 50% action and 30% settle.

You get logo.svg, logo_motion.html with replay, slow-motion and speed controls plus at least three small motion studies, a motion_spec.md explaining every timing choice, and image strips that show the fitting and animation checks. The animation always ends exactly on the verified static logo, and it respects the reduced-motion setting. It is fairly technical: it runs Python scripts, headless Chrome and Playwright, and fitting stops after ten tries with the best result.

What it can do

  • Converts raster logos into minimal SVG built from simple shapes and smooth curves, not noisy traced outlines.
  • Splits the logo into separately animatable parts, such as the mark, dot, swoosh and each letter of the wordmark.
  • Chooses timing and easing from three brand personality words and the intended use, from 150ms hovers to 2-second intros.
  • Builds draw-on, staggered assembly, scale-pop, mask wipe, letter cascade, idle loop and hover patterns.
  • Delivers dependency-free HTML with replay, slow-motion and speed controls and a reduced-motion fallback.
  • Captures animation frames and measures easing and smoothness to catch stutters before delivery.

When to use it

  • Your startup has only a PNG logo and you want a smooth two-second reveal for your app's splash screen.
  • You need an animated logo for a website header that plays once on load and then sits still.
  • A client wants a calligraphic or infinity-style logo to look as if it is being drawn by a pen.
  • You want a gentle loading loop or hover effect built from your brand mark, not a generic spinner.

How it works

  1. 1It studies the logo image, lists its parts and writes a motion brief with personality words, usage context and a choreography sketch.
  2. 2It fits the simplest SVG it can, renders it over the original with a Python script and measures the overlap, repeating up to ten times.
  3. 3It audits curves for kinks and stair-steps and keeps the smoothest version that still matches the logo's shape.
  4. 4It writes the animation in CSS or JavaScript and builds the showcase HTML page with a bundled script.
  5. 5It captures frames at key moments with Playwright and checks the easing, smoothness and that the last frame matches the static logo.
  6. 6It hands over the SVG, the HTML page, the motion spec and the QA image strips.

Try asking

“Animate this logo for a splash screen”
“Turn my PNG logo into an animated SVG reveal”
“Make a subtle hover animation and a loading loop for this brand mark”
“Create a draw-on animation for this signature-style logo”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add nolangz/pixel2motion
pnpm
pnpm dlx skills add nolangz/pixel2motion

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the pixel2motion folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/nolangz/pixel2motion.git ~/.claude/skills/pixel2motion

Then just ask in plain language, for example: “Animate this logo for a splash screen”