Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

docs: say how thick a caption outline wants to be

rpone1cf54dd4bd14
diff --git a/packages/caption-fine/src/manifest.ts b/packages/caption-fine/src/manifest.ts
index 7937f926..7b39dcc6 100644
--- a/packages/caption-fine/src/manifest.ts
+++ b/packages/caption-fine/src/manifest.ts
@@ -76,7 +76,7 @@ export const captionFineMarkupSurfaces = [
{ name: "stroke-color", required: false, fallback: "#000000",
summary: "Paints the outline drawn around each glyph." },
{ name: "stroke-width", required: false, fallback: "0",
- summary: "Sets the glyph outline thickness in pixels." },
+ summary: "Sets the glyph outline thickness in pixels. An outline that only has to separate the caption from the picture behind it is thin — around a twentieth of `size`, so roughly 2px at a `size` of 46. It grows quickly: past about a tenth of `size` the outline starts closing the counters of a, e and o and the caption reads as a slab rather than as letters." },
{ name: "shadow-color", required: false, fallback: "#000000",
summary: "Paints the soft drop shadow behind each glyph." },
{ name: "shadow-opacity", required: false, fallback: "0",
@@ -114,7 +114,7 @@ export const captionFineMarkupSurfaces = [
{ name: "active-stroke-color", required: false, fallback: "stroke-color",
summary: "Paints the outline around the Word being spoken." },
{ name: "active-stroke-width", required: false, fallback: "stroke-width",
- summary: "Sets the active glyph outline thickness in pixels." },
+ summary: "Sets the active glyph outline thickness in pixels. It inherits `stroke-width`, and the same proportion holds: emphasis on the spoken Word is carried by its Paint, so thickening its outline past the rest buys little and closes its counters first." },
{ name: "active-shadow-color", required: false, fallback: "shadow-color",
summary: "Paints the drop shadow behind the Word being spoken." },
{ name: "active-shadow-opacity", required: false, fallback: "shadow-opacity",