/webdesigner:video-to-sitefrom webdesigner
Convert video files (MP4, WebM, MOV) into interactive web scroll animations, sticky canvas frame sequences, background video controllers, or video-to-site experiences. Use when the user requests converting a video into a website animation, extracting frames from a video for scroll scrubbing, building a video-driven hero section, or when TaskIntent includes the video-to-site integration.
Ships in webdesigner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
build, designTaskIntent, StackSelection, video assets (.mp4, .webm, .mov), design artifactsextracted-frame-manifest, canvas-video-controller, video-to-site-configframe_0001.jpg, frame_0002.jpg, ...) at target frame rates (24–30 fps, 90–120 total frames).0.0 to 1.0) with exact video frame playback inside a sticky HTML5 canvas container.videoElement.currentTime = progress * videoElement.duration using requestAnimationFrame without extracting static image files.tickingRef, retina DPR canvas scaling, and image preloading progress overlays.If the user provides a video file (e.g. public/hero-video.mp4):
# Using ffmpeg directly:
ffmpeg -i public/hero-video.mp4 -vf "fps=30,scale=1920:-1" -q:v 3 public/frames/frame_%04d.jpg
# Or using the included Python helper script:
python skills/video-to-site/scripts/extract_frames.py --input public/hero-video.mp4 --output public/frames --fps 30 --max-frames 120
'use client';
import { useEffect, useRef, useState } from 'react';
const FRAME_COUNT = 106;
export default function VideoScrollHero() {
const sectionRef = useRef<HTMLDivElement>(null);
const canvasRef = useRef<HTMLCanvasElement>(null);
const framesRef = useRef<HTMLImageElement[]>([]);
const tickingRef = useRef(false);
const [loaded, setLoaded] = useState(false);
const [progress, setProgress] = useState(0);
// Preload frames
useEffect(() => {
let loadedCount = 0;
const imgs: HTMLImageElement[] = [];
for (let i = 1; i <= FRAME_COUNT; i++) {
const img = new Image();
img.src = `/frames/frame_${String(i).padStart(4, '0')}.jpg`;
img.onload = () => {
loadedCount++;
setProgress(loadedCount / FRAME_COUNT);
if (loadedCount === FRAME_COUNT) setLoaded(true);
};
imgs.push(img);
}
framesRef.current = imgs;
}, []);
// Scroll handler with RAF throttling
useEffect(() => {
if (!loaded) return;
const handleScroll = () => {
if (tickingRef.current) return;
tickingRef.current = true;
requestAnimationFrame(() => {
const section = sectionRef.current;
const canvas = canvasRef.current;
if (!section || !canvas) {
tickingRef.current = false;
return;
}
const rect = section.getBoundingClientRect();
const scrollable = section.offsetHeight - window.innerHeight;
const scrollProgress = Math.min(1, Math.max(0, -rect.top / scrollable));
const frameIdx = Math.min(FRAME_COUNT - 1, Math.floor(scrollProgress * FRAME_COUNT));
const ctx = canvas.getContext('2d');
const img = framesRef.current[frameIdx];
if (ctx && img && img.complete) {
const dpr = window.devicePixelRatio || 1;
canvas.width = window.innerWidth * dpr;
canvas.height = window.innerHeight * dpr;
const imgRatio = img.naturalWidth / img.naturalHeight;
const canvasRatio = canvas.width / canvas.height;
let drawW = canvas.width;
let drawH = canvas.width / imgRatio;
if (canvasRatio < imgRatio) {
drawH = canvas.height;
drawW = canvas.height * imgRatio;
}
const drawX = (canvas.width - drawW) / 2;
const drawY = (canvas.height - drawH) / 2;
ctx.drawImage(img, drawX, drawY, drawW, drawH);
}
tickingRef.current = false;
});
};
window.addEventListener('scroll', handleScroll, { passive: true });
handleScroll(); // Initial render
return () => window.removeEventListener('scroll', handleScroll);
}, [loaded]);
return (
<section ref={sectionRef} style={{ height: '400vh' }} className="relative">
<div className="sticky top-0 h-screen w-full overflow-hidden bg-black">
{!loaded && (
<div className="absolute inset-0 flex flex-col items-center justify-center text-white bg-black z-50">
<p className="text-sm font-mono mb-2">Loading video frames... {Math.round(progress * 100)}%</p>
<div className="w-48 h-1 bg-zinc-800 rounded-full overflow-hidden">
<div className="h-full bg-indigo-500 transition-all duration-150" style={{ width: `${progress * 100}%` }} />
</div>
</div>
)}
<canvas ref={canvasRef} className="h-full w-full object-cover" />
</div>
</section>
);
}
<video> element directly via video.currentTime = progress * duration.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uset82/webdesigner --plugin webdesigner30 skills in this plugin
/3d-scroll-websiteBuild premium 3D scroll-animated websites from scratch — the full pipeline from Next.js setup through canvas frame-sequence animations, smooth scroll, neumorphic design, and deploy. Use this whenever the user mentions building a 3D website, a scroll-animated landing page, a canvas frame sequence (like Apple's AirPods page), video-to-frame scroll animations, scroll-driven hero animations, smooth-scroll sites, premium/agency-quality landing pages, neumorphic or glassmorphic UI, or any site inspired by Igloo, Igloo Inc, Lusion, Active Theory, or Igloo-style scroll sites. Use it EVEN if the user doesn't say the word "3D" — phrases like "scroll animation", "frame sequence", "sticky canvas", "hero animation that plays on scroll", or "premium landing page with scroll effects" are all signals to use this skill. This is the whole pipeline in one place: stack selection, project scaffolding, frame-sequence engine, scroll math, Framer Motion patterns, design system, performance hardening, and deploy./animate-uiAdd and adapt imskyleen/animate-ui registry components for intentional animated React interfaces. Use for animated UI, motion-rich web interfaces, micro-interactions, animated controls, page transitions, scroll reveals, or when StackSelection includes the animate-ui integration. Apply only to compatible Next.js or React/Vite workspaces using TypeScript and Tailwind; do not use for rendered video, Flutter, or WebGL-only animation.Other plugins' skills for the same job