R_REDDYX.XYZ
DevToolsSwift★ 837⑂ 69 forksMIT

rossark0/rossark-motion-skill

SVG ANIMATION SKILL FOR CLAUDE CODE

A Claude Code skill that turns any SVG into smooth 60fps animations for React Native and SwiftUI. Solves the "slideshow" problem in agent code: teaches breathing, blinking, gaze following, and living trajectories.

// KEY FEATURES

  • Animation engine in TypeScript and SwiftUI with a single clock
  • Live faces: eyes glide, blink, smile from geometry
  • Flow animation through key poses without stopping at each frame
  • Video analysis tools: per-frame edge measurement and color sampling

// DEEP DIVE: HOW IT WORKS

The skill installs via npx and reads a MOTION.md file next to your art assets: there you define project rules, graphics constraints, and a verification checklist. The engine (motion.ts / Motion.swift) provides primitives: loop and one-shot clocks, track, flow (smooth acting through key poses), seg, wave, loop, bell, seeded waves, and curves. The liveFace.tsx and LiveFace.swift modules implement live eyes and mouths — you pass geometry and colors, they handle gaze, blinks, and smiles. Included utilities for reference study: sheet.sh creates contact sheets at native FPS, track_edges.py measures edge motion per frame (catching 2% jiggles), sample_colors.py samples exact colors from frames. The approach differs from typical tweens: one global time bus, parts rotate around real pivots, trailing parts lag by a beat, idle life never stops, amplitudes are small, curves are strong. No OS or hardware constraints mentioned in README; requires Node for install and a React Native or SwiftUI environment to run.

// USE CASES

Best for: designers and engineers bringing illustrations to life in apps

  • Bring a character to life in an app: breathing, gaze, blinks, object tracking
  • Create a fluid scene from SVG illustrations: full-body acting, fall physics, squash and stretch
  • Study reference video timing and transfer micro-motions into animation code

// QUICK START

npx skills@latest add rossark0/rossark-motion-skill

Commands are taken from the repository README — check the current version on GitHub before running.

Open on GitHub →

New repositories every 30 minutes

REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.

Join on Telegram
← Full catalog·Full index

// SIMILAR REPOSITORIES

ANDROID TV DEBLOAT AND LAUNCHER★ 821ANIMATED LINE-ART SVG COMPONENTS★ 759OLD PHONE INTO PC CONTROL PANEL★ 635GPUCANVAS: THOUSANDS OF LIVE DOM NODES ON GPU★ 519REMOTE DESKTOP OVER QUIC WITH GPU★ 1278OPINIONATED LIST OF CODE QUALITY TOOLS★ 384

← FULL CATALOG

rossark0/rossark-motion-skill — Svg Animation Skill For…