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,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "sand-orange",
|
|
3
|
+
"world": "ink-wash",
|
|
4
|
+
"name": "Sand Orange",
|
|
5
|
+
"desc": "모래빛 바탕에 주황 강조 · 현대적인 가변 명조",
|
|
6
|
+
"params": {
|
|
7
|
+
"scheme": "light",
|
|
8
|
+
"bgL": 0.9566,
|
|
9
|
+
"tint": {
|
|
10
|
+
"h": 41.3663,
|
|
11
|
+
"c": 0.0156
|
|
12
|
+
},
|
|
13
|
+
"inkL": 0.2181,
|
|
14
|
+
"hue": 39.8003,
|
|
15
|
+
"chroma": 1.0489,
|
|
16
|
+
"fonts": "hahmlet",
|
|
17
|
+
"texture": {
|
|
18
|
+
"kind": "none",
|
|
19
|
+
"amount": 0
|
|
20
|
+
},
|
|
21
|
+
"stroke": 0.93,
|
|
22
|
+
"radius": null,
|
|
23
|
+
"tempo": 0.88,
|
|
24
|
+
"density": 1
|
|
25
|
+
},
|
|
26
|
+
"style": {
|
|
27
|
+
"scheme": "light",
|
|
28
|
+
"colors": {
|
|
29
|
+
"bg": "#FBEEE9",
|
|
30
|
+
"surface": "#FFF8F8",
|
|
31
|
+
"raised": "#EFE0D7",
|
|
32
|
+
"line": "#908786",
|
|
33
|
+
"ink": "#1A1920",
|
|
34
|
+
"inkSoft": "#4C484C",
|
|
35
|
+
"dim": "#625B5B",
|
|
36
|
+
"accent": "#BA3E00",
|
|
37
|
+
"accentSoft": "#EEBCA5",
|
|
38
|
+
"accentText": "#A13500",
|
|
39
|
+
"onAccent": "#FFF8F8",
|
|
40
|
+
"success": "#1A1920",
|
|
41
|
+
"danger": "#BA3E00",
|
|
42
|
+
"warning": "#BA3E00",
|
|
43
|
+
"paper": "#FBEEE9",
|
|
44
|
+
"ink2": "#4C484C",
|
|
45
|
+
"ink3": "#908786",
|
|
46
|
+
"ink4": "#C9BDB9",
|
|
47
|
+
"seal": "#BA3E00"
|
|
48
|
+
},
|
|
49
|
+
"fonts": {
|
|
50
|
+
"sans": "Hahmlet, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", serif",
|
|
51
|
+
"display": "Hahmlet, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", serif",
|
|
52
|
+
"mono": "\"Geist Mono\", ui-monospace, Hahmlet, \"Pretendard Variable\", Pretendard, \"Noto Sans KR\", \"Apple SD Gothic Neo\", monospace",
|
|
53
|
+
"faces": [
|
|
54
|
+
{
|
|
55
|
+
"family": "Hahmlet",
|
|
56
|
+
"src": "https://cdn.jsdelivr.net/gh/google/fonts@bd8f81ddb5c74d5c8897b36ad88b440266245103/ofl/hahmlet/Hahmlet%5Bwght%5D.ttf",
|
|
57
|
+
"weight": "100 900"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"family": "Pretendard Variable",
|
|
61
|
+
"src": "https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/variable/woff2/PretendardVariable.woff2",
|
|
62
|
+
"weight": "45 920"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"family": "Geist Mono",
|
|
66
|
+
"src": "https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-mono/GeistMono-Variable.woff2",
|
|
67
|
+
"weight": "100 900"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"type": {
|
|
72
|
+
"weightDisplay": 800,
|
|
73
|
+
"weightBody": 400,
|
|
74
|
+
"tracking": "-0.02em"
|
|
75
|
+
},
|
|
76
|
+
"look": {
|
|
77
|
+
"stroke": 0.93,
|
|
78
|
+
"tempo": 0.88
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"tags": {
|
|
82
|
+
"mood": [
|
|
83
|
+
"고요한",
|
|
84
|
+
"여백",
|
|
85
|
+
"동양적",
|
|
86
|
+
"우아한",
|
|
87
|
+
"절제된",
|
|
88
|
+
"밝은",
|
|
89
|
+
"따뜻한",
|
|
90
|
+
"고전적"
|
|
91
|
+
],
|
|
92
|
+
"light": "light",
|
|
93
|
+
"use": [
|
|
94
|
+
"소개",
|
|
95
|
+
"발표",
|
|
96
|
+
"브랜드",
|
|
97
|
+
"철학",
|
|
98
|
+
"결정",
|
|
99
|
+
"뮤직비디오"
|
|
100
|
+
],
|
|
101
|
+
"dims": "2D"
|
|
102
|
+
},
|
|
103
|
+
"check": {
|
|
104
|
+
"ok": true,
|
|
105
|
+
"at": "2026-10-11",
|
|
106
|
+
"colors": {
|
|
107
|
+
"ink": 15.3,
|
|
108
|
+
"inkSoft": 7.89,
|
|
109
|
+
"dim": 5.84,
|
|
110
|
+
"accentText": 6.07,
|
|
111
|
+
"accent": 4.87,
|
|
112
|
+
"onAccent": 5.29,
|
|
113
|
+
"success~danger": 0.26,
|
|
114
|
+
"success~warning": 0.26,
|
|
115
|
+
"accent~ink": 0.26
|
|
116
|
+
},
|
|
117
|
+
"frame": "kf check 통과 — 표준 장면 0–4초",
|
|
118
|
+
"pattern": "hook-number.counter"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# 아이소메트릭 미니어처 `iso-diorama`
|
|
2
|
+
|
|
3
|
+
**비유: 정보가 작은 섬 위의 미니어처 도시로 지어진다 — 숫자는 건물 높이, 요청은 길 위의 작은 차.** 위에서 비스듬히 내려다본 등각(정사영) 미니어처. 물 위에 타일이 솟아 섬이 되고, 숫자는 건물 높이와 간판으로, 요청은 길 위를 쉬지 않고 오가는 작은 차로 보인다. 금빛 햇살의 긴 그림자와 위·아래 틸트시프트가 장난감처럼 작게 만든다.
|
|
4
|
+
|
|
5
|
+
## 맞는 내용·용도
|
|
6
|
+
|
|
7
|
+
- 숫자·구성·흐름을 한눈에 — 서비스 지도·인프라·사용량·가격, 「무엇이 어디로 오간다」.
|
|
8
|
+
- 용도: 홍보(promo)·설명(explainer)·공개(launch)·피드(square)·쇼츠(shorts). 드롭에 `confettiBurst`.
|
|
9
|
+
- 화면 글: 크림 간판 위 짙은 글(주소·모델 ID·숫자).
|
|
10
|
+
|
|
11
|
+
## 금지
|
|
12
|
+
|
|
13
|
+
- 원근 카메라 — 등각 정사영만(미니어처 느낌이 깨진다).
|
|
14
|
+
- 이유 없이 떠도는 카메라(늘 미끄러지기·사인 드리프트·박마다 자세).
|
|
15
|
+
- 사진 같은 세부(창틀·나뭇잎) — 헤드리스에서 무겁고 정보가 안 보인다.
|
|
16
|
+
- 간판 없이 떠 있는 글 — 글은 간판에 박는다.
|
|
17
|
+
- 슬로건·감성 문장.
|
|
18
|
+
|
|
19
|
+
## 움직임
|
|
20
|
+
|
|
21
|
+
- 쉬지 않는 몫은 섬 안이 진다: 작은 차(`carFlow`)가 쉬지 않고 오가고, 타일·건물·간판이 박마다 솟는다.
|
|
22
|
+
- 카메라는 이유가 있을 때만 — 키 하나가 움직임 하나다. 드러낼 것에 다가가기(확대), 비교 전체를 담게 물러나기(축소), 드롭에 등각이 한 번 돌아 서기(`turn`, 끝은 0). 키 사이가 아니면 선다 — 컷 끝까지 앉을 것이 없으면 다음 컷까지 천천히 이어 다가가거나 물러난다(컷은 움직임 위에서, `linear`).
|
|
23
|
+
- 구도는 마디마다 바꾼다: 컷마다 다른 섬(세트를 화면 밖으로 떨어뜨려 둔다)과 다른 확대.
|
|
24
|
+
- 박마다 큰 사건 하나: 건물·간판이 톡 솟고(outBack), 회관 문이 빛나고, 해시계 칸이 꺼진다.
|
|
25
|
+
|
|
26
|
+
## 효과
|
|
27
|
+
|
|
28
|
+
입체 테마 — 바탕은 `@kasaframe/themes/stage3d`(렌더러 하나를 장면끼리 돌려 쓴다). 첫 효과(layer)가 무대를 만들고, 나머지(rig)는 `stage.add(…)` 로 얹는다. 같은 레포 안에서는 `effects.ts` 를 바로, 프로젝트에서는 `fx("iso-diorama")`.
|
|
29
|
+
|
|
30
|
+
| 효과 | 꼴 | 하는 일 |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `isoStage` | layer | 등각 무대 — 정사영 카메라, 금빛 햇살과 긴 그림자, 위·아래 틸트시프트. 컷마다 다른 섬을 내려다보고, 카메라는 박에 맞춘 키로만 다가가고(확대) 물러나고 돈다 |
|
|
33
|
+
| `tileIsland` | rig | 섬 — 물 위에 타일이 물결처럼 차례로 솟아 땅이 된다, 가운데 십자 길 |
|
|
34
|
+
| `towers` | rig | 건물 — 값만큼 톡 솟는 모형 빌딩(테라코타 지붕), 지붕 위 간판 |
|
|
35
|
+
| `carFlow` | rig | 작은 차 — 요청이 길을 따라 쉬지 않고 오간다 |
|
|
36
|
+
| `gatewayHall` | rig | 관문 회관 — OG 로고의 두 칸이 광장 위 파란 문 둘로, 박마다 빛난다 |
|
|
37
|
+
| `signPost` | rig | 간판 — 기둥 위 크림 판이 톡 서고 글이 박힌다, text 가 함수면 바뀔 때만 다시 그린다 |
|
|
38
|
+
| `sunDial` | rig | 해시계 광장 — 24 칸 마당, 밤 창(00–10시) 칸이 정한 시각에 쑥 꺼지고(-90%) 해 바늘이 돈다 |
|
|
39
|
+
| `confettiBurst` | rig | 드롭 — 섬 가운데서 작은 블록이 터져 오르고 떨어진다, 섬광·흔들림(dropBurst) |
|
|
40
|
+
|
|
41
|
+
## 장면 문법 슬롯 — `slots.ts`
|
|
42
|
+
|
|
43
|
+
패턴이 테마 이름 없이 부르는 자리(`@kasaframe/themes/slots` 의 `themeSlots("iso-diorama")`). 3D 는 `surface` 하나, 나머지는 DOM·캔버스 2D.
|
|
44
|
+
|
|
45
|
+
| 슬롯 | 채운 것 |
|
|
46
|
+
|---|---|
|
|
47
|
+
| `surface` | 모형 받침 — 등각으로 내려다본 크림 타일 마당, 칸마다 높이가 조금씩 달라 긴 그림자가 결을 낸다(틸트시프트). 처음 한 번 그려 서 있다(`stillStage`) |
|
|
48
|
+
| `panel` | 간판 판 — 크림 판에 테라코타 테, 해 질 녘 긴 그림자. 밑에서 톡 선다(outBack) |
|
|
49
|
+
| `land` | 톡 솟아 앉는다 — 눌렸다 넘쳐 올라와 서고 발밑에 그림자가 고인다(0.6초) |
|
|
50
|
+
| `write` | 간판에 글 박기 — 글자마다 테라코타로 찍혔다가 짙은 글로 앉는다 |
|
|
51
|
+
| `trace` | 길 — 짙은 아스팔트 길이 긴 그림자와 함께 깔리고 흰 점선, 다 깔린 뒤엔 작은 차(요청)가 쉬지 않고 오간다 |
|
|
52
|
+
| `drop` | 크림 섬광과 함께 작은 블록이 터져 오르고 떨어진다(dropBurst) |
|
|
53
|
+
|
|
54
|
+
견본: `sample/` — 공통 주제 「OpenGateway 소개 15초」(docs/briefs/og-intro-15s.md), kawaii-friends 4.0–19.0초(드롭 7.34초), 장면 넷 × 마디마다 컷. 테마 공장(`kf theme new --3d`)으로 지은 첫 입체 테마 셋 중 하나.
|
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
import { clamp, ease, rand, toEase, type EaseName, type SceneCtx } from "@kasaframe/core";
|
|
2
|
+
import { dropBurst } from "@kasaframe/motion";
|
|
3
|
+
import { roundRectShape, stage3d, textPlane, THREE, type Stage3D } from "@kasaframe/themes/stage3d";
|
|
4
|
+
|
|
5
|
+
type V3 = [number, number, number];
|
|
6
|
+
const color = (ctx: SceneCtx, k: string) => new THREE.Color(ctx.style.colors[k] ?? k);
|
|
7
|
+
// 모형이 「톡」 솟는 한 손 — 살짝 넘쳤다 앉는다
|
|
8
|
+
const pop = (t: number, at: number, dur = 0.32) => (t < at ? 0 : ease.outBack(clamp((t - at) / dur)));
|
|
9
|
+
// 등각(아이소메트릭) 방향 — 카메라는 이쪽에서 내려다본다
|
|
10
|
+
const ISO = new THREE.Vector3(1, 0.82, 1).normalize();
|
|
11
|
+
const UP = new THREE.Vector3(0, 1, 0);
|
|
12
|
+
|
|
13
|
+
export interface IsoKey {
|
|
14
|
+
t: number;
|
|
15
|
+
/** 보는 곳 */
|
|
16
|
+
look: V3;
|
|
17
|
+
/** 화면 세로에 담길 세계 단위 — 작을수록 가까이(정사영의 다가가기) */
|
|
18
|
+
zoom: number;
|
|
19
|
+
/** 등각 방향을 세로축으로 돌린 각(라디안) — 드롭처럼 이유 있을 때만, 끝은 0 으로 돌아온다 */
|
|
20
|
+
turn?: number;
|
|
21
|
+
/** 앞 키에서 이 키로 오는 이징. 기본 inOutCubic */
|
|
22
|
+
ease?: EaseName;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface IsoShot {
|
|
26
|
+
from: number;
|
|
27
|
+
to: number;
|
|
28
|
+
/** 키 사이는 움직이고 키에서 선다. 같은 키를 이으면 그동안 서 있다 — 쉬지 않는 몫은 차·물결·솟는 모형이 진다 */
|
|
29
|
+
keys: IsoKey[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function isoAt(t: number, keys: IsoKey[]): { look: V3; zoom: number; turn: number } {
|
|
33
|
+
const ks = [...keys].sort((a, b) => a.t - b.t);
|
|
34
|
+
const at = (k: IsoKey) => ({ look: k.look, zoom: k.zoom, turn: k.turn ?? 0 });
|
|
35
|
+
if (t <= ks[0].t) return at(ks[0]);
|
|
36
|
+
for (let i = 1; i < ks.length; i++) {
|
|
37
|
+
if (t >= ks[i].t) continue;
|
|
38
|
+
const [a, b] = [at(ks[i - 1]), at(ks[i])];
|
|
39
|
+
const u = toEase(ks[i].ease ?? "inOutCubic")((t - ks[i - 1].t) / Math.max(1e-6, ks[i].t - ks[i - 1].t));
|
|
40
|
+
return { look: [0, 1, 2].map((j) => a.look[j] + (b.look[j] - a.look[j]) * u) as V3, zoom: a.zoom + (b.zoom - a.zoom) * u, turn: a.turn + (b.turn - a.turn) * u };
|
|
41
|
+
}
|
|
42
|
+
return at(ks[ks.length - 1]);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** 등각 무대 — 정사영 카메라, 금빛 햇살과 긴 그림자, 위·아래가 흐린 틸트시프트. 컷마다 다른 섬을 내려다보고, 카메라는 박에 맞춘 키로만 다가가고(확대) 물러나고 돈다 */
|
|
46
|
+
export function isoStage(el: HTMLElement, o: { ctx: SceneCtx; shots: IsoShot[]; tilt?: number }): ((t: number) => void) & Stage3D {
|
|
47
|
+
const { ctx } = o;
|
|
48
|
+
const shots = [...o.shots].sort((a, b) => a.from - b.from);
|
|
49
|
+
const H = ctx.meta.height;
|
|
50
|
+
const W = ctx.meta.width;
|
|
51
|
+
const stage = stage3d(el, {
|
|
52
|
+
ctx,
|
|
53
|
+
camera: "ortho",
|
|
54
|
+
frustum: 12,
|
|
55
|
+
background: ctx.style.colors.bg,
|
|
56
|
+
shot(t, cam) {
|
|
57
|
+
const s = shots.find((x) => t >= x.from && t < x.to) ?? shots[shots.length - 1];
|
|
58
|
+
const k = isoAt(t, s.keys);
|
|
59
|
+
const look = new THREE.Vector3(...k.look);
|
|
60
|
+
cam.position.copy(look).addScaledVector(ISO.clone().applyAxisAngle(UP, k.turn), 60);
|
|
61
|
+
cam.lookAt(look);
|
|
62
|
+
const c = cam as THREE.OrthographicCamera;
|
|
63
|
+
const f = k.zoom;
|
|
64
|
+
c.left = (-f * W) / H / 2;
|
|
65
|
+
c.right = (f * W) / H / 2;
|
|
66
|
+
c.top = f / 2;
|
|
67
|
+
c.bottom = -f / 2;
|
|
68
|
+
c.updateProjectionMatrix();
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
stage.scene.add(new THREE.HemisphereLight(0xfff4e0, 0x8a7a66, 1.1));
|
|
72
|
+
const sun = new THREE.DirectionalLight(0xffd9a0, 2.6);
|
|
73
|
+
sun.position.set(-30, 40, 18);
|
|
74
|
+
sun.castShadow = true;
|
|
75
|
+
sun.shadow.mapSize.set(1024, 1024);
|
|
76
|
+
const sc = sun.shadow.camera as THREE.OrthographicCamera;
|
|
77
|
+
Object.assign(sc, { left: -40, right: 40, top: 40, bottom: -40, near: 1, far: 140 });
|
|
78
|
+
sun.shadow.bias = -0.0008;
|
|
79
|
+
stage.scene.add(sun);
|
|
80
|
+
// 햇살과 그림자 상자가 카메라를 따라간다 — 섬이 멀리 떨어져 있어도 그림자가 선다
|
|
81
|
+
const follow = (t: number) => {
|
|
82
|
+
const s = shots.find((x) => t >= x.from && t < x.to) ?? shots[shots.length - 1];
|
|
83
|
+
const [x, y, z] = s.keys[0].look;
|
|
84
|
+
sun.position.set(x - 30, y + 40, z + 18);
|
|
85
|
+
sun.target.position.set(x, y, z);
|
|
86
|
+
sun.target.updateMatrixWorld();
|
|
87
|
+
};
|
|
88
|
+
// 틸트시프트 — 위·아래 띠만 흐리게. 모형이 작아 보이는 까닭
|
|
89
|
+
const band = (top: boolean) => {
|
|
90
|
+
const d = document.createElement("div");
|
|
91
|
+
const blur = o.tilt ?? 6;
|
|
92
|
+
d.style.cssText = `position:absolute;left:0;right:0;${top ? "top:0" : "bottom:0"};height:22%;backdrop-filter:blur(${blur}px);-webkit-mask-image:linear-gradient(${top ? "to bottom" : "to top"},#000,transparent);mask-image:linear-gradient(${top ? "to bottom" : "to top"},#000,transparent);pointer-events:none;`;
|
|
93
|
+
el.append(d);
|
|
94
|
+
};
|
|
95
|
+
band(true);
|
|
96
|
+
band(false);
|
|
97
|
+
return Object.assign((t: number) => {
|
|
98
|
+
follow(t);
|
|
99
|
+
stage.paint(t);
|
|
100
|
+
}, stage);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
const boxGeo = (w: number, h: number, d: number) => {
|
|
104
|
+
const g = new THREE.BoxGeometry(w, h, d);
|
|
105
|
+
g.translate(0, h / 2, 0);
|
|
106
|
+
return g;
|
|
107
|
+
};
|
|
108
|
+
const mat = (ctx: SceneCtx, k: string, rough = 0.85) => new THREE.MeshStandardMaterial({ color: color(ctx, k), roughness: rough, metalness: 0 });
|
|
109
|
+
const shade = (m: THREE.Mesh) => {
|
|
110
|
+
m.castShadow = true;
|
|
111
|
+
m.receiveShadow = true;
|
|
112
|
+
return m;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/** 섬 — 물 위에 타일이 물결처럼 차례로 솟아 땅이 된다. 가운데 둥근 광장 둘레에 길 */
|
|
116
|
+
export function tileIsland(stage: Stage3D, o: { ctx: SceneCtx; pos: V3; size?: [number, number]; at?: number; dur?: number; seed?: string }): (t: number) => void {
|
|
117
|
+
const { ctx } = o;
|
|
118
|
+
const [nx, nz] = o.size ?? [10, 10];
|
|
119
|
+
const water = shade(new THREE.Mesh(boxGeo(nx + 6, 0.2, nz + 6), mat(ctx, "water", 0.35)));
|
|
120
|
+
water.position.set(o.pos[0], o.pos[1] - 0.25, o.pos[2]);
|
|
121
|
+
stage.scene.add(water);
|
|
122
|
+
const seed = o.seed ?? "island";
|
|
123
|
+
const tiles: { m: THREE.Mesh; delay: number }[] = [];
|
|
124
|
+
const geo = boxGeo(0.98, 0.5, 0.98);
|
|
125
|
+
for (let i = 0; i < nx; i++) {
|
|
126
|
+
for (let k = 0; k < nz; k++) {
|
|
127
|
+
const edge = i === 0 || k === 0 || i === nx - 1 || k === nz - 1;
|
|
128
|
+
const road = i === Math.floor(nx / 2) || k === Math.floor(nz / 2);
|
|
129
|
+
const m = shade(new THREE.Mesh(geo, mat(ctx, road ? "path" : edge && rand(seed, i * 31 + k) > 0.5 ? "path" : "grass")));
|
|
130
|
+
m.position.set(o.pos[0] + i - nx / 2 + 0.5, o.pos[1] - 0.5, o.pos[2] + k - nz / 2 + 0.5);
|
|
131
|
+
stage.scene.add(m);
|
|
132
|
+
tiles.push({ m, delay: (Math.hypot(i - nx / 2, k - nz / 2) / Math.hypot(nx / 2, nz / 2)) * (o.dur ?? 0.3) });
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return (t) => {
|
|
136
|
+
const at = o.at ?? -1;
|
|
137
|
+
for (const { m, delay } of tiles) {
|
|
138
|
+
const a = pop(t, at + delay, 0.25);
|
|
139
|
+
m.scale.y = Math.max(0.001, a);
|
|
140
|
+
m.visible = a > 0;
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** 건물 — 값만큼 높이 솟는 모형 빌딩, 지붕은 테라코타. 지붕 위에 간판(글) */
|
|
146
|
+
export function towers(stage: Stage3D, o: { ctx: SceneCtx; items: { pos: V3; height: number; at: number; label?: string; roof?: string; width?: number }[] }): (t: number) => void {
|
|
147
|
+
const { ctx } = o;
|
|
148
|
+
const parts = o.items.map((it) => {
|
|
149
|
+
const w = it.width ?? 1.4;
|
|
150
|
+
const body = shade(new THREE.Mesh(boxGeo(w, 1, w), mat(ctx, "wall")));
|
|
151
|
+
const roof = shade(new THREE.Mesh(boxGeo(w * 1.08, 0.28, w * 1.08), mat(ctx, it.roof ?? "roof", 0.7)));
|
|
152
|
+
body.position.set(...it.pos);
|
|
153
|
+
stage.scene.add(body, roof);
|
|
154
|
+
const sign = it.label
|
|
155
|
+
? textPlane({ text: it.label, family: ctx.style.fonts.display, weight: 800, color: ctx.style.colors.ink, plate: ctx.style.colors.surface, height: 0.78, px: 140 })
|
|
156
|
+
: null;
|
|
157
|
+
if (sign) stage.scene.add(sign);
|
|
158
|
+
return { it, body, roof, sign };
|
|
159
|
+
});
|
|
160
|
+
return (t) => {
|
|
161
|
+
for (const { it, body, roof, sign } of parts) {
|
|
162
|
+
const a = pop(t, it.at, 0.38);
|
|
163
|
+
const h = Math.max(0.001, it.height * a);
|
|
164
|
+
body.scale.y = h;
|
|
165
|
+
body.visible = roof.visible = a > 0;
|
|
166
|
+
roof.position.set(it.pos[0], it.pos[1] + h, it.pos[2]);
|
|
167
|
+
if (sign) {
|
|
168
|
+
sign.visible = t >= it.at + 0.12;
|
|
169
|
+
sign.position.set(it.pos[0], it.pos[1] + h + 1.05, it.pos[2]);
|
|
170
|
+
sign.quaternion.copy(stage.camera.quaternion);
|
|
171
|
+
sign.scale.setScalar(pop(t, it.at + 0.12, 0.25) || 0.001);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** 길 위의 작은 차 — 요청이 길을 따라 쉬지 않고 오간다. 길은 꺾은선, 차는 그 위를 돈다 */
|
|
178
|
+
export function carFlow(stage: Stage3D, o: { ctx: SceneCtx; roads: V3[][]; count?: number; speed?: number; at?: number; seed?: string }): (t: number) => void {
|
|
179
|
+
const { ctx } = o;
|
|
180
|
+
const seed = o.seed ?? "cars";
|
|
181
|
+
const geo = boxGeo(0.34, 0.2, 0.2);
|
|
182
|
+
const colors = ["roof", "gate", "steel", "warning"];
|
|
183
|
+
const cars = Array.from({ length: o.count ?? 18 }, (_, i) => {
|
|
184
|
+
const m = shade(new THREE.Mesh(geo, mat(ctx, colors[i % colors.length], 0.5)));
|
|
185
|
+
stage.scene.add(m);
|
|
186
|
+
return { m, road: o.roads[i % o.roads.length], phase: rand(seed, i) };
|
|
187
|
+
});
|
|
188
|
+
const lens = o.roads.map((r) => r.slice(1).reduce((s, p, i) => s + Math.hypot(p[0] - r[i][0], p[2] - r[i][2]), 0));
|
|
189
|
+
return (t) => {
|
|
190
|
+
for (const c of cars) {
|
|
191
|
+
const on = t >= (o.at ?? -1);
|
|
192
|
+
c.m.visible = on;
|
|
193
|
+
if (!on) continue;
|
|
194
|
+
const L = lens[o.roads.indexOf(c.road)];
|
|
195
|
+
let d = (((c.phase * L + t * (o.speed ?? 2.4)) % L) + L) % L;
|
|
196
|
+
for (let i = 1; i < c.road.length; i++) {
|
|
197
|
+
const [a, b] = [c.road[i - 1], c.road[i]];
|
|
198
|
+
const seg = Math.hypot(b[0] - a[0], b[2] - a[2]);
|
|
199
|
+
if (d <= seg) {
|
|
200
|
+
const u = d / seg;
|
|
201
|
+
c.m.position.set(a[0] + (b[0] - a[0]) * u, a[1], a[2] + (b[2] - a[2]) * u);
|
|
202
|
+
c.m.rotation.y = Math.atan2(-(b[2] - a[2]), b[0] - a[0]);
|
|
203
|
+
break;
|
|
204
|
+
}
|
|
205
|
+
d -= seg;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/** 관문 회관 — OG 로고의 두 칸이 광장 위 파란 문 둘로 선다. 박마다 문이 빛난다 */
|
|
212
|
+
export function gatewayHall(stage: Stage3D, o: { ctx: SceneCtx; pos: V3; at?: number; pulse?: number[]; scale?: number }): (t: number) => void {
|
|
213
|
+
const { ctx } = o;
|
|
214
|
+
const k = o.scale ?? 1;
|
|
215
|
+
const plaza = shade(new THREE.Mesh(new THREE.CylinderGeometry(3.2 * k, 3.2 * k, 0.16, 28), mat(ctx, "surface")));
|
|
216
|
+
plaza.position.set(o.pos[0], o.pos[1] + 0.08, o.pos[2]);
|
|
217
|
+
const group = new THREE.Group();
|
|
218
|
+
group.position.set(...o.pos);
|
|
219
|
+
const gm = new THREE.MeshStandardMaterial({ color: color(ctx, "gate"), roughness: 0.4, emissive: color(ctx, "gate"), emissiveIntensity: 0 });
|
|
220
|
+
for (const [dx, hole] of [[-1.25, 0.32], [1.25, 0.32]] as const) {
|
|
221
|
+
const geo = new THREE.ExtrudeGeometry(roundRectShape(2 * k, 2.6 * k, 0.5 * k, hole * k), { depth: 0.6 * k, bevelEnabled: true, bevelThickness: 0.06, bevelSize: 0.06, bevelSegments: 2, curveSegments: 8 });
|
|
222
|
+
geo.translate(0, 1.3 * k + 0.16, -0.3 * k);
|
|
223
|
+
const m = shade(new THREE.Mesh(geo, gm));
|
|
224
|
+
m.position.x = dx * k;
|
|
225
|
+
group.add(m);
|
|
226
|
+
}
|
|
227
|
+
stage.scene.add(plaza, group);
|
|
228
|
+
return (t) => {
|
|
229
|
+
const a = pop(t, o.at ?? -1, 0.4);
|
|
230
|
+
group.visible = plaza.visible = a > 0;
|
|
231
|
+
group.scale.set(1, Math.max(0.001, a), 1);
|
|
232
|
+
let f = 0;
|
|
233
|
+
for (const p of o.pulse ?? []) if (t >= p) f = Math.max(f, Math.exp(-(t - p) / 0.2));
|
|
234
|
+
gm.emissiveIntensity = 0.15 + 1.2 * f;
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/** 간판 — 기둥 위 크림 판이 톡 서고 글이 박힌다. text 가 함수면 바뀔 때만 다시 그린다 */
|
|
239
|
+
export function signPost(stage: Stage3D, o: { ctx: SceneCtx; text: string | ((t: number) => string); pos: V3; height?: number; at?: number; until?: number; font?: "sans" | "display" | "mono"; color?: string; post?: boolean }): (t: number) => void {
|
|
240
|
+
const { ctx } = o;
|
|
241
|
+
const h = o.height ?? 0.8;
|
|
242
|
+
const px = 150;
|
|
243
|
+
const family = ctx.style.fonts[o.font ?? "display"];
|
|
244
|
+
const font = `${o.font === "mono" ? 700 : 800} ${px}px ${family}`;
|
|
245
|
+
const probe = document.createElement("canvas").getContext("2d")!;
|
|
246
|
+
probe.font = font;
|
|
247
|
+
const sample = typeof o.text === "function" ? o.text(1e9) : o.text;
|
|
248
|
+
const cw = Math.ceil(probe.measureText(sample).width * 1.12 + px * 0.8);
|
|
249
|
+
const ch = Math.ceil(px * 1.55);
|
|
250
|
+
const c = document.createElement("canvas");
|
|
251
|
+
c.width = cw;
|
|
252
|
+
c.height = ch;
|
|
253
|
+
const tex = new THREE.CanvasTexture(c);
|
|
254
|
+
tex.colorSpace = THREE.SRGBColorSpace;
|
|
255
|
+
tex.anisotropy = 4;
|
|
256
|
+
let last = "";
|
|
257
|
+
// 바뀌는 글(함수)은 매번 그린다 — 같은 t 를 두 번 그릴 때 둘째에 fillText 가 빠지면 검사가 다른 화면으로 본다
|
|
258
|
+
const draw = (s: string, again = false) => {
|
|
259
|
+
if (s === last && !again) return;
|
|
260
|
+
last = s;
|
|
261
|
+
const g = c.getContext("2d")!;
|
|
262
|
+
g.fillStyle = ctx.style.colors.surface;
|
|
263
|
+
g.beginPath();
|
|
264
|
+
g.roundRect(0, 0, cw, ch, px * 0.22);
|
|
265
|
+
g.fill();
|
|
266
|
+
g.lineWidth = px * 0.06;
|
|
267
|
+
g.strokeStyle = ctx.style.colors.accent;
|
|
268
|
+
g.stroke();
|
|
269
|
+
g.font = font;
|
|
270
|
+
g.fillStyle = ctx.style.colors[o.color ?? "ink"] ?? o.color ?? "#000";
|
|
271
|
+
g.textAlign = "center";
|
|
272
|
+
g.textBaseline = "middle";
|
|
273
|
+
g.fillText(s, cw / 2, ch / 2 + px * 0.04);
|
|
274
|
+
tex.needsUpdate = true;
|
|
275
|
+
};
|
|
276
|
+
const worldW = (h * cw) / ch;
|
|
277
|
+
const board = new THREE.Mesh(new THREE.PlaneGeometry(worldW, h), new THREE.MeshBasicMaterial({ map: tex, transparent: true, side: THREE.DoubleSide, toneMapped: false }));
|
|
278
|
+
const group = new THREE.Group();
|
|
279
|
+
const lift = o.post === false ? 0 : 0.9;
|
|
280
|
+
if (o.post !== false) {
|
|
281
|
+
const pole = shade(new THREE.Mesh(boxGeo(0.12, lift, 0.12), mat(ctx, "steel")));
|
|
282
|
+
group.add(pole);
|
|
283
|
+
}
|
|
284
|
+
board.position.y = lift + h / 2;
|
|
285
|
+
group.add(board);
|
|
286
|
+
group.position.set(...o.pos);
|
|
287
|
+
stage.scene.add(group);
|
|
288
|
+
return (t) => {
|
|
289
|
+
const at = o.at ?? -1;
|
|
290
|
+
const on = t >= at && (o.until === undefined || t < o.until);
|
|
291
|
+
group.visible = on;
|
|
292
|
+
if (!on) return;
|
|
293
|
+
group.scale.setScalar(Math.max(0.001, pop(t, at, 0.3)));
|
|
294
|
+
board.quaternion.copy(stage.camera.quaternion);
|
|
295
|
+
draw(typeof o.text === "function" ? o.text(t) : o.text, typeof o.text === "function");
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/** 해시계 광장 — 24 칸 둥근 마당, 밤 창(00–10시) 칸이 정한 시각에 쑥 꺼지고(-90%) 해 바늘이 돈다 */
|
|
300
|
+
export function sunDial(stage: Stage3D, o: { ctx: SceneCtx; pos: V3; radius?: number; at?: number; drop: number; window?: [number, number] }): (t: number) => void {
|
|
301
|
+
const { ctx } = o;
|
|
302
|
+
const r = o.radius ?? 4;
|
|
303
|
+
const [h0, h1] = o.window ?? [0, 10];
|
|
304
|
+
const cells = Array.from({ length: 24 }, (_, h) => {
|
|
305
|
+
const night = h >= h0 && h < h1;
|
|
306
|
+
const a0 = (h / 24) * Math.PI * 2;
|
|
307
|
+
const shape = new THREE.Shape();
|
|
308
|
+
const steps = 4;
|
|
309
|
+
shape.moveTo(Math.sin(a0) * r * 0.45, Math.cos(a0) * r * 0.45);
|
|
310
|
+
for (let s = 0; s <= steps; s++) {
|
|
311
|
+
const a = a0 + ((Math.PI * 2) / 24) * (s / steps) * 0.92;
|
|
312
|
+
shape.lineTo(Math.sin(a) * r, Math.cos(a) * r);
|
|
313
|
+
}
|
|
314
|
+
for (let s = steps; s >= 0; s--) {
|
|
315
|
+
const a = a0 + ((Math.PI * 2) / 24) * (s / steps) * 0.92;
|
|
316
|
+
shape.lineTo(Math.sin(a) * r * 0.45, Math.cos(a) * r * 0.45);
|
|
317
|
+
}
|
|
318
|
+
const geo = new THREE.ExtrudeGeometry(shape, { depth: 1, bevelEnabled: false });
|
|
319
|
+
geo.rotateX(-Math.PI / 2);
|
|
320
|
+
const m = shade(new THREE.Mesh(geo, mat(ctx, night ? "accent" : "wall", 0.7)));
|
|
321
|
+
m.position.set(...o.pos);
|
|
322
|
+
stage.scene.add(m);
|
|
323
|
+
return { m, night, h };
|
|
324
|
+
});
|
|
325
|
+
// 해 바늘 — 가는 금속 침. 굵은 검정 막대면 마당을 가르는 띠로 보인다
|
|
326
|
+
const hand = shade(new THREE.Mesh(boxGeo(0.12, 0.22, r * 0.86), mat(ctx, "steel", 0.4)));
|
|
327
|
+
hand.geometry.translate(0, 0, -r * 0.45);
|
|
328
|
+
hand.position.set(...o.pos);
|
|
329
|
+
stage.scene.add(hand);
|
|
330
|
+
return (t) => {
|
|
331
|
+
for (const c of cells) {
|
|
332
|
+
const a = pop(t, (o.at ?? -1) + c.h * 0.01, 0.28);
|
|
333
|
+
const sink = c.night ? 1 - 0.9 * ease.outCubic(clamp((t - o.drop) / 0.3)) : 1;
|
|
334
|
+
c.m.scale.y = Math.max(0.001, 0.9 * a * sink);
|
|
335
|
+
c.m.visible = a > 0;
|
|
336
|
+
}
|
|
337
|
+
hand.rotation.y = -t * 2.4;
|
|
338
|
+
hand.position.y = o.pos[1] + 0.95;
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** 드롭 — 섬 가운데서 작은 블록이 터져 오르고 떨어진다(닫힌 식 포물선). 섬광·흔들림은 dropBurst 로 */
|
|
343
|
+
export function confettiBurst(stage: Stage3D, o: { ctx: SceneCtx; pos: V3; drop?: number; count?: number; seed?: string }): (t: number) => void {
|
|
344
|
+
const { ctx } = o;
|
|
345
|
+
const seed = o.seed ?? "confetti";
|
|
346
|
+
const n = o.count ?? 70;
|
|
347
|
+
const keys = ["roof", "gate", "grass", "warning", "water"];
|
|
348
|
+
const bits = Array.from({ length: n }, (_, i) => {
|
|
349
|
+
const m = shade(new THREE.Mesh(boxGeo(0.3, 0.3, 0.3), mat(ctx, keys[i % keys.length], 0.6)));
|
|
350
|
+
stage.scene.add(m);
|
|
351
|
+
const a = rand(seed, i) * Math.PI * 2;
|
|
352
|
+
const sp = 2 + rand(seed, i + 99) * 5;
|
|
353
|
+
// 낮게 터진다 — 높이 솟으면 위에 선 숫자 간판을 가린다
|
|
354
|
+
return { m, vx: Math.cos(a) * sp, vz: Math.sin(a) * sp, vy: 4 + rand(seed, i + 199) * 4.5, spin: rand(seed, i + 299) * 12 };
|
|
355
|
+
});
|
|
356
|
+
const flash = document.createElement("div");
|
|
357
|
+
flash.style.cssText = "position:absolute;inset:0;background:#FFF8EE;opacity:0;pointer-events:none;";
|
|
358
|
+
stage.el.append(flash);
|
|
359
|
+
return (t) => {
|
|
360
|
+
const s = dropBurst(t, { beats: ctx.beats, drop: o.drop ?? 0, rules: ctx.style.motion, scene: ctx.id, source: "confettiBurst" });
|
|
361
|
+
flash.style.opacity = String(Math.round(s.flash * 80) / 100);
|
|
362
|
+
const local = t - ctx.beats.drop(o.drop ?? 0);
|
|
363
|
+
for (const b of bits) {
|
|
364
|
+
const on = local >= 0 && local < 1.6;
|
|
365
|
+
b.m.visible = on;
|
|
366
|
+
if (!on) continue;
|
|
367
|
+
const y = Math.max(0, b.vy * local - 9.8 * local * local);
|
|
368
|
+
b.m.position.set(o.pos[0] + b.vx * local, o.pos[1] + y, o.pos[2] + b.vz * local);
|
|
369
|
+
b.m.rotation.set(b.spin * local, b.spin * local * 0.7, 0);
|
|
370
|
+
}
|
|
371
|
+
stage.camera.position.x += (s.shake.x ?? 0) * 0.02;
|
|
372
|
+
stage.camera.position.y += (s.shake.y ?? 0) * 0.02;
|
|
373
|
+
};
|
|
374
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1140 650" width="1140" height="650" fill="none" role="img" aria-label="OpenGateway">
|
|
2
|
+
<title>OpenGateway</title>
|
|
3
|
+
<g id="logo" stroke="currentColor" fill="currentColor">
|
|
4
|
+
<rect id="node-in" x="36" y="36" width="420" height="578" rx="89" fill="none" stroke-width="72"/>
|
|
5
|
+
<rect id="bar-in" x="72" y="272" width="277" height="106" stroke="none"/>
|
|
6
|
+
<path id="node-out" d="M684 213 L684 125 A89 89 0 0 1 773 36 L1015 36 A89 89 0 0 1 1104 125 L1104 525 A89 89 0 0 1 1015 614 L773 614 A89 89 0 0 1 684 525 L684 436" fill="none" stroke-width="72" stroke-linecap="butt"/>
|
|
7
|
+
<g id="arrow">
|
|
8
|
+
<rect id="arrow-shaft" x="420" y="272" width="394" height="106" stroke="none"/>
|
|
9
|
+
<path id="arrow-head" d="M833 220 L970 325 L833 430 Z" stroke-width="38" stroke-linejoin="round"/>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</svg>
|