kasaframe 0.1.1 → 0.1.4
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 +10 -8
- package/README.md +16 -1
- package/app/server/engine.ts +133 -15
- package/app/server/main.ts +7 -3
- package/app/web/main.ts +218 -36
- package/app/web/style.css +37 -4
- package/bin/hooks.mjs +14 -1
- package/bin/kf.mjs +20 -2
- package/docs/AGENTS.md +64 -16
- package/music/README.md +31 -7
- package/package.json +2 -2
- package/packages/adapters/src/project.ts +5 -1
- package/packages/adapters/src/texture.ts +94 -0
- package/packages/check/src/check.ts +10 -3
- package/packages/check/src/rules/assets.ts +4 -1
- package/packages/check/src/rules/frames.ts +2 -1
- package/packages/check/src/rules/layout.ts +30 -6
- package/packages/cli/package.json +2 -1
- package/packages/cli/src/blur.ts +15 -3
- package/packages/cli/src/cells.ts +227 -0
- package/packages/cli/src/commands/bench.ts +123 -0
- package/packages/cli/src/commands/blender.ts +72 -49
- package/packages/cli/src/commands/direct.ts +210 -0
- package/packages/cli/src/commands/doctor.ts +9 -1
- package/packages/cli/src/commands/look.ts +9 -2
- package/packages/cli/src/commands/lyrics.ts +47 -1
- package/packages/cli/src/commands/make.ts +797 -150
- package/packages/cli/src/commands/music.ts +78 -0
- package/packages/cli/src/commands/narrate.ts +238 -0
- package/packages/cli/src/commands/new.ts +15 -6
- package/packages/cli/src/commands/render.ts +94 -60
- package/packages/cli/src/commands/series.ts +110 -0
- package/packages/cli/src/commands/setup.ts +42 -3
- package/packages/cli/src/commands/theme.ts +222 -4
- package/packages/cli/src/deps.ts +6 -6
- package/packages/cli/src/kf.ts +14 -3
- package/packages/cli/src/lock.ts +8 -6
- package/packages/cli/src/mix.ts +131 -0
- package/packages/cli/src/pick.ts +110 -0
- package/packages/cli/src/pool.ts +34 -0
- package/packages/cli/src/segments.ts +402 -0
- package/packages/cli/src/vary.ts +124 -0
- package/packages/core/src/index.ts +1 -1
- package/packages/core/src/project.ts +26 -0
- package/packages/director/package.json +23 -0
- package/packages/director/src/assemble.ts +364 -0
- package/packages/director/src/brief.ts +122 -0
- package/packages/director/src/catalog.ts +49 -0
- package/packages/director/src/content.ts +343 -0
- package/packages/director/src/fallback.ts +58 -0
- package/packages/director/src/index.ts +13 -0
- package/packages/director/src/pattern.ts +90 -0
- package/packages/director/src/patterns/fill/cells.ts +115 -0
- package/packages/director/src/patterns/formula/stack.ts +93 -0
- package/packages/director/src/patterns/util.ts +58 -0
- package/packages/director/src/scene.ts +62 -0
- package/packages/director/src/select.ts +163 -0
- package/packages/director/src/transitions.ts +115 -0
- package/packages/gen/PROVIDERS.md +39 -4
- package/packages/gen/src/ask.ts +132 -0
- package/packages/gen/src/audio.ts +91 -0
- package/packages/gen/src/blender.ts +54 -0
- package/packages/gen/src/capabilities.ts +151 -0
- package/packages/gen/src/generate.ts +4 -2
- package/packages/gen/src/image/codex.ts +117 -0
- package/packages/gen/src/index.ts +10 -2
- package/packages/gen/src/keys.ts +26 -0
- package/packages/gen/src/music/elevenlabs.ts +41 -0
- package/packages/gen/src/music/index.ts +120 -0
- package/packages/gen/src/music/library.ts +73 -0
- package/packages/gen/src/music/lyria.ts +52 -0
- package/packages/gen/src/music/types.ts +28 -0
- package/packages/gen/src/registry.ts +6 -3
- package/packages/gen/src/tts/dashscope.ts +64 -0
- package/packages/gen/src/tts/elevenlabs.ts +84 -0
- package/packages/gen/src/tts/gemini.ts +73 -0
- package/packages/gen/src/tts/index.ts +241 -0
- package/packages/gen/src/tts/local.ts +42 -0
- package/packages/gen/src/tts/types.ts +44 -0
- package/packages/gen/src/types.ts +4 -0
- package/packages/gen/src/video/h3.ts +5 -0
- package/packages/gen/src/video/http.ts +1 -1
- package/packages/jizura/src/index.ts +2 -2
- package/packages/jizura/src/install.ts +198 -155
- package/packages/jizura/src/layer.ts +75 -32
- package/packages/jizura/src/pin.ts +4 -1
- package/packages/jizura/src/vendor.ts +140 -0
- package/packages/jizura/src/vite.ts +34 -7
- package/packages/jizura/vendor/JIZURA_LICENSE.txt +21 -0
- package/packages/jizura/vendor/NOTICE +43 -0
- package/packages/jizura/vendor/engine.json +47 -0
- package/packages/jizura/vendor/fonts/BlackHanSans-Regular.woff2 +0 -0
- package/packages/jizura/vendor/fonts/DotGothic16-Regular.woff2 +0 -0
- package/packages/jizura/vendor/fonts/GowunBatang-Bold.woff2 +0 -0
- package/packages/jizura/vendor/fonts/IBMPlexMono-Medium.ttf +0 -0
- package/packages/jizura/vendor/fonts/IBMPlexMono-SemiBold.ttf +0 -0
- package/packages/jizura/vendor/fonts/NotoSansKR-VF.woff2 +0 -0
- package/packages/jizura/vendor/fonts/NotoSerifKR-VF.woff2 +0 -0
- package/packages/jizura/vendor/fonts/OFL-blackhansans.txt +93 -0
- package/packages/jizura/vendor/fonts/OFL-dotgothic16.txt +93 -0
- package/packages/jizura/vendor/fonts/OFL-gowunbatang.txt +94 -0
- package/packages/jizura/vendor/fonts/OFL-ibmplexmono.txt +93 -0
- package/packages/jizura/vendor/fonts/OFL-notosanskr.txt +93 -0
- package/packages/jizura/vendor/fonts/OFL-notoserifkr.txt +94 -0
- package/packages/jizura/vendor/fonts/fonts.json +52 -0
- package/packages/jizura/vendor/jizura_engine.js +35024 -0
- package/packages/motion/README.md +11 -0
- package/packages/motion/package.json +1 -0
- package/packages/motion/src/captions.ts +32 -24
- package/packages/motion/src/moves/brushWipe.ts +14 -1
- package/packages/motion/src/moves/dress.ts +191 -0
- package/packages/motion/src/moves/echoStack.ts +3 -3
- package/packages/motion/src/moves/fit.ts +36 -0
- package/packages/motion/src/moves/ghostStack.ts +14 -5
- package/packages/motion/src/moves/imageSwarm.ts +8 -4
- package/packages/motion/src/moves/index.ts +23 -4
- package/packages/motion/src/moves/karaokeLine.ts +17 -3
- package/packages/motion/src/moves/menu.ts +139 -0
- package/packages/motion/src/moves/neonSign.ts +2 -1
- package/packages/motion/src/moves/slamWords.ts +14 -7
- package/packages/motion/src/moves/sparkTrail.ts +16 -0
- package/packages/motion/src/moves/splitFlap.ts +4 -2
- package/packages/motion/src/moves/stepWords.ts +19 -8
- package/packages/motion/src/moves/tickerRows.ts +13 -9
- package/packages/motion/src/moves/tokenPicker.ts +4 -3
- package/packages/motion/src/moves/wordWall.ts +23 -21
- package/packages/motion/src/moves/worldRoll.ts +2 -1
- package/packages/motion/src/transition3d/index.ts +10 -3
- package/packages/motion/src/transition3d/rig.ts +107 -9
- package/packages/motion/src/transition3d/shatter.ts +5 -2
- package/packages/motion/src/transition3d/space.ts +173 -0
- package/packages/motion/src/transition3d/whip.ts +19 -6
- package/packages/motion/src/transition3d/world.ts +54 -0
- package/packages/motion/src/transitions2d/catalog.ts +1 -1
- package/packages/patterns/package.json +15 -0
- package/packages/patterns/src/bars/rank.ts +119 -0
- package/packages/patterns/src/before-after/shrink.ts +127 -0
- package/packages/patterns/src/before-after/strike.ts +125 -0
- package/packages/patterns/src/code/terminal.ts +133 -0
- package/packages/patterns/src/compare/bars.ts +142 -0
- package/packages/patterns/src/compare/duel.ts +103 -0
- package/packages/patterns/src/end/lockup.ts +85 -0
- package/packages/patterns/src/end/slam.ts +91 -0
- package/packages/patterns/src/flow/graph.ts +250 -0
- package/packages/patterns/src/hook-number/counter.ts +101 -0
- package/packages/patterns/src/hook-number/roll.ts +179 -0
- package/packages/patterns/src/hook-number/slam.ts +91 -0
- package/packages/patterns/src/index.ts +38 -0
- package/packages/patterns/src/kit.ts +450 -0
- package/packages/patterns/src/limit/gauge.ts +117 -0
- package/packages/patterns/src/list/cards.ts +131 -0
- package/packages/patterns/src/list/cycle.ts +22 -0
- package/packages/patterns/src/media/panels.ts +100 -0
- package/packages/patterns/src/objects.ts +234 -0
- package/packages/patterns/src/quote/karaoke.ts +126 -0
- package/packages/patterns/src/quote/slam.ts +22 -0
- package/packages/patterns/src/screen/focus.ts +85 -0
- package/packages/patterns/src/steps/path.ts +137 -0
- package/packages/patterns/src/steps/stack.ts +111 -0
- package/packages/patterns/src/term-reveal/chips.ts +92 -0
- package/packages/patterns/src/term-reveal/expand.ts +127 -0
- package/packages/patterns/src/timeline/axis.ts +144 -0
- package/packages/patterns/src/title/mask.ts +85 -0
- package/packages/patterns/src/title/slam.ts +23 -0
- package/packages/patterns/src/toggle-sim/switch.ts +92 -0
- package/packages/patterns/src/trend/columns.ts +108 -0
- package/packages/patterns/src/trend/draw.ts +140 -0
- package/packages/patterns/src/types.ts +67 -0
- package/packages/patterns/src/words/moves.ts +42 -0
- package/packages/patterns/src/words/slam.ts +4 -0
- package/packages/plan/src/asks.ts +265 -0
- package/packages/plan/src/brief.ts +136 -7
- package/packages/plan/src/captions.ts +5 -2
- package/packages/plan/src/index.ts +7 -3
- package/packages/plan/src/llm.ts +64 -2
- package/packages/plan/src/look.ts +3 -1
- package/packages/plan/src/plan.ts +70 -14
- package/packages/plan/src/series.ts +76 -0
- package/packages/plan/src/themes.ts +65 -9
- package/packages/plan/src/types.ts +56 -2
- package/packages/themes/kit/THEME-MAKE.md +1 -0
- package/packages/themes/kit/fonts.json +743 -0
- package/packages/themes/package.json +10 -2
- package/packages/themes/src/color.ts +152 -0
- package/packages/themes/src/fx.ts +4 -2
- package/packages/themes/src/index.ts +74 -1
- package/packages/themes/src/look.ts +223 -0
- package/packages/themes/src/name.ts +9 -0
- package/packages/themes/src/palette.ts +194 -0
- package/packages/themes/src/slotkit.ts +92 -0
- package/packages/themes/src/slots.ts +61 -0
- package/packages/themes/src/stage3d.ts +20 -0
- package/packages/themes/src/types.ts +84 -0
- package/packages/themes/src/vary.ts +290 -0
- package/series/og-shorts.json +14 -0
- package/skills/kasaframe/SKILL.md +4 -3
- package/templates/_shared/project/lib/stage.ts +70 -50
- package/templates/_shared/scenes/default.ts +10 -7
- package/templates/_shared/scenes/drop.ts +11 -8
- package/templates/_shared/scenes/end.ts +9 -6
- package/templates/_shared/scenes/hook.ts +8 -6
- package/templates/_shared/scenes/step.ts +13 -4
- package/templates/ad/template.json +20 -1
- package/templates/demo/template.json +11 -0
- package/templates/explainer/template.json +54 -3
- package/templates/launch/template.json +34 -1
- package/templates/mv/scenes/default.ts +11 -8
- package/templates/mv/template.json +4 -2
- package/templates/promo/template.json +42 -1
- package/templates/shorts/scenes/hook.ts +8 -5
- package/templates/shorts/template.json +72 -3
- package/templates/square/template.json +21 -1
- package/themes/blueprint/THEME.md +64 -0
- package/themes/blueprint/effects.ts +570 -0
- package/themes/blueprint/sample/assets/og/logo.svg +12 -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 +137 -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 +160 -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 +149 -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 +146 -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 +142 -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 +140 -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/slots.ts +99 -0
- package/themes/debug-hud/theme.json +56 -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 +119 -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 +142 -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 +119 -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 +131 -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 +131 -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 +140 -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 +145 -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 +141 -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 +148 -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 +145 -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 +136 -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 +140 -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/slots.ts +88 -0
- package/themes/og-measure/theme.json +62 -0
- package/themes/og-measure/variants/chalk-orange.json +102 -0
- package/themes/og-measure/variants/cocoa-amber.json +138 -0
- package/themes/og-measure/variants/cocoa-cyan.json +138 -0
- package/themes/og-measure/variants/cocoa-gold.json +129 -0
- package/themes/og-measure/variants/cream-lime.json +137 -0
- package/themes/og-measure/variants/deep-jade.json +100 -0
- package/themes/og-measure/variants/dusk-violet.json +133 -0
- package/themes/og-measure/variants/forest-cyan.json +123 -0
- package/themes/og-measure/variants/frost-amber.json +129 -0
- package/themes/og-measure/variants/frost-cyan.json +133 -0
- package/themes/og-measure/variants/lilac-plum.json +127 -0
- package/themes/og-measure/variants/lilac-violet.json +139 -0
- package/themes/og-measure/variants/sage-green.json +137 -0
- package/themes/og-measure/variants/wine-jade.json +127 -0
- package/themes/og-measure/variants/wine-plum.json +127 -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 +142 -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 +123 -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 +144 -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 +143 -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/slots.ts +81 -0
- package/themes/riso-zine/theme.json +66 -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 +143 -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 +161 -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 +131 -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 +138 -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 +143 -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
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "promo",
|
|
3
|
+
"title": "manga-panel · OpenGateway 소개 15초",
|
|
4
|
+
"theme": "manga-panel",
|
|
5
|
+
"fps": 60,
|
|
6
|
+
"width": 1920,
|
|
7
|
+
"height": 1080,
|
|
8
|
+
"duration": 15,
|
|
9
|
+
"mode": "seek",
|
|
10
|
+
"style": "style.json",
|
|
11
|
+
"music": "assets/music/kawaii-friends-0400.mp3",
|
|
12
|
+
"beats": "beats.json",
|
|
13
|
+
"captions": "none",
|
|
14
|
+
"safeArea": {
|
|
15
|
+
"top": 60,
|
|
16
|
+
"bottom": 60,
|
|
17
|
+
"left": 80,
|
|
18
|
+
"right": 80
|
|
19
|
+
},
|
|
20
|
+
"text": {
|
|
21
|
+
"policy": "terms-only",
|
|
22
|
+
"maxOnScreen": 0,
|
|
23
|
+
"minPx": 0
|
|
24
|
+
},
|
|
25
|
+
"scenes": [
|
|
26
|
+
{
|
|
27
|
+
"id": "gather",
|
|
28
|
+
"from": 0,
|
|
29
|
+
"dur": 3.1169,
|
|
30
|
+
"file": "scenes/gather.ts",
|
|
31
|
+
"role": "hook",
|
|
32
|
+
"idea": "여러 회사 모델이 흩어져 있다 → 회사별 모델 수"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "models",
|
|
36
|
+
"from": 3.1169,
|
|
37
|
+
"dur": 4.2191,
|
|
38
|
+
"file": "scenes/models.ts",
|
|
39
|
+
"role": "explain",
|
|
40
|
+
"idea": "한 주소(https://apis.opengateway.ai/v1) → 박마다 바뀌는 모델 ID 가 같은 주소로 → 드롭 앞 모아 올리기"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "price",
|
|
44
|
+
"from": 7.336,
|
|
45
|
+
"dur": 4.2388,
|
|
46
|
+
"file": "scenes/price.ts",
|
|
47
|
+
"role": "drop",
|
|
48
|
+
"idea": "드롭에 가장 크게 102 · 한 주소 → 하루 시계에서 00–10시 창이 -90% → deepseek 가격"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "end",
|
|
52
|
+
"from": 11.5748,
|
|
53
|
+
"dur": 3.4252,
|
|
54
|
+
"file": "scenes/end.ts",
|
|
55
|
+
"role": "end",
|
|
56
|
+
"idea": "첫 토큰 실측 셋 → 끝 카드(OG 로고 · opengateway.ai)"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// OpenGateway 사실 — docs/briefs/og-intro-15s.md 에 적힌 것만. 숫자를 여기서 새로 만들지 않는다
|
|
2
|
+
export const OG = {
|
|
3
|
+
url: "https://apis.opengateway.ai/v1",
|
|
4
|
+
host: "apis.opengateway.ai/v1",
|
|
5
|
+
site: "opengateway.ai",
|
|
6
|
+
models: 102,
|
|
7
|
+
endpoints: ["/chat/completions", "/responses", "/messages", "/images/generations"],
|
|
8
|
+
providers: [
|
|
9
|
+
["OpenAI", 41],
|
|
10
|
+
["Anthropic", 15],
|
|
11
|
+
["Google", 15],
|
|
12
|
+
["Z.ai", 7],
|
|
13
|
+
["xAI", 6],
|
|
14
|
+
["Qwen", 5],
|
|
15
|
+
["Moonshot", 4],
|
|
16
|
+
["DeepSeek", 4],
|
|
17
|
+
["MiniMax", 3],
|
|
18
|
+
] as [string, number][],
|
|
19
|
+
ids: ["openai/gpt-6.1-sol", "anthropic/claude-opus-5-5", "google/gemini-3.5-flash-lite", "deepseek/deepseek-v4.1-flash-ultrafast", "z-ai/glm-5.3-flash-ultrafast"],
|
|
20
|
+
night: { from: 0, to: 10, tz: "KST" },
|
|
21
|
+
deepseek: { id: "deepseek-v4.1-flash-ultrafast", input: ["$0.30", "$0.03"], output: ["$1.20", "$0.12"], off: "-90%" },
|
|
22
|
+
glm: { id: "glm-5.3-flash-ultrafast", off: "-70%" },
|
|
23
|
+
ttft: [
|
|
24
|
+
["gpt-5.4-nano", "612.5ms", 612.5],
|
|
25
|
+
["gemini-3.5-flash-lite", "693.0ms", 693.0],
|
|
26
|
+
["claude-haiku-5-5", "760.5ms", 760.5],
|
|
27
|
+
] as [string, string, number][],
|
|
28
|
+
calls: "18번 합 $0.0004",
|
|
29
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { slots } from "../../slots.ts";
|
|
3
|
+
|
|
4
|
+
// 견본 장면들이 같이 쓰는 작은 도구 — 쪽(마디) 단위 컷, 장면 안 박, 칸 안 글 상자
|
|
5
|
+
|
|
6
|
+
export type Paint = (t: number) => void;
|
|
7
|
+
export type Pt = [number, number];
|
|
8
|
+
|
|
9
|
+
export function layer(parent: HTMLElement, css = ""): HTMLDivElement {
|
|
10
|
+
const d = document.createElement("div");
|
|
11
|
+
d.style.cssText = `position:absolute;inset:0;pointer-events:none;${css}`;
|
|
12
|
+
parent.append(d);
|
|
13
|
+
return d;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** 장면 안 박(장면 시작 = 0) — 장면 끝 뒤 박은 거른다 */
|
|
17
|
+
export const beatsIn = (ctx: SceneCtx): number[] => ctx.beats.beats.filter((b) => b >= -1e-3 && b < ctx.dur - 0.05);
|
|
18
|
+
|
|
19
|
+
/** 원고지 바탕 — 테마 surface 슬롯 그대로(서 있다) */
|
|
20
|
+
export function manuscript(root: HTMLElement, ctx: SceneCtx): Paint {
|
|
21
|
+
return slots.surface!(layer(root), { ctx, seed: ctx.id });
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 쪽 — from 에서 until 앞까지만 보이는 한 쪽. 컷은 display:none(숨은 쪽 안 요소가 비치지 않게),
|
|
26
|
+
* 숨은 쪽은 칠하지 않는다
|
|
27
|
+
*/
|
|
28
|
+
export function page(root: HTMLElement, from: number, until: number, build: (el: HTMLElement) => Paint[]): Paint {
|
|
29
|
+
const el = layer(root);
|
|
30
|
+
el.style.display = "none";
|
|
31
|
+
const paints = build(el);
|
|
32
|
+
return (t) => {
|
|
33
|
+
const on = t >= from && t < until;
|
|
34
|
+
el.style.display = on ? "block" : "none";
|
|
35
|
+
if (on) for (const p of paints) p(t);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** 칸 안 글 — 상자 안 자리(px)에 글 한 줄. 효과음 꼴이 아닌 설명 글 */
|
|
40
|
+
export function words(cell: HTMLElement, ctx: SceneCtx, o: { text: string; x: number; y: number; size: number; font?: "sans" | "display" | "mono"; anchor?: "left" | "center" | "right"; color?: string }): HTMLDivElement {
|
|
41
|
+
const d = document.createElement("div");
|
|
42
|
+
const tx = o.anchor === "left" ? "0" : o.anchor === "right" ? "-100%" : "-50%";
|
|
43
|
+
d.style.cssText = `position:absolute;left:${o.x}px;top:${o.y}px;transform:translate(${tx},-50%);white-space:nowrap;font-family:${ctx.style.fonts[o.font ?? "sans"]};font-size:${o.size}px;line-height:1;color:${ctx.style.colors[o.color ?? "ink"] ?? o.color};`;
|
|
44
|
+
d.textContent = o.text;
|
|
45
|
+
cell.append(d);
|
|
46
|
+
return d;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** 원 꼴 칸 — 꼭짓점 n 개 */
|
|
50
|
+
export const circle = (cx: number, cy: number, r: number, n = 56): Pt[] => Array.from({ length: n }, (_, i) => [cx + Math.cos((i / n) * Math.PI * 2) * r, cy + Math.sin((i / n) * Math.PI * 2) * r]);
|
|
51
|
+
|
|
52
|
+
/** 사각 칸 — 위아래 변을 기울여(dy) 긴장을 준다 */
|
|
53
|
+
export const quad = (x: number, y: number, w: number, h: number, dyTop = 0, dyBottom = 0): Pt[] => [
|
|
54
|
+
[x, y + dyTop / 2],
|
|
55
|
+
[x + w, y - dyTop / 2],
|
|
56
|
+
[x + w, y + h - dyBottom / 2],
|
|
57
|
+
[x, y + h + dyBottom / 2],
|
|
58
|
+
];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { mountProject } from "@kasaframe/adapters";
|
|
2
|
+
import kf from "./kf.json";
|
|
3
|
+
import style from "./style.json";
|
|
4
|
+
|
|
5
|
+
// 장면 파일을 늘리거나 빼도 이 파일은 그대로 — 시간표는 kf.json 한 곳. 글꼴·색 변수는 mountProject 가 건다
|
|
6
|
+
const scenes = import.meta.glob("./scenes/*.ts", { eager: true });
|
|
7
|
+
const beats = Object.values(import.meta.glob("./beats.json", { eager: true, import: "default" }))[0] ?? null;
|
|
8
|
+
|
|
9
|
+
mountProject({ kf, scenes, beats, style, stage: document.getElementById("stage")! });
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { balloon, focusLines, panelPage, screentone, sfx, speedLines } from "../../effects.ts";
|
|
3
|
+
import svg from "../assets/og/logo.svg?raw";
|
|
4
|
+
import { OG } from "../lib/facts.ts";
|
|
5
|
+
import { beatsIn, layer, manuscript, page, type Paint, type Pt, quad, words } from "../lib/manga.ts";
|
|
6
|
+
|
|
7
|
+
// 첫 토큰 실측 셋(효과선 띠 길이 = ms) → 로고 칸에 집중선 → 마지막 마디엔 로고 칸이 화면 끝까지 뚫린다
|
|
8
|
+
const local = (box: { poly: Pt[]; x: number; y: number }): Pt[] => box.poly.map(([x, y]) => [x - box.x, y - box.y]);
|
|
9
|
+
|
|
10
|
+
function logo(cell: HTMLElement, x: number, y: number, w: number, ink: string): HTMLDivElement {
|
|
11
|
+
const el = document.createElement("div");
|
|
12
|
+
el.style.cssText = `position:absolute;left:${x}px;top:${y}px;width:${w}px;color:${ink}`;
|
|
13
|
+
el.innerHTML = svg.replace(/ width="\d+" height="\d+"/, ' width="100%" style="display:block"');
|
|
14
|
+
cell.append(el);
|
|
15
|
+
return el;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
20
|
+
const paper = manuscript(root, ctx);
|
|
21
|
+
const art = layer(root);
|
|
22
|
+
const b = beatsIn(ctx);
|
|
23
|
+
const B = (i: number) => b[i] ?? i * 0.353;
|
|
24
|
+
const ink = ctx.style.colors.ink;
|
|
25
|
+
|
|
26
|
+
// 쪽 1 — 실측 세 줄. 줄마다 한 박, 효과선 띠가 ms 만큼 뻗고 ms 가 효과음 꼴로 찍힌다
|
|
27
|
+
const max = Math.max(...OG.ttft.map(([, , ms]) => ms));
|
|
28
|
+
const ttft = page(art, 0, B(4), (el) => {
|
|
29
|
+
const extra: Paint[] = [];
|
|
30
|
+
const pg = panelPage(el, {
|
|
31
|
+
ctx,
|
|
32
|
+
rows: [...OG.ttft.map(() => ({ h: 1, cols: [1], tilt: -30 })), { h: 0.5, cols: [1] }],
|
|
33
|
+
at: (i) => B(i),
|
|
34
|
+
build(cell, i, box) {
|
|
35
|
+
if (i === 3) {
|
|
36
|
+
words(cell, ctx, { text: OG.calls, x: box.w / 2, y: box.h / 2, size: 72 });
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const [id, label, ms] = OG.ttft[i];
|
|
40
|
+
const bandW = (box.w - 620) * (ms / max);
|
|
41
|
+
const band: Pt[] = [[560, box.h * 0.22], [560 + bandW, box.h * 0.22], [560 + bandW, box.h * 0.78], [560, box.h * 0.78]];
|
|
42
|
+
extra.push(screentone(cell, { ctx, poly: band, pitch: 9, value: 0.25, at: B(i) + 0.125 }));
|
|
43
|
+
extra.push(speedLines(cell, { ctx, area: [560, 0, bandW, box.h], clip: band, angle: 0, rate: 1.2, at: B(i) + 0.125, seed: `ttft${i}` }));
|
|
44
|
+
words(cell, ctx, { text: id, x: 50, y: box.h / 2, size: 54, anchor: "left" });
|
|
45
|
+
extra.push(sfx(cell, { ctx, text: label, x: 560 + bandW / 2, y: box.h / 2, size: 116, rotate: -3, at: B(i) + 0.2, seed: `ms${i}` }));
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
return [pg, ...extra];
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
// 쪽 2 — 가운데 로고 칸에 집중선, 아래 칸에 opengateway.ai, 주소 상자
|
|
52
|
+
const card = page(art, B(4), B(8), (el) => {
|
|
53
|
+
const extra: Paint[] = [];
|
|
54
|
+
const pg = panelPage(el, {
|
|
55
|
+
ctx,
|
|
56
|
+
quads: [quad(80, 60, 1760, 640, 0, -40), quad(80, 740, 1760, 280, -40, 0)],
|
|
57
|
+
at: [B(4), B(5)],
|
|
58
|
+
build(cell, i, box) {
|
|
59
|
+
if (i === 0) {
|
|
60
|
+
extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy: box.h / 2, rx: 420, ry: 250, area: [0, 0, box.w, box.h], clip: local(box), at: B(4) + 0.125, burst: 0.12, count: 150, seed: "logo" }));
|
|
61
|
+
logo(cell, box.w / 2 - 290, box.h / 2 - 165, 580, ink);
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
extra.push(screentone(cell, { ctx, poly: local(box), pitch: 10, value: (u) => 0.08 + 0.3 * u, at: B(7) }));
|
|
65
|
+
extra.push(sfx(cell, { ctx, text: OG.site, x: box.w / 2, y: box.h * 0.42, size: 118, rotate: -2, skew: -6, at: B(5) + 0.125, seed: "site" }));
|
|
66
|
+
extra.push(balloon(cell, { ctx, kind: "box", x: box.w / 2, y: box.h * 0.8, w: 820, h: 70, text: OG.url, size: 44, at: B(6) }));
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
return [pg, ...extra];
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// 쪽 3 — 로고 칸이 화면 끝까지 뚫린다(타치키리), 집중선이 끝까지 끓는다
|
|
73
|
+
const bleed = page(art, B(8), ctx.dur + 1, (el) => {
|
|
74
|
+
const extra: Paint[] = [];
|
|
75
|
+
const pg = panelPage(el, {
|
|
76
|
+
ctx,
|
|
77
|
+
quads: [quad(-30, -30, 1980, 1140)],
|
|
78
|
+
at: [B(8)],
|
|
79
|
+
build(cell) {
|
|
80
|
+
extra.push(focusLines(cell, { ctx, cx: 990, cy: 470, rx: 640, ry: 330, area: [0, 0, 1980, 1140], at: B(8), burst: 0.12, count: 200, seed: "bleed" }));
|
|
81
|
+
logo(cell, 990 - 330, 470 - 230, 660, ink);
|
|
82
|
+
extra.push(sfx(cell, { ctx, text: OG.site, x: 990, y: 820, size: 116, rotate: -3, at: B(8) + 0.125, ink: "accent", seed: "site2" }));
|
|
83
|
+
extra.push(balloon(cell, { ctx, kind: "box", x: 990, y: 990, w: 860, h: 76, text: OG.url, size: 46, at: B(9) }));
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
return [pg, ...extra];
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
return (t: number) => {
|
|
90
|
+
paper(t);
|
|
91
|
+
ttft(t);
|
|
92
|
+
card(t);
|
|
93
|
+
bleed(t);
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { focusLines, pageTurn, panelPage, screentone, sfx, speedLines } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { beatsIn, layer, manuscript, page, type Paint, type Pt, words } from "../lib/manga.ts";
|
|
5
|
+
|
|
6
|
+
// 흩어진 공급자 아홉 칸(효과선이 저마다 다른 쪽으로) → 모델 수만큼 큰 칸(칸 넓이 = 모델 수)
|
|
7
|
+
export default {
|
|
8
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
9
|
+
const paper = manuscript(root, ctx);
|
|
10
|
+
const art = layer(root);
|
|
11
|
+
const b = beatsIn(ctx);
|
|
12
|
+
const bar2 = b[4] ?? 1.6947;
|
|
13
|
+
|
|
14
|
+
const scattered = page(art, 0, bar2, (el) => {
|
|
15
|
+
const lines: Paint[] = [];
|
|
16
|
+
const tones: Paint[] = [];
|
|
17
|
+
const pg = panelPage(el, {
|
|
18
|
+
ctx,
|
|
19
|
+
rows: [
|
|
20
|
+
{ h: 1, cols: [1.1, 0.9, 1], slant: 70, tilt: 50 },
|
|
21
|
+
{ h: 1, cols: [0.9, 1.2, 0.9], slant: -80, tilt: -60 },
|
|
22
|
+
{ h: 1, cols: [1, 1, 1.05], slant: 60 },
|
|
23
|
+
],
|
|
24
|
+
// 줄마다 한 박 — 오른쪽 위 줄부터
|
|
25
|
+
at: (i) => [0, b[0] ?? 0.29, b[1] ?? 0.64][Math.floor(i / 3)] + (i % 3) / 24,
|
|
26
|
+
build(cell, i, box) {
|
|
27
|
+
const [name] = OG.providers[i];
|
|
28
|
+
const local = box.poly.map(([x, y]) => [x - box.x, y - box.y] as Pt);
|
|
29
|
+
// 회사마다 효과선이 다른 쪽으로 — 아직 한 곳으로 모이지 않았다
|
|
30
|
+
lines.push(speedLines(cell, { ctx, area: [0, 0, box.w, box.h], clip: local, angle: (i * 137) % 360, rate: 0.5, at: b[2] ?? 0.99, seed: `g${i}` }));
|
|
31
|
+
if (i % 2 === 0) tones.push(screentone(cell, { ctx, poly: local, pitch: 11, value: (u, v) => 0.08 + 0.32 * v, at: b[3] ?? 1.35 }));
|
|
32
|
+
const tag = words(cell, ctx, { text: name, x: box.w / 2, y: box.h / 2, size: 86 });
|
|
33
|
+
tag.style.background = ctx.style.colors.surface;
|
|
34
|
+
tag.style.padding = "4px 18px";
|
|
35
|
+
tag.style.border = `5px solid ${ctx.style.colors.ink}`;
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
return [pg, ...tones, ...lines];
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
// 칸 넓이 = 모델 수 — 오른쪽 큰 칸이 OpenAI 41, 나머지 61 을 줄마다
|
|
42
|
+
const [ax, ay, aw, ah] = [80, 60, 1760, 960];
|
|
43
|
+
const gx = 18;
|
|
44
|
+
const gy = 30;
|
|
45
|
+
const total = OG.models;
|
|
46
|
+
const bigW = ((aw - gx) * OG.providers[0][1]) / total;
|
|
47
|
+
const quads: Pt[][] = [[[ax + aw - bigW, ay], [ax + aw, ay], [ax + aw, ay + ah], [ax + aw - bigW - 40, ay + ah]]];
|
|
48
|
+
const restW = aw - bigW - gx;
|
|
49
|
+
const groups = [OG.providers.slice(1, 3), OG.providers.slice(3, 6), OG.providers.slice(6, 9)];
|
|
50
|
+
const sums = groups.map((g) => g.reduce((a, [, n]) => a + n, 0));
|
|
51
|
+
const sumAll = sums.reduce((a, s) => a + s, 0);
|
|
52
|
+
// OpenAI 칸 왼쪽 변이 기울어 있으니 그 옆 칸들의 오른쪽 변도 같은 기울기로 물러선다
|
|
53
|
+
const edgeX = (yy: number) => ax + restW - (40 * (yy - ay)) / ah;
|
|
54
|
+
let y = ay;
|
|
55
|
+
groups.forEach((g, r) => {
|
|
56
|
+
const h = ((ah - gy * 2) * sums[r]) / sumAll;
|
|
57
|
+
const free = restW - gx * (g.length - 1);
|
|
58
|
+
let x = ax + restW;
|
|
59
|
+
g.forEach(([, n], c) => {
|
|
60
|
+
const w = (free * n) / sums[r];
|
|
61
|
+
const rt = c === 0 ? edgeX(y) : x;
|
|
62
|
+
const rb = c === 0 ? edgeX(y + h) : x;
|
|
63
|
+
quads.push([[x - w, y], [rt, y], [rb, y + h], [x - w, y + h]]);
|
|
64
|
+
x -= w + gx;
|
|
65
|
+
});
|
|
66
|
+
y += h + gy;
|
|
67
|
+
});
|
|
68
|
+
const openAt = [b[4] ?? 1.69, b[5] ?? 2.05, b[5] ?? 2.05, b[6] ?? 2.4, b[6] ?? 2.4, b[6] ?? 2.4, b[7] ?? 2.76, b[7] ?? 2.76, b[7] ?? 2.76];
|
|
69
|
+
const counts = page(art, bar2, ctx.dur, (el) => {
|
|
70
|
+
const extra: Paint[] = [];
|
|
71
|
+
const pg = panelPage(el, {
|
|
72
|
+
ctx,
|
|
73
|
+
quads,
|
|
74
|
+
at: (i) => openAt[i] + ((i - 1) % 3) / 24,
|
|
75
|
+
build(cell, i, box) {
|
|
76
|
+
const [name, n] = OG.providers[i];
|
|
77
|
+
const local = box.poly.map(([px, py]) => [px - box.x, py - box.y] as Pt);
|
|
78
|
+
// 이름 띠를 아래에 떼어 두고 남은 높이·폭 안에 숫자 — Gasoek One 숫자 한 자 0.9em 남짓, 기울기·흰 테두리 몫을 남긴다
|
|
79
|
+
const nameSize = Math.round(Math.max(26, Math.min(60, box.h * 0.15, box.w * 0.15)));
|
|
80
|
+
const room = box.h - nameSize * 1.7;
|
|
81
|
+
const big = Math.min((box.w * 0.7) / (0.9 * String(n).length), room * 0.74);
|
|
82
|
+
const cy = room / 2 + 6;
|
|
83
|
+
if (i === 0) extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy, rx: box.w * 0.36, ry: box.h * 0.2, area: [0, 0, box.w, box.h], clip: local, at: openAt[0] + 0.125, burst: 0.12, count: 110, seed: "openai" }));
|
|
84
|
+
else extra.push(screentone(cell, { ctx, poly: local, pitch: 9, value: 0.12 + (i % 3) * 0.06, at: openAt[i] + 0.125 }));
|
|
85
|
+
extra.push(sfx(cell, { ctx, text: String(n), x: box.w / 2, y: cy, size: Math.round(big), rotate: i % 2 ? 5 : -6, at: openAt[i] + 0.125, stagger: 1 / 24, seed: `n${i}` }));
|
|
86
|
+
words(cell, ctx, { text: name, x: box.w / 2, y: box.h - nameSize * 0.85, size: nameSize });
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
return [pg, ...extra];
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
const turn = pageTurn(layer(root), { ctx, at: ctx.dur - 0.24, dur: 0.22 });
|
|
93
|
+
return (t: number) => {
|
|
94
|
+
paper(t);
|
|
95
|
+
scattered(t);
|
|
96
|
+
counts(t);
|
|
97
|
+
turn(t);
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { balloon, focusLines, panelPage, sfx, speedLines } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { beatsIn, layer, manuscript, page, type Paint, type Pt, quad, words } from "../lib/manga.ts";
|
|
5
|
+
|
|
6
|
+
// 한 주소 → 박마다 다른 모델 ID 가 요청 풍선으로 같은 주소를 부른다(효과선이 주소 칸 쪽으로) → 엔드포인트 넷, 처리량이 오르며 드롭으로 모은다
|
|
7
|
+
const local = (box: { poly: Pt[]; x: number; y: number }): Pt[] => box.poly.map(([x, y]) => [x - box.x, y - box.y]);
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
11
|
+
const paper = manuscript(root, ctx);
|
|
12
|
+
const art = layer(root);
|
|
13
|
+
const b = beatsIn(ctx);
|
|
14
|
+
const B = (i: number) => b[i] ?? i * 0.353;
|
|
15
|
+
|
|
16
|
+
// 쪽 1 — 주소 한 줄, /v1 이 쾅, 집중선, 두 형식이 아래에서 주소로 흘러든다
|
|
17
|
+
const address = page(art, 0, B(4), (el) => {
|
|
18
|
+
const extra: Paint[] = [];
|
|
19
|
+
const pg = panelPage(el, {
|
|
20
|
+
ctx,
|
|
21
|
+
quads: [quad(80, 60, 1760, 600, 0, -50), quad(970, 700, 870, 320, -50, 0), quad(80, 700, 870, 320, -50, 0)],
|
|
22
|
+
at: [0, B(3), B(3) + 1 / 24],
|
|
23
|
+
build(cell, i, box) {
|
|
24
|
+
if (i === 0) {
|
|
25
|
+
// 주소가 서면 옅은 집중선이 먼저 끓고, 셋째 박에 진한 집중선이 쏘아 들어온다
|
|
26
|
+
extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy: 420, rx: 420, ry: 150, area: [0, 0, box.w, box.h], clip: local(box), at: 0.125, until: B(2), strength: 0.3, count: 70, seed: "v1a" }));
|
|
27
|
+
extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy: 420, rx: 420, ry: 150, area: [0, 0, box.w, box.h], clip: local(box), at: B(2), burst: 0.12, count: 130, seed: "v1" }));
|
|
28
|
+
extra.push(balloon(cell, { ctx, kind: "box", x: box.w / 2, y: 150, w: 1360, h: 150, text: OG.url, size: 78, at: 0.125 }));
|
|
29
|
+
extra.push(sfx(cell, { ctx, text: "/v1", x: box.w / 2, y: 420, size: 250, rotate: -5, at: B(1), ink: "accent", seed: "v1" }));
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const fmt = i === 1 ? "OpenAI 형식" : "Anthropic 형식";
|
|
33
|
+
extra.push(speedLines(cell, { ctx, area: [0, 0, box.w, box.h], clip: local(box), angle: -90, rate: 0.7, at: B(3), seed: `fmt${i}` }));
|
|
34
|
+
extra.push(balloon(cell, { ctx, kind: "round", x: box.w / 2, y: box.h / 2, w: 560, h: 170, text: fmt, size: 66, at: B(3) + 0.125 + (i - 1) / 24, seed: `fmt${i}` }));
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
return [pg, ...extra];
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// 쪽 2 — 왼쪽 주소 칸 하나, 오른쪽 칸마다 다른 모델 ID 요청 풍선. 효과선이 모두 주소 칸 쪽(왼쪽)으로
|
|
41
|
+
const calls = page(art, B(4), B(8), (el) => {
|
|
42
|
+
const extra: Paint[] = [];
|
|
43
|
+
const rowH = (960 - 3 * 22) / 4;
|
|
44
|
+
const quads: Pt[][] = [quad(80, 60, 600, 960, 0, 0)];
|
|
45
|
+
for (let k = 0; k < 4; k++) quads.push(quad(700, 60 + k * (rowH + 22), 1140, rowH, k ? 24 : 0, k < 3 ? 24 : 0));
|
|
46
|
+
const pg = panelPage(el, {
|
|
47
|
+
ctx,
|
|
48
|
+
quads,
|
|
49
|
+
at: (i) => (i === 0 ? B(4) : B(3 + i)),
|
|
50
|
+
// 주소 칸은 베타(먹칠) — 요청이 모두 모이는 한 곳
|
|
51
|
+
fill: (i) => (i === 0 ? "ink" : "surface"),
|
|
52
|
+
build(cell, i, box) {
|
|
53
|
+
if (i === 0) {
|
|
54
|
+
words(cell, ctx, { text: OG.host.split("/")[0], x: box.w / 2, y: box.h * 0.36, size: 60, color: "surface" });
|
|
55
|
+
extra.push(sfx(cell, { ctx, text: "/v1", x: box.w / 2, y: box.h * 0.58, size: 170, rotate: -4, at: B(4) + 0.125, seed: "v1b" }));
|
|
56
|
+
extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy: box.h * 0.5, rx: 250, ry: 300, area: [0, 0, box.w, box.h], clip: local(box), at: B(4) + 0.125, strength: 0.55, count: 90, ink: "surface", seed: "addr" }));
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const id = OG.ids[i - 1];
|
|
60
|
+
extra.push(speedLines(cell, { ctx, area: [0, 0, box.w, box.h], clip: local(box), angle: 180, rate: 0.45, at: B(3 + i), seed: `call${i}` }));
|
|
61
|
+
extra.push(balloon(cell, { ctx, kind: "round", x: box.w * 0.5, y: box.h / 2, w: Math.min(1060, 200 + id.length * 27), h: box.h * 0.8, text: id, size: Math.min(62, Math.floor((1060 * 0.84) / (id.length * 0.47))), tail: [box.w + 30, box.h * 0.75], at: B(3 + i) + 0.125, seed: `id${i}` }));
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
return [pg, ...extra];
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
// 쪽 3 — 엔드포인트 넷이 기운 세로 칸에 세로쓰기로, 칸마다 효과선 처리량이 오르고 마지막 박에 화면 전체 집중선이 드롭으로 모은다
|
|
68
|
+
const endpoints = page(art, B(8), ctx.dur, (el) => {
|
|
69
|
+
const extra: Paint[] = [];
|
|
70
|
+
const pg = panelPage(el, {
|
|
71
|
+
ctx,
|
|
72
|
+
rows: [{ h: 1, cols: [1, 1, 1, 1], slant: 120 }],
|
|
73
|
+
gutter: [40, 22],
|
|
74
|
+
at: (i) => B(8 + i),
|
|
75
|
+
build(cell, i, box) {
|
|
76
|
+
const ep = OG.endpoints[i];
|
|
77
|
+
extra.push(speedLines(cell, { ctx, area: [0, 0, box.w, box.h], clip: local(box), angle: -90, rate: (t) => 0.4 + 1.2 * Math.max(0, (t - B(8)) / (ctx.dur - B(8))), at: B(8 + i), seed: `ep${i}` }));
|
|
78
|
+
const v = words(cell, ctx, { text: ep, x: box.w / 2, y: box.h / 2, size: 78 });
|
|
79
|
+
v.style.writingMode = "vertical-rl";
|
|
80
|
+
v.style.background = ctx.style.colors.surface;
|
|
81
|
+
v.style.padding = "22px 10px";
|
|
82
|
+
v.style.border = `5px solid ${ctx.style.colors.ink}`;
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
const gatherLines = focusLines(el, { ctx, cx: 960, cy: 540, rx: 430, ry: 230, at: B(11), burst: 0.2, strength: (t) => 0.4 + 0.6 * Math.min(1, (t - B(11)) / Math.max(0.1, ctx.dur - B(11))), count: 170, seed: "gather" });
|
|
86
|
+
return [pg, ...extra, gatherLines];
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
return (t: number) => {
|
|
90
|
+
paper(t);
|
|
91
|
+
address(t);
|
|
92
|
+
calls(t);
|
|
93
|
+
endpoints(t);
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { applyStyle, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { balloon, focusLines, impactFrame, panelPage, penStroke, screentone, sfx, speedLines } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { beatsIn, circle, layer, manuscript, page, type Paint, type Pt, quad, words } from "../lib/manga.ts";
|
|
5
|
+
|
|
6
|
+
// 드롭 — 칸을 뚫은 쪽 하나에 102 결정타 → 둥근 칸 시계에 00–10시 톤과 -90% → deepseek 정가를 펜이 긋고 밤 값이 떨어진다
|
|
7
|
+
const local = (box: { poly: Pt[]; x: number; y: number }): Pt[] => box.poly.map(([x, y]) => [x - box.x, y - box.y]);
|
|
8
|
+
const SVG = "http://www.w3.org/2000/svg";
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
12
|
+
const paper = manuscript(root, ctx);
|
|
13
|
+
const frame = layer(root);
|
|
14
|
+
const art = layer(frame);
|
|
15
|
+
const b = beatsIn(ctx);
|
|
16
|
+
const B = (i: number) => b[i] ?? i * 0.353;
|
|
17
|
+
const drop = ctx.beats.drop(0);
|
|
18
|
+
|
|
19
|
+
// 쪽 1 — 타치키리(화면 끝까지 뚫은 칸) 한 장에 102, 집중선, 작은 칸 하나와 주소 상자
|
|
20
|
+
const ref: { hero?: HTMLElement } = {};
|
|
21
|
+
const splash = page(art, 0, B(4), (el) => {
|
|
22
|
+
const extra: Paint[] = [];
|
|
23
|
+
const pg = panelPage(el, {
|
|
24
|
+
ctx,
|
|
25
|
+
quads: [quad(-30, -30, 1980, 1140), quad(120, 90, 470, 300, 30, -30)],
|
|
26
|
+
at: [drop, B(1)],
|
|
27
|
+
build(cell, i, box) {
|
|
28
|
+
if (i === 0) {
|
|
29
|
+
extra.push(focusLines(cell, { ctx, cx: 990, cy: 520, rx: 560, ry: 270, area: [0, 0, box.w, box.h], at: drop, burst: 0.1, count: 190, strength: (t) => (t >= B(3) ? 1 : 0.7), seed: "drop" }));
|
|
30
|
+
const hero = document.createElement("div");
|
|
31
|
+
hero.style.cssText = "position:absolute;inset:0";
|
|
32
|
+
cell.append(hero);
|
|
33
|
+
ref.hero = hero;
|
|
34
|
+
extra.push(sfx(hero, { ctx, text: String(OG.models), x: 990, y: 520, size: 430, rotate: -7, at: drop, stagger: 1 / 24, ink: "accent", seed: "102" }));
|
|
35
|
+
extra.push(balloon(cell, { ctx, kind: "box", x: 990, y: 935, w: 1240, h: 130, text: OG.url, size: 68, at: B(2) }));
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
extra.push(screentone(cell, { ctx, poly: local(box), pitch: 10, value: (u, v) => 0.05 + 0.25 * (1 - v), at: B(1) + 0.125 }));
|
|
39
|
+
const tag = words(cell, ctx, { text: "모델", x: box.w / 2, y: box.h / 2, size: 140, font: "display" });
|
|
40
|
+
tag.style.background = ctx.style.colors.surface;
|
|
41
|
+
tag.style.padding = "0 18px";
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
return [pg, ...extra];
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// 쪽 2 — 둥근 칸 하루 시계: 바늘이 하루를 돌고, 00–10시 부채꼴에 톤이 붙고, 오른쪽 칸에 KST 와 -90%
|
|
48
|
+
const clock = page(art, B(4), B(8), (el) => {
|
|
49
|
+
const extra: Paint[] = [];
|
|
50
|
+
const R = 420;
|
|
51
|
+
const pg = panelPage(el, {
|
|
52
|
+
ctx,
|
|
53
|
+
quads: [circle(560, 540, R), quad(1080, 60, 760, 960, 0, 0)],
|
|
54
|
+
at: [B(4), B(6)],
|
|
55
|
+
build(cell, i, box) {
|
|
56
|
+
if (i === 0) {
|
|
57
|
+
const cx = 560 - box.x;
|
|
58
|
+
const cy = 540 - box.y;
|
|
59
|
+
const ang = (h: number) => (h / 24) * Math.PI * 2 - Math.PI / 2;
|
|
60
|
+
const sector: Pt[] = [[cx, cy]];
|
|
61
|
+
for (let h = OG.night.from; h <= OG.night.to + 1e-6; h += 0.25) sector.push([cx + Math.cos(ang(h)) * (R - 6), cy + Math.sin(ang(h)) * (R - 6)]);
|
|
62
|
+
extra.push(screentone(cell, { ctx, poly: sector, pitch: 9, value: 0.62, at: B(5) }));
|
|
63
|
+
const sv = document.createElementNS(SVG, "svg");
|
|
64
|
+
sv.setAttribute("width", String(box.w));
|
|
65
|
+
sv.setAttribute("height", String(box.h));
|
|
66
|
+
sv.style.cssText = "position:absolute;left:0;top:0";
|
|
67
|
+
for (let h = 0; h < 24; h++) {
|
|
68
|
+
const big = h % 6 === 0;
|
|
69
|
+
const l = document.createElementNS(SVG, "line");
|
|
70
|
+
const r0 = R - (big ? 70 : 40);
|
|
71
|
+
const r1 = R - 14;
|
|
72
|
+
for (const [k, v] of Object.entries({ x1: cx + Math.cos(ang(h)) * r0, y1: cy + Math.sin(ang(h)) * r0, x2: cx + Math.cos(ang(h)) * r1, y2: cy + Math.sin(ang(h)) * r1, stroke: ctx.style.colors.ink, "stroke-width": big ? 10 : 5 })) l.setAttribute(k, String(v));
|
|
73
|
+
sv.append(l);
|
|
74
|
+
}
|
|
75
|
+
cell.append(sv);
|
|
76
|
+
for (const h of [0, 6, 12, 18]) {
|
|
77
|
+
const lab = words(cell, ctx, { text: String(h).padStart(2, "0"), x: cx + Math.cos(ang(h)) * (R - 125), y: cy + Math.sin(ang(h)) * (R - 125), size: 60 });
|
|
78
|
+
lab.style.background = ctx.style.colors.surface;
|
|
79
|
+
lab.style.padding = "0 8px";
|
|
80
|
+
}
|
|
81
|
+
// 바늘이 하루를 한 바퀴 돌고 10시(싼 창 끝)에 선다
|
|
82
|
+
const handBox = document.createElement("div");
|
|
83
|
+
handBox.style.cssText = `position:absolute;left:0;top:0;width:${box.w}px;height:${box.h}px;transform-origin:${cx}px ${cy}px`;
|
|
84
|
+
cell.append(handBox);
|
|
85
|
+
const hand = penStroke(handBox, { ctx, points: [[cx, cy], [cx, cy - R + 90]], at: B(4) + 0.125, dur: 0.12, width: 22 });
|
|
86
|
+
const hub = document.createElement("div");
|
|
87
|
+
hub.style.cssText = `position:absolute;left:${cx - 22}px;top:${cy - 22}px;width:44px;height:44px;border-radius:50%;background:${ctx.style.colors.ink}`;
|
|
88
|
+
cell.append(hub);
|
|
89
|
+
const sweep = (t: number) => {
|
|
90
|
+
const u = Math.min(1, Math.max(0, (t - B(4)) / (B(7) - B(4))));
|
|
91
|
+
const hours = (24 + OG.night.to) * (1 - (1 - u) ** 2);
|
|
92
|
+
handBox.style.transform = `rotate(${(hours / 24) * 360}deg)`;
|
|
93
|
+
};
|
|
94
|
+
extra.push(hand, sweep);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
extra.push(balloon(cell, { ctx, kind: "box", x: box.w / 2, y: 200, w: 620, h: 150, text: `KST ${String(OG.night.from).padStart(2, "0")}:00–${OG.night.to}:00`, size: 66, at: B(6) + 0.125 }));
|
|
98
|
+
extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy: 590, rx: 300, ry: 170, area: [0, 0, box.w, box.h], clip: local(box), at: B(7), burst: 0.12, count: 110, seed: "night" }));
|
|
99
|
+
extra.push(sfx(cell, { ctx, text: OG.deepseek.off.replace("-", "−"), x: box.w / 2, y: 590, size: 200, rotate: -6, at: B(7), ink: "accent", seed: "off" }));
|
|
100
|
+
words(cell, ctx, { text: OG.deepseek.id, x: box.w / 2, y: 880, size: 42 });
|
|
101
|
+
},
|
|
102
|
+
});
|
|
103
|
+
return [pg, ...extra];
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
// 쪽 3 — 정가 칸(오른쪽)을 펜이 붉게 긋고, 밤 칸(왼쪽)에 싼 값이 효과선을 타고 떨어진다, 아래에 glm
|
|
107
|
+
const prices = page(art, B(8), ctx.dur, (el) => {
|
|
108
|
+
const extra: Paint[] = [];
|
|
109
|
+
const pg = panelPage(el, {
|
|
110
|
+
ctx,
|
|
111
|
+
quads: [quad(80, 60, 1760, 170, 0, 0), quad(970, 270, 870, 560, 0, 40), quad(80, 270, 870, 560, 0, -40), quad(80, 870, 1760, 150, 40, 0)],
|
|
112
|
+
at: [B(8), B(8) + 1 / 24, B(10), B(11)],
|
|
113
|
+
build(cell, i, box) {
|
|
114
|
+
const [d0, d1] = OG.deepseek.input;
|
|
115
|
+
const [o0, o1] = OG.deepseek.output;
|
|
116
|
+
if (i === 0) {
|
|
117
|
+
extra.push(speedLines(cell, { ctx, area: [0, 0, box.w, box.h], clip: local(box), angle: 0, rate: 0.8, at: B(8) + 0.125, seed: "banner" }));
|
|
118
|
+
extra.push(balloon(cell, { ctx, kind: "electric", x: box.w / 2, y: box.h / 2, w: 1100, h: 120, text: OG.deepseek.id, size: 64, at: B(8) + 0.125, seed: "ds" }));
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (i === 1) {
|
|
122
|
+
extra.push(focusLines(cell, { ctx, cx: box.w / 2, cy: 315, rx: 380, ry: 200, area: [0, 0, box.w, box.h], clip: local(box), at: B(8) + 0.17, burst: 0.1, strength: 0.9, count: 150, seed: "list" }));
|
|
123
|
+
words(cell, ctx, { text: "정가", x: 60, y: 80, size: 64, anchor: "left" });
|
|
124
|
+
words(cell, ctx, { text: `입력 ${d0} /M`, x: box.w / 2, y: 230, size: 104 });
|
|
125
|
+
words(cell, ctx, { text: `출력 ${o0} /M`, x: box.w / 2, y: 400, size: 104 });
|
|
126
|
+
extra.push(penStroke(cell, { ctx, points: [[150, 250], [box.w - 150, 210]], at: B(9), dur: 0.12, width: 18, ink: "accent" }));
|
|
127
|
+
extra.push(penStroke(cell, { ctx, points: [[150, 420], [box.w - 150, 380]], at: B(9) + 0.12, dur: 0.12, width: 18, ink: "accent" }));
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
if (i === 2) {
|
|
131
|
+
extra.push(speedLines(cell, { ctx, area: [0, 0, box.w, box.h], clip: local(box), angle: 90, rate: 1, at: B(10), seed: "fall" }));
|
|
132
|
+
words(cell, ctx, { text: "밤", x: 60, y: 80, size: 64, anchor: "left" }).style.background = ctx.style.colors.surface;
|
|
133
|
+
extra.push(sfx(cell, { ctx, text: d1, x: box.w / 2, y: 230, size: 150, rotate: -4, at: B(10) + 0.125, seed: "d1" }));
|
|
134
|
+
extra.push(sfx(cell, { ctx, text: o1, x: box.w / 2, y: 420, size: 150, rotate: 3, at: B(10) + 0.2, seed: "o1" }));
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
words(cell, ctx, { text: `${OG.glm.id} 밤 ${OG.glm.off.replace("-", "−")}`, x: box.w / 2, y: box.h / 2, size: 66 });
|
|
138
|
+
},
|
|
139
|
+
});
|
|
140
|
+
return [pg, ...extra];
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
const hit = impactFrame(layer(root), { ctx, drop: 0, origin: [990, 520], rx: 560, ry: 280 });
|
|
144
|
+
return (t: number) => {
|
|
145
|
+
paper(t);
|
|
146
|
+
splash(t);
|
|
147
|
+
clock(t);
|
|
148
|
+
prices(t);
|
|
149
|
+
const s = hit(t);
|
|
150
|
+
applyStyle(frame, s.shake);
|
|
151
|
+
if (ref.hero) applyStyle(ref.hero, s.punch);
|
|
152
|
+
};
|
|
153
|
+
},
|
|
154
|
+
};
|