Loading...
Loading...
Compare original and translation side by side
AskUserQuestion| Step | Question | Options |
|---|---|---|
| 1 | Animation? | GSAP (rich) vs CSS-only (lightweight) |
| 2 | Mood? | Warm vs Cool vs Creative |
| 3 | Palette? | (show 3-4 based on mood) |
| 4 | Topic? | Biblical/Tech/Business/Personal/Custom |
| 5 | Chapters? | 3, 4, or 5 |
| 6 | Content per chapter | Title, description, keywords |
bash ~/.claude/skills/scroll-storyteller/scripts/generate.sh my-story <palette> [--gsap] [--chapters N]references/structure-templates.mdAskUserQuestion| 步骤 | 问题 | 选项 |
|---|---|---|
| 1 | 动画类型? | GSAP(丰富效果) vs 纯CSS(轻量级) |
| 2 | 氛围风格? | 温暖风 vs 冷峻风 vs 创意风 |
| 3 | 配色方案? | (根据氛围展示3-4种) |
| 4 | 主题内容? | 圣经/科技/商业/个人/自定义 |
| 5 | 章节数量? | 3、4或5 |
| 6 | 单章内容 | 标题、描述、关键词 |
bash ~/.claude/skills/scroll-storyteller/scripts/generate.sh my-story <palette> [--gsap] [--chapters N]references/structure-templates.md| Position | Purpose | Composition | Example |
|---|---|---|---|
| Hero | Set scene, show contrast | Wide (1000x1000), 2 silhouettes | David vs Goliath distant |
| Chapter 1 | Introduce protagonist | Centered figure + context | Shepherd with sheep |
| Chapter 2 | Show conflict/obstacle | Imposing, fills frame | Giant warrior |
| Chapter 3 | Resolution/triumph | Dynamic, radiating | Victor + fallen + rays |
| Chapter 4 | Deepening conflict (optional) | Crowded, escalating | Army masses, threats multiply |
| Chapter 5 | Final climax (optional) | Action, decisive | Stone flying, impact moment |
| Finale | Symbolic summary | Centered symbol | Crown + light |
references/svg-illustration-guide.mdreferences/design-harmony.mdorganic-pathfade-pathscale-pathvar(--deep)var(--foam)| 位置 | 用途 | 构图 | 示例 |
|---|---|---|---|
| Hero(开篇) | 设定场景,展现对比 | 宽幅(1000x1000),2个剪影 | 大卫与歌利亚远景 |
| 第1章 | 介绍主角 | 居中人物+背景环境 | 牧羊人与羊群 |
| 第2章 | 展现冲突/障碍 | 极具压迫感,充满画面 | 巨型战士 |
| 第3章 | 解决/胜利 | 动感十足,向外辐射 | 胜利者+战败者+光线 |
| 第4章(可选) | 冲突升级 | 画面拥挤,矛盾加剧 | 军队集结,威胁倍增 |
| 第5章(可选) | 最终高潮 | 动作场面,决定性时刻 | 石块飞出,撞击瞬间 |
| Finale(结尾) | 象征性总结 | 居中符号 | 王冠+光芒 |
references/svg-illustration-guide.mdreferences/design-harmony.mdorganic-pathfade-pathscale-pathvar(--deep)var(--foam)| Style | Library | Size | Best For |
|---|---|---|---|
| GSAP | GSAP 3.x + ScrollTrigger | ~45KB | Rich interactions, SVG draw, orbits, timelines |
| CSS-only | None (IntersectionObserver) | 0KB | Lightweight, fast load, simple reveals |
| 样式 | 依赖库 | 大小 | 最佳适用场景 |
|---|---|---|---|
| GSAP | GSAP 3.x + ScrollTrigger | ~45KB | 丰富交互、SVG绘制、轨道动画、时间线控制 |
| 纯CSS | 无(使用IntersectionObserver) | 0KB | 轻量级、加载快速、简单渐显效果 |
| # | Theme | Light | Dark | Mood |
|---|---|---|---|---|
| 1 | Anthropic | | | Warm |
| 2 | Midnight | | | Cool |
| 3 | Sepia | | | Warm |
| 4 | Forest | | | Creative |
| 5 | Dusk | | | Creative |
| 6 | Ember | | | Warm |
| 7 | Steel | | | Cool |
| 8 | Ocean | | | Cool |
| # | 主题 | 亮色 | 暗色 | 氛围 |
|---|---|---|---|---|
| 1 | Anthropic | | | 温暖 |
| 2 | Midnight(午夜) | | | 冷峻 |
| 3 | Sepia(棕褐) | | | 温暖 |
| 4 | Forest(森林) | | | 创意 |
| 5 | Dusk(黄昏) | | | 创意 |
| 6 | Ember(余烬) | | | 温暖 |
| 7 | Steel(钢铁) | | | 冷峻 |
| 8 | Ocean(海洋) | | | 冷峻 |
| Mode | Description | When to Use |
|---|---|---|
| Authentic (default) | Strict duotone, organic paths | Editorial, brand storytelling |
| Expressive | Multi-color accents allowed | Product showcases, demos |
| 模式 | 描述 | 使用场景 |
|---|---|---|
| Authentic(原生,默认) | 严格双色调,有机路径 | 社论内容、品牌叙事 |
| Expressive(表现力) | 允许多色点缀 | 产品展示、演示 |
| Feature | Description |
|---|---|
| Custom Cursor | Dual-layer cursor with smooth easing, mix-blend-mode |
| Hero Section | GSAP: Flowing organic lines (1000x1000 background). CSS-only: Desk lamp with animated light cone reveal |
| Spotlight Layer | Radial gradient follows cursor on dark sections |
| Staggered Reveals | Title words animate in sequence on load |
| Chapter Structure | Alternating light/dark sections with transitions |
| Organic SVGs | Hand-drawn Bézier paths, fill-only (no strokes) |
| Parallax | Subtle depth movement on scroll |
| 特性 | 描述 |
|---|---|
| 自定义光标 | 双层光标,带平滑缓动效果,支持mix-blend-mode |
| Hero区域 | GSAP: 流动的有机线条(1000x1000背景)。纯CSS: 带动画光锥渐显效果的台灯 |
| 聚光灯层 | 径向渐变跟随光标在深色区域移动 |
| 交错渐显 | 标题文字在加载时按顺序动画显示 |
| 章节结构 | 明暗交替的章节与过渡效果 |
| 有机SVG | 手绘风格贝塞尔路径,仅填充(无描边) |
| 视差滚动 | 滚动时的微妙深度移动效果 |
| Element | Hex | CSS Variable |
|---|---|---|
| Cream (light) | | |
| Charcoal (dark) | | |
| 元素 | 十六进制值 | CSS变量 |
|---|---|---|
| 米白(亮色) | | |
| 炭黑(暗色) | | |
| Role | Font | Fallback |
|---|---|---|
| Display/Headings | Instrument Serif | Georgia, serif |
| Body/UI | Inter | -apple-system, sans-serif |
| 角色 | 字体 | 备选字体 |
|---|---|---|
| 标题/大标题 | Instrument Serif | Georgia, serif |
| 正文/UI | Inter | -apple-system, sans-serif |
| Rule | Description |
|---|---|
| Fills only | Never use strokes for main shapes |
| Organic paths | Complex Bézier curves, hand-drawn feel |
| viewBox | Always 1000x1000 or 500x500 (square) |
| 2-4 paths | Keep compositions simple |
| Layered | Light shapes behind, dark in front |
❌ <circle>, <rect>, <ellipse> (geometric)
❌ stroke="..." on main elements
❌ Multiple colors
✅ <path d="M... Q... C..."> with organic curves| 规则 | 描述 |
|---|---|
| 仅填充 | 主体形状绝不使用描边 |
| 有机路径 | 复杂贝塞尔曲线,手绘质感 |
| viewBox | 始终为1000x1000或500x500(正方形) |
| 2-4条路径 | 保持构图简洁 |
| 分层结构 | 亮色形状在底层,暗色在顶层 |
❌ <circle>, <rect>, <ellipse>(几何图形)
❌ 主体元素使用stroke="..."
❌ 多色使用
✅ <path d="M... Q... C..."> 有机曲线svg-generator.sh| Keywords | Template | Best For |
|---|---|---|
| identity, profile, self, unique | Fingerprint + Verification | Personal identity concepts |
| network, connect, distributed, system | Central Hub + Network | System architecture concepts |
| protect, secure, vault, lock | Protected Vault + Links | Security concepts |
| growth, learn, knowledge, tree | Knowledge Tree | Learning/growth concepts |
| enforce, filter, gate, barrier | Gateway Arches | Enforcement/validation |
| trust, hand, collaboration | Hand Holding + Connection | Partnership concepts |
| unify, finale, complete | Concentric Symbol | Conclusion/unity |
undefinedsvg-generator.sh| 关键词 | 模板 | 最佳适用场景 |
|---|---|---|
| identity, profile, self, unique | Fingerprint + Verification(指纹+验证) | 个人身份概念 |
| network, connect, distributed, system | Central Hub + Network(中心枢纽+网络) | 系统架构概念 |
| protect, secure, vault, lock | Protected Vault + Links(受保护金库+链接) | 安全概念 |
| growth, learn, knowledge, tree | Knowledge Tree(知识树) | 学习/成长概念 |
| enforce, filter, gate, barrier | Gateway Arches(拱门网关) | 执行/验证场景 |
| trust, hand, collaboration | Hand Holding + Connection(牵手+连接) | 合作概念 |
| unify, finale, complete | Concentric Symbol(同心符号) | 结论/统一场景 |
undefined
**Positions:** `hero` | `ch1` | `ch2` | `ch3` | `ch4` | `ch5` | `finale`
**位置选项:** `hero` | `ch1` | `ch2` | `ch3` | `ch4` | `ch5` | `finale`references/animation-patterns.md| Class | Description | Usage |
|---|---|---|
| Base class for all SVG paths | Always applied |
| Fade in animation | Default for most paths |
| Scale up animation | Combined with fade-path |
| Stroke draw animation (GSAP only) | For line/path drawing effects |
references/animation-patterns.md| 类名 | 描述 | 用法 |
|---|---|---|
| 所有SVG路径的基础类 | 始终添加 |
| 渐显动画 | 大多数路径的默认选择 |
| 缩放动画 | 与fade-path结合使用 |
| 描边绘制动画(仅GSAP) | 用于线条/路径绘制效果 |
references/structure-templates.mdreferences/structure-templates.md| File | Purpose | Load When |
|---|---|---|
| Creates HTML (CSS-only or GSAP with --gsap) | Starting new project |
| Topic-driven SVG generation helper | Creating custom illustrations |
| GSAP + CSS animation patterns | Implementing animations |
| Narrative structure + HTML templates | Building sections |
| Theme → SVG element mapping, templates | Creating topic-relevant illustrations |
| Complete worked example with all 5 SVGs | Learning SVG composition patterns |
| Full design system reference | Deep customization |
| GSAP + ScrollTrigger recipes | Using GSAP animation style |
| IntersectionObserver recipes | Using CSS-only animation style |
| Visual cohesion + palette-mood SVG styling | Ensuring consistent design quality |
| 文件 | 用途 | 加载时机 |
|---|---|---|
| 创建HTML文件(纯CSS或带--gsap参数的GSAP版本) | 启动新项目时 |
| 主题驱动的SVG生成辅助工具 | 创建自定义插画时 |
| GSAP + CSS动画模式 | 实现动画效果时 |
| 叙事结构 + HTML模板 | 构建章节时 |
| 主题→SVG元素映射、模板 | 创建主题相关插画时 |
| 包含全部5个SVG的完整示例 | 学习SVG构图模式时 |
| 完整设计系统参考 | 深度自定义时 |
| GSAP + ScrollTrigger配方 | 使用GSAP动画风格时 |
| IntersectionObserver配方 | 使用纯CSS动画风格时 |
| 视觉一致性 + 配色氛围SVG样式 | 确保设计质量一致时 |
| File | Animation | Description |
|---|---|---|
| GSAP | Full experience with orbit SVGs, draw animations, parallax |
| CSS-only | Lightweight with IntersectionObserver reveals |
| 文件 | 动画类型 | 描述 |
|---|---|---|
| GSAP | 完整体验,包含轨道SVG、绘制动画、视差滚动 |
| 纯CSS | 轻量级,使用IntersectionObserver渐显效果 |
bash scripts/generate.sh project-name <palette> [--gsap]bash scripts/generate.sh project-name <palette> [--gsap]prefers-reduced-motionprefers-reduced-motion