- Home
- Skills
- Frontend & Web Apps
- Recreate Any 2D or 3D Website Animation as Editable Code
More screenshots
Works with the AI Agents you already use
Recreate Any 2D or 3D Website Animation as Editable Code
Point your agent at a live site, screenshots or a screen recording. It rebuilds the hero animation frame for frame, in clean code you own and can edit.
$14.99
Recreate Any 2D or 3D Website Animation as Editable Code
Example session with this skill installed
Use reference-motion-reconstruction to recreate the animated hero on this landing page at 1440 × 900 in our Next.js app. Match the card entrance and the logo motion exactly, then swap in our logo.
- Read your context and instructions
- Compiled the recreate any 2d
Summary
The hero looked 3D, but the live page showed no canvas at all: it's 8 layers of pre-shaded SVG and PNG art. I rebuilt it from those layers using the page's own keyframes, then verified it frame for frame against the live site.
Evidence
- 0
<canvas>elements in the hero, 4 inline SVG images, 12 image layers, 2 CSS masks - Entrance read from the page's own animations: cards come in from
translateX(-100px) rotate(30deg) rotateX(80deg)on a 0.8 s spring, with
no perspective
- The logo's idle rock and glow are driven from JavaScript, so they were sampled every frame on a paused, stepped clock
Layer inventory
| Layer | Box (px) | z | Effects | Enters at |
|---|---|---|---|---|
| mark | 886, 491, 170 × 175 | 3 | two color-dodge glows | 0.3 s |
| front | 727, 220, 286 × 536 | 2 | color-dodge reflection, blur 33px | 0.4 s |
| context | 577, 214, 288 × 498 | 1 | masked halo, fingerprint | 0.5 s |
| currency | 425, 215, 266 × 456 | auto | 4 inline SVG coins | 0.6 s |
| rear | 328, 225, 249 × 389 | 0 | 3D code text, typed | 0.7 s |
| floor | 365, 383, 850 × 491 | auto | stroke copy at 0.1 | 2.0 s |
Files
hero/
index.html layer boxes, masks, blend modes
motion-data.js keyframes, timings, loop point
motion.js playback on one clock
layers/ replaceable SVG/PNG artwork
Verification
| Check | Result |
|---|---|
| Mean per-frame difference vs live page | 1.18 / 255 |
| Max per-frame difference | 2.46 / 255 |
| Frames compared | 262 at 30 fps |
| Card start times (real browser) | within ~15 ms of source |
| Reduced motion | shows the settled composition |
Next steps
- Swap your logo into
layers/mark.svg; the timing stays untouched - Replace the coin and card art in
layers/ - Port
motion-data.jsinto your Next.js component, or keep it as plain JS
Connects securely to your tools. The creator never sees your data.
About this skill
You found a hero animation you love: cards that fly in, a logo that tilts and glows, depth that feels expensive. You ask your agent to rebuild it. What comes back is close, and close is the problem: shapes are generic, the depth is off, the timing feels mushy, and you can't say why.
That's because the agent guessed. It looked at the page, decided "that's 3D, let's use WebGL", and invented the motion by eye.
This skill stops the guessing. Your agent measures how the reference actually works, then rebuilds it from that evidence.
What makes it different
- It reads the real animation, not the pixels. On a live page the agent pulls the reference's own keyframes, delays, durations and spring curves straight from the browser. JavaScript-driven motion such as idle loops, glows and typing text is sampled every frame. You get the same animation, not an approximation of it.
- 2D or 3D, it picks the right tool. Plenty of "3D" heroes are really layered, pre-shaded SVG and PNG art. The skill checks before choosing, then builds with CSS/SVG layers, WebGL/Three.js for true 3D, video with HTML overlays, or Lottie/Rive, whichever the evidence supports.
- Frame-accurate capture. Reference and rebuild are recorded on one paused, stepped clock, so they line up frame for frame. No drift, no "it looked right on my machine".
- Proof, not vibes. The match is gated on a measured per-frame pixel difference, with paired frames side by side. You know exactly how close it is and where any gap is.
- Code you can actually edit. Layer boxes and assets live in a small config, motion lives in a data file, and playback is plain readable code. Swap in your own artwork without touching the timing. You also get semantic HTML, keyboard access and full reduced-motion support.
See it work
In the demo video, the skill rebuilds a production fintech hero (four cards, a tilting logo, a typed code panel) from 15 layer files and the page's own keyframes. Played side by side, the rebuild matches the live site with a mean pixel difference of 1.2 out of 255, frame for frame.
What you get at the end
- An editable reconstruction: layer config, motion data and playback code
- A reconstruction record: evidence, layer inventory, timeline, editing map
- Verification: paired frames plus the measured difference, at the target viewport and across breakpoints
Works with plain HTML/CSS/JS, React, Next.js, Vue and any other stack that ships to the browser.
Use it on designs you have the right to rebuild: your own site, a client's with permission, or for study. It tells the agent to swap out other brands' assets before anything goes live.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.
It's a method your agent follows, not a code generator: it ships no scripts or templates. Frame-exact results need a browser your agent can drive; from screenshots or a recording alone it fits motion to frames, so results are close rather than exact. Hover and scroll interactions need their own pass. It doesn't grant rights to anyone else's artwork or brand.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
- Playwright
Node.js
- Optional
- Browser your agent can controlFFmpeg
A browser lets the agent read the reference's live animations for frame-accurate results. FFmpeg helps sample frames from a screen recording.
Permissions
File Scopes
The scripts read no API keys and contact no fixed host. capture.js opens only the reference URL you pass, in a local headless Chrome or Chromium (Playwright), and writes frames and trace.json to the output folder you name. compare_frames.py reads two local frame folders and writes one sheet image. Installing Playwright or Pillow, if missing, uses your package manager.