agentcut 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +11 -2
- package/dist/bridge.d.ts +45 -0
- package/dist/bridge.js +691 -0
- package/dist/bridge.js.map +1 -0
- package/dist/config.d.ts +13 -0
- package/dist/config.js +50 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +35 -0
- package/dist/index.js.map +1 -0
- package/dist/log.d.ts +1 -0
- package/dist/log.js +14 -0
- package/dist/log.js.map +1 -0
- package/dist/studio/agents/claude.d.ts +7 -0
- package/dist/studio/agents/claude.js +155 -0
- package/dist/studio/agents/claude.js.map +1 -0
- package/dist/studio/agents/codex.d.ts +4 -0
- package/dist/studio/agents/codex.js +169 -0
- package/dist/studio/agents/codex.js.map +1 -0
- package/dist/studio/agents/index.d.ts +8 -0
- package/dist/studio/agents/index.js +50 -0
- package/dist/studio/agents/index.js.map +1 -0
- package/dist/studio/agents/types.d.ts +131 -0
- package/dist/studio/agents/types.js +11 -0
- package/dist/studio/agents/types.js.map +1 -0
- package/dist/studio/bundler.d.ts +29 -0
- package/dist/studio/bundler.js +136 -0
- package/dist/studio/bundler.js.map +1 -0
- package/dist/studio/chat.d.ts +147 -0
- package/dist/studio/chat.js +681 -0
- package/dist/studio/chat.js.map +1 -0
- package/dist/studio/cli.d.ts +2 -0
- package/dist/studio/cli.js +194 -0
- package/dist/studio/cli.js.map +1 -0
- package/dist/studio/components.d.ts +4 -0
- package/dist/studio/components.js +36 -0
- package/dist/studio/components.js.map +1 -0
- package/dist/studio/host.d.ts +105 -0
- package/dist/studio/host.js +634 -0
- package/dist/studio/host.js.map +1 -0
- package/dist/studio/http.d.ts +21 -0
- package/dist/studio/http.js +240 -0
- package/dist/studio/http.js.map +1 -0
- package/dist/studio/music.d.ts +35 -0
- package/dist/studio/music.js +130 -0
- package/dist/studio/music.js.map +1 -0
- package/dist/studio/proc.d.ts +11 -0
- package/dist/studio/proc.js +69 -0
- package/dist/studio/proc.js.map +1 -0
- package/dist/studio/projects.d.ts +84 -0
- package/dist/studio/projects.js +369 -0
- package/dist/studio/projects.js.map +1 -0
- package/dist/studio/render.d.ts +24 -0
- package/dist/studio/render.js +197 -0
- package/dist/studio/render.js.map +1 -0
- package/dist/studio/reveal.d.ts +7 -0
- package/dist/studio/reveal.js +49 -0
- package/dist/studio/reveal.js.map +1 -0
- package/dist/studio/schema.d.ts +4152 -0
- package/dist/studio/schema.js +358 -0
- package/dist/studio/schema.js.map +1 -0
- package/dist/studio/tools.d.ts +2 -0
- package/dist/studio/tools.js +165 -0
- package/dist/studio/tools.js.map +1 -0
- package/dist/studio/voice.d.ts +150 -0
- package/dist/studio/voice.js +434 -0
- package/dist/studio/voice.js.map +1 -0
- package/dist/studio/workspace.d.ts +31 -0
- package/dist/studio/workspace.js +187 -0
- package/dist/studio/workspace.js.map +1 -0
- package/package.json +50 -4
- package/template/AGENTS.md +13 -0
- package/template/components/CATALOG.md +1306 -0
- package/template/components/README.md +61 -0
- package/template/components/STYLES.md +246 -0
- package/template/components/arcade-title/ArcadeTitle.tsx +860 -0
- package/template/components/arcade-title/meta.json +28 -0
- package/template/components/aurora/Aurora.tsx +63 -0
- package/template/components/aurora/meta.json +28 -0
- package/template/components/bar-wipe-title/BarWipeTitle.tsx +94 -0
- package/template/components/bar-wipe-title/meta.json +29 -0
- package/template/components/before-after/BeforeAfter.tsx +89 -0
- package/template/components/before-after/meta.json +233 -0
- package/template/components/bento-grid/BentoGrid.tsx +202 -0
- package/template/components/bento-grid/meta.json +25 -0
- package/template/components/blur-in-title/BlurInTitle.tsx +121 -0
- package/template/components/blur-in-title/meta.json +32 -0
- package/template/components/catalog.json +8730 -0
- package/template/components/catalog.ts +103 -0
- package/template/components/chat-thread/ChatThread.tsx +128 -0
- package/template/components/chat-thread/meta.json +24 -0
- package/template/components/checklist/Checklist.tsx +129 -0
- package/template/components/checklist/meta.json +25 -0
- package/template/components/confetti/Confetti.tsx +109 -0
- package/template/components/confetti/meta.json +28 -0
- package/template/components/countdown/Countdown.tsx +166 -0
- package/template/components/countdown/meta.json +28 -0
- package/template/components/cut-and-paste/CutAndPaste.tsx +654 -0
- package/template/components/cut-and-paste/meta.json +29 -0
- package/template/components/decode-text/DecodeText.tsx +97 -0
- package/template/components/decode-text/meta.json +29 -0
- package/template/components/editorial-quote/EditorialQuote.tsx +122 -0
- package/template/components/editorial-quote/meta.json +28 -0
- package/template/components/glitch-title/GlitchTitle.tsx +171 -0
- package/template/components/glitch-title/meta.json +32 -0
- package/template/components/halftone-wave/HalftoneWave.tsx +106 -0
- package/template/components/halftone-wave/meta.json +28 -0
- package/template/components/highlighter/Highlighter.tsx +142 -0
- package/template/components/highlighter/meta.json +28 -0
- package/template/components/hook-card/HookCard.tsx +552 -0
- package/template/components/hook-card/meta.json +304 -0
- package/template/components/index.ts +149 -0
- package/template/components/iris-wipe/IrisWipe.tsx +76 -0
- package/template/components/iris-wipe/meta.json +24 -0
- package/template/components/kinetic-poster/KineticPoster.tsx +437 -0
- package/template/components/kinetic-poster/meta.json +31 -0
- package/template/components/kinetic-punch/KineticPunch.tsx +80 -0
- package/template/components/kinetic-punch/meta.json +30 -0
- package/template/components/lava-lamp/LavaLamp.tsx +92 -0
- package/template/components/lava-lamp/meta.json +28 -0
- package/template/components/letter-cascade/LetterCascade.tsx +102 -0
- package/template/components/letter-cascade/meta.json +29 -0
- package/template/components/lib.ts +179 -0
- package/template/components/light-leak/LightLeakTransition.tsx +43 -0
- package/template/components/light-leak/meta.json +74 -0
- package/template/components/line-diagram/LineDiagram.tsx +205 -0
- package/template/components/line-diagram/meta.json +217 -0
- package/template/components/list-card/ListCard.tsx +104 -0
- package/template/components/list-card/meta.json +232 -0
- package/template/components/logo-sting/LogoSting.tsx +129 -0
- package/template/components/logo-sting/meta.json +29 -0
- package/template/components/looks.tsx +1447 -0
- package/template/components/lower-third/LowerThird.tsx +100 -0
- package/template/components/lower-third/meta.json +24 -0
- package/template/components/marquee/Marquee.tsx +100 -0
- package/template/components/marquee/meta.json +30 -0
- package/template/components/notification/Notification.tsx +115 -0
- package/template/components/notification/meta.json +27 -0
- package/template/components/outline-fill/OutlineFill.tsx +106 -0
- package/template/components/outline-fill/meta.json +28 -0
- package/template/components/panel-sweep/PanelSweep.tsx +86 -0
- package/template/components/panel-sweep/meta.json +25 -0
- package/template/components/prompt-box/PromptBox.tsx +131 -0
- package/template/components/prompt-box/meta.json +24 -0
- package/template/components/props.ts +73 -0
- package/template/components/quote-card/QuoteCard.tsx +71 -0
- package/template/components/quote-card/meta.json +216 -0
- package/template/components/shape-shift/ShapeShift.tsx +420 -0
- package/template/components/shape-shift/meta.json +31 -0
- package/template/components/slide-zoom-message/SlideZoomMessage.tsx +179 -0
- package/template/components/slide-zoom-message/meta.json +199 -0
- package/template/components/social-post/SocialPost.tsx +185 -0
- package/template/components/social-post/meta.json +30 -0
- package/template/components/split-flap/SplitFlap.tsx +191 -0
- package/template/components/split-flap/meta.json +29 -0
- package/template/components/spotlight-grid/SpotlightGrid.tsx +84 -0
- package/template/components/spotlight-grid/meta.json +25 -0
- package/template/components/stat-counter/StatCounter.tsx +117 -0
- package/template/components/stat-counter/meta.json +27 -0
- package/template/components/sticker-badge/StickerBadge.tsx +46 -0
- package/template/components/sticker-badge/meta.json +220 -0
- package/template/components/sticker-slam/StickerSlam.tsx +941 -0
- package/template/components/sticker-slam/meta.json +34 -0
- package/template/components/style-layer.tsx +233 -0
- package/template/components/styles.json +762 -0
- package/template/components/styles.ts +113 -0
- package/template/components/target-lock/TargetLock.tsx +662 -0
- package/template/components/target-lock/meta.json +32 -0
- package/template/components/text-reveal/TextReveal.tsx +99 -0
- package/template/components/text-reveal/meta.json +28 -0
- package/template/components/tile-wipe/TileWipe.tsx +75 -0
- package/template/components/tile-wipe/meta.json +24 -0
- package/template/components/type-zoom/TypeZoom.tsx +103 -0
- package/template/components/type-zoom/meta.json +27 -0
- package/template/components/types.ts +66 -0
- package/template/components/typewriter/Typewriter.tsx +112 -0
- package/template/components/typewriter/meta.json +29 -0
- package/template/components/word-pop/WordPop.tsx +59 -0
- package/template/components/word-pop/meta.json +237 -0
- package/template/components/word-stack/WordStack.tsx +122 -0
- package/template/components/word-stack/meta.json +27 -0
- package/template/components/word-swap/WordSwap.tsx +127 -0
- package/template/components/word-swap/meta.json +30 -0
- package/template/presets/charcoal-sketch/PROMPT.md +48 -0
- package/template/presets/charcoal-sketch/assets/paper/grain-0.png +0 -0
- package/template/presets/charcoal-sketch/assets/paper/grain-1.png +0 -0
- package/template/presets/charcoal-sketch/assets/paper/grain-2.png +0 -0
- package/template/presets/charcoal-sketch/assets/paper/sketch-paper.jpg +0 -0
- package/template/presets/charcoal-sketch/assets/paper/smudge.png +0 -0
- package/template/presets/charcoal-sketch/poster.jpg +0 -0
- package/template/presets/charcoal-sketch/preset.json +17 -0
- package/template/presets/charcoal-sketch/preview.mp4 +0 -0
- package/template/presets/charcoal-sketch/scenes/Grain.tsx +23 -0
- package/template/presets/charcoal-sketch/scenes/Paper.tsx +17 -0
- package/template/presets/charcoal-sketch/scenes/examples/Agents.tsx +100 -0
- package/template/presets/charcoal-sketch/scenes/examples/Approvals.tsx +110 -0
- package/template/presets/charcoal-sketch/scenes/examples/Blog.tsx +105 -0
- package/template/presets/charcoal-sketch/scenes/examples/EndCard.tsx +41 -0
- package/template/presets/charcoal-sketch/scenes/examples/Hook.tsx +130 -0
- package/template/presets/charcoal-sketch/scenes/examples/Ideas.tsx +92 -0
- package/template/presets/charcoal-sketch/scenes/examples/Posting.tsx +128 -0
- package/template/presets/charcoal-sketch/scenes/lib/painfix.tsx +119 -0
- package/template/presets/charcoal-sketch/scenes/lib/sketch.tsx +291 -0
- package/template/presets/charcoal-sketch/scripts/build_layers.example.py +193 -0
- package/template/presets/charcoal-sketch/scripts/duck_music.py +34 -0
- package/template/presets/charcoal-sketch/scripts/make_textures.py +93 -0
- package/template/presets/punk-cut-paper/PROMPT.md +37 -0
- package/template/presets/punk-cut-paper/assets/paper/desk-cream.jpg +0 -0
- package/template/presets/punk-cut-paper/assets/paper/grain-overlay.png +0 -0
- package/template/presets/punk-cut-paper/assets/paper/halftone-black.png +0 -0
- package/template/presets/punk-cut-paper/assets/paper/halftone-red.png +0 -0
- package/template/presets/punk-cut-paper/assets/paper/halftone-yellow.png +0 -0
- package/template/presets/punk-cut-paper/assets/paper/kraft.jpg +0 -0
- package/template/presets/punk-cut-paper/assets/paper/newsprint.jpg +0 -0
- package/template/presets/punk-cut-paper/assets/paper/paper-cream.jpg +0 -0
- package/template/presets/punk-cut-paper/assets/paper/paper-white.jpg +0 -0
- package/template/presets/punk-cut-paper/assets/paper/tape.png +0 -0
- package/template/presets/punk-cut-paper/build_layers.example.py +150 -0
- package/template/presets/punk-cut-paper/poster.jpg +0 -0
- package/template/presets/punk-cut-paper/preset.json +15 -0
- package/template/presets/punk-cut-paper/preview.mp4 +0 -0
- package/template/presets/punk-cut-paper/scenes/Backdrop.tsx +76 -0
- package/template/presets/punk-cut-paper/scenes/Motif.tsx +376 -0
- package/template/presets/punk-cut-paper/scenes/Photo.tsx +73 -0
- package/template/presets/punk-cut-paper/scenes/Ransom.tsx +119 -0
- package/template/presets/punk-cut-paper/scenes/Xerox.tsx +31 -0
- package/template/presets/punk-cut-paper/scenes/lib/punk.tsx +208 -0
- package/template/runtime/composition.tsx +920 -0
- package/template/runtime/helpers.tsx +228 -0
- package/template/runtime/index.tsx +22 -0
- package/template/runtime/types.ts +248 -0
- package/template/skill/SKILL.md +149 -0
- package/template/skill/references/browser-export.md +61 -0
- package/template/skill/references/components.md +38 -0
- package/template/skill/references/craft.md +53 -0
- package/template/skill/references/cursor.md +91 -0
- package/template/skill/references/footage.md +73 -0
- package/template/skill/references/format.md +140 -0
- package/template/skill/references/presets.md +56 -0
- package/template/skill/references/sound.md +128 -0
- package/template/starter/.studio/chat.json +1 -0
- package/template/starter/assets/.keep +0 -0
- package/template/starter/layers.json +46 -0
- package/template/starter/notes.md +4 -0
- package/template/starter/project.json +13 -0
- package/template/starter/renders/.keep +0 -0
- package/template/starter/scenes/Title.tsx +38 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { AbsoluteFill, useCurrentFrame } from "remotion";
|
|
2
|
+
import { FONTS, exitOut, fill, glowStyle, mix, onColor, pop, ramp, unit } from "../lib";
|
|
3
|
+
import type { MotionBaseProps } from "../types";
|
|
4
|
+
|
|
5
|
+
type Props = MotionBaseProps & {
|
|
6
|
+
from: number;
|
|
7
|
+
final: string;
|
|
8
|
+
style: string;
|
|
9
|
+
color: string;
|
|
10
|
+
accent: string;
|
|
11
|
+
track: string;
|
|
12
|
+
background: string;
|
|
13
|
+
size: number;
|
|
14
|
+
font: string;
|
|
15
|
+
glow: boolean;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* A countdown: big numbers count down from `from`, each punching in on its own beat with an arc
|
|
20
|
+
* draining around it, then the final word lands. The clip is split evenly among the beats.
|
|
21
|
+
*/
|
|
22
|
+
export function Countdown(props: Props) {
|
|
23
|
+
const frame = useCurrentFrame();
|
|
24
|
+
const { width, height, fps, durationInFrames: d } = props;
|
|
25
|
+
const u = unit(width, height);
|
|
26
|
+
const vertical = height > width;
|
|
27
|
+
const out = exitOut(frame, d, 10);
|
|
28
|
+
const from = Math.max(1, Math.round(props.from));
|
|
29
|
+
const hasFinal = props.final.trim().length > 0;
|
|
30
|
+
const beats = from + (hasFinal ? 1 : 0);
|
|
31
|
+
const beat = d / beats;
|
|
32
|
+
const index = Math.min(beats - 1, Math.floor(frame / beat));
|
|
33
|
+
const local = frame - index * beat;
|
|
34
|
+
const progress = Math.min(1, local / beat);
|
|
35
|
+
const isFinal = hasFinal && index === from;
|
|
36
|
+
const isLast = index === beats - 1;
|
|
37
|
+
const label = isFinal ? props.final : String(from - index);
|
|
38
|
+
|
|
39
|
+
const base = (props.size / 100) * Math.min(width, height) * (vertical ? 1.1 : 1);
|
|
40
|
+
const hit = pop(local, fps, 0, 320);
|
|
41
|
+
// Each number leaves fast in the last frames of its beat (the last one stays for the clip's exit).
|
|
42
|
+
const leave = isLast ? 0 : ramp(local, beat - 4, 4);
|
|
43
|
+
const ringSize = base * 2.3;
|
|
44
|
+
const stroke = Math.max(3, base * (props.style === "minimal" ? 0.025 : 0.07));
|
|
45
|
+
const radius = (ringSize - stroke) / 2;
|
|
46
|
+
const circumference = 2 * Math.PI * radius;
|
|
47
|
+
const finalLength = Math.max(1, Array.from(label).length);
|
|
48
|
+
// Long final words shrink to fit the frame.
|
|
49
|
+
const fontSize = isFinal
|
|
50
|
+
? Math.min(base * 1.05, (width * (vertical ? 0.86 : 0.8)) / (finalLength * 0.62))
|
|
51
|
+
: base * (props.style === "bold" ? 1.35 : 1);
|
|
52
|
+
|
|
53
|
+
const scale =
|
|
54
|
+
props.style === "bold" ? mix(1.9, 1, hit) * mix(1, 0.7, leave) : mix(0.55, 1, hit) * mix(1, 1.25, leave);
|
|
55
|
+
const shake = props.style === "bold" && local < 6 ? Math.sin(local * 2.6) * (1 - local / 6) * 14 * u : 0;
|
|
56
|
+
const color = isFinal ? props.accent : props.color;
|
|
57
|
+
const font = FONTS[props.font] ?? FONTS.condensed;
|
|
58
|
+
|
|
59
|
+
return (
|
|
60
|
+
<AbsoluteFill
|
|
61
|
+
style={{ background: fill(props.background), alignItems: "center", justifyContent: "center", opacity: out }}
|
|
62
|
+
>
|
|
63
|
+
{props.glow ? (
|
|
64
|
+
<div
|
|
65
|
+
style={glowStyle(width / 2, height / 2, ringSize * 1.8, ringSize * 1.8, props.accent, (isFinal ? 0.55 : 0.3) * hit)}
|
|
66
|
+
/>
|
|
67
|
+
) : null}
|
|
68
|
+
|
|
69
|
+
{props.style === "bold" && !isFinal ? (
|
|
70
|
+
// A solid disc punches behind every number, alternating accent and track.
|
|
71
|
+
<div
|
|
72
|
+
style={{
|
|
73
|
+
position: "absolute",
|
|
74
|
+
width: ringSize,
|
|
75
|
+
height: ringSize,
|
|
76
|
+
borderRadius: "50%",
|
|
77
|
+
background: index % 2 === 0 ? props.accent : props.track,
|
|
78
|
+
transform: `scale(${mix(0.2, 1, hit) * mix(1, 1.6, leave)})`,
|
|
79
|
+
opacity: 1 - leave,
|
|
80
|
+
}}
|
|
81
|
+
/>
|
|
82
|
+
) : null}
|
|
83
|
+
|
|
84
|
+
{props.style === "ring" || (props.style === "bold" && isFinal) ? (
|
|
85
|
+
<svg
|
|
86
|
+
width={ringSize}
|
|
87
|
+
height={ringSize}
|
|
88
|
+
style={{ position: "absolute", transform: `rotate(-90deg) scale(${isFinal ? mix(0.8, 1.15, ramp(local, 0, 20)) : 1})` }}
|
|
89
|
+
>
|
|
90
|
+
<circle cx={ringSize / 2} cy={ringSize / 2} r={radius} fill="none" stroke={props.track} strokeWidth={stroke} />
|
|
91
|
+
{!isFinal ? (
|
|
92
|
+
<circle
|
|
93
|
+
cx={ringSize / 2}
|
|
94
|
+
cy={ringSize / 2}
|
|
95
|
+
r={radius}
|
|
96
|
+
fill="none"
|
|
97
|
+
stroke={props.accent}
|
|
98
|
+
strokeWidth={stroke}
|
|
99
|
+
strokeLinecap="round"
|
|
100
|
+
strokeDasharray={circumference}
|
|
101
|
+
strokeDashoffset={circumference * progress}
|
|
102
|
+
/>
|
|
103
|
+
) : null}
|
|
104
|
+
</svg>
|
|
105
|
+
) : null}
|
|
106
|
+
|
|
107
|
+
{isFinal
|
|
108
|
+
? // Two rings ripple out as the final word lands.
|
|
109
|
+
[0, 6].map((delay) => {
|
|
110
|
+
const t = ramp(local, delay, 22);
|
|
111
|
+
if (t <= 0 || t >= 1) return null;
|
|
112
|
+
return (
|
|
113
|
+
<div
|
|
114
|
+
key={delay}
|
|
115
|
+
style={{
|
|
116
|
+
position: "absolute",
|
|
117
|
+
width: ringSize,
|
|
118
|
+
height: ringSize,
|
|
119
|
+
borderRadius: "50%",
|
|
120
|
+
border: `${Math.max(2, stroke * 0.6)}px solid ${props.accent}`,
|
|
121
|
+
transform: `scale(${mix(0.6, 1.9, t)})`,
|
|
122
|
+
opacity: 1 - t,
|
|
123
|
+
}}
|
|
124
|
+
/>
|
|
125
|
+
);
|
|
126
|
+
})
|
|
127
|
+
: null}
|
|
128
|
+
|
|
129
|
+
<div
|
|
130
|
+
style={{
|
|
131
|
+
position: "relative",
|
|
132
|
+
fontFamily: font,
|
|
133
|
+
fontWeight: props.font === "condensed" ? 400 : props.style === "minimal" ? 300 : 800,
|
|
134
|
+
fontSize,
|
|
135
|
+
lineHeight: 1,
|
|
136
|
+
letterSpacing: "-0.02em",
|
|
137
|
+
fontVariantNumeric: "tabular-nums",
|
|
138
|
+
whiteSpace: "nowrap",
|
|
139
|
+
color: props.style === "bold" && !isFinal && index % 2 === 0 ? onColor(props.accent) : color,
|
|
140
|
+
opacity: Math.min(1, hit * 1.5) * (1 - leave),
|
|
141
|
+
transform: `translateX(${shake}px) scale(${scale})`,
|
|
142
|
+
}}
|
|
143
|
+
>
|
|
144
|
+
{label}
|
|
145
|
+
</div>
|
|
146
|
+
|
|
147
|
+
{props.style === "minimal" && !isFinal ? (
|
|
148
|
+
// A thin progress line under the number.
|
|
149
|
+
<div
|
|
150
|
+
style={{
|
|
151
|
+
position: "absolute",
|
|
152
|
+
top: height / 2 + base * 0.78,
|
|
153
|
+
width: base * 1.4,
|
|
154
|
+
height: Math.max(2, 3 * u),
|
|
155
|
+
background: props.track,
|
|
156
|
+
borderRadius: 99,
|
|
157
|
+
overflow: "hidden",
|
|
158
|
+
}}
|
|
159
|
+
>
|
|
160
|
+
<div style={{ width: `${(1 - progress) * 100}%`, height: "100%", background: props.accent }} />
|
|
161
|
+
</div>
|
|
162
|
+
) : null}
|
|
163
|
+
</AbsoluteFill>
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "countdown",
|
|
3
|
+
"name": "Countdown",
|
|
4
|
+
"category": "Text & Titles",
|
|
5
|
+
"description": "Big numbers count down, each punching in on its own beat with an arc draining around it, then a final word lands with a ripple.",
|
|
6
|
+
"useWhen": "Build-up before a reveal: \"3, 2, 1, GO\" before a launch, a livestream or event starting, a challenge timer, a drop. The clip is split evenly among the numbers and the final word, so 1 second per number = 30 frames × (from + 1).",
|
|
7
|
+
"durationInFrames": 120,
|
|
8
|
+
"layer": "overlay",
|
|
9
|
+
"tags": ["countdown", "timer", "3 2 1", "numbers", "launch", "reveal", "build-up", "ring"],
|
|
10
|
+
"props": {
|
|
11
|
+
"from": { "type": "number", "label": "Count from", "default": 3, "min": 1, "max": 10, "step": 1 },
|
|
12
|
+
"final": { "type": "text", "label": "Final word", "default": "GO", "maxLength": 16, "help": "Leave empty to end on 1." },
|
|
13
|
+
"style": { "type": "select", "label": "Style", "default": "ring", "options": [{ "value": "ring", "label": "Ring" }, { "value": "bold", "label": "Bold disc" }, { "value": "minimal", "label": "Minimal" }] },
|
|
14
|
+
"color": { "type": "color", "style": "text", "label": "Numbers", "default": "#ffffff" },
|
|
15
|
+
"accent": { "type": "color", "style": "accent", "label": "Accent", "default": "#f97316", "help": "The arc, the disc and the final word." },
|
|
16
|
+
"track": { "type": "color", "label": "Track", "default": "#2a2a2e", "help": "The ring's track and the alternate disc." },
|
|
17
|
+
"background": { "type": "color", "label": "Background", "default": "transparent", "help": "\"transparent\" to sit over other layers." },
|
|
18
|
+
"size": { "type": "number", "label": "Size", "default": 22, "min": 8, "max": 40, "step": 1, "unit": "% of frame" },
|
|
19
|
+
"font": { "type": "select", "style": "font", "label": "Font", "default": "condensed", "options": [{ "value": "condensed", "label": "Anton" }, { "value": "wide", "label": "Unbounded" }, { "value": "sans", "label": "Inter" }, { "value": "display", "label": "Bricolage" }, { "value": "grotesk", "label": "Space Grotesk" }, { "value": "fraunces", "label": "Fraunces" }, { "value": "mono", "label": "Mono" }, { "value": "archivo", "label": "Archivo Black" }, { "value": "caveat", "label": "Caveat" }, { "value": "pixel", "label": "VT323" }, { "value": "tech", "label": "Orbitron" }, { "value": "heavy", "label": "Montserrat" }, { "value": "retro", "label": "Bungee" }] },
|
|
20
|
+
"glow": { "type": "boolean", "label": "Glow", "default": true }
|
|
21
|
+
},
|
|
22
|
+
"examples": [
|
|
23
|
+
{ "name": "Ring", "props": {} },
|
|
24
|
+
{ "name": "Bold disc", "props": { "style": "bold", "final": "LIVE", "accent": "#facc15", "track": "#18181b", "background": "#0a0a0a", "glow": false } },
|
|
25
|
+
{ "name": "Minimal", "props": { "style": "minimal", "from": 5, "final": "Launching now", "font": "sans", "color": "#0f172a", "accent": "#6366f1", "track": "#e2e8f0", "background": "#f8fafc", "glow": false, "size": 18 } }
|
|
26
|
+
],
|
|
27
|
+
"stillAt": 0.1
|
|
28
|
+
}
|