kasaframe 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +298 -0
- package/README.md +16 -3
- package/docs/AGENTS.md +1 -1
- package/package.json +1 -1
- package/packages/adapters/src/project.ts +4 -0
- package/packages/adapters/src/texture.ts +94 -0
- package/packages/cli/src/cells.ts +227 -0
- package/packages/cli/src/commands/doctor.ts +15 -2
- package/packages/cli/src/commands/fonts.ts +118 -0
- package/packages/cli/src/commands/make.ts +77 -9
- package/packages/cli/src/commands/new.ts +2 -2
- package/packages/cli/src/commands/theme.ts +141 -10
- package/packages/cli/src/commands/update.ts +66 -0
- package/packages/cli/src/fonts.ts +405 -0
- package/packages/cli/src/kf.ts +5 -0
- package/packages/cli/src/lock.ts +8 -6
- package/packages/cli/src/pick.ts +110 -0
- package/packages/cli/src/update.ts +250 -0
- package/packages/cli/src/vary.ts +124 -0
- package/packages/core/src/index.ts +1 -1
- package/packages/core/src/project.ts +15 -0
- package/packages/director/src/assemble.ts +6 -3
- package/packages/motion/src/moves/menu.ts +2 -1
- package/packages/patterns/src/kit.ts +3 -2
- package/packages/plan/src/asks.ts +25 -16
- package/packages/plan/src/index.ts +2 -2
- package/packages/plan/src/plan.ts +4 -2
- package/packages/plan/src/themes.ts +71 -9
- package/packages/plan/src/types.ts +3 -0
- package/packages/themes/kit/THEME-MAKE.md +2 -1
- package/packages/themes/kit/fonts/display.json +3517 -0
- package/packages/themes/kit/fonts/sans.json +5155 -0
- package/packages/themes/kit/fonts/serif.json +5229 -0
- package/packages/themes/kit/fonts.json +907 -0
- package/packages/themes/package.json +8 -1
- package/packages/themes/src/color.ts +152 -0
- package/packages/themes/src/fontfile.ts +183 -0
- package/packages/themes/src/fonts.ts +296 -0
- package/packages/themes/src/fx.ts +4 -2
- package/packages/themes/src/index.ts +75 -3
- package/packages/themes/src/look.ts +249 -0
- package/packages/themes/src/name.ts +9 -0
- package/packages/themes/src/palette.ts +194 -0
- package/packages/themes/src/slotkit.ts +14 -1
- package/packages/themes/src/slots.ts +17 -2
- package/packages/themes/src/types.ts +89 -0
- package/packages/themes/src/vary.ts +291 -0
- package/presets/kawaii-pastel.json +2 -2
- package/skills/kasaframe/SKILL.md +1 -0
- package/themes/blueprint/THEME.md +64 -0
- package/themes/blueprint/effects.ts +570 -0
- package/themes/blueprint/sample/beats.json +1005 -0
- package/themes/blueprint/sample/index.html +11 -0
- package/themes/blueprint/sample/kf.json +59 -0
- package/themes/blueprint/sample/lib/facts.ts +29 -0
- package/themes/blueprint/sample/lib/sheet.ts +55 -0
- package/themes/blueprint/sample/main.ts +9 -0
- package/themes/blueprint/sample/scenes/end.ts +91 -0
- package/themes/blueprint/sample/scenes/gather.ts +75 -0
- package/themes/blueprint/sample/scenes/models.ts +117 -0
- package/themes/blueprint/sample/scenes/price.ts +94 -0
- package/themes/blueprint/sample/style.json +114 -0
- package/themes/blueprint/slots.ts +88 -0
- package/themes/blueprint/still.png +0 -0
- package/themes/blueprint/style.json +114 -0
- package/themes/blueprint/theme.json +139 -0
- package/themes/blueprint/variants/deep-rose-2.json +90 -0
- package/themes/blueprint/variants/deep-rose-suit.json +117 -0
- package/themes/blueprint/variants/deep-rose.json +117 -0
- package/themes/blueprint/variants/navy-coral-2.json +118 -0
- package/themes/blueprint/variants/navy-coral-suit.json +118 -0
- package/themes/blueprint/variants/navy-coral.json +128 -0
- package/themes/blueprint/variants/navy-orange-2.json +118 -0
- package/themes/blueprint/variants/navy-orange-3.json +91 -0
- package/themes/blueprint/variants/navy-orange-4.json +128 -0
- package/themes/blueprint/variants/navy-orange-mono.json +128 -0
- package/themes/blueprint/variants/navy-orange-plex.json +128 -0
- package/themes/blueprint/variants/navy-orange-suit.json +118 -0
- package/themes/blueprint/variants/navy-orange.json +118 -0
- package/themes/blueprint/variants/navy-rose-plex.json +127 -0
- package/themes/blueprint/variants/navy-rose.json +127 -0
- package/themes/cartography/THEME.md +61 -0
- package/themes/cartography/effects.ts +845 -0
- package/themes/cartography/sample/assets/og/logo.svg +12 -0
- package/themes/cartography/sample/beats.json +1005 -0
- package/themes/cartography/sample/index.html +11 -0
- package/themes/cartography/sample/kf.json +59 -0
- package/themes/cartography/sample/lib/facts.ts +29 -0
- package/themes/cartography/sample/lib/map.ts +39 -0
- package/themes/cartography/sample/main.ts +9 -0
- package/themes/cartography/sample/scenes/end.ts +56 -0
- package/themes/cartography/sample/scenes/gather.ts +46 -0
- package/themes/cartography/sample/scenes/models.ts +43 -0
- package/themes/cartography/sample/scenes/price.ts +73 -0
- package/themes/cartography/sample/style.json +103 -0
- package/themes/cartography/slots.ts +87 -0
- package/themes/cartography/still.png +0 -0
- package/themes/cartography/style.json +103 -0
- package/themes/cartography/theme.json +162 -0
- package/themes/cartography/variants/blush-amber.json +128 -0
- package/themes/cartography/variants/blush-indigo.json +128 -0
- package/themes/cartography/variants/blush-pink.json +136 -0
- package/themes/cartography/variants/chalk-plum.json +137 -0
- package/themes/cartography/variants/chalk-sky.json +100 -0
- package/themes/cartography/variants/cocoa-amber.json +128 -0
- package/themes/cartography/variants/deep-plum.json +125 -0
- package/themes/cartography/variants/dusk-coral.json +128 -0
- package/themes/cartography/variants/forest-lime.json +131 -0
- package/themes/cartography/variants/frost-teal.json +128 -0
- package/themes/cartography/variants/navy-green.json +131 -0
- package/themes/cartography/variants/navy-indigo.json +138 -0
- package/themes/cartography/variants/navy-sky.json +100 -0
- package/themes/cartography/variants/sage-green.json +127 -0
- package/themes/cartography/variants/wine-teal.json +128 -0
- package/themes/circuit-board/THEME.md +61 -0
- package/themes/circuit-board/effects.ts +576 -0
- package/themes/circuit-board/pcb.ts +103 -0
- package/themes/circuit-board/sample/assets/og/logo.svg +12 -0
- package/themes/circuit-board/sample/beats.json +1005 -0
- package/themes/circuit-board/sample/index.html +11 -0
- package/themes/circuit-board/sample/kf.json +59 -0
- package/themes/circuit-board/sample/lib/facts.ts +29 -0
- package/themes/circuit-board/sample/lib/kit.ts +45 -0
- package/themes/circuit-board/sample/main.ts +9 -0
- package/themes/circuit-board/sample/scenes/end.ts +102 -0
- package/themes/circuit-board/sample/scenes/gather.ts +76 -0
- package/themes/circuit-board/sample/scenes/models.ts +101 -0
- package/themes/circuit-board/sample/scenes/price.ts +109 -0
- package/themes/circuit-board/sample/style.json +104 -0
- package/themes/circuit-board/slots.ts +108 -0
- package/themes/circuit-board/still.png +0 -0
- package/themes/circuit-board/style.json +104 -0
- package/themes/circuit-board/theme.json +151 -0
- package/themes/circuit-board/variants/deep-gold-plex.json +133 -0
- package/themes/circuit-board/variants/deep-gold.json +123 -0
- package/themes/circuit-board/variants/dusk-gold-grain.json +138 -0
- package/themes/circuit-board/variants/dusk-gold-pretendard.json +118 -0
- package/themes/circuit-board/variants/dusk-gold.json +97 -0
- package/themes/circuit-board/variants/forest-gold-2.json +96 -0
- package/themes/circuit-board/variants/forest-gold-grain.json +129 -0
- package/themes/circuit-board/variants/forest-gold-mono.json +124 -0
- package/themes/circuit-board/variants/forest-gold.json +128 -0
- package/themes/circuit-board/variants/navy-gold-grain.json +124 -0
- package/themes/circuit-board/variants/navy-gold.json +101 -0
- package/themes/circuit-board/variants/wine-gold-grain.json +128 -0
- package/themes/circuit-board/variants/wine-gold-plex.json +133 -0
- package/themes/circuit-board/variants/wine-gold-pretendard.json +118 -0
- package/themes/circuit-board/variants/wine-gold.json +128 -0
- package/themes/clay-toy/THEME.md +73 -0
- package/themes/clay-toy/effects.ts +643 -0
- package/themes/clay-toy/glyphs.ts +32 -0
- package/themes/clay-toy/sample/assets/og/logo.svg +12 -0
- package/themes/clay-toy/sample/beats.json +1005 -0
- package/themes/clay-toy/sample/index.html +11 -0
- package/themes/clay-toy/sample/kf.json +59 -0
- package/themes/clay-toy/sample/lib/clay.ts +20 -0
- package/themes/clay-toy/sample/lib/facts.ts +29 -0
- package/themes/clay-toy/sample/main.ts +9 -0
- package/themes/clay-toy/sample/scenes/end.ts +81 -0
- package/themes/clay-toy/sample/scenes/gather.ts +53 -0
- package/themes/clay-toy/sample/scenes/models.ts +77 -0
- package/themes/clay-toy/sample/scenes/price.ts +91 -0
- package/themes/clay-toy/sample/style.json +101 -0
- package/themes/clay-toy/slots.ts +132 -0
- package/themes/clay-toy/still.png +0 -0
- package/themes/clay-toy/style.json +101 -0
- package/themes/clay-toy/theme.json +148 -0
- package/themes/clay-toy/variants/blush-coral-grain.json +126 -0
- package/themes/clay-toy/variants/blush-coral.json +123 -0
- package/themes/clay-toy/variants/chalk-indigo.json +97 -0
- package/themes/clay-toy/variants/chalk-jade.json +125 -0
- package/themes/clay-toy/variants/chalk-teal.json +120 -0
- package/themes/clay-toy/variants/frost-orange.json +125 -0
- package/themes/clay-toy/variants/frost-sky-grain.json +126 -0
- package/themes/clay-toy/variants/frost-sky.json +121 -0
- package/themes/clay-toy/variants/frost-teal.json +120 -0
- package/themes/clay-toy/variants/lilac-green.json +120 -0
- package/themes/clay-toy/variants/lilac-plum-round.json +120 -0
- package/themes/clay-toy/variants/lilac-plum.json +124 -0
- package/themes/clay-toy/variants/sage-indigo.json +125 -0
- package/themes/clay-toy/variants/sage-magenta.json +119 -0
- package/themes/clay-toy/variants/sand-amber.json +125 -0
- package/themes/conveyor-factory/THEME.md +71 -0
- package/themes/conveyor-factory/effects.ts +744 -0
- package/themes/conveyor-factory/sample/assets/og/logo.svg +12 -0
- package/themes/conveyor-factory/sample/beats.json +1005 -0
- package/themes/conveyor-factory/sample/index.html +11 -0
- package/themes/conveyor-factory/sample/kf.json +59 -0
- package/themes/conveyor-factory/sample/lib/factory.ts +48 -0
- package/themes/conveyor-factory/sample/lib/facts.ts +29 -0
- package/themes/conveyor-factory/sample/main.ts +9 -0
- package/themes/conveyor-factory/sample/scenes/end.ts +44 -0
- package/themes/conveyor-factory/sample/scenes/gather.ts +47 -0
- package/themes/conveyor-factory/sample/scenes/models.ts +91 -0
- package/themes/conveyor-factory/sample/scenes/price.ts +77 -0
- package/themes/conveyor-factory/sample/style.json +107 -0
- package/themes/conveyor-factory/slots.ts +121 -0
- package/themes/conveyor-factory/still.png +0 -0
- package/themes/conveyor-factory/style.json +107 -0
- package/themes/conveyor-factory/theme.json +144 -0
- package/themes/conveyor-factory/variants/cocoa-gold.json +125 -0
- package/themes/conveyor-factory/variants/dusk-gold.json +135 -0
- package/themes/conveyor-factory/variants/forest-gold.json +135 -0
- package/themes/conveyor-factory/variants/navy-amber.json +93 -0
- package/themes/conveyor-factory/variants/navy-gold.json +120 -0
- package/themes/conveyor-factory/variants/slate-amber-2.json +120 -0
- package/themes/conveyor-factory/variants/slate-amber-grain.json +125 -0
- package/themes/conveyor-factory/variants/slate-amber-suit.json +120 -0
- package/themes/conveyor-factory/variants/slate-amber.json +125 -0
- package/themes/conveyor-factory/variants/slate-gold-bold.json +120 -0
- package/themes/conveyor-factory/variants/slate-gold.json +120 -0
- package/themes/data-journal/THEME.md +74 -0
- package/themes/data-journal/effects.ts +570 -0
- package/themes/data-journal/sample/assets/og/logo.svg +12 -0
- package/themes/data-journal/sample/beats.json +1005 -0
- package/themes/data-journal/sample/index.html +11 -0
- package/themes/data-journal/sample/kf.json +59 -0
- package/themes/data-journal/sample/lib/facts.ts +29 -0
- package/themes/data-journal/sample/lib/page.ts +25 -0
- package/themes/data-journal/sample/main.ts +9 -0
- package/themes/data-journal/sample/scenes/end.ts +69 -0
- package/themes/data-journal/sample/scenes/gather.ts +58 -0
- package/themes/data-journal/sample/scenes/models.ts +51 -0
- package/themes/data-journal/sample/scenes/price.ts +73 -0
- package/themes/data-journal/sample/style.json +114 -0
- package/themes/data-journal/slots.ts +119 -0
- package/themes/data-journal/still.png +0 -0
- package/themes/data-journal/style.json +114 -0
- package/themes/data-journal/theme.json +142 -0
- package/themes/data-journal/variants/blush-green.json +129 -0
- package/themes/data-journal/variants/chalk-magenta.json +138 -0
- package/themes/data-journal/variants/cocoa-amber.json +140 -0
- package/themes/data-journal/variants/cocoa-sky.json +130 -0
- package/themes/data-journal/variants/deep-coral.json +135 -0
- package/themes/data-journal/variants/dusk-plum.json +132 -0
- package/themes/data-journal/variants/forest-green.json +138 -0
- package/themes/data-journal/variants/frost-indigo.json +141 -0
- package/themes/data-journal/variants/lilac-amber.json +141 -0
- package/themes/data-journal/variants/navy-indigo.json +131 -0
- package/themes/data-journal/variants/navy-lime.json +128 -0
- package/themes/data-journal/variants/snow-sky.json +125 -0
- package/themes/data-journal/variants/wine-indigo.json +129 -0
- package/themes/data-journal/variants/wine-magenta.json +138 -0
- package/themes/data-journal/variants/wine-teal.json +97 -0
- package/themes/debug-hud/sample/style.json +1 -1
- package/themes/debug-hud/style.json +1 -1
- package/themes/debug-hud/theme.json +57 -0
- package/themes/debug-hud/variants/cocoa-gold.json +113 -0
- package/themes/debug-hud/variants/cocoa-teal.json +119 -0
- package/themes/debug-hud/variants/deep-cyan.json +85 -0
- package/themes/debug-hud/variants/deep-teal-scan.json +118 -0
- package/themes/debug-hud/variants/deep-teal.json +112 -0
- package/themes/debug-hud/variants/dusk-plum.json +116 -0
- package/themes/debug-hud/variants/dusk-violet.json +112 -0
- package/themes/debug-hud/variants/forest-amber.json +86 -0
- package/themes/debug-hud/variants/forest-lime.json +117 -0
- package/themes/debug-hud/variants/forest-magenta.json +111 -0
- package/themes/debug-hud/variants/navy-jade.json +79 -0
- package/themes/debug-hud/variants/slate-green.json +112 -0
- package/themes/debug-hud/variants/wine-gold.json +119 -0
- package/themes/debug-hud/variants/wine-jade.json +83 -0
- package/themes/debug-hud/variants/wine-sky.json +112 -0
- package/themes/depth-flight/THEME.md +54 -0
- package/themes/depth-flight/effects.ts +396 -0
- package/themes/depth-flight/sample/assets/og/logo.svg +12 -0
- package/themes/depth-flight/sample/beats.json +1005 -0
- package/themes/depth-flight/sample/index.html +11 -0
- package/themes/depth-flight/sample/kf.json +59 -0
- package/themes/depth-flight/sample/lib/facts.ts +29 -0
- package/themes/depth-flight/sample/lib/fly.ts +15 -0
- package/themes/depth-flight/sample/main.ts +9 -0
- package/themes/depth-flight/sample/scenes/end.ts +51 -0
- package/themes/depth-flight/sample/scenes/gather.ts +40 -0
- package/themes/depth-flight/sample/scenes/models.ts +75 -0
- package/themes/depth-flight/sample/scenes/price.ts +50 -0
- package/themes/depth-flight/sample/style.json +94 -0
- package/themes/depth-flight/slots.ts +196 -0
- package/themes/depth-flight/still.png +0 -0
- package/themes/depth-flight/style.json +94 -0
- package/themes/depth-flight/theme.json +121 -0
- package/themes/depth-flight/variants/cocoa-cyan.json +121 -0
- package/themes/depth-flight/variants/cocoa-indigo.json +121 -0
- package/themes/depth-flight/variants/cocoa-violet.json +122 -0
- package/themes/depth-flight/variants/deep-sky.json +126 -0
- package/themes/depth-flight/variants/dusk-violet-bold.json +117 -0
- package/themes/depth-flight/variants/dusk-violet.json +132 -0
- package/themes/depth-flight/variants/forest-blue.json +116 -0
- package/themes/depth-flight/variants/forest-cyan.json +122 -0
- package/themes/depth-flight/variants/navy-sky-grain.json +122 -0
- package/themes/depth-flight/variants/navy-sky.json +116 -0
- package/themes/depth-flight/variants/night-teal.json +116 -0
- package/themes/depth-flight/variants/slate-cyan.json +127 -0
- package/themes/depth-flight/variants/slate-indigo.json +116 -0
- package/themes/depth-flight/variants/slate-sky.json +94 -0
- package/themes/depth-flight/variants/slate-violet.json +121 -0
- package/themes/film-reel/THEME.md +60 -0
- package/themes/film-reel/effects.ts +477 -0
- package/themes/film-reel/sample/assets/og/logo.svg +12 -0
- package/themes/film-reel/sample/beats.json +1005 -0
- package/themes/film-reel/sample/index.html +11 -0
- package/themes/film-reel/sample/kf.json +59 -0
- package/themes/film-reel/sample/lib/facts.ts +29 -0
- package/themes/film-reel/sample/lib/reel.ts +9 -0
- package/themes/film-reel/sample/main.ts +9 -0
- package/themes/film-reel/sample/scenes/end.ts +31 -0
- package/themes/film-reel/sample/scenes/gather.ts +40 -0
- package/themes/film-reel/sample/scenes/models.ts +37 -0
- package/themes/film-reel/sample/scenes/price.ts +63 -0
- package/themes/film-reel/sample/style.json +103 -0
- package/themes/film-reel/slots.ts +75 -0
- package/themes/film-reel/still.png +0 -0
- package/themes/film-reel/style.json +103 -0
- package/themes/film-reel/theme.json +144 -0
- package/themes/film-reel/variants/chalk-amber.json +124 -0
- package/themes/film-reel/variants/chalk-pink.json +123 -0
- package/themes/film-reel/variants/cream-violet.json +121 -0
- package/themes/film-reel/variants/frost-blue.json +126 -0
- package/themes/film-reel/variants/frost-green.json +123 -0
- package/themes/film-reel/variants/frost-indigo.json +121 -0
- package/themes/film-reel/variants/frost-jade.json +120 -0
- package/themes/film-reel/variants/frost-plum.json +120 -0
- package/themes/film-reel/variants/frost-teal.json +93 -0
- package/themes/film-reel/variants/lilac-gold.json +120 -0
- package/themes/film-reel/variants/lilac-jade.json +123 -0
- package/themes/film-reel/variants/lilac-magenta.json +125 -0
- package/themes/film-reel/variants/lilac-violet.json +122 -0
- package/themes/film-reel/variants/sand-cyan.json +124 -0
- package/themes/film-reel/variants/sand-lime.json +96 -0
- package/themes/glass-light/THEME.md +55 -0
- package/themes/glass-light/effects.ts +433 -0
- package/themes/glass-light/sample/assets/og/logo.svg +12 -0
- package/themes/glass-light/sample/beats.json +1005 -0
- package/themes/glass-light/sample/index.html +11 -0
- package/themes/glass-light/sample/kf.json +59 -0
- package/themes/glass-light/sample/lib/facts.ts +29 -0
- package/themes/glass-light/sample/lib/glass.ts +81 -0
- package/themes/glass-light/sample/main.ts +9 -0
- package/themes/glass-light/sample/scenes/end.ts +43 -0
- package/themes/glass-light/sample/scenes/gather.ts +38 -0
- package/themes/glass-light/sample/scenes/models.ts +46 -0
- package/themes/glass-light/sample/scenes/price.ts +46 -0
- package/themes/glass-light/sample/style.json +94 -0
- package/themes/glass-light/slots.ts +198 -0
- package/themes/glass-light/still.png +0 -0
- package/themes/glass-light/style.json +94 -0
- package/themes/glass-light/theme.json +121 -0
- package/themes/glass-light/variants/blush-coral.json +116 -0
- package/themes/glass-light/variants/blush-orange.json +115 -0
- package/themes/glass-light/variants/blush-pink.json +119 -0
- package/themes/glass-light/variants/blush-plum.json +115 -0
- package/themes/glass-light/variants/blush-teal.json +115 -0
- package/themes/glass-light/variants/cream-blue.json +125 -0
- package/themes/glass-light/variants/cream-pink.json +87 -0
- package/themes/glass-light/variants/cream-violet.json +119 -0
- package/themes/glass-light/variants/frost-green.json +115 -0
- package/themes/glass-light/variants/frost-sky-suit.json +115 -0
- package/themes/glass-light/variants/frost-sky.json +121 -0
- package/themes/glass-light/variants/lilac-gold.json +126 -0
- package/themes/glass-light/variants/lilac-plum.json +114 -0
- package/themes/glass-light/variants/sage-green.json +119 -0
- package/themes/glass-light/variants/sage-rose.json +114 -0
- package/themes/ink-wash/THEME.md +59 -0
- package/themes/ink-wash/effects.ts +574 -0
- package/themes/ink-wash/sample/assets/og/logo.svg +12 -0
- package/themes/ink-wash/sample/beats.json +1005 -0
- package/themes/ink-wash/sample/index.html +11 -0
- package/themes/ink-wash/sample/kf.json +59 -0
- package/themes/ink-wash/sample/lib/facts.ts +29 -0
- package/themes/ink-wash/sample/lib/ink.ts +35 -0
- package/themes/ink-wash/sample/main.ts +9 -0
- package/themes/ink-wash/sample/scenes/end.ts +72 -0
- package/themes/ink-wash/sample/scenes/gather.ts +53 -0
- package/themes/ink-wash/sample/scenes/models.ts +58 -0
- package/themes/ink-wash/sample/scenes/price.ts +85 -0
- package/themes/ink-wash/sample/style.json +108 -0
- package/themes/ink-wash/slots.ts +150 -0
- package/themes/ink-wash/still.png +0 -0
- package/themes/ink-wash/style.json +108 -0
- package/themes/ink-wash/theme.json +133 -0
- package/themes/ink-wash/variants/blush-orange.json +125 -0
- package/themes/ink-wash/variants/blush-rose.json +124 -0
- package/themes/ink-wash/variants/chalk-coral-grain.json +125 -0
- package/themes/ink-wash/variants/chalk-coral-serif.json +118 -0
- package/themes/ink-wash/variants/chalk-coral.json +120 -0
- package/themes/ink-wash/variants/chalk-orange-grain.json +97 -0
- package/themes/ink-wash/variants/chalk-orange-serif.json +120 -0
- package/themes/ink-wash/variants/chalk-orange.json +120 -0
- package/themes/ink-wash/variants/frost-coral.json +119 -0
- package/themes/ink-wash/variants/frost-rose.json +91 -0
- package/themes/ink-wash/variants/lilac-coral.json +96 -0
- package/themes/ink-wash/variants/sage-coral.json +119 -0
- package/themes/ink-wash/variants/sage-rose.json +119 -0
- package/themes/ink-wash/variants/sand-coral.json +125 -0
- package/themes/ink-wash/variants/sand-orange.json +120 -0
- package/themes/iso-diorama/THEME.md +54 -0
- package/themes/iso-diorama/effects.ts +374 -0
- package/themes/iso-diorama/sample/assets/og/logo.svg +12 -0
- package/themes/iso-diorama/sample/beats.json +1005 -0
- package/themes/iso-diorama/sample/index.html +11 -0
- package/themes/iso-diorama/sample/kf.json +59 -0
- package/themes/iso-diorama/sample/lib/facts.ts +29 -0
- package/themes/iso-diorama/sample/lib/iso.ts +22 -0
- package/themes/iso-diorama/sample/main.ts +9 -0
- package/themes/iso-diorama/sample/scenes/end.ts +41 -0
- package/themes/iso-diorama/sample/scenes/gather.ts +39 -0
- package/themes/iso-diorama/sample/scenes/models.ts +55 -0
- package/themes/iso-diorama/sample/scenes/price.ts +49 -0
- package/themes/iso-diorama/sample/style.json +98 -0
- package/themes/iso-diorama/slots.ts +222 -0
- package/themes/iso-diorama/still.png +0 -0
- package/themes/iso-diorama/style.json +98 -0
- package/themes/iso-diorama/theme.json +133 -0
- package/themes/iso-diorama/variants/chalk-plum.json +121 -0
- package/themes/iso-diorama/variants/cocoa-gold.json +93 -0
- package/themes/iso-diorama/variants/cocoa-indigo.json +122 -0
- package/themes/iso-diorama/variants/cocoa-rose.json +125 -0
- package/themes/iso-diorama/variants/deep-green.json +125 -0
- package/themes/iso-diorama/variants/deep-plum.json +120 -0
- package/themes/iso-diorama/variants/dusk-blue.json +126 -0
- package/themes/iso-diorama/variants/dusk-coral.json +122 -0
- package/themes/iso-diorama/variants/dusk-jade.json +121 -0
- package/themes/iso-diorama/variants/forest-cyan.json +127 -0
- package/themes/iso-diorama/variants/frost-blue.json +126 -0
- package/themes/iso-diorama/variants/frost-green.json +126 -0
- package/themes/iso-diorama/variants/frost-orange.json +125 -0
- package/themes/iso-diorama/variants/frost-teal.json +123 -0
- package/themes/iso-diorama/variants/navy-amber.json +125 -0
- package/themes/isotype/THEME.md +58 -0
- package/themes/isotype/effects.ts +297 -0
- package/themes/isotype/kit.ts +102 -0
- package/themes/isotype/sample/assets/og/logo.svg +12 -0
- package/themes/isotype/sample/beats.json +1005 -0
- package/themes/isotype/sample/index.html +11 -0
- package/themes/isotype/sample/kf.json +59 -0
- package/themes/isotype/sample/lib/chart.ts +47 -0
- package/themes/isotype/sample/lib/facts.ts +29 -0
- package/themes/isotype/sample/main.ts +9 -0
- package/themes/isotype/sample/scenes/end.ts +80 -0
- package/themes/isotype/sample/scenes/gather.ts +65 -0
- package/themes/isotype/sample/scenes/models.ts +75 -0
- package/themes/isotype/sample/scenes/price.ts +90 -0
- package/themes/isotype/sample/style.json +101 -0
- package/themes/isotype/slots.ts +74 -0
- package/themes/isotype/still.png +0 -0
- package/themes/isotype/style.json +101 -0
- package/themes/isotype/theme.json +141 -0
- package/themes/isotype/variants/blush-rose.json +127 -0
- package/themes/isotype/variants/chalk-amber.json +123 -0
- package/themes/isotype/variants/chalk-coral-bold.json +118 -0
- package/themes/isotype/variants/chalk-coral.json +117 -0
- package/themes/isotype/variants/chalk-orange.json +128 -0
- package/themes/isotype/variants/frost-amber-plex.json +128 -0
- package/themes/isotype/variants/frost-amber.json +123 -0
- package/themes/isotype/variants/frost-coral-grain.json +95 -0
- package/themes/isotype/variants/frost-coral.json +123 -0
- package/themes/isotype/variants/frost-orange.json +123 -0
- package/themes/isotype/variants/lilac-rose.json +127 -0
- package/themes/isotype/variants/sage-coral.json +90 -0
- package/themes/isotype/variants/sand-amber.json +118 -0
- package/themes/isotype/variants/sand-orange.json +128 -0
- package/themes/kawaii-sticker/THEME.md +44 -0
- package/themes/kawaii-sticker/effects.ts +412 -0
- package/themes/kawaii-sticker/sample/assets/stickers/bolt.png +0 -0
- package/themes/kawaii-sticker/sample/assets/stickers/bubble.png +0 -0
- package/themes/kawaii-sticker/sample/assets/stickers/clock.png +0 -0
- package/themes/kawaii-sticker/sample/assets/stickers/coin.png +0 -0
- package/themes/kawaii-sticker/sample/assets/stickers/moon.png +0 -0
- package/themes/kawaii-sticker/sample/assets/stickers/og-logo.svg +12 -0
- package/themes/kawaii-sticker/sample/assets/stickers/server.png +0 -0
- package/themes/kawaii-sticker/sample/beats.json +1 -0
- package/themes/kawaii-sticker/sample/index.html +11 -0
- package/themes/kawaii-sticker/sample/kf.json +66 -0
- package/themes/kawaii-sticker/sample/lib/og.ts +54 -0
- package/themes/kawaii-sticker/sample/main.ts +9 -0
- package/themes/kawaii-sticker/sample/scenes/end.ts +37 -0
- package/themes/kawaii-sticker/sample/scenes/gather.ts +50 -0
- package/themes/kawaii-sticker/sample/scenes/models.ts +43 -0
- package/themes/kawaii-sticker/sample/scenes/one.ts +45 -0
- package/themes/kawaii-sticker/sample/scenes/price.ts +47 -0
- package/themes/kawaii-sticker/sample/style.json +99 -0
- package/themes/kawaii-sticker/slots.ts +95 -0
- package/themes/kawaii-sticker/still.png +0 -0
- package/themes/kawaii-sticker/style.json +99 -0
- package/themes/kawaii-sticker/theme.json +147 -0
- package/themes/kawaii-sticker/variants/blush-coral.json +134 -0
- package/themes/kawaii-sticker/variants/blush-teal.json +129 -0
- package/themes/kawaii-sticker/variants/blush-violet.json +134 -0
- package/themes/kawaii-sticker/variants/cream-gold.json +135 -0
- package/themes/kawaii-sticker/variants/deep-jade.json +134 -0
- package/themes/kawaii-sticker/variants/dusk-green.json +134 -0
- package/themes/kawaii-sticker/variants/dusk-indigo.json +130 -0
- package/themes/kawaii-sticker/variants/dusk-sky.json +135 -0
- package/themes/kawaii-sticker/variants/dusk-teal.json +134 -0
- package/themes/kawaii-sticker/variants/frost-blue.json +135 -0
- package/themes/kawaii-sticker/variants/frost-plum.json +133 -0
- package/themes/kawaii-sticker/variants/lilac-violet.json +133 -0
- package/themes/kawaii-sticker/variants/navy-gold.json +134 -0
- package/themes/kawaii-sticker/variants/navy-plum.json +134 -0
- package/themes/kawaii-sticker/variants/sage-sky.json +107 -0
- package/themes/lab-notebook/THEME.md +56 -0
- package/themes/lab-notebook/effects.ts +423 -0
- package/themes/lab-notebook/kit.ts +84 -0
- package/themes/lab-notebook/sample/assets/og/logo.svg +12 -0
- package/themes/lab-notebook/sample/beats.json +1005 -0
- package/themes/lab-notebook/sample/index.html +11 -0
- package/themes/lab-notebook/sample/kf.json +59 -0
- package/themes/lab-notebook/sample/lib/facts.ts +29 -0
- package/themes/lab-notebook/sample/lib/note.ts +53 -0
- package/themes/lab-notebook/sample/main.ts +9 -0
- package/themes/lab-notebook/sample/scenes/end.ts +127 -0
- package/themes/lab-notebook/sample/scenes/gather.ts +83 -0
- package/themes/lab-notebook/sample/scenes/models.ts +73 -0
- package/themes/lab-notebook/sample/scenes/price.ts +89 -0
- package/themes/lab-notebook/sample/style.json +109 -0
- package/themes/lab-notebook/slots.ts +75 -0
- package/themes/lab-notebook/still.png +0 -0
- package/themes/lab-notebook/style.json +109 -0
- package/themes/lab-notebook/theme.json +142 -0
- package/themes/lab-notebook/variants/blush-orange.json +125 -0
- package/themes/lab-notebook/variants/chalk-coral.json +126 -0
- package/themes/lab-notebook/variants/chalk-orange.json +129 -0
- package/themes/lab-notebook/variants/chalk-rose-2.json +96 -0
- package/themes/lab-notebook/variants/chalk-rose.json +125 -0
- package/themes/lab-notebook/variants/frost-orange.json +101 -0
- package/themes/lab-notebook/variants/frost-rose-grain.json +101 -0
- package/themes/lab-notebook/variants/frost-rose.json +96 -0
- package/themes/lab-notebook/variants/lilac-rose-2.json +96 -0
- package/themes/lab-notebook/variants/lilac-rose.json +128 -0
- package/themes/lab-notebook/variants/sage-rose.json +124 -0
- package/themes/lab-notebook/variants/sand-orange-grain.json +101 -0
- package/themes/lab-notebook/variants/sand-orange.json +129 -0
- package/themes/lab-notebook/variants/snow-orange.json +129 -0
- package/themes/lab-notebook/variants/snow-rose.json +124 -0
- package/themes/manga-panel/THEME.md +60 -0
- package/themes/manga-panel/effects.ts +791 -0
- package/themes/manga-panel/sample/assets/og/logo.svg +12 -0
- package/themes/manga-panel/sample/beats.json +1005 -0
- package/themes/manga-panel/sample/index.html +11 -0
- package/themes/manga-panel/sample/kf.json +59 -0
- package/themes/manga-panel/sample/lib/facts.ts +29 -0
- package/themes/manga-panel/sample/lib/manga.ts +58 -0
- package/themes/manga-panel/sample/main.ts +9 -0
- package/themes/manga-panel/sample/scenes/end.ts +96 -0
- package/themes/manga-panel/sample/scenes/gather.ts +100 -0
- package/themes/manga-panel/sample/scenes/models.ts +96 -0
- package/themes/manga-panel/sample/scenes/price.ts +154 -0
- package/themes/manga-panel/sample/style.json +105 -0
- package/themes/manga-panel/slots.ts +127 -0
- package/themes/manga-panel/still.png +0 -0
- package/themes/manga-panel/style.json +105 -0
- package/themes/manga-panel/theme.json +150 -0
- package/themes/manga-panel/variants/chalk-cyan-dots.json +122 -0
- package/themes/manga-panel/variants/chalk-cyan.json +122 -0
- package/themes/manga-panel/variants/chalk-magenta.json +121 -0
- package/themes/manga-panel/variants/chalk-orange-bold.json +117 -0
- package/themes/manga-panel/variants/chalk-orange.json +122 -0
- package/themes/manga-panel/variants/chalk-rose-dots.json +121 -0
- package/themes/manga-panel/variants/chalk-rose.json +116 -0
- package/themes/manga-panel/variants/chalk-sky-bold.json +117 -0
- package/themes/manga-panel/variants/chalk-sky.json +117 -0
- package/themes/manga-panel/variants/snow-cyan.json +117 -0
- package/themes/manga-panel/variants/snow-magenta-dots.json +121 -0
- package/themes/manga-panel/variants/snow-magenta.json +116 -0
- package/themes/manga-panel/variants/snow-rose-dots.json +121 -0
- package/themes/manga-panel/variants/snow-rose.json +116 -0
- package/themes/manga-panel/variants/snow-sky.json +95 -0
- package/themes/marble-run/THEME.md +73 -0
- package/themes/marble-run/effects.ts +678 -0
- package/themes/marble-run/sample/assets/og/logo.svg +12 -0
- package/themes/marble-run/sample/beats.json +1005 -0
- package/themes/marble-run/sample/index.html +11 -0
- package/themes/marble-run/sample/kf.json +59 -0
- package/themes/marble-run/sample/lib/facts.ts +29 -0
- package/themes/marble-run/sample/lib/run.ts +30 -0
- package/themes/marble-run/sample/main.ts +9 -0
- package/themes/marble-run/sample/scenes/end.ts +58 -0
- package/themes/marble-run/sample/scenes/gather.ts +51 -0
- package/themes/marble-run/sample/scenes/models.ts +73 -0
- package/themes/marble-run/sample/scenes/price.ts +51 -0
- package/themes/marble-run/sample/style.json +109 -0
- package/themes/marble-run/slots.ts +116 -0
- package/themes/marble-run/still.png +0 -0
- package/themes/marble-run/style.json +109 -0
- package/themes/marble-run/theme.json +147 -0
- package/themes/marble-run/variants/cocoa-amber.json +128 -0
- package/themes/marble-run/variants/cocoa-orange.json +142 -0
- package/themes/marble-run/variants/dusk-orange.json +133 -0
- package/themes/marble-run/variants/forest-gold.json +128 -0
- package/themes/marble-run/variants/navy-gold.json +137 -0
- package/themes/marble-run/variants/night-gold-grain.json +105 -0
- package/themes/marble-run/variants/night-gold.json +137 -0
- package/themes/marble-run/variants/slate-gold-grain.json +133 -0
- package/themes/marble-run/variants/slate-gold.json +133 -0
- package/themes/marble-run/variants/slate-orange-grain.json +105 -0
- package/themes/marble-run/variants/slate-orange-mono.json +128 -0
- package/themes/marble-run/variants/slate-orange-serif.json +128 -0
- package/themes/marble-run/variants/slate-orange.json +131 -0
- package/themes/neon-sign/THEME.md +59 -0
- package/themes/neon-sign/effects.ts +424 -0
- package/themes/neon-sign/sample/assets/og/logo.svg +12 -0
- package/themes/neon-sign/sample/beats.json +1005 -0
- package/themes/neon-sign/sample/index.html +11 -0
- package/themes/neon-sign/sample/kf.json +59 -0
- package/themes/neon-sign/sample/lib/facts.ts +29 -0
- package/themes/neon-sign/sample/lib/neon.ts +50 -0
- package/themes/neon-sign/sample/main.ts +9 -0
- package/themes/neon-sign/sample/scenes/end.ts +62 -0
- package/themes/neon-sign/sample/scenes/gather.ts +59 -0
- package/themes/neon-sign/sample/scenes/models.ts +63 -0
- package/themes/neon-sign/sample/scenes/price.ts +74 -0
- package/themes/neon-sign/sample/style.json +104 -0
- package/themes/neon-sign/slots.ts +110 -0
- package/themes/neon-sign/still.png +0 -0
- package/themes/neon-sign/style.json +104 -0
- package/themes/neon-sign/theme.json +137 -0
- package/themes/neon-sign/variants/deep-plum.json +121 -0
- package/themes/neon-sign/variants/deep-violet.json +121 -0
- package/themes/neon-sign/variants/dusk-plum.json +121 -0
- package/themes/neon-sign/variants/forest-magenta.json +126 -0
- package/themes/neon-sign/variants/forest-plum.json +98 -0
- package/themes/neon-sign/variants/night-coral.json +122 -0
- package/themes/neon-sign/variants/night-magenta-round.json +121 -0
- package/themes/neon-sign/variants/night-magenta.json +126 -0
- package/themes/neon-sign/variants/night-pink.json +125 -0
- package/themes/neon-sign/variants/night-violet.json +126 -0
- package/themes/neon-sign/variants/slate-plum.json +120 -0
- package/themes/neon-sign/variants/slate-violet.json +127 -0
- package/themes/neon-sign/variants/wine-coral.json +127 -0
- package/themes/neon-sign/variants/wine-pink.json +125 -0
- package/themes/neon-sign/variants/wine-plum.json +126 -0
- package/themes/newspaper/THEME.md +67 -0
- package/themes/newspaper/effects.ts +347 -0
- package/themes/newspaper/sample/assets/og/logo.svg +12 -0
- package/themes/newspaper/sample/beats.json +1005 -0
- package/themes/newspaper/sample/index.html +11 -0
- package/themes/newspaper/sample/kf.json +59 -0
- package/themes/newspaper/sample/lib/facts.ts +29 -0
- package/themes/newspaper/sample/lib/page.ts +27 -0
- package/themes/newspaper/sample/main.ts +9 -0
- package/themes/newspaper/sample/scenes/end.ts +62 -0
- package/themes/newspaper/sample/scenes/gather.ts +66 -0
- package/themes/newspaper/sample/scenes/models.ts +61 -0
- package/themes/newspaper/sample/scenes/price.ts +103 -0
- package/themes/newspaper/sample/style.json +100 -0
- package/themes/newspaper/slots.ts +73 -0
- package/themes/newspaper/still.png +0 -0
- package/themes/newspaper/style.json +100 -0
- package/themes/newspaper/theme.json +141 -0
- package/themes/newspaper/variants/blush-amber.json +123 -0
- package/themes/newspaper/variants/blush-orange.json +125 -0
- package/themes/newspaper/variants/chalk-cyan.json +119 -0
- package/themes/newspaper/variants/chalk-indigo.json +124 -0
- package/themes/newspaper/variants/chalk-jade.json +95 -0
- package/themes/newspaper/variants/chalk-magenta.json +127 -0
- package/themes/newspaper/variants/frost-plum.json +123 -0
- package/themes/newspaper/variants/frost-sky.json +129 -0
- package/themes/newspaper/variants/frost-violet.json +96 -0
- package/themes/newspaper/variants/lilac-coral.json +124 -0
- package/themes/newspaper/variants/lilac-green.json +127 -0
- package/themes/newspaper/variants/sage-blue.json +124 -0
- package/themes/newspaper/variants/sage-lime.json +117 -0
- package/themes/newspaper/variants/sand-gold.json +124 -0
- package/themes/newspaper/variants/sand-jade.json +123 -0
- package/themes/og-measure/THEME.md +32 -6
- package/themes/og-measure/effects.ts +219 -115
- package/themes/og-measure/sample/assets/brand/og-logo.svg +11 -11
- package/themes/og-measure/sample/lib/data.ts +6 -0
- package/themes/og-measure/sample/scenes/end.ts +14 -10
- package/themes/og-measure/sample/scenes/gather.ts +12 -1
- package/themes/og-measure/sample/scenes/models.ts +13 -2
- package/themes/og-measure/sample/scenes/one.ts +8 -6
- package/themes/og-measure/sample/scenes/price.ts +20 -3
- package/themes/og-measure/sample/style.json +30 -35
- package/themes/og-measure/slots.ts +25 -30
- package/themes/og-measure/still.png +0 -0
- package/themes/og-measure/style.json +30 -35
- package/themes/og-measure/theme.json +91 -14
- package/themes/og-measure/variants/snow-blue.json +90 -0
- package/themes/orbit-system/THEME.md +77 -0
- package/themes/orbit-system/effects.ts +665 -0
- package/themes/orbit-system/sample/assets/og/logo.svg +12 -0
- package/themes/orbit-system/sample/beats.json +1005 -0
- package/themes/orbit-system/sample/index.html +11 -0
- package/themes/orbit-system/sample/kf.json +59 -0
- package/themes/orbit-system/sample/lib/facts.ts +29 -0
- package/themes/orbit-system/sample/lib/orbit.ts +84 -0
- package/themes/orbit-system/sample/main.ts +9 -0
- package/themes/orbit-system/sample/scenes/end.ts +50 -0
- package/themes/orbit-system/sample/scenes/gather.ts +35 -0
- package/themes/orbit-system/sample/scenes/models.ts +49 -0
- package/themes/orbit-system/sample/scenes/price.ts +57 -0
- package/themes/orbit-system/sample/style.json +108 -0
- package/themes/orbit-system/slots.ts +174 -0
- package/themes/orbit-system/still.png +0 -0
- package/themes/orbit-system/style.json +108 -0
- package/themes/orbit-system/theme.json +144 -0
- package/themes/orbit-system/variants/cocoa-amber.json +122 -0
- package/themes/orbit-system/variants/cocoa-coral.json +127 -0
- package/themes/orbit-system/variants/cocoa-cyan.json +127 -0
- package/themes/orbit-system/variants/deep-cyan.json +132 -0
- package/themes/orbit-system/variants/deep-sky.json +122 -0
- package/themes/orbit-system/variants/dusk-magenta.json +121 -0
- package/themes/orbit-system/variants/dusk-plum-pretendard.json +121 -0
- package/themes/orbit-system/variants/dusk-plum.json +127 -0
- package/themes/orbit-system/variants/dusk-violet.json +122 -0
- package/themes/orbit-system/variants/forest-coral.json +126 -0
- package/themes/orbit-system/variants/forest-plum.json +94 -0
- package/themes/orbit-system/variants/navy-amber.json +127 -0
- package/themes/orbit-system/variants/wine-amber.json +127 -0
- package/themes/orbit-system/variants/wine-coral.json +123 -0
- package/themes/orbit-system/variants/wine-magenta.json +126 -0
- package/themes/origami-fold/THEME.md +74 -0
- package/themes/origami-fold/effects.ts +535 -0
- package/themes/origami-fold/sample/assets/og/logo.svg +12 -0
- package/themes/origami-fold/sample/beats.json +1005 -0
- package/themes/origami-fold/sample/index.html +11 -0
- package/themes/origami-fold/sample/kf.json +59 -0
- package/themes/origami-fold/sample/lib/facts.ts +29 -0
- package/themes/origami-fold/sample/lib/fold.ts +53 -0
- package/themes/origami-fold/sample/main.ts +9 -0
- package/themes/origami-fold/sample/scenes/end.ts +51 -0
- package/themes/origami-fold/sample/scenes/gather.ts +37 -0
- package/themes/origami-fold/sample/scenes/models.ts +46 -0
- package/themes/origami-fold/sample/scenes/price.ts +54 -0
- package/themes/origami-fold/sample/style.json +108 -0
- package/themes/origami-fold/slots.ts +176 -0
- package/themes/origami-fold/still.png +0 -0
- package/themes/origami-fold/style.json +108 -0
- package/themes/origami-fold/theme.json +125 -0
- package/themes/origami-fold/variants/deep-amber-sunflower.json +122 -0
- package/themes/origami-fold/variants/deep-amber.json +122 -0
- package/themes/origami-fold/variants/deep-orange.json +128 -0
- package/themes/origami-fold/variants/forest-coral.json +127 -0
- package/themes/origami-fold/variants/forest-pink.json +123 -0
- package/themes/origami-fold/variants/forest-rose.json +100 -0
- package/themes/origami-fold/variants/frost-amber-grain.json +127 -0
- package/themes/origami-fold/variants/frost-amber-paper.json +128 -0
- package/themes/origami-fold/variants/frost-amber.json +95 -0
- package/themes/origami-fold/variants/sage-coral-grain.json +100 -0
- package/themes/origami-fold/variants/sage-coral-sunflower.json +122 -0
- package/themes/origami-fold/variants/sage-coral.json +128 -0
- package/themes/origami-fold/variants/sage-pink-grain.json +127 -0
- package/themes/origami-fold/variants/sage-pink-round.json +124 -0
- package/themes/origami-fold/variants/sage-pink.json +127 -0
- package/themes/paper-cutout/THEME.md +63 -0
- package/themes/paper-cutout/effects.ts +609 -0
- package/themes/paper-cutout/sample/assets/og/logo.svg +12 -0
- package/themes/paper-cutout/sample/beats.json +1005 -0
- package/themes/paper-cutout/sample/index.html +11 -0
- package/themes/paper-cutout/sample/kf.json +59 -0
- package/themes/paper-cutout/sample/lib/facts.ts +29 -0
- package/themes/paper-cutout/sample/lib/paper.ts +91 -0
- package/themes/paper-cutout/sample/main.ts +9 -0
- package/themes/paper-cutout/sample/scenes/end.ts +54 -0
- package/themes/paper-cutout/sample/scenes/gather.ts +63 -0
- package/themes/paper-cutout/sample/scenes/models.ts +93 -0
- package/themes/paper-cutout/sample/scenes/price.ts +100 -0
- package/themes/paper-cutout/sample/style.json +104 -0
- package/themes/paper-cutout/slots.ts +87 -0
- package/themes/paper-cutout/still.png +0 -0
- package/themes/paper-cutout/style.json +104 -0
- package/themes/paper-cutout/theme.json +146 -0
- package/themes/paper-cutout/variants/blush-coral.json +122 -0
- package/themes/paper-cutout/variants/blush-violet.json +122 -0
- package/themes/paper-cutout/variants/chalk-teal.json +122 -0
- package/themes/paper-cutout/variants/cream-gold.json +122 -0
- package/themes/paper-cutout/variants/frost-blue.json +123 -0
- package/themes/paper-cutout/variants/frost-lime.json +121 -0
- package/themes/paper-cutout/variants/frost-plum.json +122 -0
- package/themes/paper-cutout/variants/lilac-blue.json +123 -0
- package/themes/paper-cutout/variants/lilac-gold.json +122 -0
- package/themes/paper-cutout/variants/sage-cyan.json +122 -0
- package/themes/paper-cutout/variants/sage-green.json +122 -0
- package/themes/paper-cutout/variants/sage-pink.json +122 -0
- package/themes/paper-cutout/variants/sand-blue.json +123 -0
- package/themes/paper-cutout/variants/sand-green.json +121 -0
- package/themes/paper-cutout/variants/sand-plum.json +120 -0
- package/themes/pixel-quest/THEME.md +57 -0
- package/themes/pixel-quest/effects.ts +491 -0
- package/themes/pixel-quest/kit.ts +232 -0
- package/themes/pixel-quest/sample/assets/og/logo.svg +12 -0
- package/themes/pixel-quest/sample/beats.json +1005 -0
- package/themes/pixel-quest/sample/index.html +11 -0
- package/themes/pixel-quest/sample/kf.json +59 -0
- package/themes/pixel-quest/sample/lib/facts.ts +29 -0
- package/themes/pixel-quest/sample/lib/game.ts +71 -0
- package/themes/pixel-quest/sample/lib/logo.ts +51 -0
- package/themes/pixel-quest/sample/main.ts +9 -0
- package/themes/pixel-quest/sample/scenes/end.ts +75 -0
- package/themes/pixel-quest/sample/scenes/gather.ts +65 -0
- package/themes/pixel-quest/sample/scenes/models.ts +104 -0
- package/themes/pixel-quest/sample/scenes/price.ts +118 -0
- package/themes/pixel-quest/sample/style.json +115 -0
- package/themes/pixel-quest/slots.ts +94 -0
- package/themes/pixel-quest/still.png +0 -0
- package/themes/pixel-quest/style.json +115 -0
- package/themes/pixel-quest/theme.json +144 -0
- package/themes/pixel-quest/variants/navy-gold-2.json +98 -0
- package/themes/pixel-quest/variants/navy-gold-3.json +127 -0
- package/themes/pixel-quest/variants/navy-gold-4.json +95 -0
- package/themes/pixel-quest/variants/navy-gold-pixel.json +132 -0
- package/themes/pixel-quest/variants/navy-gold-scan.json +99 -0
- package/themes/pixel-quest/variants/navy-gold.json +131 -0
- package/themes/pixel-quest/variants/navy-lime-2.json +93 -0
- package/themes/pixel-quest/variants/navy-lime-3.json +124 -0
- package/themes/pixel-quest/variants/navy-lime-pixel.json +126 -0
- package/themes/pixel-quest/variants/navy-lime-scan.json +97 -0
- package/themes/pixel-quest/variants/navy-lime.json +130 -0
- package/themes/receipt/THEME.md +72 -0
- package/themes/receipt/effects.ts +257 -0
- package/themes/receipt/sample/assets/og/logo.svg +12 -0
- package/themes/receipt/sample/beats.json +1005 -0
- package/themes/receipt/sample/index.html +11 -0
- package/themes/receipt/sample/kf.json +59 -0
- package/themes/receipt/sample/lib/facts.ts +29 -0
- package/themes/receipt/sample/lib/sheet.ts +52 -0
- package/themes/receipt/sample/main.ts +9 -0
- package/themes/receipt/sample/scenes/end.ts +44 -0
- package/themes/receipt/sample/scenes/gather.ts +57 -0
- package/themes/receipt/sample/scenes/models.ts +48 -0
- package/themes/receipt/sample/scenes/price.ts +64 -0
- package/themes/receipt/sample/style.json +104 -0
- package/themes/receipt/slots.ts +89 -0
- package/themes/receipt/still.png +0 -0
- package/themes/receipt/style.json +104 -0
- package/themes/receipt/theme.json +133 -0
- package/themes/receipt/variants/blush-coral.json +89 -0
- package/themes/receipt/variants/sand-coral-2.json +89 -0
- package/themes/receipt/variants/sand-coral-3.json +89 -0
- package/themes/receipt/variants/sand-coral-4.json +90 -0
- package/themes/receipt/variants/sand-coral-5.json +89 -0
- package/themes/receipt/variants/sand-coral-6.json +88 -0
- package/themes/receipt/variants/sand-coral-7.json +88 -0
- package/themes/receipt/variants/sand-coral-8.json +89 -0
- package/themes/receipt/variants/sand-coral-9.json +89 -0
- package/themes/receipt/variants/sand-coral.json +88 -0
- package/themes/receipt/variants/sand-orange-2.json +89 -0
- package/themes/receipt/variants/sand-orange-3.json +90 -0
- package/themes/receipt/variants/sand-orange-4.json +89 -0
- package/themes/receipt/variants/sand-orange-5.json +89 -0
- package/themes/receipt/variants/sand-orange.json +89 -0
- package/themes/riso-zine/sample/style.json +2 -2
- package/themes/riso-zine/style.json +2 -2
- package/themes/riso-zine/theme.json +68 -0
- package/themes/riso-zine/variants/blush-coral.json +120 -0
- package/themes/riso-zine/variants/blush-gold.json +120 -0
- package/themes/riso-zine/variants/blush-pink.json +115 -0
- package/themes/riso-zine/variants/chalk-cyan.json +120 -0
- package/themes/riso-zine/variants/chalk-lime.json +119 -0
- package/themes/riso-zine/variants/cream-amber.json +89 -0
- package/themes/riso-zine/variants/frost-blue.json +119 -0
- package/themes/riso-zine/variants/frost-coral.json +118 -0
- package/themes/riso-zine/variants/frost-cyan.json +120 -0
- package/themes/riso-zine/variants/frost-green.json +120 -0
- package/themes/riso-zine/variants/lilac-plum.json +118 -0
- package/themes/riso-zine/variants/lilac-violet.json +123 -0
- package/themes/riso-zine/variants/sage-green.json +119 -0
- package/themes/riso-zine/variants/sand-jade.json +120 -0
- package/themes/riso-zine/variants/sand-plum.json +113 -0
- package/themes/server-hall/THEME.md +58 -0
- package/themes/server-hall/effects.ts +455 -0
- package/themes/server-hall/kit.ts +138 -0
- package/themes/server-hall/sample/assets/og/logo.svg +12 -0
- package/themes/server-hall/sample/beats.json +1005 -0
- package/themes/server-hall/sample/index.html +11 -0
- package/themes/server-hall/sample/kf.json +59 -0
- package/themes/server-hall/sample/lib/facts.ts +29 -0
- package/themes/server-hall/sample/lib/hall.ts +81 -0
- package/themes/server-hall/sample/main.ts +9 -0
- package/themes/server-hall/sample/scenes/end.ts +57 -0
- package/themes/server-hall/sample/scenes/gather.ts +38 -0
- package/themes/server-hall/sample/scenes/models.ts +49 -0
- package/themes/server-hall/sample/scenes/price.ts +65 -0
- package/themes/server-hall/sample/style.json +107 -0
- package/themes/server-hall/slots.ts +106 -0
- package/themes/server-hall/still.png +0 -0
- package/themes/server-hall/style.json +107 -0
- package/themes/server-hall/theme.json +145 -0
- package/themes/server-hall/variants/navy-indigo.json +140 -0
- package/themes/server-hall/variants/night-indigo.json +120 -0
- package/themes/server-hall/variants/wine-plum.json +130 -0
- package/themes/server-hall/variants/wine-violet.json +103 -0
- package/themes/subway-map/THEME.md +64 -0
- package/themes/subway-map/effects.ts +662 -0
- package/themes/subway-map/sample/assets/og/logo.svg +12 -0
- package/themes/subway-map/sample/beats.json +1005 -0
- package/themes/subway-map/sample/index.html +11 -0
- package/themes/subway-map/sample/kf.json +59 -0
- package/themes/subway-map/sample/lib/facts.ts +29 -0
- package/themes/subway-map/sample/lib/map.ts +58 -0
- package/themes/subway-map/sample/main.ts +9 -0
- package/themes/subway-map/sample/scenes/end.ts +94 -0
- package/themes/subway-map/sample/scenes/gather.ts +64 -0
- package/themes/subway-map/sample/scenes/models.ts +117 -0
- package/themes/subway-map/sample/scenes/price.ts +119 -0
- package/themes/subway-map/sample/style.json +108 -0
- package/themes/subway-map/slots.ts +66 -0
- package/themes/subway-map/still.png +0 -0
- package/themes/subway-map/style.json +108 -0
- package/themes/subway-map/theme.json +163 -0
- package/themes/subway-map/variants/blush-jade.json +131 -0
- package/themes/subway-map/variants/chalk-jade.json +141 -0
- package/themes/subway-map/variants/deep-green.json +131 -0
- package/themes/subway-map/variants/deep-teal.json +132 -0
- package/themes/subway-map/variants/dusk-teal-bold.json +132 -0
- package/themes/subway-map/variants/dusk-teal.json +105 -0
- package/themes/subway-map/variants/forest-green.json +141 -0
- package/themes/subway-map/variants/forest-jade.json +131 -0
- package/themes/subway-map/variants/frost-jade.json +131 -0
- package/themes/subway-map/variants/frost-teal.json +137 -0
- package/themes/subway-map/variants/sage-teal.json +132 -0
- package/themes/subway-map/variants/slate-green.json +136 -0
- package/themes/subway-map/variants/slate-jade.json +131 -0
- package/themes/subway-map/variants/snow-jade.json +136 -0
- package/themes/subway-map/variants/wine-green.json +104 -0
- package/themes/swiss-poster/THEME.md +59 -0
- package/themes/swiss-poster/effects.ts +339 -0
- package/themes/swiss-poster/grid.ts +35 -0
- package/themes/swiss-poster/sample/assets/og/logo.svg +12 -0
- package/themes/swiss-poster/sample/beats.json +1005 -0
- package/themes/swiss-poster/sample/index.html +11 -0
- package/themes/swiss-poster/sample/kf.json +59 -0
- package/themes/swiss-poster/sample/lib/facts.ts +29 -0
- package/themes/swiss-poster/sample/lib/poster.ts +36 -0
- package/themes/swiss-poster/sample/main.ts +9 -0
- package/themes/swiss-poster/sample/scenes/end.ts +70 -0
- package/themes/swiss-poster/sample/scenes/gather.ts +68 -0
- package/themes/swiss-poster/sample/scenes/models.ts +63 -0
- package/themes/swiss-poster/sample/scenes/price.ts +74 -0
- package/themes/swiss-poster/sample/style.json +100 -0
- package/themes/swiss-poster/slots.ts +69 -0
- package/themes/swiss-poster/still.png +0 -0
- package/themes/swiss-poster/style.json +100 -0
- package/themes/swiss-poster/theme.json +133 -0
- package/themes/swiss-poster/variants/blush-green.json +116 -0
- package/themes/swiss-poster/variants/chalk-plum.json +121 -0
- package/themes/swiss-poster/variants/chalk-sky.json +90 -0
- package/themes/swiss-poster/variants/cocoa-cyan.json +117 -0
- package/themes/swiss-poster/variants/dusk-coral.json +89 -0
- package/themes/swiss-poster/variants/dusk-magenta.json +117 -0
- package/themes/swiss-poster/variants/forest-amber.json +127 -0
- package/themes/swiss-poster/variants/forest-blue.json +118 -0
- package/themes/swiss-poster/variants/forest-jade.json +89 -0
- package/themes/swiss-poster/variants/frost-gold.json +128 -0
- package/themes/swiss-poster/variants/frost-indigo.json +117 -0
- package/themes/swiss-poster/variants/sand-magenta.json +126 -0
- package/themes/swiss-poster/variants/slate-orange.json +122 -0
- package/themes/swiss-poster/variants/slate-pink.json +126 -0
- package/themes/swiss-poster/variants/slate-violet.json +89 -0
- package/themes/water-works/THEME.md +61 -0
- package/themes/water-works/effects.ts +609 -0
- package/themes/water-works/sample/assets/og/logo.svg +12 -0
- package/themes/water-works/sample/beats.json +1005 -0
- package/themes/water-works/sample/index.html +11 -0
- package/themes/water-works/sample/kf.json +59 -0
- package/themes/water-works/sample/lib/facts.ts +29 -0
- package/themes/water-works/sample/lib/hall.ts +22 -0
- package/themes/water-works/sample/main.ts +9 -0
- package/themes/water-works/sample/scenes/end.ts +55 -0
- package/themes/water-works/sample/scenes/gather.ts +42 -0
- package/themes/water-works/sample/scenes/models.ts +51 -0
- package/themes/water-works/sample/scenes/price.ts +66 -0
- package/themes/water-works/sample/style.json +105 -0
- package/themes/water-works/slots.ts +140 -0
- package/themes/water-works/still.png +0 -0
- package/themes/water-works/style.json +105 -0
- package/themes/water-works/theme.json +140 -0
- package/themes/water-works/variants/blush-rose.json +123 -0
- package/themes/water-works/variants/chalk-blue.json +124 -0
- package/themes/water-works/variants/chalk-cyan-2.json +96 -0
- package/themes/water-works/variants/chalk-cyan.json +123 -0
- package/themes/water-works/variants/chalk-gold-mono.json +122 -0
- package/themes/water-works/variants/chalk-gold.json +123 -0
- package/themes/water-works/variants/chalk-green.json +123 -0
- package/themes/water-works/variants/frost-indigo.json +123 -0
- package/themes/water-works/variants/frost-rose.json +132 -0
- package/themes/water-works/variants/lilac-violet-mono.json +124 -0
- package/themes/water-works/variants/lilac-violet.json +133 -0
- package/themes/water-works/variants/sage-amber.json +133 -0
- package/themes/water-works/variants/sage-green.json +133 -0
- package/themes/water-works/variants/sand-amber.json +123 -0
- package/themes/water-works/variants/sand-plum.json +121 -0
- package/themes/whiteboard/THEME.md +78 -0
- package/themes/whiteboard/effects.ts +561 -0
- package/themes/whiteboard/sample/assets/og/logo.svg +12 -0
- package/themes/whiteboard/sample/beats.json +1005 -0
- package/themes/whiteboard/sample/index.html +11 -0
- package/themes/whiteboard/sample/kf.json +59 -0
- package/themes/whiteboard/sample/lib/board.ts +93 -0
- package/themes/whiteboard/sample/lib/facts.ts +29 -0
- package/themes/whiteboard/sample/main.ts +9 -0
- package/themes/whiteboard/sample/scenes/end.ts +59 -0
- package/themes/whiteboard/sample/scenes/gather.ts +50 -0
- package/themes/whiteboard/sample/scenes/models.ts +56 -0
- package/themes/whiteboard/sample/scenes/price.ts +79 -0
- package/themes/whiteboard/sample/style.json +106 -0
- package/themes/whiteboard/slots.ts +152 -0
- package/themes/whiteboard/still.png +0 -0
- package/themes/whiteboard/style.json +106 -0
- package/themes/whiteboard/theme.json +145 -0
- package/themes/whiteboard/variants/chalk-coral-do.json +126 -0
- package/themes/whiteboard/variants/chalk-coral.json +132 -0
- package/themes/whiteboard/variants/cream-lime.json +131 -0
- package/themes/whiteboard/variants/cream-plum.json +103 -0
- package/themes/whiteboard/variants/frost-teal-do.json +127 -0
- package/themes/whiteboard/variants/frost-teal.json +127 -0
- package/themes/whiteboard/variants/lilac-indigo.json +132 -0
- package/themes/whiteboard/variants/lilac-jade.json +103 -0
- package/themes/whiteboard/variants/sage-green.json +130 -0
- package/themes/whiteboard/variants/sage-plum.json +126 -0
- package/themes/whiteboard/variants/snow-amber.json +99 -0
- package/themes/whiteboard/variants/snow-cyan.json +132 -0
- package/themes/whiteboard/variants/snow-green.json +126 -0
- package/themes/whiteboard/variants/snow-magenta.json +126 -0
- package/themes/whiteboard/variants/snow-plum.json +130 -0
- /package/themes/{og-measure/sample/assets/brand/og-logo-full.svg → blueprint/sample/assets/og/logo.svg} +0 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wine-pink",
|
|
3
|
+
"world": "neon-sign",
|
|
4
|
+
"name": "Wine Pink",
|
|
5
|
+
"desc": "포도주빛 바탕에 분홍 강조 · 손간판 같은 각진 좁은 제목체 · 고운 필름 입자",
|
|
6
|
+
"params": {
|
|
7
|
+
"scheme": "dark",
|
|
8
|
+
"bgL": 0.1757,
|
|
9
|
+
"tint": {
|
|
10
|
+
"h": 352.7324,
|
|
11
|
+
"c": 0.0232
|
|
12
|
+
},
|
|
13
|
+
"inkL": 0.9248,
|
|
14
|
+
"hue": 350.8595,
|
|
15
|
+
"chroma": 0.9249,
|
|
16
|
+
"fonts": "do-hyeon",
|
|
17
|
+
"texture": {
|
|
18
|
+
"kind": "grain",
|
|
19
|
+
"amount": 0.55
|
|
20
|
+
},
|
|
21
|
+
"stroke": 1.21,
|
|
22
|
+
"radius": null,
|
|
23
|
+
"tempo": 1.14,
|
|
24
|
+
"density": 1
|
|
25
|
+
},
|
|
26
|
+
"style": {
|
|
27
|
+
"scheme": "dark",
|
|
28
|
+
"colors": {
|
|
29
|
+
"bg": "#190C12",
|
|
30
|
+
"surface": "#24161F",
|
|
31
|
+
"raised": "#2F1E2A",
|
|
32
|
+
"line": "#43303E",
|
|
33
|
+
"ink": "#EFE3E3",
|
|
34
|
+
"inkSoft": "#D7C4D1",
|
|
35
|
+
"dim": "#9590A9",
|
|
36
|
+
"accent": "#E8469F",
|
|
37
|
+
"accentSoft": "#461D3C",
|
|
38
|
+
"accentText": "#E870B6",
|
|
39
|
+
"onAccent": "#190C12",
|
|
40
|
+
"success": "#3BE8B0",
|
|
41
|
+
"danger": "#FF4B4B",
|
|
42
|
+
"warning": "#FFB13B",
|
|
43
|
+
"pink": "#E8469F",
|
|
44
|
+
"blue": "#41BDF1",
|
|
45
|
+
"amber": "#FFB13B",
|
|
46
|
+
"mint": "#3BE8B0",
|
|
47
|
+
"brick": "#341E1F",
|
|
48
|
+
"glass": "#53414D"
|
|
49
|
+
},
|
|
50
|
+
"fonts": {
|
|
51
|
+
"sans": "\"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
52
|
+
"display": "\"Do Hyeon\", \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
53
|
+
"mono": "\"Geist Mono\", ui-monospace, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", monospace",
|
|
54
|
+
"faces": [
|
|
55
|
+
{
|
|
56
|
+
"family": "Do Hyeon",
|
|
57
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@bd8f81ddb5c74d5c8897b36ad88b440266245103/ofl/dohyeon/DoHyeon-Regular.ttf",
|
|
58
|
+
"weight": "400"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"family": "Pretendard Variable",
|
|
62
|
+
"src": "https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2",
|
|
63
|
+
"weight": "45 920"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"family": "Geist Mono",
|
|
67
|
+
"src": "https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Variable.woff2",
|
|
68
|
+
"weight": "100 900"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"type": {
|
|
73
|
+
"weightDisplay": 400,
|
|
74
|
+
"weightBody": 500,
|
|
75
|
+
"tracking": "0em"
|
|
76
|
+
},
|
|
77
|
+
"look": {
|
|
78
|
+
"texture": {
|
|
79
|
+
"kind": "grain",
|
|
80
|
+
"amount": 0.55
|
|
81
|
+
},
|
|
82
|
+
"stroke": 1.21,
|
|
83
|
+
"tempo": 1.14
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"tags": {
|
|
87
|
+
"mood": [
|
|
88
|
+
"밤",
|
|
89
|
+
"화려한",
|
|
90
|
+
"도시",
|
|
91
|
+
"레트로",
|
|
92
|
+
"몽환적",
|
|
93
|
+
"어두운",
|
|
94
|
+
"아날로그"
|
|
95
|
+
],
|
|
96
|
+
"light": "dark",
|
|
97
|
+
"use": [
|
|
98
|
+
"홍보",
|
|
99
|
+
"공개",
|
|
100
|
+
"이벤트",
|
|
101
|
+
"뮤직비디오",
|
|
102
|
+
"브랜드",
|
|
103
|
+
"처리량"
|
|
104
|
+
],
|
|
105
|
+
"dims": "2D"
|
|
106
|
+
},
|
|
107
|
+
"check": {
|
|
108
|
+
"ok": true,
|
|
109
|
+
"at": "2026-10-12",
|
|
110
|
+
"colors": {
|
|
111
|
+
"ink": 15.17,
|
|
112
|
+
"inkSoft": 11.5,
|
|
113
|
+
"dim": 6.19,
|
|
114
|
+
"accentText": 6.76,
|
|
115
|
+
"accent": 5.27,
|
|
116
|
+
"onAccent": 5.27,
|
|
117
|
+
"success~danger": 0.164,
|
|
118
|
+
"success~warning": 0.124,
|
|
119
|
+
"danger~warning": 0.147,
|
|
120
|
+
"accent~ink": 0.268
|
|
121
|
+
},
|
|
122
|
+
"frame": "kf check 통과 — 표준 장면 0–4초",
|
|
123
|
+
"pattern": "hook-number.roll"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "wine-plum",
|
|
3
|
+
"world": "neon-sign",
|
|
4
|
+
"name": "Wine Plum",
|
|
5
|
+
"desc": "포도주빛 바탕에 자두색 강조 · 키 작고 동글한 제목 · 고운 필름 입자",
|
|
6
|
+
"params": {
|
|
7
|
+
"scheme": "dark",
|
|
8
|
+
"bgL": 0.1818,
|
|
9
|
+
"tint": {
|
|
10
|
+
"h": 343.8149,
|
|
11
|
+
"c": 0.0285
|
|
12
|
+
},
|
|
13
|
+
"inkL": 0.9628,
|
|
14
|
+
"hue": 321.0544,
|
|
15
|
+
"chroma": 0.9858,
|
|
16
|
+
"fonts": "dongle",
|
|
17
|
+
"texture": {
|
|
18
|
+
"kind": "grain",
|
|
19
|
+
"amount": 0.55
|
|
20
|
+
},
|
|
21
|
+
"stroke": 0.83,
|
|
22
|
+
"radius": null,
|
|
23
|
+
"tempo": 1.15,
|
|
24
|
+
"density": 1
|
|
25
|
+
},
|
|
26
|
+
"style": {
|
|
27
|
+
"scheme": "dark",
|
|
28
|
+
"colors": {
|
|
29
|
+
"bg": "#1B0D15",
|
|
30
|
+
"surface": "#271723",
|
|
31
|
+
"raised": "#32202F",
|
|
32
|
+
"line": "#473344",
|
|
33
|
+
"ink": "#FCEFF2",
|
|
34
|
+
"inkSoft": "#E3CEDE",
|
|
35
|
+
"dim": "#909CB6",
|
|
36
|
+
"accent": "#D45AEA",
|
|
37
|
+
"accentSoft": "#3D2451",
|
|
38
|
+
"accentText": "#D582F4",
|
|
39
|
+
"onAccent": "#1B0D15",
|
|
40
|
+
"success": "#3BE8B0",
|
|
41
|
+
"danger": "#FF4B4B",
|
|
42
|
+
"warning": "#FFB13B",
|
|
43
|
+
"pink": "#D45AEA",
|
|
44
|
+
"blue": "#43C8FF",
|
|
45
|
+
"amber": "#FFB13B",
|
|
46
|
+
"mint": "#3BE8B0",
|
|
47
|
+
"brick": "#371F24",
|
|
48
|
+
"glass": "#594453"
|
|
49
|
+
},
|
|
50
|
+
"fonts": {
|
|
51
|
+
"sans": "\"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
52
|
+
"display": "Dongle, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
53
|
+
"mono": "\"Geist Mono\", ui-monospace, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", monospace",
|
|
54
|
+
"faces": [
|
|
55
|
+
{
|
|
56
|
+
"family": "Dongle",
|
|
57
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@bd8f81ddb5c74d5c8897b36ad88b440266245103/ofl/dongle/Dongle-Bold.ttf",
|
|
58
|
+
"weight": "700"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"family": "Pretendard Variable",
|
|
62
|
+
"src": "https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2",
|
|
63
|
+
"weight": "45 920"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"family": "Geist Mono",
|
|
67
|
+
"src": "https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Variable.woff2",
|
|
68
|
+
"weight": "100 900"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"type": {
|
|
73
|
+
"weightDisplay": 700,
|
|
74
|
+
"weightBody": 500,
|
|
75
|
+
"tracking": "0em"
|
|
76
|
+
},
|
|
77
|
+
"look": {
|
|
78
|
+
"texture": {
|
|
79
|
+
"kind": "grain",
|
|
80
|
+
"amount": 0.55
|
|
81
|
+
},
|
|
82
|
+
"stroke": 0.83,
|
|
83
|
+
"tempo": 1.15
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"tags": {
|
|
87
|
+
"mood": [
|
|
88
|
+
"밤",
|
|
89
|
+
"화려한",
|
|
90
|
+
"도시",
|
|
91
|
+
"레트로",
|
|
92
|
+
"몽환적",
|
|
93
|
+
"어두운",
|
|
94
|
+
"아날로그",
|
|
95
|
+
"귀여운"
|
|
96
|
+
],
|
|
97
|
+
"light": "dark",
|
|
98
|
+
"use": [
|
|
99
|
+
"홍보",
|
|
100
|
+
"공개",
|
|
101
|
+
"이벤트",
|
|
102
|
+
"뮤직비디오",
|
|
103
|
+
"브랜드",
|
|
104
|
+
"처리량"
|
|
105
|
+
],
|
|
106
|
+
"dims": "2D"
|
|
107
|
+
},
|
|
108
|
+
"check": {
|
|
109
|
+
"ok": true,
|
|
110
|
+
"at": "2026-10-12",
|
|
111
|
+
"colors": {
|
|
112
|
+
"ink": 16.84,
|
|
113
|
+
"inkSoft": 12.73,
|
|
114
|
+
"dim": 6.86,
|
|
115
|
+
"accentText": 7.48,
|
|
116
|
+
"accent": 5.79,
|
|
117
|
+
"onAccent": 5.79,
|
|
118
|
+
"success~danger": 0.164,
|
|
119
|
+
"success~warning": 0.124,
|
|
120
|
+
"danger~warning": 0.147,
|
|
121
|
+
"accent~ink": 0.311
|
|
122
|
+
},
|
|
123
|
+
"frame": "kf check 통과 — 표준 장면 0–4초",
|
|
124
|
+
"pattern": "hook-number.roll"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# 신문 1면 `newspaper`
|
|
2
|
+
|
|
3
|
+
**비유: 들어오는 요청이 전보 한 줄이 되어 지면의 단에 조판되고, 큰 사실은 헤드라인으로 찍히고, 속보에 판이 통째로 갈린다.** 신문 용지 위 먹 한 색 — 제호와 이중 괘선, 단과 세로 괘선, 낱말째 쾅 찍히는 굵은 명조 헤드라인, 빽빽한 시세표(슬러그 줄), 검정 한 판 45° 망점 사진·그래프. 빨강은 속보·내림 한 군데.
|
|
4
|
+
|
|
5
|
+
## 기술 개념 → 신문
|
|
6
|
+
|
|
7
|
+
| 개념 | 신문에서 | 효과 |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| 요청·호출 | 전보 한 줄 — 텔레타이프 띠에 한 자씩 타자되어 들어오고, 단에 슬러그 한 줄로 떨어진다 | `wireTape`·`slugLines` |
|
|
10
|
+
| 공급자(회사) | 통신사 — 회사마다 따로 들어온 기사 칸 | `headline`·`ruleGrid` |
|
|
11
|
+
| 모델 | 기사의 발신처(바이라인) — 전보 줄의 `model:` 과 시세표의 한 줄 | `wireTape`·`slugLines` |
|
|
12
|
+
| 한 주소(입구) | 제호 — 지면 맨 위 한 줄, 모든 기사가 이 지면 하나에 실린다 | `masthead` |
|
|
13
|
+
| 개수·비교 | 시세표 숫자와 망점 막대 그래프 | `slugLines`·`halftonePhoto` |
|
|
14
|
+
| 비용 | 시세 — 값이 내리면 빨강 ▼, 망점 막대가 눌려 내려간다 | `slugLines`(▼)·`halftonePhoto`(`value(u, v, t)`) |
|
|
15
|
+
| 지연 | 송고까지 걸린 시간 — 실측 ms 만큼의 실제 시간 동안 망점 막대가 자라고, 닿은 순서대로 결과 줄이 떨어진다 | `halftonePhoto`·`slugLines`(`times`) |
|
|
16
|
+
| 캐시 | 연판 — 이미 짠 슬러그를 다시 찍는다(타자 없이 그 줄이 바로 떨어진다) | `slugLines` |
|
|
17
|
+
| 폴백 | 판갈이 — 1판 기사 자리에 2판 기사가 들어선다(앞 줄 다음 시각에 새 줄) | `slugLines`·`wireTape` |
|
|
18
|
+
| 드롭·발표 | 호외 — 빨강 띠가 가로지르고 윤전기에 종이가 끌려가며 판이 통째로 바뀐다 | `breakingBand`·`pressRoll` |
|
|
19
|
+
|
|
20
|
+
## 맞는 내용·용도
|
|
21
|
+
|
|
22
|
+
- 발표·소식·숫자 비교·순위·가격 변동 — 「무슨 일이 있었나」를 지면처럼 정리할 때. 출시 소식, 지표 발표, 벤치마크 결과, 가격 인하.
|
|
23
|
+
- 용도: 홍보(promo)·공개(launch)·설명(explainer)·쇼츠(shorts)·피드(square).
|
|
24
|
+
- 화면 글: 헤드라인(굵은 명조 Hahmlet)·시세·주소·모델 ID(전보 띠는 Courier Prime, 한글은 Pretendard). 단을 채우는 것은 실제 사실(표·전보 줄)뿐.
|
|
25
|
+
|
|
26
|
+
## 금지
|
|
27
|
+
|
|
28
|
+
- 지어낸 기사 본문·로렘 입숨·회색 막대 본문 — 단은 실제 사실 줄로만 채운다. 지어낸 신문 이름(제호엔 다루는 대상·주소를 세운다).
|
|
29
|
+
- 먹(`ink`·`rule`)·용지(`paper`)·속보 빨강(`red`) 밖의 색. 회색은 망점으로만. 빨강은 한 지면에 한 뜻(속보·내림).
|
|
30
|
+
- 누렇게 바랜 낡은 종이·찢김·얼룩 같은 꾸밈, 그림자·그라데이션·둥근 모서리, 카메라 이동.
|
|
31
|
+
- 슬로건·감성 문장.
|
|
32
|
+
|
|
33
|
+
## 움직임
|
|
34
|
+
|
|
35
|
+
- 쉬지 않는다: 늘 무언가가 조판된다 — 슬러그가 떨어지고, 전보가 타자되고, 망점이 롤러에 찍혀 나온다. 용지는 서 있다.
|
|
36
|
+
- 구도는 마디마다 바꾼다: 지면을 갈아 끼운다(1면 → 증권면 시세표 → 제호면 → 두 기사 → 사진면 → 호외 → 시간대 시세 → 시세표 → 결과표 → 끝면).
|
|
37
|
+
- 박마다 큰 사건 하나: 헤드라인 낱말이 쾅 찍히고, 기사 칸이 서고, 줄이 떨어지고, 막대가 눌린다. 드롭은 `breakingBand` + `pressRoll`.
|
|
38
|
+
- 멈춤은 outExpo 한 손(빠르게 들어와 착). 실제 시간으로 자라는 값(지연)만 일정한 빠르기.
|
|
39
|
+
|
|
40
|
+
## 효과
|
|
41
|
+
|
|
42
|
+
같은 레포 안에서는 `effects.ts` 를 바로, 프로젝트에서는 `fx("newspaper")`. layer 는 `build` 에서 만들고 `(t) => …` 에서 부른다. 판(컷)은 `display: none` 으로 갈아 끼운다.
|
|
43
|
+
|
|
44
|
+
| 효과 | 꼴 | 하는 일 |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `newsprint` | layer | 신문 용지 — 회백 바탕에 미세한 섬유 결, 한 번 그리고 선다 |
|
|
47
|
+
| `ruleGrid` | layer | 괘선 — 단을 가르는 세로선과 이중 가로선이 그어진다(판짜기 격자) |
|
|
48
|
+
| `masthead` | layer | 제호 — 큰 명조가 쾅 찍히고 이중 괘선·폴리오가 선다 |
|
|
49
|
+
| `headline` | layer | 헤드라인 — 낱말이 하나씩 쾅(내려앉으며 잉크가 번졌다 앉는다), `\n` 으로 데크 |
|
|
50
|
+
| `slugLines` | layer | 슬러그 줄 — 시세표·목록이 한 줄씩 떨어진다, `[이름, 값]` 은 값 오른쪽 맞춤, ▼ 는 빨강, `times` 로 줄마다 시각 |
|
|
51
|
+
| `wireTape` | layer | 전보 띠 — 요청이 한 자씩 타자되고 새 줄마다 띠가 한 줄 올라간다 |
|
|
52
|
+
| `halftonePhoto` | layer | 망점 사진 — 검정 한 판 45° 망점, 롤러가 위에서 아래로 찍어 나온다, `value(u, v, t)` 면 그래프가 바뀐다, `src` 면 그림 |
|
|
53
|
+
| `breakingBand` | layer | 속보·호외 띠 — 빨강 띠가 가로질러 쾅, 딱지 옆에 한 줄이 찍힌다 |
|
|
54
|
+
| `pressRoll` | layer | 드롭 = 윤전기 — 롤러 그림자 띠가 지나며 종이가 한 번 끌려간다, 흔들림을 돌려준다(지면 틀에) |
|
|
55
|
+
|
|
56
|
+
## 장면 문법 슬롯 — `slots.ts`
|
|
57
|
+
|
|
58
|
+
| 슬롯 | 채운 것 |
|
|
59
|
+
|---|---|
|
|
60
|
+
| `surface` | 신문 용지(서 있다) |
|
|
61
|
+
| `panel` | 기사 상자 — 위 이중 괘선·아래 가는 괘선이 그어진다, 강조는 위 괘선이 빨강 |
|
|
62
|
+
| `land` | 슬러그가 제 줄로 떨어져 착 |
|
|
63
|
+
| `write` | 텔레타이프 — 한 자씩 |
|
|
64
|
+
| `trace` | 신문 그래프 선 — 먹선과 꺾이는 자리 네모 점, 다 그은 뒤 네모 짚개가 선을 따라 간다 |
|
|
65
|
+
| `drop` | 윤전기 — 롤러 그림자 띠, 흔들림(dropBurst) |
|
|
66
|
+
|
|
67
|
+
견본: `sample/` — OpenGateway 소개 15초(docs/briefs/og-intro-15s.md), 곡 kawaii-friends.mp3 4–19초(드롭 7.34초), 장면 넷 × 마디마다 지면. 회사마다 따로 서는 기사 칸 아홉 → 회사별 모델 수 시세표와 망점 막대 → 제호 apis.opengateway.ai/v1 와 박마다 타자되는 전보(모델 ID 만 바뀐다) → OpenAI 형식·Anthropic 형식 두 기사가 한 주소 아래 → 점점 빨리 떨어지는 회사 줄과 찍혀 나오는 로고 사진 → 호외 102 → 시간대 시세(00–10시 막대가 눌린다) -90% → 시세표 정가 → 밤값 ▼90% → 첫 토큰 결과표(실측 ms 만큼 자라는 막대) → 호출 18 · 합 $0.0004 → 제호 opengateway.ai 와 로고 사진.
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import { clamp, ease, rand, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { dropBurst, type DropBurstState } from "@kasaframe/motion";
|
|
3
|
+
|
|
4
|
+
// 지면은 서 있다 — 움직임은 조판뿐: 줄(슬러그)이 떨어져 단을 채우고, 헤드라인이 낱말째 찍히고, 전보가 한 자씩 타자되고, 망점이 찍혀 나온다
|
|
5
|
+
|
|
6
|
+
const ink = (ctx: SceneCtx, key: string): string => ctx.style.colors[key] ?? key;
|
|
7
|
+
const snap = (t: number, at: number, dur: number): number => ease.outExpo(clamp((t - at) / Math.max(1e-3, dur)));
|
|
8
|
+
|
|
9
|
+
function div(parent: HTMLElement, css: string, text?: string): HTMLDivElement {
|
|
10
|
+
const d = parent.ownerDocument.createElement("div");
|
|
11
|
+
d.style.cssText = `position:absolute;pointer-events:none;${css}`;
|
|
12
|
+
if (text !== undefined) d.textContent = text;
|
|
13
|
+
parent.append(d);
|
|
14
|
+
return d;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type Area = [x: number, y: number, w: number, h: number];
|
|
18
|
+
function canvas(el: HTMLElement, area: Area, scale = 1): { g: CanvasRenderingContext2D; clear(): void } {
|
|
19
|
+
const [x, y, w, h] = area.map((v, i) => (i < 2 ? Math.floor(v) : Math.ceil(v))) as Area;
|
|
20
|
+
const c = el.ownerDocument.createElement("canvas");
|
|
21
|
+
c.width = Math.max(1, Math.round(w * scale));
|
|
22
|
+
c.height = Math.max(1, Math.round(h * scale));
|
|
23
|
+
c.style.cssText = `position:absolute;left:${x}px;top:${y}px;width:${w}px;height:${h}px;pointer-events:none`;
|
|
24
|
+
el.append(c);
|
|
25
|
+
const g = c.getContext("2d")!;
|
|
26
|
+
g.scale(scale, scale);
|
|
27
|
+
g.translate(-x, -y);
|
|
28
|
+
return { g, clear: () => g.clearRect(x, y, w, h) };
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** 신문 용지 — 회백 바탕에 미세한 섬유 결. 한 번 그리고 선다 */
|
|
32
|
+
export function newsprint(el: HTMLElement, o: { ctx: SceneCtx; seed?: string }): (t: number) => void {
|
|
33
|
+
const { ctx } = o;
|
|
34
|
+
const W = ctx.meta.width;
|
|
35
|
+
const H = ctx.meta.height;
|
|
36
|
+
const { g } = canvas(el, [0, 0, W, H], 0.5);
|
|
37
|
+
const seed = o.seed ?? "paper";
|
|
38
|
+
let drawn = false;
|
|
39
|
+
return () => {
|
|
40
|
+
if (drawn) return;
|
|
41
|
+
drawn = true;
|
|
42
|
+
g.fillStyle = ink(ctx, "paper");
|
|
43
|
+
g.fillRect(0, 0, W, H);
|
|
44
|
+
g.strokeStyle = ink(ctx, "fiber");
|
|
45
|
+
g.lineWidth = 2;
|
|
46
|
+
g.globalAlpha = 0.6;
|
|
47
|
+
g.beginPath();
|
|
48
|
+
for (let i = 0; i < 520; i++) {
|
|
49
|
+
const x = rand(seed, i * 4) * W;
|
|
50
|
+
const y = rand(seed, i * 4 + 1) * H;
|
|
51
|
+
const a = rand(seed, i * 4 + 2) * Math.PI;
|
|
52
|
+
const l = 6 + rand(seed, i * 4 + 3) * 22;
|
|
53
|
+
g.moveTo(x, y);
|
|
54
|
+
g.lineTo(x + Math.cos(a) * l, y + Math.sin(a) * l);
|
|
55
|
+
}
|
|
56
|
+
g.stroke();
|
|
57
|
+
g.globalAlpha = 1;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 괘선 — 단을 가르는 가는 세로선과 기사 위·아래 이중 가로선이 위에서·왼쪽에서 그어진다. 지면의 판짜기 격자
|
|
63
|
+
*/
|
|
64
|
+
export function ruleGrid(el: HTMLElement, o: { ctx: SceneCtx; cols?: number[]; top?: number; bottom?: number; rows?: { y: number; x?: number; w?: number; double?: boolean }[]; at?: number; dur?: number }): (t: number) => void {
|
|
65
|
+
const { ctx } = o;
|
|
66
|
+
const color = ink(ctx, "rule");
|
|
67
|
+
const W = ctx.meta.width;
|
|
68
|
+
const top = o.top ?? ctx.safe.top;
|
|
69
|
+
const bottom = o.bottom ?? ctx.meta.height - ctx.safe.bottom;
|
|
70
|
+
const v = (o.cols ?? []).map((x) => div(el, `left:${x - 1}px;top:${top}px;width:2px;height:0;background:${color}`));
|
|
71
|
+
const h = (o.rows ?? []).map((r) => {
|
|
72
|
+
const x = r.x ?? ctx.safe.left;
|
|
73
|
+
const w = r.w ?? W - ctx.safe.left - ctx.safe.right;
|
|
74
|
+
const a = div(el, `left:${x}px;top:${r.y}px;width:0;height:${r.double ? 6 : 3}px;background:${color}`);
|
|
75
|
+
const b = r.double ? div(el, `left:${x}px;top:${r.y + 10}px;width:0;height:2px;background:${color}`) : null;
|
|
76
|
+
return { a, b, w };
|
|
77
|
+
});
|
|
78
|
+
const at = o.at ?? 0;
|
|
79
|
+
const dur = o.dur ?? 0.3;
|
|
80
|
+
return (t) => {
|
|
81
|
+
const k = snap(t, at, dur);
|
|
82
|
+
for (const d of v) d.style.height = `${((bottom - top) * k).toFixed(1)}px`;
|
|
83
|
+
for (const { a, b, w } of h) {
|
|
84
|
+
a.style.width = `${(w * k).toFixed(1)}px`;
|
|
85
|
+
if (b) b.style.width = `${(w * snap(t, at + 0.05, dur)).toFixed(1)}px`;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* 제호 — 지면 맨 위 한 줄. 큰 명조가 쾅 찍히고(잉크가 잠깐 번졌다 앉는다) 아래 이중 괘선과 폴리오(작은 줄)가 따라 선다
|
|
92
|
+
*/
|
|
93
|
+
export function masthead(el: HTMLElement, o: { ctx: SceneCtx; title: string; folio?: [string, string, string]; x?: number; y?: number; w?: number; size?: number; at?: number }): (t: number) => void {
|
|
94
|
+
const { ctx } = o;
|
|
95
|
+
const x = o.x ?? ctx.safe.left;
|
|
96
|
+
const y = o.y ?? ctx.safe.top;
|
|
97
|
+
const w = o.w ?? ctx.meta.width - ctx.safe.left - ctx.safe.right;
|
|
98
|
+
const size = o.size ?? 120;
|
|
99
|
+
const color = ink(ctx, "ink");
|
|
100
|
+
const box = div(el, `left:${x}px;top:${y}px;width:${w}px`);
|
|
101
|
+
const title = div(box, `position:relative;left:0;width:100%;text-align:center;font:900 ${size}px/1.05 ${ctx.style.fonts.display};letter-spacing:-0.01em;color:${color};white-space:pre`, o.title);
|
|
102
|
+
const r1 = div(box, `left:0;top:${size * 1.12}px;height:6px;width:0;background:${color}`);
|
|
103
|
+
const r2 = div(box, `left:0;top:${size * 1.12 + 10}px;height:2px;width:0;background:${color}`);
|
|
104
|
+
const folio = o.folio
|
|
105
|
+
? o.folio.map((s, i) => div(box, `top:${size * 1.12 + 20}px;${i === 0 ? "left:0" : i === 2 ? "right:0" : "left:0;width:100%;text-align:center"};font:500 ${Math.round(size * 0.24)}px/1.3 ${ctx.style.fonts.sans};color:${ink(ctx, "inkSoft")};white-space:pre`, s))
|
|
106
|
+
: [];
|
|
107
|
+
const at = o.at ?? 0;
|
|
108
|
+
return (t) => {
|
|
109
|
+
box.style.visibility = t >= at ? "visible" : "hidden";
|
|
110
|
+
if (t < at) return;
|
|
111
|
+
const k = snap(t, at, 0.18);
|
|
112
|
+
title.style.transform = `scale(${(1.06 - 0.06 * k).toFixed(4)})`;
|
|
113
|
+
title.style.textShadow = k < 1 ? `0 0 ${((1 - k) * 8).toFixed(1)}px ${color}` : "none";
|
|
114
|
+
r1.style.width = `${(snap(t, at + 0.08, 0.3) * 100).toFixed(1)}%`;
|
|
115
|
+
r2.style.width = `${(snap(t, at + 0.12, 0.3) * 100).toFixed(1)}%`;
|
|
116
|
+
folio.forEach((f, i) => (f.style.visibility = t >= at + 0.2 + i * 0.06 ? "visible" : "hidden"));
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 헤드라인 — 낱말이 하나씩 쾅 찍힌다(위에서 내려앉으며 잉크가 번졌다 앉는다). 줄바꿈(\n)으로 데크를 쌓는다
|
|
122
|
+
*/
|
|
123
|
+
export function headline(
|
|
124
|
+
el: HTMLElement,
|
|
125
|
+
o: { ctx: SceneCtx; text: string; x: number; y: number; size: number; at?: number; gap?: number; weight?: number; color?: string; align?: "left" | "center" | "right"; w?: number; lineHeight?: number; font?: "display" | "sans" | "mono" },
|
|
126
|
+
): (t: number) => void {
|
|
127
|
+
const { ctx } = o;
|
|
128
|
+
const color = ink(ctx, o.color ?? "ink");
|
|
129
|
+
const align = o.align ?? "left";
|
|
130
|
+
const box = div(el, `left:${o.x}px;top:${o.y}px;${o.w ? `width:${o.w}px;` : ""}text-align:${align};font:${o.weight ?? 800} ${o.size}px/${o.lineHeight ?? 1.08} ${ctx.style.fonts[o.font ?? "display"]};letter-spacing:-0.02em;color:${color};white-space:pre`);
|
|
131
|
+
const words: HTMLSpanElement[] = [];
|
|
132
|
+
o.text.split("\n").forEach((line, li) => {
|
|
133
|
+
if (li) box.append(el.ownerDocument.createElement("br"));
|
|
134
|
+
line.split(" ").forEach((wd, wi) => {
|
|
135
|
+
if (wi) box.append(el.ownerDocument.createTextNode(" "));
|
|
136
|
+
const s = el.ownerDocument.createElement("span");
|
|
137
|
+
s.textContent = wd;
|
|
138
|
+
s.style.cssText = "display:inline-block";
|
|
139
|
+
box.append(s);
|
|
140
|
+
words.push(s);
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
const at = o.at ?? 0;
|
|
144
|
+
const gap = o.gap ?? 0.09;
|
|
145
|
+
return (t) => {
|
|
146
|
+
words.forEach((s, i) => {
|
|
147
|
+
const a = at + i * gap;
|
|
148
|
+
s.style.visibility = t >= a ? "visible" : "hidden";
|
|
149
|
+
if (t < a) return;
|
|
150
|
+
const k = snap(t, a, 0.16);
|
|
151
|
+
s.style.transform = k < 1 ? `translateY(${((k - 1) * o.size * 0.12).toFixed(2)}px) scale(${(1.08 - 0.08 * k).toFixed(4)})` : "none";
|
|
152
|
+
s.style.textShadow = k < 1 ? `0 0 ${((1 - k) * o.size * 0.06).toFixed(1)}px ${color}` : "none";
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type Slug = string | [label: string, value: string];
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* 슬러그 줄 — 시세표·목록처럼 빽빽한 줄이 한 줄씩(쇳덩이 슬러그처럼) 위에서 떨어져 단을 채운다. [이름, 값] 이면 값은 오른쪽 맞춤,
|
|
161
|
+
* ▼ 가 든 값은 빨강. 줄 사이 가는 괘선
|
|
162
|
+
*/
|
|
163
|
+
export function slugLines(
|
|
164
|
+
el: HTMLElement,
|
|
165
|
+
o: { ctx: SceneCtx; lines: Slug[]; x: number; y: number; w: number; size?: number; lh?: number; at?: number; every?: number; font?: "display" | "sans" | "mono"; weight?: number; rules?: boolean; times?: number[] },
|
|
166
|
+
): (t: number) => void {
|
|
167
|
+
const { ctx } = o;
|
|
168
|
+
const size = o.size ?? 34;
|
|
169
|
+
const lh = o.lh ?? size * 1.5;
|
|
170
|
+
const at = o.at ?? 0;
|
|
171
|
+
const every = o.every ?? 0.08;
|
|
172
|
+
const font = `${o.weight ?? 600} ${size}px/${lh}px ${ctx.style.fonts[o.font ?? "sans"]}`;
|
|
173
|
+
const rows = o.lines.map((ln, i) => {
|
|
174
|
+
const mask = div(el, `left:${o.x}px;top:${o.y + i * lh}px;width:${o.w}px;height:${lh}px;overflow:hidden`);
|
|
175
|
+
const row = div(mask, `left:0;top:0;width:100%;height:${lh}px;font:${font};color:${ink(ctx, "ink")};white-space:pre${o.rules !== false ? `;border-bottom:1px solid ${ink(ctx, "line")}` : ""}`);
|
|
176
|
+
if (typeof ln === "string") row.textContent = ln;
|
|
177
|
+
else {
|
|
178
|
+
div(row, "left:0;top:0", ln[0]);
|
|
179
|
+
div(row, `right:0;top:0;${ln[1].includes("▼") ? `color:${ink(ctx, "red")}` : ""}`, ln[1]);
|
|
180
|
+
}
|
|
181
|
+
return { mask, row, t: o.times?.[i] ?? at + i * every };
|
|
182
|
+
});
|
|
183
|
+
return (t) => {
|
|
184
|
+
for (const r of rows) {
|
|
185
|
+
r.mask.style.visibility = t >= r.t ? "visible" : "hidden";
|
|
186
|
+
if (t < r.t) continue;
|
|
187
|
+
r.row.style.transform = `translateY(${((snap(t, r.t, 0.14) - 1) * 100).toFixed(2)}%)`;
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* 전보 띠 — 텔레타이프 종이 띠에 요청이 한 줄씩 타자되어 들어온다(lines[].t 에 타자 시작, cps 글자/초). 새 줄이 시작되면 띠가 한 줄 올라간다
|
|
194
|
+
*/
|
|
195
|
+
export function wireTape(el: HTMLElement, o: { ctx: SceneCtx; x: number; y: number; w: number; h: number; lines: { t: number; text: string }[]; size?: number; cps?: number; at?: number }): (t: number) => void {
|
|
196
|
+
const { ctx } = o;
|
|
197
|
+
const size = o.size ?? 30;
|
|
198
|
+
const lh = size * 1.45;
|
|
199
|
+
const cps = o.cps ?? 60;
|
|
200
|
+
const box = div(el, `left:${o.x}px;top:${o.y}px;width:${o.w}px;height:${o.h}px;overflow:hidden;background:${ink(ctx, "surface")};border-left:2px solid ${ink(ctx, "rule")};border-right:2px solid ${ink(ctx, "rule")}`);
|
|
201
|
+
const feed = div(box, `left:${size * 0.9}px;right:${size * 0.5}px;top:0;font:400 ${size}px/${lh}px ${ctx.style.fonts.mono};color:${ink(ctx, "ink")}`);
|
|
202
|
+
// 띠 가장자리 이송 구멍 — 띠가 올라가면 같이 올라간다
|
|
203
|
+
const holes = div(box, `left:${size * 0.25}px;top:0;width:${size * 0.3}px;height:${o.h * 4}px;background:radial-gradient(circle, ${ink(ctx, "line")} 32%, transparent 36%) 0 0/${size * 0.3}px ${lh / 2}px repeat-y`);
|
|
204
|
+
const rows = o.lines.map((l, i) => ({ ...l, el: div(feed, `left:0;top:${i * lh}px;white-space:pre`) }));
|
|
205
|
+
const caret = div(feed, `width:${size * 0.55}px;height:${size * 0.9}px;background:${ink(ctx, "ink")}`);
|
|
206
|
+
const at = o.at ?? 0;
|
|
207
|
+
return (t) => {
|
|
208
|
+
box.style.visibility = t >= at ? "visible" : "hidden";
|
|
209
|
+
const started = rows.filter((r) => t >= r.t);
|
|
210
|
+
const cur = started.length - 1;
|
|
211
|
+
// 띠는 지금 줄이 아래쪽 2/3 에 오도록 올라간다 — 새 줄마다 한 칸, 착
|
|
212
|
+
const want = Math.max(0, cur - Math.floor((o.h / lh) * 0.66));
|
|
213
|
+
const prev = Math.max(0, cur - 1 - Math.floor((o.h / lh) * 0.66));
|
|
214
|
+
const k = cur >= 0 ? snap(t, rows[cur].t, 0.16) : 1;
|
|
215
|
+
const shift = (prev + (want - prev) * k) * lh;
|
|
216
|
+
feed.style.transform = `translateY(${(-shift).toFixed(2)}px)`;
|
|
217
|
+
holes.style.transform = `translateY(${(-(shift % (lh / 2))).toFixed(2)}px)`;
|
|
218
|
+
rows.forEach((r, i) => {
|
|
219
|
+
const n = t < r.t ? 0 : Math.min(r.text.length, Math.floor((t - r.t) * cps) + 1);
|
|
220
|
+
const s = r.text.slice(0, n);
|
|
221
|
+
if (r.el.textContent !== s) r.el.textContent = s;
|
|
222
|
+
if (i === cur) {
|
|
223
|
+
caret.style.left = `${(n * size * 0.6).toFixed(1)}px`;
|
|
224
|
+
caret.style.top = `${(i * lh + lh * 0.18).toFixed(1)}px`;
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
caret.style.visibility = cur >= 0 && Math.floor(t * 8) % 2 === 0 ? "visible" : "hidden";
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* 망점 사진 — 검정 한 판 45° 망점으로 찍힌 사진·그래프. 값이 클수록 점이 크다(회색은 망점으로만). 위에서 아래로 찍혀 나오고(at·dur),
|
|
233
|
+
* value 가 t 를 받으면 그림이 바뀐다(막대가 눌리는 그래프 따위). 테두리와 사진 설명
|
|
234
|
+
*/
|
|
235
|
+
export function halftonePhoto(
|
|
236
|
+
el: HTMLElement,
|
|
237
|
+
o: { ctx: SceneCtx; x: number; y: number; w: number; h: number; value?: (u: number, v: number, t: number) => number; src?: string; at?: number; dur?: number; pitch?: number; angle?: number; caption?: string; frame?: boolean; color?: string },
|
|
238
|
+
): (t: number) => void {
|
|
239
|
+
const { ctx } = o;
|
|
240
|
+
const { g, clear } = canvas(el, [o.x - 4, o.y - 4, o.w + 8, o.h + 8]);
|
|
241
|
+
const pitch = o.pitch ?? 12;
|
|
242
|
+
const a = ((o.angle ?? 45) * Math.PI) / 180;
|
|
243
|
+
const cx = o.x + o.w / 2;
|
|
244
|
+
const cy = o.y + o.h / 2;
|
|
245
|
+
const n = Math.ceil(Math.hypot(o.w, o.h) / 2 / pitch);
|
|
246
|
+
const pts: { x: number; y: number; u: number; v: number }[] = [];
|
|
247
|
+
for (let j = -n; j <= n; j++)
|
|
248
|
+
for (let i = -n; i <= n; i++) {
|
|
249
|
+
const x = cx + Math.cos(a) * i * pitch - Math.sin(a) * j * pitch;
|
|
250
|
+
const y = cy + Math.sin(a) * i * pitch + Math.cos(a) * j * pitch;
|
|
251
|
+
if (x < o.x || x > o.x + o.w || y < o.y || y > o.y + o.h) continue;
|
|
252
|
+
pts.push({ x, y, u: (x - o.x) / o.w, v: (y - o.y) / o.h });
|
|
253
|
+
}
|
|
254
|
+
let img: HTMLImageElement | null = null;
|
|
255
|
+
let imgVals: number[] | null = null;
|
|
256
|
+
if (o.src) {
|
|
257
|
+
img = el.ownerDocument.createElement("img");
|
|
258
|
+
img.src = o.src;
|
|
259
|
+
img.style.cssText = "position:absolute;width:1px;height:1px;opacity:0;pointer-events:none";
|
|
260
|
+
el.append(img);
|
|
261
|
+
}
|
|
262
|
+
const fromImage = (): number[] | null => {
|
|
263
|
+
if (!img || !img.complete || !img.naturalWidth) return null;
|
|
264
|
+
const off = el.ownerDocument.createElement("canvas");
|
|
265
|
+
off.width = Math.ceil(o.w / 4);
|
|
266
|
+
off.height = Math.ceil(o.h / 4);
|
|
267
|
+
const s = off.getContext("2d", { willReadFrequently: true })!;
|
|
268
|
+
const k = Math.min(off.width / img.naturalWidth, off.height / img.naturalHeight) * 0.92;
|
|
269
|
+
s.drawImage(img, (off.width - img.naturalWidth * k) / 2, (off.height - img.naturalHeight * k) / 2, img.naturalWidth * k, img.naturalHeight * k);
|
|
270
|
+
const px = s.getImageData(0, 0, off.width, off.height).data;
|
|
271
|
+
return pts.map((p) => {
|
|
272
|
+
const q = (Math.min(off.height - 1, Math.floor(p.v * off.height)) * off.width + Math.min(off.width - 1, Math.floor(p.u * off.width))) * 4;
|
|
273
|
+
return (px[q + 3] / 255) * (1 - (0.2126 * px[q] + 0.7152 * px[q + 1] + 0.0722 * px[q + 2]) / 255);
|
|
274
|
+
});
|
|
275
|
+
};
|
|
276
|
+
const frame = o.frame !== false ? div(el, `left:${o.x}px;top:${o.y}px;width:${o.w}px;height:${o.h}px;border:2px solid ${ink(ctx, "rule")};box-sizing:border-box`) : null;
|
|
277
|
+
const cap = o.caption ? div(el, `left:${o.x}px;top:${o.y + o.h + 10}px;width:${o.w}px;font:500 26px/1.3 ${ctx.style.fonts.sans};color:${ink(ctx, "inkSoft")};white-space:pre`, o.caption) : null;
|
|
278
|
+
const at = o.at ?? 0;
|
|
279
|
+
const dur = o.dur ?? 0.4;
|
|
280
|
+
const color = ink(ctx, o.color ?? "ink");
|
|
281
|
+
return (t) => {
|
|
282
|
+
clear();
|
|
283
|
+
const on = t >= at;
|
|
284
|
+
if (frame) frame.style.visibility = on ? "visible" : "hidden";
|
|
285
|
+
if (cap) cap.style.visibility = t >= at + dur * 0.6 ? "visible" : "hidden";
|
|
286
|
+
if (!on) return;
|
|
287
|
+
if (img) imgVals ??= fromImage();
|
|
288
|
+
const p = clamp((t - at) / dur);
|
|
289
|
+
g.fillStyle = color;
|
|
290
|
+
g.beginPath();
|
|
291
|
+
pts.forEach((q, i) => {
|
|
292
|
+
// 롤러가 위에서 아래로 지나가며 찍는다 — 지나간 줄부터 점이 선다
|
|
293
|
+
const local = clamp((p * 1.25 - q.v) / 0.25);
|
|
294
|
+
if (local <= 0) return;
|
|
295
|
+
const v = imgVals ? imgVals[i] : o.value ? clamp(o.value(q.u, q.v, t)) : 0;
|
|
296
|
+
const r = pitch * 0.6 * Math.sqrt(v) * local;
|
|
297
|
+
if (r < 0.5) return;
|
|
298
|
+
g.moveTo(q.x + r, q.y);
|
|
299
|
+
g.arc(q.x, q.y, r, 0, Math.PI * 2);
|
|
300
|
+
});
|
|
301
|
+
g.fill();
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/** 속보 띠 — 빨강 띠가 지면을 가로질러 쾅 들어오고 「속보」·「호외」 딱지 옆에 한 줄이 찍힌다 */
|
|
306
|
+
export function breakingBand(el: HTMLElement, o: { ctx: SceneCtx; label: string; text?: string; y: number; h?: number; at?: number; x?: number; w?: number }): (t: number) => void {
|
|
307
|
+
const { ctx } = o;
|
|
308
|
+
const h = o.h ?? 96;
|
|
309
|
+
const x = o.x ?? 0;
|
|
310
|
+
const w = o.w ?? ctx.meta.width;
|
|
311
|
+
const band = div(el, `left:${x}px;top:${o.y}px;width:${w}px;height:${h}px;background:${ink(ctx, "red")};overflow:hidden`);
|
|
312
|
+
const tag = div(band, `left:${ctx.safe.left}px;top:${h * 0.14}px;height:${h * 0.72}px;padding:0 ${h * 0.25}px;background:${ink(ctx, "onAccent")};color:${ink(ctx, "red")};font:900 ${Math.round(h * 0.56)}px/${h * 0.72}px ${ctx.style.fonts.display}`, o.label);
|
|
313
|
+
const line = o.text ? div(band, `left:${ctx.safe.left + h * 2.2}px;top:0;font:800 ${Math.round(h * 0.5)}px/${h}px ${ctx.style.fonts.sans};color:${ink(ctx, "onAccent")};white-space:pre`) : null;
|
|
314
|
+
const at = o.at ?? 0;
|
|
315
|
+
return (t) => {
|
|
316
|
+
band.style.visibility = t >= at ? "visible" : "hidden";
|
|
317
|
+
if (t < at) return;
|
|
318
|
+
band.style.clipPath = `inset(0 ${((1 - snap(t, at, 0.2)) * 100).toFixed(2)}% 0 0)`;
|
|
319
|
+
tag.style.transform = `scale(${(1.15 - 0.15 * snap(t, at + 0.05, 0.16)).toFixed(4)})`;
|
|
320
|
+
if (line && o.text) {
|
|
321
|
+
const n = t < at + 0.15 ? 0 : Math.min(o.text.length, Math.floor((t - at - 0.15) * 40) + 1);
|
|
322
|
+
const s = o.text.slice(0, n);
|
|
323
|
+
if (line.textContent !== s) line.textContent = s;
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* 드롭 = 윤전기 — 종이가 롤러에 한 번 끌려가며(가는 롤러 선 둘이 위에서 아래로 지난다) 먹이 한꺼번에 앉는다. 흔들림을 돌려준다(지면 틀에).
|
|
330
|
+
* 롤러는 가는 선으로만 — 굵은 그림자 띠가 지나가면 화면 밝기가 칸마다 오르내려 섬광으로 잡힌다
|
|
331
|
+
*/
|
|
332
|
+
export function pressRoll(el: HTMLElement, o: { ctx: SceneCtx; drop?: number }): (t: number) => DropBurstState {
|
|
333
|
+
const { ctx } = o;
|
|
334
|
+
const H = ctx.meta.height;
|
|
335
|
+
const shade = () => div(el, `left:0;right:0;top:0;height:5px;background:${ink(ctx, "rule")};box-shadow:0 6px 10px rgba(0,0,0,.08);visibility:hidden`);
|
|
336
|
+
const rollers = [shade(), shade()];
|
|
337
|
+
const at = ctx.beats.drop(o.drop ?? 0);
|
|
338
|
+
return (t) => {
|
|
339
|
+
const s = dropBurst(t, { beats: ctx.beats, drop: o.drop ?? 0, rules: ctx.style.motion, scene: ctx.id, source: "pressRoll" });
|
|
340
|
+
rollers.forEach((r, i) => {
|
|
341
|
+
const u = (t - at - i * 0.08) / 0.32;
|
|
342
|
+
r.style.visibility = u >= 0 && u <= 1 ? "visible" : "hidden";
|
|
343
|
+
if (u >= 0 && u <= 1) r.style.transform = `translateY(${(u * H).toFixed(1)}px)`;
|
|
344
|
+
});
|
|
345
|
+
return s;
|
|
346
|
+
};
|
|
347
|
+
}
|