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": "isotype · OpenGateway 소개 15초",
|
|
4
|
+
"theme": "isotype",
|
|
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,47 @@
|
|
|
1
|
+
import { applyStyle, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { pressIn } from "../../effects.ts";
|
|
3
|
+
import { color } from "../../kit.ts";
|
|
4
|
+
|
|
5
|
+
/** 장면 안 박 — 장면 시작 0 부터 끝 전까지 */
|
|
6
|
+
export const beatsIn = (ctx: SceneCtx): number[] => ctx.beats.beats.filter((b) => b >= -1e-6 && b < ctx.dur - 1e-6);
|
|
7
|
+
|
|
8
|
+
/** 컷 경계 — 첫 컷은 0 부터(장면 머리의 못갖춘마디는 첫 컷에 넣는다), 나머지는 마디 첫 박 */
|
|
9
|
+
export function cutsAt(ctx: SceneCtx): number[] {
|
|
10
|
+
return [0, ...ctx.beats.bars.filter((b) => b > 0.6 && b < ctx.dur - 1e-6)];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function layer(parent: HTMLElement, css = ""): HTMLElement {
|
|
14
|
+
const el = document.createElement("div");
|
|
15
|
+
el.style.cssText = `position:absolute;inset:0;${css}`;
|
|
16
|
+
parent.append(el);
|
|
17
|
+
return el;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/** 컷 하나 — 그 구간에서만 보인다(display 로 통째로 뺀다). 안의 그리기는 장면 시각을 받는다 */
|
|
21
|
+
export function cut(parent: HTMLElement, from: number, to: number, build: (el: HTMLElement) => ((t: number) => void)[]): (t: number) => void {
|
|
22
|
+
const el = layer(parent);
|
|
23
|
+
const paints = build(el);
|
|
24
|
+
return (t) => {
|
|
25
|
+
const on = t >= from && t < to;
|
|
26
|
+
el.style.display = on ? "" : "none";
|
|
27
|
+
if (on) for (const p of paints) p(t);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** 찍히는 글 — at 에 도장처럼 눌려 선다 */
|
|
32
|
+
export function label(parent: HTMLElement, ctx: SceneCtx, s: string, at: number, css: string, tone = "ink", font: "sans" | "display" | "mono" = "sans"): (t: number) => void {
|
|
33
|
+
const el = document.createElement("div");
|
|
34
|
+
el.textContent = s;
|
|
35
|
+
el.style.cssText = `position:absolute;white-space:pre;line-height:1.15;font-family:${ctx.style.fonts[font]};font-weight:500;color:${color(ctx, tone)};${css}`;
|
|
36
|
+
parent.append(el);
|
|
37
|
+
return (t) => {
|
|
38
|
+
el.style.display = t >= at ? "" : "none";
|
|
39
|
+
applyStyle(el, pressIn(t, { at }));
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** 차트 제목 — 왼쪽 위, 아이소타입 판처럼 한 줄 */
|
|
44
|
+
export const title = (parent: HTMLElement, ctx: SceneCtx, s: string, at: number) => label(parent, ctx, s, at, "left:120px;top:72px;font-size:64px;", "ink", "display");
|
|
45
|
+
|
|
46
|
+
/** 회사 이름 → 모델 ID 머리 */
|
|
47
|
+
export const VENDOR = (id: string): string => id.split("/")[0];
|
|
@@ -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,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,80 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { chartFrame, countRow, pageSlide, symbolKey } from "../../effects.ts";
|
|
3
|
+
import { color } from "../../kit.ts";
|
|
4
|
+
import { OG } from "../lib/facts.ts";
|
|
5
|
+
import { beatsIn, cut, cutsAt, label, layer, title } from "../lib/chart.ts";
|
|
6
|
+
import svg from "../assets/og/logo.svg?raw";
|
|
7
|
+
|
|
8
|
+
// 지연 = 시계 기호. 시계 하나 = 50ms, 초당 스무 개씩 찍으니 줄이 다 서는 시각이 그 모델의 첫 토큰 실측 그대로다(끝 시계는 잘라 소수).
|
|
9
|
+
// 그다음 18번 호출 = 사람 열여덟. 둘째 마디: 끝 카드 — OG 로고와 주소, 아래로 칩 102 개 판(모델 하나 = 칩 하나)이 끝 프레임까지 찍힌다
|
|
10
|
+
const MS = 50;
|
|
11
|
+
const ROWS = 6;
|
|
12
|
+
const PER = OG.models / ROWS;
|
|
13
|
+
const RATE = 1000 / MS;
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
17
|
+
const paper = chartFrame(layer(root), { ctx });
|
|
18
|
+
const beats = beatsIn(ctx);
|
|
19
|
+
const b = (i: number) => beats[i] ?? i * 0.353;
|
|
20
|
+
const [, bar2] = cutsAt(ctx);
|
|
21
|
+
|
|
22
|
+
const race = cut(root, 0, bar2, (el) => {
|
|
23
|
+
const rows = OG.ttft.flatMap(([id, ms, v], i) => {
|
|
24
|
+
const y = 230 + i * 190;
|
|
25
|
+
return [
|
|
26
|
+
label(el, ctx, id, 0, `left:520px;top:${y - 52}px;font-size:34px;`, "dim", "mono"),
|
|
27
|
+
countRow(el, { ctx, name: "clock", x: 520, y, size: 64, gap: 9, value: v, unit: MS, at: 0, rate: RATE, group: 5, tone: i === 0 ? "accent" : "ink" }),
|
|
28
|
+
label(el, ctx, ms, v / 1000, `left:120px;top:${y + 2}px;font-size:56px;`, i === 0 ? "accentText" : "ink", "display"),
|
|
29
|
+
];
|
|
30
|
+
});
|
|
31
|
+
const calls = countRow(el, { ctx, name: "person", x: 520, y: 790, size: 80, gap: 6, value: 18, at: 0.77, rate: 50, group: 5, tone: "ink" });
|
|
32
|
+
// 호출 수를 사람 기호와 같이 센다 — 한 사람이 찍힐 때마다 한 번
|
|
33
|
+
const callEl = document.createElement("div");
|
|
34
|
+
callEl.style.cssText = `position:absolute;left:120px;top:808px;font:500 48px ${ctx.style.fonts.display};color:${color(ctx, "ink")};white-space:pre;`;
|
|
35
|
+
el.append(callEl);
|
|
36
|
+
const callCount = (t: number) => {
|
|
37
|
+
callEl.style.display = t >= 0.77 ? "" : "none";
|
|
38
|
+
callEl.textContent = `OG ${Math.min(18, Math.floor(Math.max(0, t - 0.77) * 50 + 1e-6) + 1)}번`;
|
|
39
|
+
};
|
|
40
|
+
return [
|
|
41
|
+
title(el, ctx, "첫 토큰", 0),
|
|
42
|
+
...rows,
|
|
43
|
+
symbolKey(el, { ctx, name: "clock", text: `${MS}ms`, x: 1500, y: 72, size: 52, at: 0 }),
|
|
44
|
+
callCount,
|
|
45
|
+
calls,
|
|
46
|
+
label(el, ctx, "$0.0004", b(3), "left:1460px;width:340px;text-align:right;top:808px;font-size:48px;", "accentText", "mono"),
|
|
47
|
+
// 끝 카드 앞 — 새 장이 들어와 차트를 덮는다
|
|
48
|
+
pageSlide(el, { ctx, at: 1.1, dur: bar2 - 1.1 - 0.01 }),
|
|
49
|
+
];
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
const card = cut(root, bar2, ctx.dur, (el) => {
|
|
53
|
+
const logo = document.createElement("div");
|
|
54
|
+
logo.style.cssText = `position:absolute;left:${(1920 - 600) / 2}px;top:80px;width:600px;color:${color(ctx, "ink")};`;
|
|
55
|
+
logo.innerHTML = svg.replace(/ width="\d+" height="\d+"/, ' width="100%" style="display:block"');
|
|
56
|
+
el.append(logo);
|
|
57
|
+
const end = ctx.dur - 1 / 60 - 0.02;
|
|
58
|
+
const start = b(5) + 0.02;
|
|
59
|
+
const rate = OG.models / (end - start);
|
|
60
|
+
return [
|
|
61
|
+
(t: number) => {
|
|
62
|
+
logo.style.display = t >= bar2 ? "" : "none";
|
|
63
|
+
logo.style.clipPath = `inset(0 ${(100 - Math.min(1, (t - bar2) / 0.36) * 100).toFixed(2)}% 0 0)`;
|
|
64
|
+
},
|
|
65
|
+
label(el, ctx, OG.site, b(5), "left:0;width:1920px;text-align:center;top:448px;font-size:88px;", "ink", "display"),
|
|
66
|
+
// 칩 102 개 판 — 여섯 줄 열일곱씩, 줄마다 이어서 끝 프레임까지 찍힌다
|
|
67
|
+
...Array.from({ length: ROWS }, (_, r) =>
|
|
68
|
+
countRow(el, { ctx, name: "chip", x: (1920 - (PER * 66 - 14)) / 2, y: 596 + r * 62, size: 52, gap: 14, value: PER, at: start + (r * PER) / rate, rate, group: 0, toneAt: (i) => (r * PER + i < 41 ? "accentText" : "ink") }),
|
|
69
|
+
),
|
|
70
|
+
symbolKey(el, { ctx, name: "chip", text: `모델 1 · ${OG.models}`, x: 120, y: 980, size: 36, at: start }),
|
|
71
|
+
];
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
return (t: number) => {
|
|
75
|
+
paper(t);
|
|
76
|
+
race(t);
|
|
77
|
+
card(t);
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { chartFrame, countRow, pageSlide, regroup, symbolKey } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { beatsIn, cut, cutsAt, label, layer, title } from "../lib/chart.ts";
|
|
5
|
+
|
|
6
|
+
// 회사 = 공장 기호. 첫 마디: 공장 아홉이 하나씩 판 아래에서 들어와 한 줄로 놓이고, 큰 수가 하나씩 센다.
|
|
7
|
+
// 둘째 마디: 회사별 모델 수 — 칩 하나 = 모델 둘, 줄마다 이어서 칩이 하나씩 찍혀 세고, 끝 칩은 잘라 반 개를 보인다
|
|
8
|
+
const SIZE = 150;
|
|
9
|
+
const GAP = 40;
|
|
10
|
+
const X0 = (1920 - (9 * SIZE + 8 * GAP)) / 2;
|
|
11
|
+
const ROW_Y = 330;
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
15
|
+
const paper = chartFrame(layer(root), { ctx });
|
|
16
|
+
const beats = beatsIn(ctx);
|
|
17
|
+
const b = (i: number) => beats[i] ?? i * 0.353;
|
|
18
|
+
const [, bar2] = cutsAt(ctx);
|
|
19
|
+
|
|
20
|
+
const one = cut(root, 0, bar2, (el) => {
|
|
21
|
+
const head = title(el, ctx, "공급자", 0);
|
|
22
|
+
// 공장은 하나씩 0.15초 간격으로 판 아래에서 들어와 놓인다 — 늘 하나는 옮겨지는 중이고, 놓일 때마다 큰 수가 하나 오른다
|
|
23
|
+
const step = (b(3) - 0.32) / 8;
|
|
24
|
+
const land = (i: number) => 0.3 + i * step;
|
|
25
|
+
const to = OG.providers.map((_, i): [number, number] => [X0 + i * (SIZE + GAP), ROW_Y]);
|
|
26
|
+
const moves = to.map((p, i) => regroup(el, { ctx, name: "factory", from: [[p[0] + 60, 1120]], to: [p], size: SIZE, at: land(i) - 0.3, dur: 0.3 }));
|
|
27
|
+
const names = OG.providers.map(([name], i) => label(el, ctx, name, land(i), `left:${to[i][0] - 20}px;width:${SIZE + 40}px;text-align:center;top:${ROW_Y + SIZE + 24}px;font-size:34px;`));
|
|
28
|
+
const counts = OG.providers.map((_, i) => label(el, ctx, String(i + 1), land(i), `left:120px;top:${ROW_Y + SIZE + 120}px;font-size:160px;line-height:1;`, "accentText", "display"));
|
|
29
|
+
const tally = (t: number) => {
|
|
30
|
+
// 지금 놓인 수 하나만 보인다
|
|
31
|
+
const n = OG.providers.filter((_, i) => t >= land(i)).length;
|
|
32
|
+
counts.forEach((c, i) => (i === n - 1 ? c(t) : c(-1)));
|
|
33
|
+
};
|
|
34
|
+
const slide = pageSlide(el, { ctx, at: b(3), dur: bar2 - b(3) - 0.02 });
|
|
35
|
+
return [head, ...moves, ...names, tally, slide];
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
const two = cut(root, bar2, ctx.dur, (el) => {
|
|
39
|
+
const head = title(el, ctx, "회사별 모델", bar2);
|
|
40
|
+
// 줄은 차례로 — 앞 줄이 다 세어지면 다음 줄이 이어서 센다(칩 하나 = 모델 둘)
|
|
41
|
+
const rate = 52;
|
|
42
|
+
let at = bar2 + 0.05;
|
|
43
|
+
const rows = OG.providers.flatMap(([name, n], i) => {
|
|
44
|
+
const y = 176 + i * 84;
|
|
45
|
+
const start = at;
|
|
46
|
+
const chips = n / 2;
|
|
47
|
+
at += chips / rate + 0.02;
|
|
48
|
+
return [
|
|
49
|
+
label(el, ctx, name, start, `left:120px;top:${y + 4}px;font-size:36px;`),
|
|
50
|
+
countRow(el, { ctx, name: "chip", x: 420, y, size: 52, gap: 7, value: n, unit: 2, at: start, rate, group: 10, toneAt: () => (i === 0 ? "accent" : "ink") }),
|
|
51
|
+
label(el, ctx, String(n), start + chips / rate, `left:${420 + Math.ceil(chips) * 59 + Math.floor(Math.ceil(chips) / 10) * 14 + 24}px;top:${y + 2}px;font-size:40px;`, "dim", "display"),
|
|
52
|
+
];
|
|
53
|
+
});
|
|
54
|
+
const key = symbolKey(el, { ctx, name: "chip", text: "모델 2", x: 120, y: 960, size: 48, at: bar2 });
|
|
55
|
+
const slide = pageSlide(el, { ctx, at: Math.max(at, b(7)), dur: ctx.dur - Math.max(at, b(7)) - 1 / 60 });
|
|
56
|
+
return [head, ...rows, key, slide];
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
return (t: number) => {
|
|
60
|
+
paper(t);
|
|
61
|
+
one(t);
|
|
62
|
+
two(t);
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { chartFrame, pictogram, regroup, splitAxis, symbolKey } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { beatsIn, cut, cutsAt, label, layer, title, VENDOR } from "../lib/chart.ts";
|
|
5
|
+
|
|
6
|
+
// 한 주소 = 문 하나, 요청 = 사람 하나. 첫 마디: 문이 찍히고 사람이 끊이지 않고 줄지어 문으로 들어간다.
|
|
7
|
+
// 둘째 마디: 모델 ID 줄마다 「사람 → 같은 문 → 그 회사 칩」, 고른 줄로는 요청이 이어서 흐른다 — 문 기둥 위 주소 하나.
|
|
8
|
+
// 셋째 마디: OpenAI·Anthropic 두 형식 문서에서 사람이 같은 문으로 — 박마다 더 많이(드롭 앞 모아 올리기)
|
|
9
|
+
const P = 84;
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
13
|
+
const paper = chartFrame(layer(root), { ctx });
|
|
14
|
+
const beats = beatsIn(ctx);
|
|
15
|
+
const b = (i: number) => beats[i] ?? i * 0.353;
|
|
16
|
+
const [, barB, barC] = cutsAt(ctx);
|
|
17
|
+
|
|
18
|
+
const a = cut(root, 0, barB, (el) => {
|
|
19
|
+
const head = title(el, ctx, "요청 → 주소 1", 0);
|
|
20
|
+
const door = pictogram(el, { ctx, name: "door", places: [[1260, 300]], size: 420, at: 0 });
|
|
21
|
+
const url = label(el, ctx, OG.host, b(1), "left:1000px;width:940px;text-align:center;top:760px;font-size:44px;", "ink", "mono");
|
|
22
|
+
// 요청은 끊이지 않고 줄지어 와서 문 안으로 들어간다 — 사람 하나가 0.07초마다 왼쪽에서 출발
|
|
23
|
+
const n = Math.ceil((barB - 0.45) / 0.07);
|
|
24
|
+
const flow = regroup(el, { ctx, name: "person", from: Array.from({ length: n }, () => [80, 560]), to: Array.from({ length: n }, () => [1428, 560]), size: 96, at: 0, dur: 0.5, stagger: 0.07, stay: false });
|
|
25
|
+
const key = symbolKey(el, { ctx, name: "person", text: "요청 1", x: 120, y: 960, size: 48, at: b(2) });
|
|
26
|
+
return [head, door, url, flow, key];
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
const ids = OG.ids;
|
|
30
|
+
const rowAt = [b(4), b(5), b(6), b(7), (b(7) + b(8)) / 2];
|
|
31
|
+
const bb = cut(root, barB, barC, (el) => {
|
|
32
|
+
const head = title(el, ctx, "모델 ID", barB);
|
|
33
|
+
const doorX = 1180;
|
|
34
|
+
const rows = ids.flatMap((id, i) => {
|
|
35
|
+
const y = 200 + i * 150;
|
|
36
|
+
const at = rowAt[i];
|
|
37
|
+
return [
|
|
38
|
+
label(el, ctx, id, at, `left:120px;top:${y + 26}px;font-size:34px;`, "ink", "mono"),
|
|
39
|
+
regroup(el, { ctx, name: "person", from: [[860, y + 160]], to: [[900, y]], size: 96, at: at - 0.12, dur: 0.12 }),
|
|
40
|
+
regroup(el, { ctx, name: "person", from: Array.from({ length: 16 }, () => [900, y + 16]), to: Array.from({ length: 16 }, () => [doorX + 16, y + 16]), size: 64, at: at + 0.1, dur: 0.24, stagger: 0.09, stay: false, tone: "ink" }),
|
|
41
|
+
pictogram(el, { ctx, name: "arrow", places: [[1018, y + 24]], size: 48, at, tone: "guide" }),
|
|
42
|
+
pictogram(el, { ctx, name: "door", places: [[doorX, y]], size: 96, at: barB + i * 0.03 }),
|
|
43
|
+
pictogram(el, { ctx, name: "arrow", places: [[1300, y + 24]], size: 48, at: at + 0.06, tone: "guide" }),
|
|
44
|
+
pictogram(el, { ctx, name: "chip", places: [[1380, y]], size: 96, at: at + 0.1, tone: VENDOR(id) === "openai" ? "accent" : "ink" }),
|
|
45
|
+
];
|
|
46
|
+
});
|
|
47
|
+
const axis = splitAxis(el, { ctx, x: doorX + 48, y0: 196, y1: 196 + 4 * 150 + 100, at: barB, dur: 0.2, right: OG.host, size: 36 });
|
|
48
|
+
return [head, ...rows, axis];
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
const c = cut(root, barC, ctx.dur, (el) => {
|
|
52
|
+
const head = title(el, ctx, "형식 2 · 주소 1", barC);
|
|
53
|
+
const docs = pictogram(el, { ctx, name: "doc", places: [[160, 300], [1560, 300]], size: 200, at: barC, stagger: 0.05, tones: ["ink", "ink"] });
|
|
54
|
+
const left = [label(el, ctx, "OpenAI", barC, "left:120px;top:540px;font-size:44px;", "accentText", "display"), ...["/chat/completions", "/responses", "/images/generations"].map((s, i) => label(el, ctx, s, barC + 0.06 * (i + 1), `left:120px;top:${610 + i * 56}px;font-size:34px;`, "ink", "mono"))];
|
|
55
|
+
const right = [label(el, ctx, "Anthropic", b(9), "left:1360px;width:440px;text-align:right;top:540px;font-size:44px;", "accentText", "display"), label(el, ctx, "/messages", b(9) + 0.06, "left:1360px;width:440px;text-align:right;top:610px;font-size:34px;", "ink", "mono")];
|
|
56
|
+
const door = pictogram(el, { ctx, name: "door", places: [[790, 300]], size: 340, at: barC });
|
|
57
|
+
const url = label(el, ctx, OG.host, barC + 0.1, "left:560px;width:800px;text-align:center;top:680px;font-size:36px;", "ink", "mono");
|
|
58
|
+
// 박마다 양쪽 문서에서 사람이 문으로 — 둘, 넷, 여섯, 여덟(드롭 앞 모아 올리기)
|
|
59
|
+
const waves = [barC, b(9), b(10), b(11)].map((at, k) => {
|
|
60
|
+
const n = (k + 1) * 2;
|
|
61
|
+
const from = Array.from({ length: n }, (_, i): [number, number] => (i % 2 ? [1600, 420 + (i % 3) * 20] : [200, 420 + (i % 3) * 20]));
|
|
62
|
+
const to = from.map((): [number, number] => [918, 470]);
|
|
63
|
+
return regroup(el, { ctx, name: "person", from, to, size: P, at, dur: 0.3, stagger: 0.025, stay: false, toneAt: (i) => (i % 2 ? "ink" : "accent") });
|
|
64
|
+
});
|
|
65
|
+
return [head, docs, ...left, ...right, door, url, ...waves];
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
return (t: number) => {
|
|
69
|
+
paper(t);
|
|
70
|
+
a(t);
|
|
71
|
+
bb(t);
|
|
72
|
+
c(t);
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { applyStyle, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { chartFrame, countBurst, countRow, pageSlide, pictogram, splitAxis, stackColumn, symbolKey } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { beatsIn, cut, cutsAt, label, layer, title } from "../lib/chart.ts";
|
|
5
|
+
|
|
6
|
+
// 드롭: 칩 102 개가 드롭 지점부터 판을 채운다(칩 하나 = 모델 하나, OpenAI 41 은 주홍) — 주소 하나.
|
|
7
|
+
// 둘째 마디: 하루 24시간 기둥 — 한 시간씩 차례로 동전 기둥이 서고, 낮은 열 개·밤(00–10) 은 하나. 축선이 밤을 가르고 -90%.
|
|
8
|
+
// 셋째 마디: deepseek 값 — 동전 하나 = $0.03 /M. 입력 열 개 중 아홉, 출력 마흔 개 중 서른여섯이 회색으로 덜어진다
|
|
9
|
+
const HOURS = 24;
|
|
10
|
+
const COL = 66;
|
|
11
|
+
const CX0 = (1920 - HOURS * COL) / 2;
|
|
12
|
+
const BASE = 860;
|
|
13
|
+
const COIN = 38;
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
17
|
+
const paper = chartFrame(layer(root), { ctx });
|
|
18
|
+
const beats = beatsIn(ctx);
|
|
19
|
+
const b = (i: number) => beats[i] ?? i * 0.353;
|
|
20
|
+
const [, bar2, bar3] = cutsAt(ctx);
|
|
21
|
+
const content = layer(root);
|
|
22
|
+
// 칩 판은 첫 마디에만 — 다음 컷에선 통째로 뺀다
|
|
23
|
+
const grid = layer(content);
|
|
24
|
+
const burst = countBurst(grid, { ctx, drop: 0, name: "chip", mode: "grid", box: [120, 200, 1680, 640], count: OG.models, size: 64, origin: [960, 520], dur: 1.38, toneAt: (i) => (i < 41 ? "accent" : "ink") });
|
|
25
|
+
|
|
26
|
+
const one = cut(content, 0, bar2, (el) => {
|
|
27
|
+
return [
|
|
28
|
+
label(el, ctx, `모델 ${OG.models}`, 0, "left:120px;top:92px;font-size:104px;line-height:1;", "ink", "display"),
|
|
29
|
+
label(el, ctx, OG.host, b(1), "left:960px;width:840px;text-align:right;top:92px;font-size:44px;", "ink", "mono"),
|
|
30
|
+
symbolKey(el, { ctx, name: "chip", text: "모델 1", x: 120, y: 900, size: 56, at: b(2) }),
|
|
31
|
+
label(el, ctx, "OpenAI 41", b(3), "left:960px;width:840px;text-align:right;top:908px;font-size:48px;", "accentText", "display"),
|
|
32
|
+
];
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const day = cut(content, bar2, bar3, (el) => {
|
|
36
|
+
// 하루가 한 시간씩 흐른다 — 앞 시간 기둥이 다 서면 다음 시간이 이어서 쌓인다(밤은 동전 하나라 금방 지나간다)
|
|
37
|
+
const rate = 170;
|
|
38
|
+
let at = bar2;
|
|
39
|
+
const hourAt: number[] = [];
|
|
40
|
+
const cols = Array.from({ length: HOURS }, (_, h) => {
|
|
41
|
+
const n = h < OG.night.to ? 1 : 10;
|
|
42
|
+
const start = at;
|
|
43
|
+
hourAt.push(start);
|
|
44
|
+
at += n / rate + 0.02;
|
|
45
|
+
return stackColumn(el, { ctx, name: "coin", x: CX0 + h * COL + (COL - COIN) / 2, baseline: BASE, size: COIN, count: n, at: start, rate, tone: h < OG.night.to ? "accent" : "ink" });
|
|
46
|
+
});
|
|
47
|
+
// 지금 시각 — 시계 기호가 기둥 아래를 한 시간씩 옮겨 간다(그 시간 기둥이 쌓이는 동안 거기 선다)
|
|
48
|
+
const now = hourAt.map((from, h) => pictogram(el, { ctx, name: "clock", places: [[CX0 + h * COL + (COL - 56) / 2, BASE + 60]], size: 56, at: from, until: h < HOURS - 1 ? hourAt[h + 1] : bar3 }));
|
|
49
|
+
const hours = [0, 6, 10, 12, 18, 24].map((h) => label(el, ctx, String(h).padStart(2, "0"), bar2 + 0.2, `left:${CX0 + h * COL - 40}px;width:80px;text-align:center;top:${BASE + 16}px;font-size:30px;`, h === 0 || h === 10 ? "accentText" : "dim", "mono"));
|
|
50
|
+
return [
|
|
51
|
+
title(el, ctx, "시간대별 값 · KST", bar2),
|
|
52
|
+
...cols,
|
|
53
|
+
...now,
|
|
54
|
+
...hours,
|
|
55
|
+
splitAxis(el, { ctx, x: CX0 + OG.night.to * COL, y0: 330, y1: BASE + 8, at: b(5), left: "00–10", right: "10–24", size: 40 }),
|
|
56
|
+
label(el, ctx, OG.deepseek.off, b(6), `left:${CX0}px;top:470px;font-size:144px;line-height:1;`, "accentText", "display"),
|
|
57
|
+
pictogram(el, { ctx, name: "moon", places: [[CX0 + 4 * COL, 220]], size: 96, at: b(7) }),
|
|
58
|
+
pictogram(el, { ctx, name: "sun", places: [[CX0 + 16 * COL, 220]], size: 96, at: b(7), tone: "guide" }),
|
|
59
|
+
symbolKey(el, { ctx, name: "coin", text: "정가 10%", x: 1460, y: 80, size: 44, at: b(5) }),
|
|
60
|
+
];
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
const shop = cut(content, bar3, ctx.dur, (el) => {
|
|
64
|
+
const unit = 0.03;
|
|
65
|
+
return [
|
|
66
|
+
label(el, ctx, OG.deepseek.id, bar3, "left:120px;top:72px;font-size:52px;", "ink", "mono"),
|
|
67
|
+
label(el, ctx, "입력", bar3, "left:120px;top:236px;font-size:48px;", "ink", "sans"),
|
|
68
|
+
countRow(el, { ctx, name: "coin", x: 340, y: 232, size: 52, gap: 8, value: 0.3, unit, at: bar3, rate: 60, keep: [[b(9), 1]], dropRate: 40 }),
|
|
69
|
+
label(el, ctx, `${OG.deepseek.input[0]} → ${OG.deepseek.input[1]}`, b(9) + 0.25, "left:1060px;top:236px;font-size:52px;", "accentText", "mono"),
|
|
70
|
+
label(el, ctx, "출력", bar3, "left:120px;top:420px;font-size:48px;", "ink", "sans"),
|
|
71
|
+
countRow(el, { ctx, name: "coin", x: 340, y: 416, size: 52, gap: 8, value: 0.6, unit, at: bar3 + 0.05, rate: 80, keep: [[b(10), 4]], dropRate: 60 }),
|
|
72
|
+
countRow(el, { ctx, name: "coin", x: 340, y: 488, size: 52, gap: 8, value: 0.6, unit, at: bar3 + 0.3, rate: 80, keep: [[b(10) + 0.2, 0]], dropRate: 60 }),
|
|
73
|
+
label(el, ctx, `${OG.deepseek.output[0]} → ${OG.deepseek.output[1]}`, b(10) + 0.5, "left:120px;top:600px;font-size:52px;", "accentText", "mono"),
|
|
74
|
+
label(el, ctx, `${OG.glm.id} ${OG.glm.off}`, b(11), "left:120px;top:740px;font-size:40px;", "dim", "mono"),
|
|
75
|
+
symbolKey(el, { ctx, name: "coin", text: "$0.03 /M", x: 120, y: 900, size: 52, at: bar3 }),
|
|
76
|
+
pageSlide(el, { ctx, at: ctx.dur - 0.3, dur: 0.3 - 1 / 60, from: "bottom" }),
|
|
77
|
+
];
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
return (t: number) => {
|
|
81
|
+
paper(t);
|
|
82
|
+
one(t);
|
|
83
|
+
grid.style.display = t < bar2 ? "" : "none";
|
|
84
|
+
const s = burst(t);
|
|
85
|
+
applyStyle(content, s.shake);
|
|
86
|
+
day(t);
|
|
87
|
+
shop(t);
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "isotype",
|
|
3
|
+
"label": "아이소타입 — 같은 기호를 늘어놓아 센다",
|
|
4
|
+
"scheme": "light",
|
|
5
|
+
"colors": {
|
|
6
|
+
"bg": "#EDE7D9",
|
|
7
|
+
"surface": "#F5F1E8",
|
|
8
|
+
"raised": "#E2DACA",
|
|
9
|
+
"line": "#1E1C1A",
|
|
10
|
+
"ink": "#1E1C1A",
|
|
11
|
+
"inkSoft": "#3A3631",
|
|
12
|
+
"dim": "#6B6358",
|
|
13
|
+
"accent": "#D4512A",
|
|
14
|
+
"accentSoft": "#E9A486",
|
|
15
|
+
"accentText": "#B23F1C",
|
|
16
|
+
"onAccent": "#F5F1E8",
|
|
17
|
+
"success": "#557F3F",
|
|
18
|
+
"danger": "#B23F1C",
|
|
19
|
+
"warning": "#9C7A3A",
|
|
20
|
+
"guide": "#A88F6E",
|
|
21
|
+
"grey": "#CBC2B1",
|
|
22
|
+
"green": "#557F3F",
|
|
23
|
+
"blue": "#3B6790"
|
|
24
|
+
},
|
|
25
|
+
"fonts": {
|
|
26
|
+
"sans": "Jost, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
27
|
+
"display": "Jost, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
28
|
+
"mono": "\"IBM Plex Mono\", ui-monospace, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", monospace",
|
|
29
|
+
"faces": [
|
|
30
|
+
{
|
|
31
|
+
"family": "Jost",
|
|
32
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@main/ofl/jost/Jost%5Bwght%5D.ttf",
|
|
33
|
+
"weight": "100 900"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"family": "IBM Plex Mono",
|
|
37
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@main/ofl/ibmplexmono/IBMPlexMono-Medium.ttf",
|
|
38
|
+
"weight": "400 700"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"family": "Pretendard Variable",
|
|
42
|
+
"src": "https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2",
|
|
43
|
+
"weight": "45 920"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"type": {
|
|
48
|
+
"hero": 200,
|
|
49
|
+
"title": 72,
|
|
50
|
+
"body": 40,
|
|
51
|
+
"caption": 30,
|
|
52
|
+
"weightDisplay": 500,
|
|
53
|
+
"weightBody": 450,
|
|
54
|
+
"tracking": "0em"
|
|
55
|
+
},
|
|
56
|
+
"radius": {
|
|
57
|
+
"sm": 0,
|
|
58
|
+
"md": 0,
|
|
59
|
+
"lg": 0,
|
|
60
|
+
"pill": 999
|
|
61
|
+
},
|
|
62
|
+
"shadow": {
|
|
63
|
+
"soft": "none",
|
|
64
|
+
"lift": "none"
|
|
65
|
+
},
|
|
66
|
+
"motion": {
|
|
67
|
+
"beatPulse": "drops-only",
|
|
68
|
+
"shake": {
|
|
69
|
+
"on": [
|
|
70
|
+
"drop"
|
|
71
|
+
],
|
|
72
|
+
"maxPerPhrase": 1,
|
|
73
|
+
"maxPx": 8
|
|
74
|
+
},
|
|
75
|
+
"cameraMove": "off",
|
|
76
|
+
"repeatSameMove": false,
|
|
77
|
+
"maxFreezeSec": 0.1,
|
|
78
|
+
"enter": "fade",
|
|
79
|
+
"ease": "inOutCubic",
|
|
80
|
+
"durations": {
|
|
81
|
+
"fast": 0.12,
|
|
82
|
+
"base": 0.3,
|
|
83
|
+
"slow": 0.6
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"theme": {
|
|
87
|
+
"inks": [
|
|
88
|
+
"#EDE7D9 차트 종이 · #1E1C1A 기호와 글(검정 판)",
|
|
89
|
+
"#D4512A 주홍 — 몫 하나만 짚는 강조 · #557F3F 초록 · #3B6790 파랑 — 갈래가 둘 셋일 때만",
|
|
90
|
+
"#A88F6E 안내 그림(배경 맥락)·축선 · #CBC2B1 회색 — 덜어낸 몫·나머지"
|
|
91
|
+
],
|
|
92
|
+
"texture": "납작한 면 — 그라데이션·그림자·윤곽선 없음. 기호는 리놀륨 판으로 찍은 실루엣, 원근 없이 정면이나 옆모습",
|
|
93
|
+
"movement": "기호가 하나씩 찍혀 늘어난다(초당 20–30개). 크기를 키워 양을 말하지 않는다. 옮길 땐 자석판 위 기호처럼 들어 옮겨 내려놓고, 덜어낼 땐 끝에서부터 회색으로. 장은 옆에서 밀려 들어오는 새 차트"
|
|
94
|
+
},
|
|
95
|
+
"notes": [
|
|
96
|
+
"오토 노이라트·게르트 아른츠 『사회와 경제』(1930) 차트의 색 — 크림 종이, 검정, 주홍, 초록, 안내 그림의 황토.",
|
|
97
|
+
"기호 하나가 늘 같은 값 — 풀이(symbolKey)를 한 줄 단다. 끝 기호는 잘라서 소수를 보인다.",
|
|
98
|
+
"글꼴은 Jost(푸투라 계열, OFL) — 한글은 Pretendard. 숫자 표·주소는 IBM Plex Mono.",
|
|
99
|
+
"카메라 없음 — 차트는 벽에 걸린 판이다."
|
|
100
|
+
]
|
|
101
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { clamp, ease, type Style } from "@kasaframe/core";
|
|
2
|
+
import type { ThemeSlots } from "@kasaframe/themes/slots";
|
|
3
|
+
import { cssVar, layer, letters, partial, shownCount, traceCanvas } from "@kasaframe/themes/slotkit";
|
|
4
|
+
import { chartFrame, countBurst, pressIn } from "./effects.ts";
|
|
5
|
+
import { drawPicto } from "./kit.ts";
|
|
6
|
+
|
|
7
|
+
// 장면 문법 패턴이 테마 이름 없이 부르는 자리 — 아이소타입 차트 판의 결로. 서는 것은 도장처럼 찍히고, 늘어나는 것은 같은 기호가 하나씩
|
|
8
|
+
export const slots: ThemeSlots = {
|
|
9
|
+
surface(el, { ctx }) {
|
|
10
|
+
return chartFrame(el, { ctx });
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
// 차트 판 칸 — 굵은 검정 머리줄이 왼쪽부터 그어지고 판 면이 깔린다. 강조 판은 주홍 머리줄
|
|
14
|
+
panel(el, { at, tone }) {
|
|
15
|
+
const box = layer(el, "inset:0;background:var(--kf-raised)", true);
|
|
16
|
+
const rule = layer(box, `left:0;top:0;height:10px;width:100%;background:${tone === "accent" ? "var(--kf-accent)" : "var(--kf-ink)"};transform-origin:0 50%`);
|
|
17
|
+
return (t) => {
|
|
18
|
+
const p = clamp((t - at) / 0.2);
|
|
19
|
+
box.style.visibility = t >= at ? "visible" : "hidden";
|
|
20
|
+
rule.style.transform = `scaleX(${ease.outCubic(p).toFixed(4)})`;
|
|
21
|
+
box.style.background = p >= 0.5 ? "var(--kf-raised)" : "transparent";
|
|
22
|
+
};
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
land(_el, { at }) {
|
|
26
|
+
return (t): Style => (t < at ? {} : pressIn(t, { at, px: 10 }));
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
// 활자를 한 낱말씩 앉히듯 — 낱말 단위로 서고, 서는 순간 도장처럼 눌린다
|
|
30
|
+
write(el, { text, at, dur }) {
|
|
31
|
+
const spans = letters(el, text);
|
|
32
|
+
const words: number[] = [];
|
|
33
|
+
let w = 0;
|
|
34
|
+
spans.forEach((s, i) => {
|
|
35
|
+
if (s.textContent === " ") w++;
|
|
36
|
+
words[i] = w;
|
|
37
|
+
});
|
|
38
|
+
const total = w + 1;
|
|
39
|
+
return (t) => {
|
|
40
|
+
const n = shownCount(total, t, at, dur);
|
|
41
|
+
spans.forEach((s, i) => (s.style.visibility = words[i] < n ? "visible" : "hidden"));
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
// 선은 검정 띠로 그어지고, 다 그은 뒤엔 사람 기호 하나가 선을 따라 끝까지 걷는다(요청이 그 길로 간다)
|
|
46
|
+
trace(el, { points, at, dur, tone }) {
|
|
47
|
+
const size = 36;
|
|
48
|
+
const { g, clear } = traceCanvas(el, points, size);
|
|
49
|
+
const ink = tone === "accent" ? cssVar(el, "accent", "#D4512A") : cssVar(el, "ink", "#1E1C1A");
|
|
50
|
+
const walker = cssVar(el, "accent", "#D4512A");
|
|
51
|
+
return (t) => {
|
|
52
|
+
clear();
|
|
53
|
+
const p = clamp((t - at) / Math.max(0.05, dur));
|
|
54
|
+
if (p <= 0) return;
|
|
55
|
+
const pts = partial(points, p);
|
|
56
|
+
g.strokeStyle = ink;
|
|
57
|
+
g.lineWidth = 8;
|
|
58
|
+
g.lineCap = "butt";
|
|
59
|
+
g.lineJoin = "miter";
|
|
60
|
+
g.beginPath();
|
|
61
|
+
g.moveTo(pts[0][0], pts[0][1]);
|
|
62
|
+
for (const q of pts.slice(1)) g.lineTo(q[0], q[1]);
|
|
63
|
+
g.stroke();
|
|
64
|
+
if (p < 1) return;
|
|
65
|
+
const k = ((t - at - dur) / 1.2) % 1;
|
|
66
|
+
const [x, y] = partial(points, k).at(-1)!;
|
|
67
|
+
drawPicto(g, "person", x - size / 2, y - size, size, walker);
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
drop(el, { ctx, drop }) {
|
|
72
|
+
return countBurst(el, { ctx, drop, name: "person", mode: "frame" });
|
|
73
|
+
},
|
|
74
|
+
};
|
|
Binary file
|