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": "circuit-board · OpenGateway 소개 15초",
|
|
4
|
+
"theme": "circuit-board",
|
|
5
|
+
"fps": 60,
|
|
6
|
+
"width": 1920,
|
|
7
|
+
"height": 1080,
|
|
8
|
+
"duration": 15,
|
|
9
|
+
"mode": "seek",
|
|
10
|
+
"style": "style.json",
|
|
11
|
+
"music": "assets/music/kawaii-friends-0400.mp3",
|
|
12
|
+
"beats": "beats.json",
|
|
13
|
+
"captions": "none",
|
|
14
|
+
"safeArea": {
|
|
15
|
+
"top": 60,
|
|
16
|
+
"bottom": 60,
|
|
17
|
+
"left": 80,
|
|
18
|
+
"right": 80
|
|
19
|
+
},
|
|
20
|
+
"text": {
|
|
21
|
+
"policy": "terms-only",
|
|
22
|
+
"maxOnScreen": 0,
|
|
23
|
+
"minPx": 0
|
|
24
|
+
},
|
|
25
|
+
"scenes": [
|
|
26
|
+
{
|
|
27
|
+
"id": "gather",
|
|
28
|
+
"from": 0,
|
|
29
|
+
"dur": 3.1169,
|
|
30
|
+
"file": "scenes/gather.ts",
|
|
31
|
+
"role": "hook",
|
|
32
|
+
"idea": "여러 회사 모델이 흩어져 있다 → 회사별 모델 수"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "models",
|
|
36
|
+
"from": 3.1169,
|
|
37
|
+
"dur": 4.2191,
|
|
38
|
+
"file": "scenes/models.ts",
|
|
39
|
+
"role": "explain",
|
|
40
|
+
"idea": "한 주소(https://apis.opengateway.ai/v1) → 박마다 바뀌는 모델 ID 가 같은 주소로 → 드롭 앞 모아 올리기"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "price",
|
|
44
|
+
"from": 7.336,
|
|
45
|
+
"dur": 4.2388,
|
|
46
|
+
"file": "scenes/price.ts",
|
|
47
|
+
"role": "drop",
|
|
48
|
+
"idea": "드롭에 가장 크게 102 · 한 주소 → 하루 시계에서 00–10시 창이 -90% → deepseek 가격"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "end",
|
|
52
|
+
"from": 11.5748,
|
|
53
|
+
"dur": 3.4252,
|
|
54
|
+
"file": "scenes/end.ts",
|
|
55
|
+
"role": "end",
|
|
56
|
+
"idea": "첫 토큰 실측 셋 → 끝 카드(OG 로고 · opengateway.ai)"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// OpenGateway 사실 — docs/briefs/og-intro-15s.md 에 적힌 것만. 숫자를 여기서 새로 만들지 않는다
|
|
2
|
+
export const OG = {
|
|
3
|
+
url: "https://apis.opengateway.ai/v1",
|
|
4
|
+
host: "apis.opengateway.ai/v1",
|
|
5
|
+
site: "opengateway.ai",
|
|
6
|
+
models: 102,
|
|
7
|
+
endpoints: ["/chat/completions", "/responses", "/messages", "/images/generations"],
|
|
8
|
+
providers: [
|
|
9
|
+
["OpenAI", 41],
|
|
10
|
+
["Anthropic", 15],
|
|
11
|
+
["Google", 15],
|
|
12
|
+
["Z.ai", 7],
|
|
13
|
+
["xAI", 6],
|
|
14
|
+
["Qwen", 5],
|
|
15
|
+
["Moonshot", 4],
|
|
16
|
+
["DeepSeek", 4],
|
|
17
|
+
["MiniMax", 3],
|
|
18
|
+
] as [string, number][],
|
|
19
|
+
ids: ["openai/gpt-6.1-sol", "anthropic/claude-opus-5-5", "google/gemini-3.5-flash-lite", "deepseek/deepseek-v4.1-flash-ultrafast", "z-ai/glm-5.3-flash-ultrafast"],
|
|
20
|
+
night: { from: 0, to: 10, tz: "KST" },
|
|
21
|
+
deepseek: { id: "deepseek-v4.1-flash-ultrafast", input: ["$0.30", "$0.03"], output: ["$1.20", "$0.12"], off: "-90%" },
|
|
22
|
+
glm: { id: "glm-5.3-flash-ultrafast", off: "-70%" },
|
|
23
|
+
ttft: [
|
|
24
|
+
["gpt-5.4-nano", "612.5ms", 612.5],
|
|
25
|
+
["gemini-3.5-flash-lite", "693.0ms", 693.0],
|
|
26
|
+
["claude-haiku-5-5", "760.5ms", 760.5],
|
|
27
|
+
] as [string, string, number][],
|
|
28
|
+
calls: "18번 합 $0.0004",
|
|
29
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { measure, route45, travelTime, type PtIn } from "../../pcb.ts";
|
|
3
|
+
|
|
4
|
+
export const beatsIn = (ctx: SceneCtx): number[] => ctx.beats.beats.filter((b) => b >= -1e-6 && b < ctx.dur - 1e-6);
|
|
5
|
+
|
|
6
|
+
export function layer(parent: HTMLElement, css = ""): HTMLElement {
|
|
7
|
+
const el = document.createElement("div");
|
|
8
|
+
el.style.cssText = `position:absolute;inset:0;${css}`;
|
|
9
|
+
parent.append(el);
|
|
10
|
+
return el;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** from 부터 to 까지만 보이는 컷 — 숨은 컷은 그리지 않는다 */
|
|
14
|
+
export function cut(parent: HTMLElement, from: number, to: number) {
|
|
15
|
+
const el = layer(parent);
|
|
16
|
+
return {
|
|
17
|
+
el,
|
|
18
|
+
on(t: number): boolean {
|
|
19
|
+
const v = t >= from && t < to;
|
|
20
|
+
// visibility 로 숨기면 안쪽 요소가 visible 을 주는 순간 부모를 뚫고 보인다 — display 로 통째로 뺀다
|
|
21
|
+
el.style.display = v ? "" : "none";
|
|
22
|
+
return v;
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** from 부터 to 앞까지 every 초마다 — 요청이 끊이지 않고 들어오는 흐름 */
|
|
28
|
+
export const stream = (from: number, to: number, every: number, phase = 0): number[] => {
|
|
29
|
+
const out: number[] = [];
|
|
30
|
+
for (let t = from + phase; t < to - 1e-6; t += every) out.push(t);
|
|
31
|
+
return out;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** 펄스가 출발해 끝 패드에 닿는 시각 — 칩이 달아오를 hits 를 펄스와 같은 길로 잰다 */
|
|
35
|
+
export const arrive = (points: readonly PtIn[], start: number, speed: number, holds: readonly { at: number; sec: number }[] = [], bend?: number): number =>
|
|
36
|
+
start + travelTime(measure(route45(points, bend)).len, speed, holds);
|
|
37
|
+
|
|
38
|
+
/** OG 로고(currentColor SVG) */
|
|
39
|
+
export function logo(parent: HTMLElement, svg: string, x: number, y: number, w: number, color: string): HTMLElement {
|
|
40
|
+
const el = document.createElement("div");
|
|
41
|
+
el.style.cssText = `position:absolute;left:${x}px;top:${y}px;width:${w}px;color:${color};`;
|
|
42
|
+
el.innerHTML = svg.replace(/ width="\d+" height="\d+"/, ' width="100%" style="display:block"');
|
|
43
|
+
parent.append(el);
|
|
44
|
+
return el;
|
|
45
|
+
}
|
|
@@ -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,102 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { boardMask, currentPulse, edgeConnector, icChip, ledArray, resistor, routeTrace, sevenSeg, silkText } from "../../effects.ts";
|
|
3
|
+
import { fingerPins, measure, route45, type Pt } from "../../pcb.ts";
|
|
4
|
+
import { OG } from "../lib/facts.ts";
|
|
5
|
+
import { arrive, beatsIn, cut, layer, logo } from "../lib/kit.ts";
|
|
6
|
+
import svg from "../assets/og/logo.svg?raw";
|
|
7
|
+
|
|
8
|
+
// 지연 = 저항. 같은 순간 출발한 펄스 셋이 저마다의 저항(실측 첫 토큰 ms)에서 그만큼 머물고 차례로 칩에 닿는다 — 머무는 초가 실측값 그대로.
|
|
9
|
+
// 다음: 18번 호출이 LED 18 개를 하나씩 켜고 합 $0.0004. 끝: 로고가 드러난 금 동박으로, 요청이 그 사이를 계속 지나간다
|
|
10
|
+
const SPEED = 2400;
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
14
|
+
const b = beatsIn(ctx);
|
|
15
|
+
const board = boardMask(layer(root), { ctx, seed: "end" });
|
|
16
|
+
|
|
17
|
+
const a = cut(root, 0, b[4]);
|
|
18
|
+
const aT = layer(a.el);
|
|
19
|
+
const aP = layer(a.el);
|
|
20
|
+
const aC = layer(a.el);
|
|
21
|
+
const pins = fingerPins(80, 230, 64, 600, 3, "left");
|
|
22
|
+
const RX = 640;
|
|
23
|
+
const race = OG.ttft.map(([name, label, ms], i) => {
|
|
24
|
+
const y = pins[i][1];
|
|
25
|
+
const route: Pt[] = [pins[i], [1220 - 16, y]];
|
|
26
|
+
const len = measure(route45(route)).len;
|
|
27
|
+
const hold = { at: (RX - pins[i][0]) / len, sec: ms / 1000 };
|
|
28
|
+
const holdFrom = (RX - pins[i][0]) / SPEED;
|
|
29
|
+
return { name, label, ms, y, route, hold, holdFrom, end: arrive(route, 0, SPEED, [hold]) };
|
|
30
|
+
});
|
|
31
|
+
const aParts = [
|
|
32
|
+
edgeConnector(aC, { ctx, x: 80, y: 230, w: 64, h: 600, pins: 3, ref: "J1", hits: race.map((_, i) => ({ pin: i, t: 0 })) }),
|
|
33
|
+
silkText(aC, { ctx, text: "첫 토큰", x: 80, y: 96, size: 70, font: "display", at: 0, dur: 0.2 }),
|
|
34
|
+
...race.flatMap((r, i) => [
|
|
35
|
+
routeTrace(aT, { ctx, points: r.route, at: 0, dur: 0.18, width: 7, pads: "none" }),
|
|
36
|
+
currentPulse(aP, { ctx, points: r.route, times: [0.02], speed: SPEED, width: 7, holds: [r.hold] }),
|
|
37
|
+
resistor(aC, { ctx, x: RX, y: r.y, len: 170, value: r.label, ref: `R${i + 1}`, at: 0.02 + i * 0.04, hot: [[0.02 + r.holdFrom, 0.02 + r.holdFrom + r.hold.sec]] }),
|
|
38
|
+
icChip(aC, { ctx, x: 1220, y: r.y - 50, w: 340, h: 100, label: r.name, at: b[1] + i * 0.05, hits: [r.end + 0.02] }),
|
|
39
|
+
// 머무는 동안 ms 를 센다 — 펄스가 저항을 떠나는 순간 실측값에 선다
|
|
40
|
+
sevenSeg(aC, { ctx, x: 1840, y: r.y - 46, h: 64, cells: 4, align: "right", at: 0.02 + r.holdFrom - 0.1, text: (t) => Math.min(r.ms, Math.max(0, (t - 0.02 - r.holdFrom) * 1000)).toFixed(1) }),
|
|
41
|
+
]),
|
|
42
|
+
];
|
|
43
|
+
|
|
44
|
+
const m = cut(root, b[4], b[6]);
|
|
45
|
+
const N = 18;
|
|
46
|
+
const lx = (k: number) => 230 + k * 86;
|
|
47
|
+
const LY = 760;
|
|
48
|
+
const callAt = (k: number) => b[4] + 0.02 + k * 0.018;
|
|
49
|
+
const passAt = (k: number) => callAt(k) + (lx(k) - 144) / 6000;
|
|
50
|
+
const lit = (t: number) => Array.from({ length: N }, (_, k) => k).filter((k) => t >= passAt(k)).length;
|
|
51
|
+
const mParts = [
|
|
52
|
+
edgeConnector(m.el, { ctx, x: 80, y: LY - 60, w: 64, h: 120, pins: 1, at: b[4], hits: Array.from({ length: N }, (_, k) => ({ pin: 0, t: callAt(k) })) }),
|
|
53
|
+
routeTrace(m.el, { ctx, points: [[144, LY], [1800, LY]], at: b[4], dur: 0.12, width: 6, pads: "end" }),
|
|
54
|
+
currentPulse(m.el, { ctx, points: [[144, LY], [1800, LY]], times: Array.from({ length: N }, (_, k) => callAt(k)), speed: 6000, width: 6, tail: 120 }),
|
|
55
|
+
ledArray(m.el, { ctx, points: Array.from({ length: N }, (_, k): [number, number] => [lx(k), LY]), size: 34, at: b[4], lit: (k, t) => (t >= passAt(k) ? 1 : 0) }),
|
|
56
|
+
sevenSeg(m.el, { ctx, x: 110, y: 170, h: 260, cells: 2, at: b[4], text: (t) => String(lit(t)) }),
|
|
57
|
+
silkText(m.el, { ctx, text: "호출", x: 116, y: 560, size: 60, font: "display", at: b[4] + 0.05 }),
|
|
58
|
+
// 18번이 다 켜진 다음에 합이 켜진다
|
|
59
|
+
silkText(m.el, { ctx, text: "$", x: 900, y: 200, size: 170, color: "gold", at: passAt(N - 1) }),
|
|
60
|
+
sevenSeg(m.el, { ctx, x: 1840, y: 170, h: 220, text: "0.0004", align: "right", at: passAt(N - 1) }),
|
|
61
|
+
silkText(m.el, { ctx, text: "합", x: 1772, y: 560, size: 60, font: "display", at: passAt(N - 1) + 0.03 }),
|
|
62
|
+
];
|
|
63
|
+
|
|
64
|
+
// 끝 — 로고가 드러난 금 동박. 왼쪽 J1 에서 들어온 요청이 로고를 지나 오른쪽으로 계속 나간다
|
|
65
|
+
const e = cut(root, b[6], ctx.dur);
|
|
66
|
+
const eT = layer(e.el);
|
|
67
|
+
const eP = layer(e.el);
|
|
68
|
+
const eC = layer(e.el);
|
|
69
|
+
const LW = 760;
|
|
70
|
+
const LX = 580;
|
|
71
|
+
const LYt = 210;
|
|
72
|
+
const sc = LW / 1140;
|
|
73
|
+
const inP = fingerPins(80, 300, 64, 360, 4, "left");
|
|
74
|
+
const inR = inP.map((p, i): Pt[] => [p, [LX + 36 * sc - 4, LYt + (130 + i * 130) * sc]]);
|
|
75
|
+
const outR = [0, 1, 2, 3].map((i): Pt[] => [[LX + 1104 * sc + 4, LYt + (130 + i * 130) * sc], [1800, 300 + 90 * (i + 0.5)]]);
|
|
76
|
+
const flow = (i: number, lag: number) => Array.from({ length: 8 }, (_, j) => b[6] + 0.1 + j * 0.17 + i * 0.045 + lag);
|
|
77
|
+
const mark = logo(eC, svg, LX, LYt, LW, ctx.style.colors.gold);
|
|
78
|
+
const eParts = [
|
|
79
|
+
edgeConnector(eC, { ctx, x: 80, y: 300, w: 64, h: 360, pins: 4, ref: "J1", at: b[6], hits: [0, 1, 2, 3].flatMap((i) => flow(i, 0).map((t) => ({ pin: i, t }))) }),
|
|
80
|
+
...inR.map((r, i) => routeTrace(eT, { ctx, points: r, at: b[6], dur: 0.2, width: 7, tone: "gold", pads: "none" })),
|
|
81
|
+
...outR.map((r, i) => routeTrace(eT, { ctx, points: r, at: b[6] + 0.08, dur: 0.24, width: 7, tone: "gold", pads: "end" })),
|
|
82
|
+
...inR.map((r, i) => currentPulse(eP, { ctx, points: r, times: flow(i, 0), speed: 2400, width: 7 })),
|
|
83
|
+
...outR.map((r, i) => currentPulse(eP, { ctx, points: r, times: flow(i, 0.3), speed: 2400, width: 7 })),
|
|
84
|
+
silkText(eC, { ctx, text: OG.site, x: 960, y: 760, size: 96, anchor: "center", at: b[7], dur: 0.3 }),
|
|
85
|
+
silkText(eC, { ctx, text: OG.host, x: 960, y: 900, size: 44, anchor: "center", color: "dim", at: b[8], dur: 0.26 }),
|
|
86
|
+
icChip(eC, { ctx, x: 1500, y: 860, w: 300, h: 80, label: String(OG.models), sub: "모델", ref: "U0", at: b[9] }),
|
|
87
|
+
];
|
|
88
|
+
const pulseIn = inR.map((r, i) => flow(i, 0).map((s) => arrive(r, s, 2400)));
|
|
89
|
+
|
|
90
|
+
return (t: number) => {
|
|
91
|
+
board(t);
|
|
92
|
+
if (a.on(t)) for (const p of aParts) p(t);
|
|
93
|
+
if (m.on(t)) for (const p of mParts) p(t);
|
|
94
|
+
if (e.on(t)) {
|
|
95
|
+
// 들어온 요청이 로고 동박에 닿을 때마다 금이 한 번 달아오른다
|
|
96
|
+
const hot = Math.max(0, ...pulseIn.flat().map((h) => (t >= h && t < h + 0.2 ? 1 - (t - h) / 0.2 : 0)));
|
|
97
|
+
mark.style.color = hot > 0 ? `color-mix(in srgb, ${ctx.style.colors.hot} ${Math.round(hot * 55)}%, ${ctx.style.colors.gold})` : ctx.style.colors.gold;
|
|
98
|
+
for (const p of eParts) p(t);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import type { SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { boardMask, currentPulse, icChip, ledArray, routeTrace, sevenSeg, silkText } from "../../effects.ts";
|
|
3
|
+
import { OG } from "../lib/facts.ts";
|
|
4
|
+
import { arrive, beatsIn, cut, layer, stream } from "../lib/kit.ts";
|
|
5
|
+
|
|
6
|
+
// 회사 아홉 = 칩 아홉. 처음엔 기판 여기저기 따로 앉아 저마다 제 패드(제 주소)로만 펄스를 받는다 — 서로 이어진 데가 없다.
|
|
7
|
+
// 다음 마디엔 회사별 모델 수를 LED 로 센다 — 모델 하나에 LED 하나, 오른쪽 표시기가 같이 센다
|
|
8
|
+
const SPOTS: [number, number, number][] = [
|
|
9
|
+
[400, 260, 330], [1000, 220, 280], [1530, 300, 280],
|
|
10
|
+
[330, 560, 240], [930, 600, 230], [1500, 560, 220],
|
|
11
|
+
[450, 850, 220], [1050, 860, 220], [1560, 830, 210],
|
|
12
|
+
];
|
|
13
|
+
const CH = 104;
|
|
14
|
+
const PIN = 14;
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
18
|
+
const b = beatsIn(ctx);
|
|
19
|
+
const board = boardMask(layer(root), { ctx, seed: "gather" });
|
|
20
|
+
|
|
21
|
+
const a = cut(root, 0, b[4]);
|
|
22
|
+
const stubs = layer(a.el);
|
|
23
|
+
const pulses = layer(a.el);
|
|
24
|
+
const chips = layer(a.el);
|
|
25
|
+
const parts: ((t: number) => void)[] = [];
|
|
26
|
+
OG.providers.forEach(([name], i) => {
|
|
27
|
+
const [cx, cy, w] = SPOTS[i];
|
|
28
|
+
const at = [0, b[0], b[1]][Math.floor(i / 3)] + (i % 3) * 0.05;
|
|
29
|
+
const pad: [number, number] = [cx - w / 2 - 110, cy + 112];
|
|
30
|
+
const pin: [number, number] = [cx - w / 2 - PIN, cy];
|
|
31
|
+
const route = [pad, pin];
|
|
32
|
+
// 칩마다 제 패드로 따로따로 — 꽂히고 선이 깔리면 그때부터 요청이 끊이지 않는다
|
|
33
|
+
const times = stream(at + 0.36, b[4], 0.26, ((i * 5) % 9) * 0.029);
|
|
34
|
+
parts.push(
|
|
35
|
+
routeTrace(stubs, { ctx, points: route, at: at + 0.12, dur: 0.24, width: 7, bend: 0, pads: "start" }),
|
|
36
|
+
currentPulse(pulses, { ctx, points: route, times, speed: 1300, tail: 160, width: 7, bend: 0 }),
|
|
37
|
+
icChip(chips, { ctx, x: cx - w / 2, y: cy - CH / 2, w, h: CH, label: name, ref: `U${i + 1}`, at, hits: times.map((s) => arrive(route, s, 1300, [], 0)) }),
|
|
38
|
+
);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
const c = cut(root, b[4], ctx.dur);
|
|
42
|
+
const rows: ((t: number) => void)[] = [];
|
|
43
|
+
OG.providers.forEach(([name, count], i) => {
|
|
44
|
+
const y = 150 + i * 96;
|
|
45
|
+
const start = [b[4], b[5], b[6]][Math.floor(i / 3)] + (i % 3) * 0.04;
|
|
46
|
+
const xs = Array.from({ length: count }, (_, j): [number, number] => [400 + j * 31, y]);
|
|
47
|
+
const speed = 2600;
|
|
48
|
+
// 줄이 서면 그 회사 모델로 요청이 흐르고, 마지막 박엔 아홉 줄이 한꺼번에
|
|
49
|
+
const runs = [...stream(start + 0.22, b[7] - 0.05, 0.3, i * 0.045), b[7] + i * 0.02];
|
|
50
|
+
const passes = (j: number) => runs.map((r) => r + (xs[j][0] - 380) / speed);
|
|
51
|
+
const shown = (t: number) => Math.min(count, Math.max(0, Math.floor((t - start - 0.05) / 0.008) + 1));
|
|
52
|
+
rows.push(
|
|
53
|
+
routeTrace(c.el, { ctx, points: [[380, y], [1735, y]], at: start, dur: 0.2, width: 5, pads: "end" }),
|
|
54
|
+
currentPulse(c.el, { ctx, points: [[380, y], [1735, y]], times: runs, speed, tail: 300, width: 6 }),
|
|
55
|
+
ledArray(c.el, {
|
|
56
|
+
ctx,
|
|
57
|
+
points: xs,
|
|
58
|
+
size: 22,
|
|
59
|
+
at: start,
|
|
60
|
+
lit: (j, t) => {
|
|
61
|
+
if (j >= shown(t)) return 0;
|
|
62
|
+
return passes(j).some((p) => t >= p && t < p + 0.14) ? 1 : 0.68;
|
|
63
|
+
},
|
|
64
|
+
}),
|
|
65
|
+
silkText(c.el, { ctx, text: name, x: 110, y: y - 20, size: 40, at: start }),
|
|
66
|
+
sevenSeg(c.el, { ctx, x: 1840, y: y - 36, h: 50, cells: 2, align: "right", at: start, text: (t) => String(shown(t)) }),
|
|
67
|
+
);
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
return (t: number) => {
|
|
71
|
+
board(t);
|
|
72
|
+
if (a.on(t)) for (const p of parts) p(t);
|
|
73
|
+
if (c.on(t)) for (const p of rows) p(t);
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { rand, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { boardMask, currentPulse, edgeConnector, icChip, routeTrace, sevenSeg, silkText } from "../../effects.ts";
|
|
3
|
+
import { fingerPins, type Pt } from "../../pcb.ts";
|
|
4
|
+
import { OG } from "../lib/facts.ts";
|
|
5
|
+
import { arrive, beatsIn, cut, layer } from "../lib/kit.ts";
|
|
6
|
+
|
|
7
|
+
// 한 주소 = 엣지 커넥터 J1. 마디 하나: J1 에서 칩 다섯으로 트레이스가 갈라지고 박마다 펄스(요청)가 다른 칩으로 — 모델 ID 만 바뀐다.
|
|
8
|
+
// 마디 둘: 엔드포인트 넷이 가운데 게이트웨이 칩 U0 으로 모였다 모델로 나간다(두 형식). 마디 셋: 드롭 앞 — 모델 102 개가 점점 빠르게 꽂힌다
|
|
9
|
+
const SPEED = 2600;
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
13
|
+
const b = beatsIn(ctx);
|
|
14
|
+
const board = boardMask(layer(root), { ctx, seed: "models" });
|
|
15
|
+
|
|
16
|
+
// 마디 하나 — 한 주소에서 모델 다섯으로
|
|
17
|
+
const a = cut(root, 0, b[4]);
|
|
18
|
+
const aT = layer(a.el);
|
|
19
|
+
const aP = layer(a.el);
|
|
20
|
+
const aC = layer(a.el);
|
|
21
|
+
const j1 = fingerPins(80, 330, 64, 480, 8, "left");
|
|
22
|
+
const ids = OG.ids.map((id) => id.split("/"));
|
|
23
|
+
const chipY = (i: number) => 268 + i * 156;
|
|
24
|
+
const routes = ids.map((_, i): Pt[] => [j1[i + 1], [1240 - 16, chipY(i) + 44]]);
|
|
25
|
+
// 박 1·2·3 마다 요청 둘(박과 반 박) — 받는 칩이 박마다 바뀐다
|
|
26
|
+
const shots = [1, 2, 3].flatMap((k, n) => [{ at: b[k], chip: n }, { at: b[k] + 0.177, chip: n }]);
|
|
27
|
+
const aParts = [
|
|
28
|
+
edgeConnector(aC, { ctx, x: 80, y: 330, w: 64, h: 480, pins: 8, ref: "J1", hits: shots.map((s) => ({ pin: s.chip + 1, t: s.at })) }),
|
|
29
|
+
silkText(aC, { ctx, text: OG.host, x: 80, y: 96, size: 74, at: 0, dur: 0.3 }),
|
|
30
|
+
silkText(aC, { ctx, text: (t) => `model: "${OG.ids[shots.filter((s) => s.at <= t).at(-1)?.chip ?? 0]}"`, x: 80, y: 196, size: 44, at: b[1], prints: [b[2], b[3]], color: "gold" }),
|
|
31
|
+
...routes.map((r, i) => routeTrace(aT, { ctx, points: r, at: 0.08 + i * 0.04, dur: 0.34, width: 7, pads: "none" })),
|
|
32
|
+
...routes.map((r, i) => currentPulse(aP, { ctx, points: r, times: shots.filter((s) => s.chip === i).map((s) => s.at), speed: SPEED, width: 8, tail: 300 })),
|
|
33
|
+
...ids.map(([, name], i) =>
|
|
34
|
+
icChip(aC, { ctx, x: 1240, y: chipY(i), w: 520, h: 88, label: name, ref: `U${i + 1}`, at: i * 0.06, hits: shots.filter((s) => s.chip === i).map((s) => arrive(routes[i], s.at, SPEED)) }),
|
|
35
|
+
),
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
// 마디 둘 — 엔드포인트 넷 → 게이트웨이 칩 → 모델
|
|
39
|
+
const m = cut(root, b[4], b[8]);
|
|
40
|
+
const mT = layer(m.el);
|
|
41
|
+
const mP = layer(m.el);
|
|
42
|
+
const mC = layer(m.el);
|
|
43
|
+
const eps = fingerPins(80, 250, 64, 580, 4, "left");
|
|
44
|
+
const U0 = { x: 820, y: 380, w: 340, h: 340 };
|
|
45
|
+
const inR = eps.map((p, i): Pt[] => [p, [U0.x - 16, U0.y + U0.h * (0.2 + 0.2 * i)]]);
|
|
46
|
+
const outY = [348, 540, 732];
|
|
47
|
+
const outR = outY.map((y, i): Pt[] => [[U0.x + U0.w + 16, U0.y + U0.h * (0.3 + 0.2 * i)], [1400 - 16, y]]);
|
|
48
|
+
// 반 박마다 다른 엔드포인트로 들어와 다른 모델로 나간다 — /chat/completions·/messages·/responses 를 돌아가며
|
|
49
|
+
const calls = [b[4] + 0.2, b[5], b[5] + 0.177, b[6], b[6] + 0.177, b[7], b[7] + 0.177].map((at, k) => ({ at, ep: [0, 2, 1][k % 3], out: k % 3 }));
|
|
50
|
+
const inArrive = (c: (typeof calls)[number]) => arrive(inR[c.ep], c.at, SPEED);
|
|
51
|
+
const outArrive = (c: (typeof calls)[number]) => arrive(outR[c.out], inArrive(c) + 0.04, SPEED);
|
|
52
|
+
const mParts = [
|
|
53
|
+
edgeConnector(mC, { ctx, x: 80, y: 250, w: 64, h: 580, pins: 4, ref: "J1", at: b[4], hits: calls.map((c) => ({ pin: c.ep, t: c.at })) }),
|
|
54
|
+
silkText(mC, { ctx, text: "OpenAI · Anthropic", x: 80, y: 120, size: 60, font: "display", at: b[4], dur: 0.26 }),
|
|
55
|
+
...OG.endpoints.map((e, i) => silkText(mC, { ctx, text: e, x: 176, y: eps[i][1] - 58, size: 36, at: b[4] + 0.05 + i * 0.05, color: calls.some((c) => c.ep === i) ? "silk" : "dim" })),
|
|
56
|
+
...inR.map((r, i) => routeTrace(mT, { ctx, points: r, at: b[4] + 0.04 + i * 0.03, dur: 0.3, width: 7, pads: "none" })),
|
|
57
|
+
...outR.map((r, i) => routeTrace(mT, { ctx, points: r, at: b[4] + 0.18 + i * 0.03, dur: 0.3, width: 7, pads: "none" })),
|
|
58
|
+
...inR.map((r, i) => currentPulse(mP, { ctx, points: r, times: calls.filter((c) => c.ep === i).map((c) => c.at), speed: SPEED, width: 7 })),
|
|
59
|
+
...outR.map((r, i) => currentPulse(mP, { ctx, points: r, times: calls.filter((c) => c.out === i).map((c) => inArrive(c) + 0.04), speed: SPEED, width: 7 })),
|
|
60
|
+
icChip(mC, { ctx, ...U0, sides: 4, pins: 8, label: "OpenGateway", sub: "/v1", ref: "U0", at: b[4] + 0.02, hits: calls.map(inArrive) }),
|
|
61
|
+
...[0, 1, 2].map((i) => {
|
|
62
|
+
const name = ids[i][1];
|
|
63
|
+
return icChip(mC, { ctx, x: 1400, y: outY[i] - 48, w: 400, h: 96, label: name, at: b[4] + 0.1 + i * 0.05, hits: calls.filter((c) => c.out === i).map(outArrive) });
|
|
64
|
+
}),
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
// 마디 셋 — 드롭 앞: 모델 102 개가 점점 빠르게 꽂히고 표시기가 같이 센다
|
|
68
|
+
const c = cut(root, b[8], ctx.dur);
|
|
69
|
+
const cT = layer(c.el);
|
|
70
|
+
const cP = layer(c.el);
|
|
71
|
+
const cC = layer(c.el);
|
|
72
|
+
const COLS = 17;
|
|
73
|
+
const ROWS = 6;
|
|
74
|
+
const gx = (i: number) => 470 + i * 80;
|
|
75
|
+
const gy = (j: number) => 330 + j * 108;
|
|
76
|
+
const n = OG.models;
|
|
77
|
+
const order = Array.from({ length: n }, (_, i) => i).sort((p, q) => rand("place", p) - rand("place", q));
|
|
78
|
+
const placeAt = new Array<number>(n);
|
|
79
|
+
order.forEach((cell, k) => (placeAt[cell] = b[8] + 0.06 + 1.3 * Math.sqrt(k / n)));
|
|
80
|
+
const placed = (t: number) => placeAt.filter((p) => p <= t).length;
|
|
81
|
+
const rp = fingerPins(80, 330, 64, 540, ROWS, "left");
|
|
82
|
+
const rowR = Array.from({ length: ROWS }, (_, j): Pt[] => [rp[j], [440, gy(j) + 15], [gx(COLS - 1) + 40, gy(j) + 15]]);
|
|
83
|
+
// 박마다 펄스가 1 → 2 → 4 → 6 줄로 — 들어오는 요청이 늘며 드롭으로 모인다
|
|
84
|
+
const waves = [[2], [1, 4], [0, 2, 3, 5], [0, 1, 2, 3, 4, 5]];
|
|
85
|
+
const cParts = [
|
|
86
|
+
edgeConnector(cC, { ctx, x: 80, y: 330, w: 64, h: 540, pins: ROWS, ref: "J1", at: b[8], hits: waves.flatMap((rows, k) => rows.map((r) => ({ pin: r, t: b[8 + k] + r * 0.02 }))) }),
|
|
87
|
+
silkText(cC, { ctx, text: OG.host, x: 80, y: 110, size: 56, at: b[8], dur: 0.24 }),
|
|
88
|
+
sevenSeg(cC, { ctx, x: 1840, y: 80, h: 120, cells: 3, align: "right", at: b[8], text: (t) => String(placed(t)) }),
|
|
89
|
+
...rowR.map((r, j) => routeTrace(cT, { ctx, points: r, at: b[8] + j * 0.03, dur: 0.3, width: 6, pads: "none", bend: 0.2 })),
|
|
90
|
+
...rowR.map((r, j) => currentPulse(cP, { ctx, points: r, times: waves.flatMap((rows, k) => (rows.includes(j) ? [b[8 + k] + j * 0.02] : [])), speed: 3000, width: 6, tail: 320, bend: 0.2 })),
|
|
91
|
+
...Array.from({ length: n }, (_, i) => icChip(cC, { ctx, x: gx(i % COLS) - 25, y: gy(Math.floor(i / COLS)), w: 50, h: 30, pins: 3, label: "", at: placeAt[i] })),
|
|
92
|
+
];
|
|
93
|
+
|
|
94
|
+
return (t: number) => {
|
|
95
|
+
board(t);
|
|
96
|
+
if (a.on(t)) for (const p of aParts) p(t);
|
|
97
|
+
if (m.on(t)) for (const p of mParts) p(t);
|
|
98
|
+
if (c.on(t)) for (const p of cParts) p(t);
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { applyStyle, clamp, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { boardMask, currentPulse, edgeConnector, icChip, ledArray, powerOn, routeTrace, sevenSeg, silkText } from "../../effects.ts";
|
|
3
|
+
import { fingerPins, type Pt } from "../../pcb.ts";
|
|
4
|
+
import { OG } from "../lib/facts.ts";
|
|
5
|
+
import { arrive, beatsIn, cut, layer, stream } from "../lib/kit.ts";
|
|
6
|
+
|
|
7
|
+
// 드롭 = 전원 투입: 102 표시기가 램프 시험으로 켜지고 빛 고리가 기판을 지나간다, 102 에서 한 주소 J1 로 전류가 몰린다.
|
|
8
|
+
// 다음 마디: 하루 24시간 = LED 24 개 고리, 00–10시가 켜지고 -90%. 셋째 마디: 비용 = 흐르는 전류 — 값이 내리면 트레이스가 가늘어진다
|
|
9
|
+
const ring = (cx: number, cy: number, r: number, n: number): Pt[] => Array.from({ length: n + 1 }, (_, i) => [cx + Math.sin((i / n) * Math.PI * 2) * r, cy - Math.cos((i / n) * Math.PI * 2) * r]);
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
build(root: HTMLElement, ctx: SceneCtx) {
|
|
13
|
+
const b = beatsIn(ctx);
|
|
14
|
+
const board = boardMask(layer(root), { ctx, seed: "price" });
|
|
15
|
+
const frame = layer(root);
|
|
16
|
+
|
|
17
|
+
// 드롭 마디
|
|
18
|
+
const a = cut(frame, 0, b[4]);
|
|
19
|
+
const aT = layer(a.el);
|
|
20
|
+
const aP = layer(a.el);
|
|
21
|
+
const aC = layer(a.el);
|
|
22
|
+
const jp = fingerPins(1776, 600, 64, 340, 5, "right");
|
|
23
|
+
const fromSeg = [0, 1, 2, 3, 4].map((i): [number, number] => [300 + i * 190, 812]);
|
|
24
|
+
// 왼쪽 다리에서 나온 선일수록 아래로 돌아 가장 아래 핀에 — 같은 층 트레이스가 서로 건너지 않게
|
|
25
|
+
const aR = fromSeg.map((p, i): Pt[] => [p, [p[0], 960 - i * 26], [jp[4 - i][0] - 2, jp[4 - i][1]]]);
|
|
26
|
+
// 한 주소가 서는 박부터 모든 요청이 J1 로 몰린다
|
|
27
|
+
const flows = jp.map((_, i) => stream(b[1] + 0.3, b[4], 0.12, i * 0.025));
|
|
28
|
+
const aParts = [
|
|
29
|
+
sevenSeg(aC, { ctx, x: 110, y: 170, h: 440, text: String(OG.models), at: 0 }),
|
|
30
|
+
silkText(aC, { ctx, text: "모델", x: 116, y: 850, size: 64, font: "display", at: 0.1, dur: 0.2 }),
|
|
31
|
+
silkText(aC, { ctx, text: "한 주소", x: 1250, y: 260, size: 150, font: "display", at: b[1], dur: 0.24 }),
|
|
32
|
+
silkText(aC, { ctx, text: OG.host, x: 1254, y: 460, size: 40, at: b[2], dur: 0.24 }),
|
|
33
|
+
edgeConnector(aC, { ctx, x: 1776, y: 600, w: 64, h: 340, pins: 5, side: "right", at: b[1], hits: flows.flatMap((ts, i) => ts.map((t) => ({ pin: 4 - i, t: arrive(aR[i], t, 3200, [], 1) }))) }),
|
|
34
|
+
...aR.map((r, i) => routeTrace(aT, { ctx, points: r, at: b[1] + i * 0.03, dur: 0.28, width: 8, bend: 1, pads: "none" })),
|
|
35
|
+
...aR.map((r, i) => currentPulse(aP, { ctx, points: r, times: flows[i], speed: 3200, width: 8, tail: 300, bend: 1 })),
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
// 하루 시계 — 00 이 위, 시계 방향
|
|
39
|
+
const B = cut(frame, b[4], b[8]);
|
|
40
|
+
const C = [560, 548] as const;
|
|
41
|
+
const R = 330;
|
|
42
|
+
const hours = Array.from({ length: 24 }, (_, h): [number, number] => [C[0] + Math.sin((h / 24) * Math.PI * 2) * R, C[1] - Math.cos((h / 24) * Math.PI * 2) * R]);
|
|
43
|
+
const night = (h: number) => h >= OG.night.from && h < OG.night.to;
|
|
44
|
+
// 시계 바늘 대신 펄스가 고리를 돈다 — 지나가는 시각의 LED 가 잠깐 켜진다(하루가 흐른다)
|
|
45
|
+
const hands = stream(b[4] + 0.02, b[8], 0.18);
|
|
46
|
+
const circ = 2 * Math.PI * R;
|
|
47
|
+
const swept = (h: number, t: number) => hands.some((s) => {
|
|
48
|
+
const p = s + ((h / 24) * circ) / 3200;
|
|
49
|
+
return t >= p && t < p + 0.12;
|
|
50
|
+
});
|
|
51
|
+
const bParts = [
|
|
52
|
+
routeTrace(B.el, { ctx, points: ring(C[0], C[1], R, 96), route: false, at: b[4], dur: 0.3, width: 6, pads: "none" }),
|
|
53
|
+
currentPulse(B.el, { ctx, points: ring(C[0], C[1], R, 96), route: false, times: hands, speed: 3200, width: 10, tail: 560 }),
|
|
54
|
+
ledArray(B.el, {
|
|
55
|
+
ctx,
|
|
56
|
+
points: hours,
|
|
57
|
+
size: 34,
|
|
58
|
+
at: b[4],
|
|
59
|
+
angle: (h) => (h / 24) * 360,
|
|
60
|
+
lit: (h, t) => (night(h) && t >= b[5] + h * 0.028 ? 1 : swept(h, t) ? 0.55 : 0),
|
|
61
|
+
}),
|
|
62
|
+
...[0, 6, 12, 18].map((h) => {
|
|
63
|
+
const [x, y] = [C[0] + Math.sin((h / 24) * Math.PI * 2) * (R + 78), C[1] - Math.cos((h / 24) * Math.PI * 2) * (R + 78)];
|
|
64
|
+
return silkText(B.el, { ctx, text: String(h).padStart(2, "0"), x, y: y - 22, size: 44, anchor: "center", at: b[4] + 0.05 });
|
|
65
|
+
}),
|
|
66
|
+
icChip(B.el, { ctx, x: C[0] - 130, y: C[1] - 60, w: 260, h: 120, label: OG.night.tz, ref: "Y1", at: b[4] + 0.04, hits: [b[5] + 0.3] }),
|
|
67
|
+
sevenSeg(B.el, { ctx, x: 1030, y: 250, h: 260, text: "-90", at: b[6] }),
|
|
68
|
+
silkText(B.el, { ctx, text: "%", x: 1690, y: 300, size: 170, font: "display", color: "gold", at: b[6] + 0.1, dur: 0.12 }),
|
|
69
|
+
silkText(B.el, { ctx, text: "00:00-10:00 KST", x: 1036, y: 680, size: 56, at: b[7], dur: 0.22 }),
|
|
70
|
+
silkText(B.el, { ctx, text: `${OG.glm.id} ${OG.glm.off}`, x: 1036, y: 780, size: 38, color: "dim", at: b[7] + 0.14, dur: 0.22 }),
|
|
71
|
+
];
|
|
72
|
+
|
|
73
|
+
// 비용 = 흐르는 전류 — 1 달러에 50px. 값이 내리는 박에 트레이스가 가늘어진다
|
|
74
|
+
const c = cut(frame, b[8], ctx.dur);
|
|
75
|
+
const cT = layer(c.el);
|
|
76
|
+
const cP = layer(c.el);
|
|
77
|
+
const cC = layer(c.el);
|
|
78
|
+
const ds = OG.deepseek;
|
|
79
|
+
const k = 50;
|
|
80
|
+
const narrow = (at: number, from: number, to: number) => (t: number) => Math.max(3, (from + (to - from) * clamp((t - at) / 0.22)) * k);
|
|
81
|
+
const rows = [
|
|
82
|
+
{ y: 470, name: "입력", vals: ds.input, at: b[9], w: narrow(b[9], 0.3, 0.03) },
|
|
83
|
+
{ y: 760, name: "출력", vals: ds.output, at: b[10], w: narrow(b[10], 1.2, 0.12) },
|
|
84
|
+
];
|
|
85
|
+
const cParts = [
|
|
86
|
+
silkText(cC, { ctx, text: ds.id, x: 110, y: 110, size: 64, at: b[8], dur: 0.26 }),
|
|
87
|
+
silkText(cC, { ctx, text: `00:00-10:00 KST ${ds.off}`, x: 110, y: 200, size: 44, color: "gold", at: b[11], dur: 0.22 }),
|
|
88
|
+
...rows.flatMap((r, i) => [
|
|
89
|
+
silkText(cC, { ctx, text: r.name, x: 110, y: r.y - 38, size: 76, font: "display", at: b[8] + 0.04 + i * 0.05 }),
|
|
90
|
+
routeTrace(cT, { ctx, points: [[330, r.y], [1230, r.y]], at: b[8] + i * 0.05, dur: 0.24, width: r.w, pads: "none" }),
|
|
91
|
+
currentPulse(cP, { ctx, points: [[330, r.y], [1230, r.y]], times: Array.from({ length: 9 }, (_, j) => b[8] + 0.2 + j * 0.14 + i * 0.07), speed: 2600, width: r.w, tail: 260 }),
|
|
92
|
+
silkText(cC, { ctx, text: "$", x: 1290, y: r.y - 60, size: 110, font: "mono", color: "gold", at: b[8] + 0.06 }),
|
|
93
|
+
// 값이 바뀌는 박에 한 번 꺼졌다 켜진다(램프 시험) — 다른 값이 들어왔다는 표시
|
|
94
|
+
sevenSeg(cC, { ctx, x: 1366, y: r.y - 88, h: 140, cells: 3, at: b[8] + 0.06, text: (t) => (t < r.at ? r.vals[0] : t < r.at + 0.1 ? "888" : r.vals[1]).replace("$", "") }),
|
|
95
|
+
silkText(cC, { ctx, text: "/M", x: 1726, y: r.y - 26, size: 52, at: b[8] + 0.1 }),
|
|
96
|
+
]),
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
const power = powerOn(layer(root), { ctx, drop: 0, origin: [600, 420] });
|
|
100
|
+
return (t: number) => {
|
|
101
|
+
board(t);
|
|
102
|
+
if (a.on(t)) for (const p of aParts) p(t);
|
|
103
|
+
if (B.on(t)) for (const p of bParts) p(t);
|
|
104
|
+
if (c.on(t)) for (const p of cParts) p(t);
|
|
105
|
+
const s = power(t);
|
|
106
|
+
applyStyle(frame, s.shake);
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "circuit-board",
|
|
3
|
+
"label": "회로 기판 — 요청이 트레이스 위 전류 펄스로 달린다",
|
|
4
|
+
"scheme": "dark",
|
|
5
|
+
"colors": {
|
|
6
|
+
"bg": "#0C3626",
|
|
7
|
+
"surface": "#114431",
|
|
8
|
+
"raised": "#17523C",
|
|
9
|
+
"line": "#2E7656",
|
|
10
|
+
"ink": "#F2EFE4",
|
|
11
|
+
"inkSoft": "#CFDDD3",
|
|
12
|
+
"dim": "#94BCA8",
|
|
13
|
+
"accent": "#E8B84B",
|
|
14
|
+
"accentSoft": "#6E5A26",
|
|
15
|
+
"accentText": "#F2C75E",
|
|
16
|
+
"onAccent": "#0C3626",
|
|
17
|
+
"success": "#E8B84B",
|
|
18
|
+
"danger": "#E07A44",
|
|
19
|
+
"warning": "#E8B84B",
|
|
20
|
+
"mask": "#0C3626",
|
|
21
|
+
"pour": "#114431",
|
|
22
|
+
"trace": "#2E7656",
|
|
23
|
+
"gold": "#E8B84B",
|
|
24
|
+
"copper": "#D98C53",
|
|
25
|
+
"silk": "#F2EFE4",
|
|
26
|
+
"hot": "#FFF4CC",
|
|
27
|
+
"body": "#17191B"
|
|
28
|
+
},
|
|
29
|
+
"fonts": {
|
|
30
|
+
"sans": "\"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
31
|
+
"display": "Orbit, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", sans-serif",
|
|
32
|
+
"mono": "\"Share Tech Mono\", ui-monospace, \"SF Mono\", \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", monospace",
|
|
33
|
+
"faces": [
|
|
34
|
+
{
|
|
35
|
+
"family": "Orbit",
|
|
36
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@main/ofl/orbit/Orbit-Regular.ttf",
|
|
37
|
+
"weight": "400"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"family": "Share Tech Mono",
|
|
41
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@main/ofl/sharetechmono/ShareTechMono-Regular.ttf",
|
|
42
|
+
"weight": "400"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"family": "Pretendard Variable",
|
|
46
|
+
"src": "https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2",
|
|
47
|
+
"weight": "45 920"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"type": {
|
|
52
|
+
"hero": 200,
|
|
53
|
+
"title": 96,
|
|
54
|
+
"body": 40,
|
|
55
|
+
"caption": 30,
|
|
56
|
+
"weightDisplay": 400,
|
|
57
|
+
"weightBody": 500,
|
|
58
|
+
"tracking": "0.02em"
|
|
59
|
+
},
|
|
60
|
+
"radius": {
|
|
61
|
+
"sm": 2,
|
|
62
|
+
"md": 4,
|
|
63
|
+
"lg": 6,
|
|
64
|
+
"pill": 999
|
|
65
|
+
},
|
|
66
|
+
"shadow": {
|
|
67
|
+
"soft": "0 3px 0 rgba(0, 0, 0, 0.35)",
|
|
68
|
+
"lift": "0 6px 0 rgba(0, 0, 0, 0.32)"
|
|
69
|
+
},
|
|
70
|
+
"motion": {
|
|
71
|
+
"beatPulse": "drops-only",
|
|
72
|
+
"shake": {
|
|
73
|
+
"on": [
|
|
74
|
+
"drop"
|
|
75
|
+
],
|
|
76
|
+
"maxPerPhrase": 1,
|
|
77
|
+
"maxPx": 8
|
|
78
|
+
},
|
|
79
|
+
"cameraMove": "off",
|
|
80
|
+
"repeatSameMove": false,
|
|
81
|
+
"maxFreezeSec": 0.1,
|
|
82
|
+
"enter": "fade",
|
|
83
|
+
"ease": "linear",
|
|
84
|
+
"durations": {
|
|
85
|
+
"fast": 0.12,
|
|
86
|
+
"base": 0.24,
|
|
87
|
+
"slow": 0.48
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"theme": {
|
|
91
|
+
"inks": [
|
|
92
|
+
"#0C3626 솔더 마스크 녹 — 바탕, 마스크 아래 동박·트레이스는 한 단 밝은 #114431·#2E7656",
|
|
93
|
+
"#F2EFE4 실크 흰색 — 이름·부품 기호·글은 전부 실크",
|
|
94
|
+
"#E8B84B ENIG 금 — 드러난 패드·커넥터, 전류가 지나간 트레이스. 펄스 머리는 달아오른 #FFF4CC"
|
|
95
|
+
],
|
|
96
|
+
"texture": "광택 솔더 마스크 — 면은 고르고 정지, 마스크 아래 동박 면이 한 단 밝게 비친다. 비아·장착 구멍·기준점은 금 고리. 결이 끓지 않는다",
|
|
97
|
+
"movement": "기판은 서 있고 전류만 달린다 — 펄스가 45° 꺾인 트레이스를 따라 가고, 닿은 패드·칩이 켜진다. 부품은 위에서 내려와 착 앉고 납땜이 한 번 반짝, 실크 글은 스퀴지가 지나가며 찍힌다. 저항 위에서는 펄스가 머뭇거린다(지연)"
|
|
98
|
+
},
|
|
99
|
+
"notes": [
|
|
100
|
+
"층마다 뜻 하나 — 마스크(바탕) · 동박(길) · 금(지금 쓰는 자리) · 실크(이름). 금을 장식으로 칠하지 않는다.",
|
|
101
|
+
"트레이스는 직각과 45° 만. 이을 것이 있을 때만 깐다 — 바탕에 흐르는 회로 무늬 금지.",
|
|
102
|
+
"카메라 이동 없음 — 기판을 바로 위에서 본다. 구도는 컷(다른 기판 자리)으로 바꾼다."
|
|
103
|
+
]
|
|
104
|
+
}
|