~/content/06-animation-studio-tools.md▼
Frontmatter
{
"title": "Animation Studio Tools & Export",
"created": "2026-11-23T12:00:00Z",
"updated": "2026-11-23T12:40:00Z",
"slug": "animation-studio-tools"
}Animation Studio Tools & Export
Page 3 — Animation Studio (/main/animation/) hosts <scdraw-animation-workbench>, uniting Vector Animation (SVG keyframe tweening, Inkscape-inspired Bezier path morphing, SMIL/CSS Animated SVG) and Bitmap Animation (multi-layer pixel frames, GIMP-inspired perceptual quantization/dithering & delta optimization, APNG, and GIFWorks-ported screen/webcam capture & clip trimming).
Core Workflows
- Vector Keyframe & Cel Animation:
- Draw shapes or paths on Frame 1 using all 13 Vector tools (
<scdraw-vector-canvas>). - Duplicate a frame (
Dup), move/rotate/recolor elements (or reshape Bezier nodes), and click Tween +4 (or callscdraw_animation_tweenwithsteps,easing, and optional curvedtrajectoryPath) to auto-generate interpolated frames. - Toggle Onion (
Oshortcut) to inspect previous and next frame ghosts while animating.
- Draw shapes or paths on Frame 1 using all 13 Vector tools (
- Bitmap Frame-by-Frame & Capture Animation:
- Switch Mode to Bitmap Anim (or capture a screen/webcam clip in the Capture tab with Start Delay
0–30sand Timer0–30s). - Paint on multi-layer raster frames with
<scdraw-bitmap-canvas>, scrub the horizontal filmstrip, edit per-frame millisecond delays (20–10000ms), and trim unwanted frames using the[In … Out]range sliders (Trim Range). - Run Optimize / Unopt (ported from GIMP
animation-optimize.c) to diff bounding boxes and coalesce delta frames.
- Switch Mode to Bitmap Anim (or capture a screen/webcam clip in the Capture tab with Start Delay
- Cross-Studio Bridge:
- Click Send to Anim in Vector Studio or Bitmap Studio (
scdraw_animation_capture_studio) to append your current artwork as a timeline frame. - Click Rasterize → Bitmap (
scdraw_animation_rasterize_to_bitmap) to convert a Vector animation into editable Bitmap frames. - Drop
.gif,.apng,.png,.svg,.webm, or.mp4files directly onto the stage to import frames offline.
- Click Send to Anim in Vector Studio or Bitmap Studio (
Export Formats & Engines
- GIF (
.gif) — Offline Native GIMP Engine (Default):- Quantization (
scdraw-quantize.js): Perceptual CIE L*a*b* box-cut palette (2–256colors, default200) with transparent index reservation. - Dithering:
bayer(deterministic 8×8 positional dither — minimizes static-region shimmer),floyd-steinberg,floyd-steinberg-low-bleed, ornone. - Delta Optimization (
scdraw-gif-optimize.js): Crops changed bounding boxes withcombinedisposal and automatically promotes preceding frames toreplaceon opaque-to-transparent transitions. - Optional CDN Accelerators: Choose
gifski(gifski-wasm@2.2.0) for cross-frame temporal dithering or set Gifsicle Lossy (> 0,gifsicle-wasm-browser@1.5.19) for lossy--lossy+--resize-touchpost-compression.
- Quantization (
- APNG (
.apng): Pure-JS lossless 32-bit RGBA (acTL/fcTL/IDAT/fdAT) muxer & demuxer (scdraw-apng-codec.js). - Animated SVG (
.svg): SMIL (<animate>,<animateTransform>) or CSS@keyframesoutput with round-trip metadata (scdraw-anim-svg.js). - WebM / MP4 & PNG Sprite Sheet: Native
MediaRecorderWebM (offline), optional@ffmpeg/ffmpegMP4 transcoding, and PNG Sprite Sheet + JSON atlas packing.
Topbar, Full Screen Mode & Mobile Layout
- Primary Actions:
Vector|Bitmap|Animationswitcher,Play/Pause,Undo,Redo,Save(writesanimation.scdraw-anim.jsonto OPFS), Full Screen (#scdraw-anim-fullscreen), and panel toggles (Tools,Timeline,Layers,Export). - Secondary Bar (
More ▾on mobile/tablet, always open at>= 1024px):Mode(Vector Anim/Bitmap Anim),New,Import Media, andRasterize → Bitmap(visible in Vector Anim mode). - Mobile Layout (
< 640px): Switches betweenStage | Timeline | Layers | Exporttabs (withExport/Capturesub-tabs in the right pane) above<scdraw-statusbar>.
Timeline, Capture & Limits
- Timeline (
<scdraw-timeline>): Defaults to800×600(Vector Anim) or512×512(Bitmap Anim) at1–60FPS (12 fps/83 msdefault),0.25×–4×speed multipliers,Loop/Once/Ping-Pongplayback modes, up toMAX_ANIMATION_FRAMES = 500, and separate undo/redo stacks (MAX_HISTORY = 100for Vector Anim,MAX_ANIMATION_BITMAP_HISTORY = 25for Bitmap Anim). - Capture & Clip (
<scdraw-capture-panel>): ProvidesScreenandWebcamcapture,Record,Stop,PiP,Start Delay(0–30s, default3s),Max Timer(0–30s, default5s),Extract FPS(1–30, default12),Max Width(64–1024, default512), andExtract Clip → Frames.
Keyboard Shortcuts
Space: Play / Pause,/.: Previous / Next frameHome/End: First / Last frameO: Toggle Onion SkinningEscape: Exit Full Screen modeAlt + ArrowLeft/Alt + ArrowRight(on focused frame card): Reorder frameCtrl/Cmd + Z/Ctrl/Cmd + Shift + Z: Undo / Redo
Declarative WebMCP Automation
Agents can author, tween, trim, capture, and export animations programmatically with all 10 animation tools: scdraw_new_animation, scdraw_get_animation_status, scdraw_animation_manage_frame, scdraw_animation_tween, scdraw_animation_trim, scdraw_animation_playback, scdraw_animation_capture_studio, scdraw_animation_rasterize_to_bitmap, scdraw_export_animated_svg, and scdraw_export_animation.
See Also
- Architecture & Declarative WebMCP Tools (
/main/architecture/) — System architecture and all 36scdraw_*WebMCP tools - Vector Studio Tools & Pen Editing (
/main/vector-studio-tools/) — Vector tools & Bezier editing - Bitmap Studio Tools & Pixel Painting (
/main/bitmap-studio-tools/) — Raster painting, layers & filters - Porting & Upstream Attribution (
/main/porting-and-attribution/) — GIMP, Inkscape, GIFWorks, and codec provenance