svg-kinetic-cut
Make or change Cut (cut/): a 24 fps browser-native motion-direction film engine in World 01 (Silver Gelatin & Cinnabar) built with zero runtime dependencies on multi-pass WebGL2 Leica cinema optics, 3
Files2
View on GitHubSKILL.mdskills/svg-kinetic-cut/SKILL.md
GitHubKinetic cut
A browser-native 24 fps motion-direction film engine grounded in World 01 · Silver Gelatin &
Cinnabar (Leica Darkroom × delineate Monochrome): 93% warm cotton rag (#F6F5F0), selenium
obsidian (#08090B), soft bone (#F2EFE9), and brushed platinum-graphite (#6E6D68), warmed by 5%
champagne tungsten glass (#D6CFAF) and 2% Swiss cinnabar (#D9412B). Read cut/notes.md and
cut/palette.ts first for the module map, copy arc, beat sheet, and invariants.
The bar
- Unified World 01 color architecture (
cut/palette.ts). Never use raw digital#FFFFFFon#000000neon gradients. ImportPALETTE,getGradedPlate, andgetGradedEyefromcut/palette.tsso every photographic plate shares one Leica silver-gelatin & champagne split-tone LUT andeye.jpgobeys the strict 3-value anatomical invariant (desaturated alabaster sclera, luminous striated#9E9580..#D6CFAFmineral irisr = 62..208px, distinct#08090Bpupilr = 56px, and crisp10:30corneal catchlight—never swallowing the iris in a black void). - True 24 fps film cadence (
41.67 msper frame) + living speed-ramp kinematics (shotRamp). Quantize the director's clock to exact integer frames (frame = Math.floor(t * 24) % TOTAL_FRAMES) locked to the134.000 BPMbeat grid, driving montage shots with exponential whip-in settle, continuous dolly push, and pre-cut anticipation pull. - Four-pass WebGL2 Leica cinema pipeline (
cut/shader.ts). Route the1280 × 720frame through four real-timeRGBA8GPU passes (< 2 msbudget):- Pass 1 — Leica Cinema Optics, 3D Homography & Five Transmutation Modes:
- Radial
pow(r, 1.85)lens dispersion, organic lens breath, and damped pointer parallax. - True 3D ray-plane homography + camera roll (
uPersp,uRoll,uPerspPivot,uZoom) with creamypow(defocus, 1.22)24-tap Vogel Scheimpflugf/1.4DOF (planeUv.y - uFocusY). mode 0Archival Cotton Rag, Scheimpflug DOF & Beveled Crown-Glass Prisms: 3 achromatic/champagne beveled crystal slabs (uGlass) with subtle dispersion (~0.004) and Fresnel#F2EFE9/#D6CFAFtop-left specular rims.mode 1Fine Swiss Engraving ASCII &5.8pxOptical Blueprint Micro-Mesh: softpow(lum, 0.88)gradation (· : / x o ☒ #) and silver-champagne X-ray aperture mesh (uAsciiBg = 0.35).mode 2Delicate6.0pxSwiss Millimeter Drafting Grid & Curved Cotton-Paper Peel:0.22silver-graphite hairlines on#F6F5F0rag with smooth cylindrical corner curl (uAsciiBg >= 1.5) while foreground typography stays crisp onfg.mode 3Mineral Quadtree Micro-Mosaic & Silver-Champagne Mezzotint Halftone: stepped 3-tier quadtree (uAsciiBg <= 1.5) and fine mezzotint (uAsciiBg > 1.5) preserving 3-value iris clarity.mode 4Silky Continuous2.8pxVertical Fluted-Crystal Aurora: 4-octave domain-warped FBM aurora in World-01plasmaStops(#1B2230,#5C6B7E,#D6CFAF,#F4F1EA) refracted through continuoussin(px.x * 2.244)cylindrical glass flutes (0.84..1.05sheen, zero black pixel gaps) around a serene#08090Bcenter pocket.
- Radial
- Pass 2 — 7-Tap Directional 180° Shutter Blur & Kinetic Persistence: Hann-weighted shutter smear
(
uMotionBlur) + consecutive-frame persistence (frame === prevFrame + 1). - Pass 3 — Half-Res Anamorphic Bloom & Halation: separable
640 × 360highlight bloom. - Pass 4 — Filmic Composite: platinum
#C8D3E6Panavision streak (uAnamorphic), warm#D95B38Kodak halation, surgical foreground typography (0.16xtamed chroma—zero cyan/red double-vision), platinum/champagne AR corner glass sheen, cinema vignette, and dual-frequency 35mm silver grain.
- Pass 1 — Leica Cinema Optics, 3D Homography & Five Transmutation Modes:
- Architectural instrumentation, sacred negative space & indie typography. Set narrative copy in
tight-tracked
Switzer(-0.028em), reserveZodiakserif exclusively for S06's158 × 76variable-radius micro-dot"noise", andGeist Monofor0.68pxLeica rangefinder CV overlays (cut/cv.ts). KeepS08a(10s) serene (65%untouched#08090Bvoid above one delicate· : +silk-stipple horizon ridge, zero CV boxes) andS09architectural (James Turrell vertical light-slit →#F6F5F028-strand drafting ribbon →38°diagonal prism light-blade, zero rocket flames). - Rubin figure-ground finale (
R3-03Sheared Director's Gate16:9 → d). Pay off"you do."by whip-morphing Card #5's16:9frame into the center16:9aperture (F 398–407), then slamming#FFFFFF → #F6F5F0archival rag atF 408as#161615L-blades lock intodelineate'sd. - Frame-locked opt-in studio audio (
cut/audio.ts). Stream the18.000 s134.000 BPMOriginal Setloom Warehouse Techno score (cut/assets/audio/score.m4a), strictly muted until user gesture.
Editing or adding a scene
- Keep the timeline deterministic in
cut/scenes.ts: each scene owns a[startFrame, endFrame)span inside the432-frame (18.000 s @ 24 fps) master reel and returns aShaderParamsobject. - Preload all canvas webfonts explicitly via
document.fonts.load(...)incut/main.tsand re-bake offscreen typographic dot-matrix grids (ensureGrids()) oncedocument.fonts.check(...)confirms bothSwitzerandZodiakare active. - Credit every external photograph, plate, font, and audio master's exact source and license inside
cut/notes.md.
Done means
npm run check && npm run cut:build pass cleanly and npm run cut (http://localhost:5390/) runs at
exact 24 fps in Chrome:
- Capture and inspect borderless keyframes across all 10 scenes (
?frame=...&paused=1&hud=0) confirming World-01 Silver Gelatin & Cinnabar cohesion,s07Amber5.8pxX-ray mesh (S02),f/1.4LUT-graded SaaS UIs (S03),6.0pxdrafting paper peel (S04), 3-value anatomical eye (S05), variable-radiusZodiak"noise"(S06), serene10shorizon (S08a), Turrell vertical slit &38°diagonal prism light-blade (S09), continuous2.8pxfluted-crystal aurora (S10a), and#161615R3-03Director's Gate on#F6F5F0archival rag (S10d). - Confirm
glErr === 0, zero console errors, minimalist HUD (Play,‹,›,Sound), HTTP 200 Web Audio decode (18.000 sstereo) forcut/assets/audio/score.m4a, and strictly opt-in audio playback.