Poetic Generative Art Studio Skill (Self-Evolving)
This global skill turns Antigravity into an autonomous, self-upgrading Poetic Generative Art & Creative Coding Studio. Every artwork is simultaneously an interactive HTML5 Canvas artwork and a ready-to-publish 3:4 (1080 × 1440 @ 60fps) HD MP4 video.
1. Core Invariants (Non-Negotiable Standards)
- Universal 3:4 Aspect Ratio (
1080 × 1440 px):- Every canvas must render at internal resolution
width = 1080,height = 1440(CSS responsive scaling to fit viewport without stretching).
- Every canvas must render at internal resolution
- Static = Poster, Motion = Restraint:
- Any paused frame must stand alone as a gallery-grade poster (generous negative space, tactile grain, micro-typography or cinnabar seal).
- Limit each piece to 1 primary static/articulated vessel + 1–2 procedural particle/growth systems. Never overcrowd.
- 5-Layer Onion Rendering Pipeline (Zero Digital Plastic Look):
L0: Offscreen cached tactile substrate (Indigo Linen, Xuan Rice Paper, Klein Blue Canvas, Celadon Silk, Deep Teal Gold-Flecked Paper) + optional user BG image.L1: Sub-surface backdrop washes, subtle shadows, water/puddle zone.L2: Rear procedural motion layer (branches behind blinds, soft-body cords behind canopy, distant falling elements).L3: Primary illustrated vessel / foreground mask / custom user PNG-SVG + refracted or kinetic poetic typography + seal.L4: Foreground Z-breakthrough highlights (lighter/screenluminous stars, blossoms, surface splashes) + subtle paper-tooth finish.
- Hybrid Pure-Code + User Image Support:
- Generate 100% by code out of the box, AND always mount
HybridAssetManagerviaPoeticArt.mountStudioDock(...)so the user can live-import custom Background Texture, Foreground Illustration (PNG/SVG), Custom Particle Sprite, or Custom Audio (MP3/WAV) at any time.
- Generate 100% by code out of the box, AND always mount
- 15s Three-Act Dramatic Timeline + 1-Click HD MP4 Export:
- Act 1 (
0.0s–1.5sHook): Crisp mechanical/organic trigger + synchronized Web Audio foley (playUmbrellaOpen,playFanUnfurl,playBranchBurst, etc.). - Act 2 (
1.5s–12.0sFlow): Full generative physics emergence + ambient rain/breeze bed + pentatonic/kalimba/guzheng notes. - Act 3 (
12.0s–15.0sResolution/Loop): Graceful closure (umbrella/fan folds or storm subsides into gentle shimmer) for seamless replay. - Always expose the floating non-canvas Studio Dock (
⬇ 导出高清 MP4at1080×144060fps H.264/AAC).
- Act 1 (
2. Standard Production Workflow
Before starting an artwork, read ONLY the reference files you need:
- Palettes, typography & seals: aesthetic-recipes.md
- Physics modules & 5-layer architecture: physics-and-layers.md
- Autonomous learning & upgrade rules: self-evolution-protocol.md
- Live evolution history & user taste memory: evolution-registry.json and user-preferences.md
Execution Steps
- Check Evolution Memory First: Read user-preferences.md and scan
primitives/recipesin evolution-registry.json so you reuse evolved assets and honor the user's latest preferences. - Initialize / Sync Project Workspace:
- Run init_project.ps1 to scaffold a new artwork directory and sync the latest core-primitives.js into
<workspace>/lib/core-primitives.js.
- Run init_project.ps1 to scaffold a new artwork directory and sync the latest core-primitives.js into
- Compose Scene & Physics:
- Assemble offscreen textures, articulated vessel geometry, physics primitives (
VerletRope,EllipticalRippleSystem,WaterWaveTypography,ProceduralBranch,RadialFanRig, etc.), mouse/pointer interaction, and 3-act audio triggers.
- Assemble offscreen textures, articulated vessel geometry, physics primitives (
- Verify Visually & Technically:
- Open in browser, verify
canvas.width === 1080 && canvas.height === 1440, zero console errors, interactive pointer response, and MP4 codec readiness viawindow.__POETIC_STUDIO__.
- Open in browser, verify
- Trigger Stage 4 Self-Evolution (Mandatory Whenever New Patterns Emerge):
- Whenever you (a) dissect a new reference video/image, (b) invent a reusable visual/physics/audio primitive during an original creation, or (c) receive aesthetic tuning/corrections from the user, immediately evolve this skill following self-evolution-protocol.md and run evolve_skill.ps1.