hyperframes 0.6.96 → 0.6.98

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.
Files changed (77) hide show
  1. package/dist/beat-analyzer.global.js +326 -0
  2. package/dist/cli.js +3058 -1947
  3. package/dist/commands/layout-audit.browser.js +86 -0
  4. package/dist/hyperframe-runtime.js +20 -20
  5. package/dist/hyperframe.manifest.json +1 -1
  6. package/dist/hyperframe.runtime.iife.js +20 -20
  7. package/dist/skills/hyperframes-cli/SKILL.md +67 -103
  8. package/dist/skills/hyperframes-cli/references/doctor-browser.md +45 -0
  9. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +51 -0
  10. package/dist/skills/hyperframes-cli/references/lambda.md +132 -0
  11. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +93 -0
  12. package/dist/skills/hyperframes-cli/references/preview-render.md +107 -0
  13. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +75 -0
  14. package/dist/studio/assets/hyperframes-player-DgsMQSvV.js +418 -0
  15. package/dist/studio/assets/index-B62bDCQv.css +1 -0
  16. package/dist/studio/assets/index-Ce3pBm_I.js +252 -0
  17. package/dist/studio/assets/{index-BWFaypdT.js → index-D-ET9M0b.js} +1 -1
  18. package/dist/studio/assets/index-D-bS9Dxx.js +1 -0
  19. package/dist/studio/index.html +2 -2
  20. package/dist/templates/_shared/AGENTS.md +46 -21
  21. package/dist/templates/_shared/CLAUDE.md +16 -14
  22. package/package.json +3 -2
  23. package/dist/pngDecodeBlitWorker.js +0 -239
  24. package/dist/skills/gsap/SKILL.md +0 -240
  25. package/dist/skills/gsap/references/effects.md +0 -297
  26. package/dist/skills/gsap/scripts/extract-audio-data.py +0 -188
  27. package/dist/skills/hyperframes/SKILL.md +0 -491
  28. package/dist/skills/hyperframes/data-in-motion.md +0 -19
  29. package/dist/skills/hyperframes/house-style.md +0 -73
  30. package/dist/skills/hyperframes/palettes/bold-energetic.md +0 -14
  31. package/dist/skills/hyperframes/palettes/clean-corporate.md +0 -14
  32. package/dist/skills/hyperframes/palettes/dark-premium.md +0 -14
  33. package/dist/skills/hyperframes/palettes/jewel-rich.md +0 -14
  34. package/dist/skills/hyperframes/palettes/monochrome.md +0 -14
  35. package/dist/skills/hyperframes/palettes/nature-earth.md +0 -14
  36. package/dist/skills/hyperframes/palettes/neon-electric.md +0 -14
  37. package/dist/skills/hyperframes/palettes/pastel-soft.md +0 -14
  38. package/dist/skills/hyperframes/palettes/warm-editorial.md +0 -14
  39. package/dist/skills/hyperframes/patterns.md +0 -191
  40. package/dist/skills/hyperframes/references/audio-reactive.md +0 -76
  41. package/dist/skills/hyperframes/references/beat-direction.md +0 -171
  42. package/dist/skills/hyperframes/references/captions.md +0 -163
  43. package/dist/skills/hyperframes/references/css-patterns.md +0 -373
  44. package/dist/skills/hyperframes/references/design-picker.md +0 -117
  45. package/dist/skills/hyperframes/references/dynamic-techniques.md +0 -102
  46. package/dist/skills/hyperframes/references/html-in-canvas-patterns.md +0 -507
  47. package/dist/skills/hyperframes/references/motion-principles.md +0 -150
  48. package/dist/skills/hyperframes/references/narration.md +0 -92
  49. package/dist/skills/hyperframes/references/prompt-expansion.md +0 -68
  50. package/dist/skills/hyperframes/references/techniques.md +0 -525
  51. package/dist/skills/hyperframes/references/text-effects.md +0 -64
  52. package/dist/skills/hyperframes/references/transcript-guide.md +0 -107
  53. package/dist/skills/hyperframes/references/transitions/catalog.md +0 -117
  54. package/dist/skills/hyperframes/references/transitions/css-3d.md +0 -12
  55. package/dist/skills/hyperframes/references/transitions/css-blur.md +0 -51
  56. package/dist/skills/hyperframes/references/transitions/css-cover.md +0 -43
  57. package/dist/skills/hyperframes/references/transitions/css-destruction.md +0 -95
  58. package/dist/skills/hyperframes/references/transitions/css-dissolve.md +0 -66
  59. package/dist/skills/hyperframes/references/transitions/css-distortion.md +0 -45
  60. package/dist/skills/hyperframes/references/transitions/css-grid.md +0 -10
  61. package/dist/skills/hyperframes/references/transitions/css-light.md +0 -49
  62. package/dist/skills/hyperframes/references/transitions/css-mechanical.md +0 -30
  63. package/dist/skills/hyperframes/references/transitions/css-other.md +0 -25
  64. package/dist/skills/hyperframes/references/transitions/css-push.md +0 -41
  65. package/dist/skills/hyperframes/references/transitions/css-radial.md +0 -37
  66. package/dist/skills/hyperframes/references/transitions/css-scale.md +0 -24
  67. package/dist/skills/hyperframes/references/transitions.md +0 -138
  68. package/dist/skills/hyperframes/references/typography.md +0 -175
  69. package/dist/skills/hyperframes/references/video-composition.md +0 -62
  70. package/dist/skills/hyperframes/scripts/animation-map.mjs +0 -601
  71. package/dist/skills/hyperframes/scripts/contrast-report.mjs +0 -348
  72. package/dist/skills/hyperframes/scripts/package-loader.mjs +0 -269
  73. package/dist/skills/hyperframes/templates/design-picker.html +0 -1432
  74. package/dist/skills/hyperframes/visual-styles.md +0 -443
  75. package/dist/studio/assets/hyperframes-player-0esDKGRk.js +0 -418
  76. package/dist/studio/assets/index-B0twsRu0.css +0 -1
  77. package/dist/studio/assets/index-BA979yF1.js +0 -251
@@ -1,443 +0,0 @@
1
- # Visual Style Library
2
-
3
- Named visual identities for HyperFrames videos. Each style is grounded in a real graphic design tradition and expressed as a DESIGN.md-compatible token block. Use them as starters — copy the YAML into your project's `design.md` front matter, then customize.
4
-
5
- **How to pick:** Match mood first, content second. Ask: _"What should the viewer FEEL?"_
6
-
7
- **How to use:** Copy the style's YAML token block into `design.md` front matter. Add `## Overview`, `## Colors`, `## Typography`, `## Elevation`, `## Components`, `## Do's and Don'ts` prose sections to complete the file.
8
-
9
- ## Quick Reference
10
-
11
- | Style | Mood | Best for | Transition shader |
12
- | --------------- | --------------------- | ---------------------------------- | --------------------------------- |
13
- | Swiss Pulse | Clinical, precise | SaaS, data, dev tools, metrics | Cinematic Zoom or SDF Iris |
14
- | Velvet Standard | Premium, timeless | Luxury, enterprise, keynotes | Cross-Warp Morph |
15
- | Deconstructed | Industrial, raw | Tech launches, security, punk | Glitch or Whip Pan |
16
- | Maximalist Type | Loud, kinetic | Big announcements, launches | Ridged Burn |
17
- | Data Drift | Futuristic, immersive | AI, ML, cutting-edge tech | Gravitational Lens or Domain Warp |
18
- | Soft Signal | Intimate, warm | Wellness, personal stories, brand | Thermal Distortion |
19
- | Folk Frequency | Cultural, vivid | Consumer apps, food, communities | Swirl Vortex or Ripple Waves |
20
- | Shadow Cut | Dark, cinematic | Dramatic reveals, security, exposé | Domain Warp |
21
-
22
- ---
23
-
24
- ## 1. Swiss Pulse — Josef Müller-Brockmann
25
-
26
- **Mood:** Clinical, precise | **Best for:** SaaS dashboards, developer tools, APIs, metrics
27
-
28
- ```yaml
29
- name: Swiss Pulse
30
- colors:
31
- primary: "#1a1a1a"
32
- on-primary: "#ffffff"
33
- accent: "#0066FF"
34
- typography:
35
- headline:
36
- fontFamily: Helvetica Neue
37
- fontSize: 5rem
38
- fontWeight: 700
39
- label:
40
- fontFamily: Inter
41
- fontSize: 0.875rem
42
- fontWeight: 400
43
- stat:
44
- fontFamily: Helvetica Neue
45
- fontSize: 7rem
46
- fontWeight: 700
47
- rounded:
48
- none: 0px
49
- sm: 2px
50
- spacing:
51
- sm: 8px
52
- md: 16px
53
- lg: 32px
54
- motion:
55
- energy: high
56
- easing:
57
- entry: "expo.out"
58
- exit: "power4.in"
59
- ambient: "none"
60
- duration:
61
- entrance: 0.4
62
- hold: 1.5
63
- transition: 0.6
64
- atmosphere:
65
- - grid-lines
66
- - registration-marks
67
- transition: cinematic-zoom
68
- ```
69
-
70
- Grid-locked compositions. Every element snaps to an invisible 12-column grid. Numbers dominate the frame at 80–120px. Animated counters count up from 0. Hard cuts, no decorative transitions. Nothing floats.
71
-
72
- ---
73
-
74
- ## 2. Velvet Standard — Massimo Vignelli
75
-
76
- **Mood:** Premium, timeless | **Best for:** Luxury products, enterprise software, keynotes, investor decks
77
-
78
- ```yaml
79
- name: Velvet Standard
80
- colors:
81
- primary: "#0a0a0a"
82
- on-primary: "#ffffff"
83
- accent: "#1a237e"
84
- typography:
85
- headline:
86
- fontFamily: Inter
87
- fontSize: 3rem
88
- fontWeight: 300
89
- letterSpacing: 0.15em
90
- textTransform: uppercase
91
- body:
92
- fontFamily: Inter
93
- fontSize: 1rem
94
- fontWeight: 300
95
- lineHeight: 1.6
96
- rounded:
97
- sm: 0px
98
- md: 2px
99
- spacing:
100
- sm: 16px
101
- md: 32px
102
- lg: 64px
103
- motion:
104
- energy: calm
105
- easing:
106
- entry: "sine.inOut"
107
- exit: "power1.in"
108
- ambient: "sine.inOut"
109
- duration:
110
- entrance: 1.2
111
- hold: 3.0
112
- transition: 1.5
113
- atmosphere:
114
- - subtle-grain
115
- - hairline-rules
116
- transition: cross-warp-morph
117
- ```
118
-
119
- Generous negative space. Symmetrical, centered, architectural precision. Thin sans-serif, ALL CAPS, wide letter-spacing. Sequential reveals with long holds. Nothing snaps — everything glides with intention. Luxury takes its time.
120
-
121
- ---
122
-
123
- ## 3. Deconstructed — Neville Brody
124
-
125
- **Mood:** Industrial, raw | **Best for:** Tech news, developer launches, security products, punk-energy reveals
126
-
127
- ```yaml
128
- name: Deconstructed
129
- colors:
130
- primary: "#1a1a1a"
131
- on-primary: "#f0f0f0"
132
- accent: "#D4501E"
133
- typography:
134
- headline:
135
- fontFamily: Space Grotesk
136
- fontSize: 4rem
137
- fontWeight: 700
138
- label:
139
- fontFamily: Space Mono
140
- fontSize: 0.75rem
141
- fontWeight: 700
142
- textTransform: uppercase
143
- rounded:
144
- none: 0px
145
- spacing:
146
- sm: 4px
147
- md: 12px
148
- lg: 24px
149
- motion:
150
- energy: high
151
- easing:
152
- entry: "back.out(2.5)"
153
- exit: "steps(8)"
154
- ambient: "elastic.out(1.2, 0.4)"
155
- duration:
156
- entrance: 0.3
157
- hold: 1.0
158
- transition: 0.5
159
- atmosphere:
160
- - scan-lines
161
- - glitch-artifacts
162
- - grain-overlay
163
- transition: glitch
164
- ```
165
-
166
- Type at angles, overlapping edges, escaping frames. Bold industrial weight. Gritty textures: scan-line effects, glitch artifacts baked into design. Text SLAMS and SHATTERS. Letters scramble then snap to final position. Intentional irregularity — nothing should feel polished.
167
-
168
- ---
169
-
170
- ## 4. Maximalist Type — Paula Scher
171
-
172
- **Mood:** Loud, kinetic | **Best for:** Big product launches, milestone announcements, high-energy hype videos
173
-
174
- ```yaml
175
- name: Maximalist Type
176
- colors:
177
- primary: "#0a0a0a"
178
- on-primary: "#ffffff"
179
- accent-red: "#E63946"
180
- accent-yellow: "#FFD60A"
181
- typography:
182
- headline:
183
- fontFamily: Anton
184
- fontSize: 8rem
185
- fontWeight: 400
186
- textTransform: uppercase
187
- subhead:
188
- fontFamily: Space Grotesk
189
- fontSize: 3rem
190
- fontWeight: 700
191
- rounded:
192
- none: 0px
193
- spacing:
194
- sm: 0px
195
- md: 8px
196
- motion:
197
- energy: high
198
- easing:
199
- entry: "expo.out"
200
- exit: "back.out(1.8)"
201
- ambient: "power3.out"
202
- duration:
203
- entrance: 0.3
204
- hold: 0.8
205
- transition: 0.4
206
- atmosphere:
207
- - type-layers
208
- - color-blocks
209
- transition: ridged-burn
210
- ```
211
-
212
- Text IS the visual. Overlapping type layers at different scales and angles, filling 50–80% of frame. Bold saturated colors — maximum contrast. Everything kinetic: slamming, sliding, scaling. 2–3 second rapid-fire scenes. No static moments. Fast arrivals, hard stops.
213
-
214
- ---
215
-
216
- ## 5. Data Drift — Refik Anadol
217
-
218
- **Mood:** Futuristic, immersive | **Best for:** AI products, ML platforms, data companies, speculative tech
219
-
220
- ```yaml
221
- name: Data Drift
222
- colors:
223
- primary: "#0a0a0a"
224
- on-primary: "#e0e0e0"
225
- accent-purple: "#7c3aed"
226
- accent-cyan: "#06b6d4"
227
- typography:
228
- headline:
229
- fontFamily: Inter
230
- fontSize: 2.5rem
231
- fontWeight: 200
232
- letterSpacing: 0.05em
233
- body:
234
- fontFamily: Inter
235
- fontSize: 0.875rem
236
- fontWeight: 300
237
- rounded:
238
- sm: 4px
239
- md: 12px
240
- full: 9999px
241
- spacing:
242
- sm: 16px
243
- md: 32px
244
- lg: 64px
245
- motion:
246
- energy: moderate
247
- easing:
248
- entry: "sine.inOut"
249
- exit: "power2.out"
250
- ambient: "sine.inOut"
251
- duration:
252
- entrance: 1.0
253
- hold: 2.5
254
- transition: 1.5
255
- atmosphere:
256
- - particle-field
257
- - light-traces
258
- - radial-glow
259
- transition: gravitational-lens
260
- ```
261
-
262
- Thin futuristic sans-serif — floating, weightless, minimal. Fluid morphing compositions. Extreme scale shifts (micro → macro). Particles coalesce into numbers. Light traces data paths through the frame. Smooth, continuous, organic. Nothing hard.
263
-
264
- ---
265
-
266
- ## 6. Soft Signal — Stefan Sagmeister
267
-
268
- **Mood:** Intimate, warm | **Best for:** Wellness brands, personal stories, lifestyle products, human-centered apps
269
-
270
- ```yaml
271
- name: Soft Signal
272
- colors:
273
- primary: "#FFF8EC"
274
- on-primary: "#2a2a2a"
275
- accent-amber: "#F5A623"
276
- accent-rose: "#C4A3A3"
277
- accent-sage: "#8FAF8C"
278
- typography:
279
- headline:
280
- fontFamily: Playfair Display
281
- fontSize: 3rem
282
- fontWeight: 400
283
- fontStyle: italic
284
- body:
285
- fontFamily: Inter
286
- fontSize: 1rem
287
- fontWeight: 300
288
- lineHeight: 1.7
289
- rounded:
290
- sm: 8px
291
- md: 16px
292
- lg: 24px
293
- full: 9999px
294
- spacing:
295
- sm: 12px
296
- md: 24px
297
- lg: 48px
298
- motion:
299
- energy: calm
300
- easing:
301
- entry: "sine.inOut"
302
- exit: "power1.inOut"
303
- ambient: "sine.inOut"
304
- duration:
305
- entrance: 1.0
306
- hold: 3.0
307
- transition: 1.5
308
- atmosphere:
309
- - soft-gradient
310
- - warm-grain
311
- transition: thermal-distortion
312
- ```
313
-
314
- Handwritten-style or humanist serif fonts. Personal, lowercase, delicate. Close-up framing: single element fills the frame. Slow drifts and floats, never snaps. Soft organic motion. Nothing should feel hurried or polished. Intimate, never corporate.
315
-
316
- ---
317
-
318
- ## 7. Folk Frequency — Eduardo Terrazas
319
-
320
- **Mood:** Cultural, vivid | **Best for:** Consumer apps, food platforms, community products, festive launches
321
-
322
- ```yaml
323
- name: Folk Frequency
324
- colors:
325
- primary: "#ffffff"
326
- on-primary: "#1a1a1a"
327
- accent-pink: "#FF1493"
328
- accent-blue: "#0047AB"
329
- accent-yellow: "#FFE000"
330
- accent-green: "#009B77"
331
- typography:
332
- headline:
333
- fontFamily: Fredoka One
334
- fontSize: 4rem
335
- fontWeight: 400
336
- body:
337
- fontFamily: Nunito
338
- fontSize: 1rem
339
- fontWeight: 600
340
- rounded:
341
- sm: 8px
342
- md: 16px
343
- lg: 32px
344
- full: 9999px
345
- spacing:
346
- sm: 8px
347
- md: 16px
348
- lg: 32px
349
- motion:
350
- energy: high
351
- easing:
352
- entry: "back.out(1.6)"
353
- exit: "elastic.out(1, 0.5)"
354
- ambient: "sine.inOut"
355
- duration:
356
- entrance: 0.5
357
- hold: 1.5
358
- transition: 0.8
359
- atmosphere:
360
- - pattern-tiles
361
- - confetti-burst
362
- - color-blocks
363
- transition: swirl-vortex
364
- ```
365
-
366
- Bold warm rounded type. Pattern and repetition — folk art rhythm and density. Layered compositions with rich visual texture. Every frame feels handcrafted. Colorful motion: elements bounce, pop, spin into place with joy. Overshoots feel intentional. Celebratory energy.
367
-
368
- ---
369
-
370
- ## 8. Shadow Cut — Hans Hillmann
371
-
372
- **Mood:** Dark, cinematic | **Best for:** Security products, dramatic reveals, investigative content, intense launches
373
-
374
- ```yaml
375
- name: Shadow Cut
376
- colors:
377
- primary: "#0a0a0a"
378
- on-primary: "#f0f0f0"
379
- surface: "#3a3a3a"
380
- accent: "#C1121F"
381
- typography:
382
- headline:
383
- fontFamily: Oswald
384
- fontSize: 4rem
385
- fontWeight: 700
386
- textTransform: uppercase
387
- body:
388
- fontFamily: Inter
389
- fontSize: 0.875rem
390
- fontWeight: 400
391
- rounded:
392
- none: 0px
393
- sm: 2px
394
- spacing:
395
- sm: 8px
396
- md: 16px
397
- lg: 48px
398
- motion:
399
- energy: moderate
400
- easing:
401
- entry: "power3.out"
402
- exit: "power4.in"
403
- ambient: "sine.inOut"
404
- duration:
405
- entrance: 0.8
406
- hold: 2.5
407
- transition: 1.2
408
- atmosphere:
409
- - deep-shadow
410
- - vignette
411
- - grain-overlay
412
- transition: domain-warp
413
- ```
414
-
415
- Near-monochrome: deep blacks, cold greys, stark white + one blood accent. Sharp angular text like film noir title cards. Heavy contrast, no softness. Elements emerge from darkness — reveal is the narrative. Slow creeping push-ins, dramatic scale reveals. The pause before the hit matters. Domain Warp dissolves reality before the next scene.
416
-
417
- ---
418
-
419
- ## Mood → Style Guide
420
-
421
- | If the content feels... | Use... |
422
- | ---------------------------------- | --------------- |
423
- | Data-driven, analytical, technical | Swiss Pulse |
424
- | Premium, enterprise, luxury | Velvet Standard |
425
- | Raw, punk, aggressive, rebellious | Deconstructed |
426
- | Hype, loud, high-energy launch | Maximalist Type |
427
- | AI, ML, speculative, futuristic | Data Drift |
428
- | Human, warm, personal, wellness | Soft Signal |
429
- | Cultural, fun, consumer, festive | Folk Frequency |
430
- | Dark, dramatic, intense, cinematic | Shadow Cut |
431
-
432
- ---
433
-
434
- ## Creating Custom Styles
435
-
436
- These 8 styles are starters — not constraints. Create your own:
437
-
438
- 1. **Name it** after a designer, art movement, or cultural reference
439
- 2. **Write YAML tokens** — `colors` (2–5 tokens), `typography` (2–3 scales), `rounded`, `spacing`, `motion` (energy + easing + duration + atmosphere + transition)
440
- 3. **Add prose** — one paragraph describing the feel, what to do, what to avoid
441
- 4. **Token references** — use `{colors.accent}`, `{typography.headline}` in component definitions
442
-
443
- The pattern: **YAML tokens (what) → prose rationale (why) → components (how they combine).**