mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-24 16:06:34 +00:00
style: format skill reference files (oxfmt)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
4e5d8d1c04
commit
fff79b71cc
@@ -2,22 +2,22 @@
|
||||
|
||||
Named visual identities for HyperFrames videos. Each style is grounded in a real graphic design tradition. Use them to give your video a specific visual personality, not just generic "clean" or "bold."
|
||||
|
||||
**How to pick:** Match mood first, content second. Ask: *"What should the viewer FEEL?"*
|
||||
**How to pick:** Match mood first, content second. Ask: _"What should the viewer FEEL?"_
|
||||
|
||||
**How to use:** Reference the style in your scene plan. Translate the style's principles into concrete composition decisions — palette choice, font selection, entrance patterns, transition type, ambient motion feel.
|
||||
|
||||
## Quick Reference
|
||||
|
||||
| Style | Mood | Best for | Primary shader |
|
||||
|-------|------|----------|---------------|
|
||||
| Swiss Pulse | Clinical, precise | SaaS, data, dev tools, metrics | Cinematic Zoom or SDF Iris |
|
||||
| Velvet Standard | Premium, timeless | Luxury, enterprise, keynotes | Cross-Warp Morph |
|
||||
| Deconstructed | Industrial, raw | Tech launches, security, punk | Glitch or Whip Pan |
|
||||
| Maximalist Type | Loud, kinetic | Big announcements, launches | Ridged Burn |
|
||||
| Data Drift | Futuristic, immersive | AI, ML, cutting-edge tech | Gravitational Lens or Domain Warp |
|
||||
| Soft Signal | Intimate, warm | Wellness, personal stories, brand | Thermal Distortion |
|
||||
| Folk Frequency | Cultural, vivid | Consumer apps, food, communities | Swirl Vortex or Ripple Waves |
|
||||
| Shadow Cut | Dark, cinematic | Dramatic reveals, security, exposé | Domain Warp |
|
||||
| Style | Mood | Best for | Primary shader |
|
||||
| --------------- | --------------------- | ---------------------------------- | --------------------------------- |
|
||||
| Swiss Pulse | Clinical, precise | SaaS, data, dev tools, metrics | Cinematic Zoom or SDF Iris |
|
||||
| Velvet Standard | Premium, timeless | Luxury, enterprise, keynotes | Cross-Warp Morph |
|
||||
| Deconstructed | Industrial, raw | Tech launches, security, punk | Glitch or Whip Pan |
|
||||
| Maximalist Type | Loud, kinetic | Big announcements, launches | Ridged Burn |
|
||||
| Data Drift | Futuristic, immersive | AI, ML, cutting-edge tech | Gravitational Lens or Domain Warp |
|
||||
| Soft Signal | Intimate, warm | Wellness, personal stories, brand | Thermal Distortion |
|
||||
| Folk Frequency | Cultural, vivid | Consumer apps, food, communities | Swirl Vortex or Ripple Waves |
|
||||
| Shadow Cut | Dark, cinematic | Dramatic reveals, security, exposé | Domain Warp |
|
||||
|
||||
---
|
||||
|
||||
@@ -184,16 +184,16 @@ Slow creeping push-ins. Domain Warp transitions. The reveal IS the story.
|
||||
|
||||
## Mood → Style Guide
|
||||
|
||||
| If the content feels... | Use... |
|
||||
|------------------------|--------|
|
||||
| Data-driven, analytical, technical | Swiss Pulse |
|
||||
| Premium, enterprise, luxury | Velvet Standard |
|
||||
| Raw, punk, aggressive, rebellious | Deconstructed |
|
||||
| Hype, loud, high-energy launch | Maximalist Type |
|
||||
| AI, ML, speculative, futuristic | Data Drift |
|
||||
| Human, warm, personal, wellness | Soft Signal |
|
||||
| Cultural, fun, consumer, festive | Folk Frequency |
|
||||
| Dark, dramatic, intense, cinematic | Shadow Cut |
|
||||
| If the content feels... | Use... |
|
||||
| ---------------------------------- | --------------- |
|
||||
| Data-driven, analytical, technical | Swiss Pulse |
|
||||
| Premium, enterprise, luxury | Velvet Standard |
|
||||
| Raw, punk, aggressive, rebellious | Deconstructed |
|
||||
| Hype, loud, high-energy launch | Maximalist Type |
|
||||
| AI, ML, speculative, futuristic | Data Drift |
|
||||
| Human, warm, personal, wellness | Soft Signal |
|
||||
| Cultural, fun, consumer, festive | Folk Frequency |
|
||||
| Dark, dramatic, intense, cinematic | Shadow Cut |
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ curl -o assets/svgs/icon-globe.svg "https://cdn.jsdelivr.net/npm/lucide-static@l
|
||||
```
|
||||
|
||||
Common categories:
|
||||
|
||||
- **Business:** `briefcase`, `building-2`, `users`, `trending-up`, `dollar-sign`, `credit-card`
|
||||
- **Tech:** `code-2`, `terminal`, `database`, `server`, `cpu`, `wifi`, `smartphone`
|
||||
- **UI:** `check-circle`, `x-circle`, `alert-triangle`, `info`, `search`, `settings`, `menu`
|
||||
@@ -63,7 +64,10 @@ Browse all at [lucide.dev/icons](https://lucide.dev/icons).
|
||||
Lucide SVGs use `stroke="currentColor"`. Style with CSS:
|
||||
|
||||
```html
|
||||
<img src="../assets/svgs/icon-zap.svg" style="width:48px;height:48px;filter:brightness(0) invert(1);" />
|
||||
<img
|
||||
src="../assets/svgs/icon-zap.svg"
|
||||
style="width:48px;height:48px;filter:brightness(0) invert(1);"
|
||||
/>
|
||||
```
|
||||
|
||||
Or for inline SVGs, set `stroke` directly.
|
||||
@@ -96,14 +100,14 @@ curl -s "https://api.unsplash.com/search/photos?query=fintech+dashboard&per_page
|
||||
|
||||
## When to Source
|
||||
|
||||
| Situation | Action |
|
||||
|-----------|--------|
|
||||
| Video plan mentions "logo wall" or "customer logos" | Source brand SVGs from Simple Icons |
|
||||
| Scene needs a specific company's logo | Source from Clearbit by domain |
|
||||
| Scene references icons (features, benefits, stats) | Source from Lucide by keyword |
|
||||
| Hero scene needs a photo and none exists | Source from Unsplash or use CSS art |
|
||||
| Capture already has the asset in `assets/` | Use the local file — don't re-download |
|
||||
| Asset is decorative and optional | Skip it — ship without and iterate |
|
||||
| Situation | Action |
|
||||
| --------------------------------------------------- | -------------------------------------- |
|
||||
| Video plan mentions "logo wall" or "customer logos" | Source brand SVGs from Simple Icons |
|
||||
| Scene needs a specific company's logo | Source from Clearbit by domain |
|
||||
| Scene references icons (features, benefits, stats) | Source from Lucide by keyword |
|
||||
| Hero scene needs a photo and none exists | Source from Unsplash or use CSS art |
|
||||
| Capture already has the asset in `assets/` | Use the local file — don't re-download |
|
||||
| Asset is decorative and optional | Skip it — ship without and iterate |
|
||||
|
||||
## Naming Convention
|
||||
|
||||
|
||||
@@ -95,13 +95,13 @@ Root `body { background: #000 }` ensures the gap between scenes is black.
|
||||
|
||||
Every scene should be composed in layers. This is the difference between a flat slide and a cinematic frame:
|
||||
|
||||
| Layer | Purpose | Examples |
|
||||
|-------|---------|---------|
|
||||
| **L1 Background** | Sets the visual world | Solid color, gradient, texture, slow-moving particles, CSS noise |
|
||||
| **L2 Hero** | The dominant visual — fills 50-70% of frame | Large headline, key stat, hero image with Ken Burns, Lottie animation |
|
||||
| **L3 Supporting** | Context and depth | Secondary text, smaller stats, caption, sub-headline |
|
||||
| **L4 Info bar** | Label, source, or accent | Bottom-third text, ticker, brand logo placement, category tag |
|
||||
| **L5 Effects** | Energy and texture | Grain overlay, glitch artifact, scan lines, gradient sweep, light leak |
|
||||
| Layer | Purpose | Examples |
|
||||
| ----------------- | ------------------------------------------- | ---------------------------------------------------------------------- |
|
||||
| **L1 Background** | Sets the visual world | Solid color, gradient, texture, slow-moving particles, CSS noise |
|
||||
| **L2 Hero** | The dominant visual — fills 50-70% of frame | Large headline, key stat, hero image with Ken Burns, Lottie animation |
|
||||
| **L3 Supporting** | Context and depth | Secondary text, smaller stats, caption, sub-headline |
|
||||
| **L4 Info bar** | Label, source, or accent | Bottom-third text, ticker, brand logo placement, category tag |
|
||||
| **L5 Effects** | Energy and texture | Grain overlay, glitch artifact, scan lines, gradient sweep, light leak |
|
||||
|
||||
**Every B-roll scene: aim for 4+ layers.** Every element in every layer must move.
|
||||
|
||||
@@ -113,12 +113,20 @@ Every scene should be composed in layers. This is the difference between a flat
|
||||
</div>
|
||||
|
||||
<!-- L2: Hero stat (massive) -->
|
||||
<div id="hero-stat" style="position:absolute;top:280px;left:50%;transform:translateX(-50%);
|
||||
font-size:200px;font-weight:900;color:#fff;opacity:0;">$1.9T</div>
|
||||
<div
|
||||
id="hero-stat"
|
||||
style="position:absolute;top:280px;left:50%;transform:translateX(-50%);
|
||||
font-size:200px;font-weight:900;color:#fff;opacity:0;"
|
||||
>
|
||||
$1.9T
|
||||
</div>
|
||||
|
||||
<!-- L3: Supporting label -->
|
||||
<div id="label" style="position:absolute;top:520px;left:50%;transform:translateX(-50%);
|
||||
font-size:28px;color:#aaa;opacity:0;letter-spacing:0.2em;text-transform:uppercase;">
|
||||
<div
|
||||
id="label"
|
||||
style="position:absolute;top:520px;left:50%;transform:translateX(-50%);
|
||||
font-size:28px;color:#aaa;opacity:0;letter-spacing:0.2em;text-transform:uppercase;"
|
||||
>
|
||||
global transactions in 2024
|
||||
</div>
|
||||
|
||||
@@ -128,8 +136,11 @@ Every scene should be composed in layers. This is the difference between a flat
|
||||
</div>
|
||||
|
||||
<!-- L5: Gradient sweep effect -->
|
||||
<div id="sweep" style="position:absolute;top:0;left:-100%;width:40%;height:100%;
|
||||
background:linear-gradient(90deg,transparent,rgba(255,255,255,0.03),transparent);"></div>
|
||||
<div
|
||||
id="sweep"
|
||||
style="position:absolute;top:0;left:-100%;width:40%;height:100%;
|
||||
background:linear-gradient(90deg,transparent,rgba(255,255,255,0.03),transparent);"
|
||||
></div>
|
||||
```
|
||||
|
||||
```javascript
|
||||
@@ -139,17 +150,22 @@ var tl = gsap.timeline({ paused: true });
|
||||
gsap.set("#bg", { opacity: 1 });
|
||||
|
||||
// Grain (L5): generate deterministic noise
|
||||
(function() {
|
||||
(function () {
|
||||
var canvas = document.getElementById("grain");
|
||||
var ctx = canvas.getContext("2d");
|
||||
canvas.width = 1920; canvas.height = 1080;
|
||||
canvas.width = 1920;
|
||||
canvas.height = 1080;
|
||||
// Seeded PRNG for deterministic noise (same frame = same grain pattern)
|
||||
var seed = 42;
|
||||
function rand() { seed = (seed * 1664525 + 1013904223) & 0xffffffff; return (seed >>> 0) / 0xffffffff; }
|
||||
function rand() {
|
||||
seed = (seed * 1664525 + 1013904223) & 0xffffffff;
|
||||
return (seed >>> 0) / 0xffffffff;
|
||||
}
|
||||
var img = ctx.createImageData(1920, 1080);
|
||||
for (var i = 0; i < img.data.length; i += 4) {
|
||||
var v = Math.floor(rand() * 255);
|
||||
img.data[i] = img.data[i+1] = img.data[i+2] = v; img.data[i+3] = 255;
|
||||
img.data[i] = img.data[i + 1] = img.data[i + 2] = v;
|
||||
img.data[i + 3] = 255;
|
||||
}
|
||||
ctx.putImageData(img, 0, 0);
|
||||
})();
|
||||
@@ -158,10 +174,20 @@ gsap.set("#bg", { opacity: 1 });
|
||||
tl.to("#sweep", { left: "110%", duration: 3, ease: "none" }, 0);
|
||||
|
||||
// L2: Hero stat slams in
|
||||
tl.fromTo("#hero-stat", { opacity: 0, scale: 0.8 }, { opacity: 1, scale: 1, duration: 0.5, ease: "expo.out" }, 0.2);
|
||||
tl.fromTo(
|
||||
"#hero-stat",
|
||||
{ opacity: 0, scale: 0.8 },
|
||||
{ opacity: 1, scale: 1, duration: 0.5, ease: "expo.out" },
|
||||
0.2,
|
||||
);
|
||||
|
||||
// L3: Label fades + slides up
|
||||
tl.fromTo("#label", { opacity: 0, y: 12 }, { opacity: 1, y: 0, duration: 0.4, ease: "power2.out" }, 0.5);
|
||||
tl.fromTo(
|
||||
"#label",
|
||||
{ opacity: 0, y: 12 },
|
||||
{ opacity: 1, y: 0, duration: 0.4, ease: "power2.out" },
|
||||
0.5,
|
||||
);
|
||||
|
||||
// L4: Brand mark fades in
|
||||
tl.fromTo("#brand", { opacity: 0 }, { opacity: 0.7, duration: 0.4 }, 0.7);
|
||||
|
||||
Reference in New Issue
Block a user