motionrender 0.0.0-stage → 0.2.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.
Files changed (203) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +61 -2
  3. package/blocks/badge.json +68 -0
  4. package/blocks/big-stat.json +240 -0
  5. package/blocks/cta-end.json +283 -0
  6. package/blocks/feature-list.json +286 -0
  7. package/blocks/footage.json +43 -0
  8. package/blocks/fx-background-swap.json +170 -0
  9. package/blocks/fx-before-after.json +212 -0
  10. package/blocks/fx-captions.json +34 -0
  11. package/blocks/fx-chat.json +368 -0
  12. package/blocks/fx-checklist.json +609 -0
  13. package/blocks/fx-clone-wall.json +181 -0
  14. package/blocks/fx-color-pop.json +92 -0
  15. package/blocks/fx-command-bridge.json +358 -0
  16. package/blocks/fx-counter-hero.json +206 -0
  17. package/blocks/fx-cta-card.json +337 -0
  18. package/blocks/fx-day-to-night.json +174 -0
  19. package/blocks/fx-duo-title.json +245 -0
  20. package/blocks/fx-duotone.json +95 -0
  21. package/blocks/fx-extruded-title.json +309 -0
  22. package/blocks/fx-gallery.json +239 -0
  23. package/blocks/fx-glass-cards.json +921 -0
  24. package/blocks/fx-glitch-title.json +373 -0
  25. package/blocks/fx-grade-look.json +91 -0
  26. package/blocks/fx-highlighter.json +53 -0
  27. package/blocks/fx-icon-orbit.json +2694 -0
  28. package/blocks/fx-lens-flare.json +325 -0
  29. package/blocks/fx-letterbox.json +105 -0
  30. package/blocks/fx-light-leak.json +140 -0
  31. package/blocks/fx-map-journey.json +443 -0
  32. package/blocks/fx-neon-outline.json +743 -0
  33. package/blocks/fx-notifications.json +456 -0
  34. package/blocks/fx-progress-ring.json +143 -0
  35. package/blocks/fx-pull-out.json +68 -0
  36. package/blocks/fx-punch-in.json +81 -0
  37. package/blocks/fx-rgb-flash.json +166 -0
  38. package/blocks/fx-shake-hit.json +120 -0
  39. package/blocks/fx-split-reveal.json +110 -0
  40. package/blocks/fx-spotlight.json +1383 -0
  41. package/blocks/fx-stats-split.json +500 -0
  42. package/blocks/fx-step-tracker.json +528 -0
  43. package/blocks/fx-sticker-freeze.json +584 -0
  44. package/blocks/fx-strike-rewrite.json +79 -0
  45. package/blocks/fx-ticker.json +179 -0
  46. package/blocks/fx-timeline.json +1287 -0
  47. package/blocks/fx-tracked-label.json +167 -0
  48. package/blocks/fx-typewriter-quote.json +164 -0
  49. package/blocks/handle.json +43 -0
  50. package/blocks/icon-row.json +404 -0
  51. package/blocks/image-caption.json +248 -0
  52. package/blocks/lower-third.json +106 -0
  53. package/blocks/phone-mockup.json +459 -0
  54. package/blocks/progress-bar.json +51 -0
  55. package/blocks/quote.json +347 -0
  56. package/blocks/section-title.json +240 -0
  57. package/blocks/split-screen.json +283 -0
  58. package/blocks/stat-grid.json +315 -0
  59. package/blocks/steps.json +266 -0
  60. package/blocks/title-hero.json +287 -0
  61. package/dist/builder.d.ts +1 -0
  62. package/dist/builder.js +169 -0
  63. package/dist/cli.js +9301 -0
  64. package/dist/fonts/LICENSE-Inter.txt +93 -0
  65. package/dist/fonts/inter-cyrillic-ext-opsz-italic.woff2 +0 -0
  66. package/dist/fonts/inter-cyrillic-ext-opsz-normal.woff2 +0 -0
  67. package/dist/fonts/inter-cyrillic-opsz-italic.woff2 +0 -0
  68. package/dist/fonts/inter-cyrillic-opsz-normal.woff2 +0 -0
  69. package/dist/fonts/inter-greek-ext-opsz-italic.woff2 +0 -0
  70. package/dist/fonts/inter-greek-ext-opsz-normal.woff2 +0 -0
  71. package/dist/fonts/inter-greek-opsz-italic.woff2 +0 -0
  72. package/dist/fonts/inter-greek-opsz-normal.woff2 +0 -0
  73. package/dist/fonts/inter-latin-ext-opsz-italic.woff2 +0 -0
  74. package/dist/fonts/inter-latin-ext-opsz-normal.woff2 +0 -0
  75. package/dist/fonts/inter-latin-opsz-italic.woff2 +0 -0
  76. package/dist/fonts/inter-latin-opsz-normal.woff2 +0 -0
  77. package/dist/fonts/inter-vietnamese-opsz-italic.woff2 +0 -0
  78. package/dist/fonts/inter-vietnamese-opsz-normal.woff2 +0 -0
  79. package/dist/index.d.ts +2 -0
  80. package/dist/index.js +2330 -0
  81. package/dist/player.d.ts +1 -0
  82. package/dist/player.js +80 -0
  83. package/dist/react.d.ts +1 -0
  84. package/dist/react.js +140 -0
  85. package/dist/runtime/canvas-runtime.js +261 -0
  86. package/dist/runtime/lottie_light_canvas.min.js +1 -0
  87. package/dist/runtime/text-layout.js +50 -0
  88. package/dist/sfx/click.wav +0 -0
  89. package/dist/sfx/ding.wav +0 -0
  90. package/dist/sfx/pop.wav +0 -0
  91. package/dist/sfx/riser.wav +0 -0
  92. package/dist/sfx/thump.wav +0 -0
  93. package/dist/sfx/tick.wav +0 -0
  94. package/dist/sfx/whoosh.wav +0 -0
  95. package/dist/types/packages/ai/src/assets.d.ts +26 -0
  96. package/dist/types/packages/ai/src/batch.d.ts +19 -0
  97. package/dist/types/packages/ai/src/compose.d.ts +34 -0
  98. package/dist/types/packages/ai/src/history.d.ts +37 -0
  99. package/dist/types/packages/ai/src/image.d.ts +19 -0
  100. package/dist/types/packages/ai/src/index.d.ts +13 -0
  101. package/dist/types/packages/ai/src/json.d.ts +2 -0
  102. package/dist/types/packages/ai/src/narrate.d.ts +63 -0
  103. package/dist/types/packages/ai/src/patch.d.ts +15 -0
  104. package/dist/types/packages/ai/src/project.d.ts +27 -0
  105. package/dist/types/packages/ai/src/prompt.d.ts +30 -0
  106. package/dist/types/packages/ai/src/providers.d.ts +109 -0
  107. package/dist/types/packages/ai/src/template.d.ts +80 -0
  108. package/dist/types/packages/ai/src/voiceover.d.ts +49 -0
  109. package/dist/types/packages/animation/src/index.d.ts +27 -0
  110. package/dist/types/packages/assets/src/cache.d.ts +26 -0
  111. package/dist/types/packages/assets/src/index.d.ts +8 -0
  112. package/dist/types/packages/builder/src/index.d.ts +270 -0
  113. package/dist/types/packages/cli/src/ai-studio-page.d.ts +1 -0
  114. package/dist/types/packages/cli/src/ai-studio.d.ts +35 -0
  115. package/dist/types/packages/cli/src/ai.d.ts +3 -0
  116. package/dist/types/packages/cli/src/args.d.ts +9 -0
  117. package/dist/types/packages/cli/src/blocks-cli.d.ts +3 -0
  118. package/dist/types/packages/cli/src/blocks.d.ts +50 -0
  119. package/dist/types/packages/cli/src/build.d.ts +1 -0
  120. package/dist/types/packages/cli/src/dev-page.d.ts +1 -0
  121. package/dist/types/packages/cli/src/dev.d.ts +13 -0
  122. package/dist/types/packages/cli/src/index.d.ts +2 -0
  123. package/dist/types/packages/cli/src/init.d.ts +10 -0
  124. package/dist/types/packages/cli/src/serve.d.ts +2 -0
  125. package/dist/types/packages/cli/src/studio.d.ts +36 -0
  126. package/dist/types/packages/cli/src/templates.d.ts +63 -0
  127. package/dist/types/packages/cli/src/thumbnail.d.ts +20 -0
  128. package/dist/types/packages/cli/src/track.d.ts +35 -0
  129. package/dist/types/packages/cli/src/worker.d.ts +13 -0
  130. package/dist/types/packages/contracts/src/index.d.ts +377 -0
  131. package/dist/types/packages/core/src/audio.d.ts +14 -0
  132. package/dist/types/packages/core/src/distributed.d.ts +50 -0
  133. package/dist/types/packages/core/src/index.d.ts +63 -0
  134. package/dist/types/packages/core/src/media.d.ts +11 -0
  135. package/dist/types/packages/core/src/review.d.ts +29 -0
  136. package/dist/types/packages/ffmpeg/src/index.d.ts +68 -0
  137. package/dist/types/packages/graphics/src/fonts.d.ts +3 -0
  138. package/dist/types/packages/graphics/src/index.d.ts +121 -0
  139. package/dist/types/packages/graphics/src/runtime.d.ts +10 -0
  140. package/dist/types/packages/jobs/src/env.d.ts +78 -0
  141. package/dist/types/packages/jobs/src/handlers.d.ts +17 -0
  142. package/dist/types/packages/jobs/src/index.d.ts +5 -0
  143. package/dist/types/packages/jobs/src/input.d.ts +18 -0
  144. package/dist/types/packages/jobs/src/queue.d.ts +70 -0
  145. package/dist/types/packages/jobs/src/redis.d.ts +42 -0
  146. package/dist/types/packages/player/src/bundle.d.ts +4 -0
  147. package/dist/types/packages/player/src/canvas-runtime.d.ts +11 -0
  148. package/dist/types/packages/player/src/index.d.ts +29 -0
  149. package/dist/types/packages/react/src/index.d.ts +76 -0
  150. package/dist/types/packages/renderer/src/index.d.ts +35 -0
  151. package/dist/types/packages/renderer/src/pool.d.ts +7 -0
  152. package/dist/types/packages/renderer/src/video.d.ts +9 -0
  153. package/dist/types/packages/schema/src/captions.d.ts +24 -0
  154. package/dist/types/packages/schema/src/expression.d.ts +1 -0
  155. package/dist/types/packages/schema/src/index.d.ts +1213 -0
  156. package/dist/types/packages/schema/src/variables.d.ts +115 -0
  157. package/dist/types/packages/storage/src/index.d.ts +78 -0
  158. package/dist/types/packages/timeline/src/index.d.ts +104 -0
  159. package/package.json +78 -4
  160. package/skills/ove/SKILL.md +356 -0
  161. package/skills/ove-ai-compose/SKILL.md +36 -0
  162. package/skills/ove-batch-videos/SKILL.md +23 -0
  163. package/skills/ove-code-video/SKILL.md +68 -0
  164. package/skills/ove-effects/SKILL.md +65 -0
  165. package/skills/ove-make-reel/SKILL.md +30 -0
  166. package/skills/ove-voiceover-captions/SKILL.md +31 -0
  167. package/studio/assets/index-CzOvWv9w.css +1 -0
  168. package/studio/assets/index-J_fvKgng.js +11 -0
  169. package/studio/index.html +16 -0
  170. package/templates/case-study/composition.json +358 -0
  171. package/templates/case-study/template.json +8 -0
  172. package/templates/event-invite/composition.json +245 -0
  173. package/templates/event-invite/template.json +8 -0
  174. package/templates/explainer-square/composition.json +1335 -0
  175. package/templates/explainer-square/template.json +13 -0
  176. package/templates/keynote-wide/composition.json +1458 -0
  177. package/templates/keynote-wide/template.json +13 -0
  178. package/templates/launch-wide/composition.json +1306 -0
  179. package/templates/launch-wide/template.json +13 -0
  180. package/templates/product-card/composition.json +196 -0
  181. package/templates/product-card/data.example.json +5 -0
  182. package/templates/product-card/template.json +8 -0
  183. package/templates/product-wide/composition.json +1609 -0
  184. package/templates/product-wide/template.json +14 -0
  185. package/templates/quote-card/composition.json +123 -0
  186. package/templates/quote-card/template.json +8 -0
  187. package/templates/sale-promo/composition.json +290 -0
  188. package/templates/sale-promo/template.json +8 -0
  189. package/templates/showcase-tall/composition.json +1646 -0
  190. package/templates/showcase-tall/template.json +14 -0
  191. package/templates/slideshow/composition.json +167 -0
  192. package/templates/slideshow/template.json +8 -0
  193. package/templates/social-reel/composition.json +252 -0
  194. package/templates/social-reel/template.json +8 -0
  195. package/templates/starter/assets/logo.svg +4 -0
  196. package/templates/starter/composition.json +84 -0
  197. package/templates/story-tall/composition.json +1379 -0
  198. package/templates/story-tall/template.json +13 -0
  199. package/themes/espresso.json +15 -0
  200. package/themes/midnight.json +15 -0
  201. package/themes/neon.json +15 -0
  202. package/themes/paper.json +15 -0
  203. package/themes/signal.json +15 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "Product showcase (16:9)",
3
+ "description": "A 16:9 app or product showcase: a phone with your screenshot, three feature icons, a split picture-and-message scene and a call to action. Takes pictures and a theme.",
4
+ "tags": [
5
+ "product",
6
+ "16:9",
7
+ "app",
8
+ "pictures",
9
+ "themed"
10
+ ],
11
+ "order": 24,
12
+ "previewFrame": 157,
13
+ "brief": "A landscape app or product showcase with a screenshot, three benefits, one story scene and a call to action."
14
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "$schema": "./composition.schema.json",
3
+ "version": "1.0",
4
+ "id": "quote-card",
5
+ "name": "Quote card",
6
+ "width": 1080,
7
+ "height": 1080,
8
+ "fps": 30,
9
+ "durationFrames": 270,
10
+ "background": {
11
+ "type": "linear",
12
+ "from": [0, 0],
13
+ "to": [1080, 1080],
14
+ "stops": [
15
+ { "offset": 0, "color": "#0c1a17" },
16
+ { "offset": 1, "color": "#132821" }
17
+ ]
18
+ },
19
+ "variables": {
20
+ "quote": { "type": "string", "default": "The best videos are not written in a single take. They are built one honest frame at a time." },
21
+ "author": { "type": "string", "default": "Mira Chen" },
22
+ "role": { "type": "string", "default": "Creative director, Northlight" },
23
+ "accent": { "type": "color", "default": "#f4d58d", "description": "Quotation mark, rule and role colour" }
24
+ },
25
+ "scenes": [
26
+ {
27
+ "id": "quote",
28
+ "name": "Quote",
29
+ "startFrame": 0,
30
+ "durationFrames": 270,
31
+ "transitionIn": { "type": "fade", "durationFrames": 12 },
32
+ "transitionOut": { "type": "fade", "durationFrames": 12 },
33
+ "layers": [
34
+ {
35
+ "id": "glow",
36
+ "type": "circle",
37
+ "x": 660,
38
+ "y": -260,
39
+ "width": 820,
40
+ "fill": "{{accent}}",
41
+ "opacity": 0.1,
42
+ "blur": 90,
43
+ "animations": [
44
+ { "property": "x", "keyframes": [{ "frame": 0, "value": 700 }, { "frame": 270, "value": 540, "easing": "drift" }] }
45
+ ]
46
+ },
47
+ {
48
+ "id": "mark",
49
+ "type": "text",
50
+ "content": "“",
51
+ "x": 92,
52
+ "y": 52,
53
+ "fontSize": 300,
54
+ "fontWeight": 800,
55
+ "lineHeight": 1,
56
+ "color": "{{accent}}",
57
+ "animations": [
58
+ { "property": "opacity", "keyframes": [{ "frame": 0, "value": 0 }, { "frame": 20, "value": 0.95 }] },
59
+ { "property": "scale", "keyframes": [{ "frame": 0, "value": 0.8 }, { "frame": 26, "value": 1, "easing": "easeOutBack" }] }
60
+ ]
61
+ },
62
+ {
63
+ "id": "quote",
64
+ "type": "text",
65
+ "content": "{{quote}}",
66
+ "x": 96,
67
+ "y": 330,
68
+ "fontSize": 66,
69
+ "fontWeight": 600,
70
+ "lineHeight": 1.32,
71
+ "letterSpacing": -1,
72
+ "maxWidth": 888,
73
+ "maxLines": 6,
74
+ "minFontSize": 44,
75
+ "color": "#f4f7f2",
76
+ "split": { "by": "lines", "preset": "rise", "stagger": 7, "duration": 26 }
77
+ },
78
+ {
79
+ "id": "rule",
80
+ "type": "rect",
81
+ "x": 96,
82
+ "y": 840,
83
+ "width": 120,
84
+ "height": 6,
85
+ "radius": 3,
86
+ "fill": "{{accent}}",
87
+ "animations": [
88
+ { "property": "width", "keyframes": [{ "frame": 26, "value": 0 }, { "frame": 52, "value": 120, "easing": "land" }] }
89
+ ]
90
+ },
91
+ {
92
+ "id": "author",
93
+ "type": "text",
94
+ "content": "{{author}}",
95
+ "x": 96,
96
+ "y": 892,
97
+ "fontSize": 38,
98
+ "fontWeight": 700,
99
+ "maxWidth": 760,
100
+ "maxLines": 1,
101
+ "color": "#f4f7f2",
102
+ "animations": [
103
+ { "property": "opacity", "keyframes": [{ "frame": 34, "value": 0 }, { "frame": 54, "value": 1 }] }
104
+ ]
105
+ },
106
+ {
107
+ "id": "role",
108
+ "type": "text",
109
+ "content": "{{role}}",
110
+ "x": 96,
111
+ "y": 948,
112
+ "fontSize": 28,
113
+ "maxWidth": 820,
114
+ "maxLines": 1,
115
+ "color": "{{accent}}",
116
+ "animations": [
117
+ { "property": "opacity", "keyframes": [{ "frame": 42, "value": 0 }, { "frame": 60, "value": 1 }] }
118
+ ]
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "Quote card",
3
+ "description": "A square quote card with a large quotation mark, the quote, and the speaker's name and role. Calm and typographic.",
4
+ "tags": ["quote", "1:1", "social", "testimonial"],
5
+ "order": 4,
6
+ "previewFrame": 135,
7
+ "brief": "A 9-second square quote card: a large quotation mark, a short memorable quote, and the author's name and role, in warm cream and ink on deep green."
8
+ }
@@ -0,0 +1,290 @@
1
+ {
2
+ "$schema": "./composition.schema.json",
3
+ "version": "1.0",
4
+ "id": "sale-promo",
5
+ "name": "Sale promo",
6
+ "width": 1080,
7
+ "height": 1350,
8
+ "fps": 30,
9
+ "durationFrames": 450,
10
+ "background": {
11
+ "type": "linear",
12
+ "from": [0, 0],
13
+ "to": [1080, 1350],
14
+ "stops": [
15
+ { "offset": 0, "color": "#160709" },
16
+ { "offset": 0.55, "color": "#1f0a0d" },
17
+ { "offset": 1, "color": "#0d0507" }
18
+ ]
19
+ },
20
+ "variables": {
21
+ "kicker": { "type": "string", "default": "FLASH SALE", "description": "Small label above the discount" },
22
+ "discount": { "type": "string", "default": "30% OFF", "description": "The headline number" },
23
+ "title": { "type": "string", "default": "Everything\\nmust go", "description": "Promise under the discount; a line break starts a new line" },
24
+ "detail": { "type": "string", "default": "This weekend only. Add the code at checkout and the discount is yours." },
25
+ "code": { "type": "string", "default": "TAKE30", "description": "Code shown in the dashed box" },
26
+ "cta": { "type": "string", "default": "Shop now" },
27
+ "accent": { "type": "color", "default": "#fb7185", "description": "Glow, rule and button colour" }
28
+ },
29
+ "scenes": [
30
+ {
31
+ "id": "offer",
32
+ "name": "The offer",
33
+ "startFrame": 0,
34
+ "durationFrames": 210,
35
+ "transitionIn": { "type": "fade", "durationFrames": 10 },
36
+ "transitionOut": { "type": "fade", "durationFrames": 10 },
37
+ "layers": [
38
+ {
39
+ "id": "glow",
40
+ "type": "circle",
41
+ "x": 120,
42
+ "y": -280,
43
+ "width": 1100,
44
+ "fill": "{{accent}}",
45
+ "opacity": 0.2,
46
+ "blur": 90,
47
+ "animations": [
48
+ { "property": "x", "keyframes": [{ "frame": 0, "value": 160 }, { "frame": 210, "value": 40, "easing": "drift" }] }
49
+ ]
50
+ },
51
+ {
52
+ "id": "kicker",
53
+ "type": "text",
54
+ "content": "{{kicker}}",
55
+ "x": 96,
56
+ "y": 170,
57
+ "fontSize": 30,
58
+ "fontWeight": 700,
59
+ "letterSpacing": 9,
60
+ "color": "{{accent}}",
61
+ "animations": [
62
+ { "property": "opacity", "keyframes": [{ "frame": 0, "value": 0 }, { "frame": 16, "value": 1 }] }
63
+ ]
64
+ },
65
+ {
66
+ "id": "discount",
67
+ "type": "text",
68
+ "content": "{{discount}}",
69
+ "x": 90,
70
+ "y": 300,
71
+ "fontSize": 190,
72
+ "fontWeight": 800,
73
+ "letterSpacing": -8,
74
+ "maxWidth": 900,
75
+ "maxLines": 2,
76
+ "minFontSize": 100,
77
+ "color": "#fff1f2",
78
+ "split": { "by": "words", "preset": "pop", "stagger": 4, "duration": 26 }
79
+ },
80
+ {
81
+ "id": "rule",
82
+ "type": "rect",
83
+ "x": 96,
84
+ "y": 640,
85
+ "width": 240,
86
+ "height": 10,
87
+ "radius": 5,
88
+ "fill": "{{accent}}",
89
+ "animations": [
90
+ { "property": "width", "keyframes": [{ "frame": 18, "value": 0 }, { "frame": 46, "value": 240, "easing": "land" }] }
91
+ ]
92
+ },
93
+ {
94
+ "id": "title",
95
+ "type": "text",
96
+ "content": "{{title}}",
97
+ "x": 92,
98
+ "y": 740,
99
+ "fontSize": 132,
100
+ "fontWeight": 800,
101
+ "lineHeight": 0.98,
102
+ "letterSpacing": -5,
103
+ "maxWidth": 900,
104
+ "maxLines": 3,
105
+ "minFontSize": 78,
106
+ "color": "#ffe4e6",
107
+ "animations": [
108
+ { "property": "opacity", "keyframes": [{ "frame": 20, "value": 0 }, { "frame": 42, "value": 1 }] },
109
+ { "property": "y", "keyframes": [{ "frame": 20, "value": 772 }, { "frame": 48, "value": 740, "easing": "land" }] }
110
+ ]
111
+ },
112
+ {
113
+ "id": "detail",
114
+ "type": "text",
115
+ "content": "{{detail}}",
116
+ "x": 94,
117
+ "y": 1040,
118
+ "fontSize": 36,
119
+ "lineHeight": 1.45,
120
+ "maxWidth": 800,
121
+ "maxLines": 4,
122
+ "color": "#d8aab2",
123
+ "animations": [
124
+ { "property": "opacity", "keyframes": [{ "frame": 32, "value": 0 }, { "frame": 54, "value": 1 }] }
125
+ ]
126
+ },
127
+ {
128
+ "id": "corner",
129
+ "type": "path",
130
+ "d": "M0 0 L140 0 M0 0 L0 140",
131
+ "x": 900,
132
+ "y": 1160,
133
+ "stroke": "{{accent}}",
134
+ "strokeWidth": 4,
135
+ "opacity": 0.6
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "id": "code",
141
+ "name": "The code",
142
+ "startFrame": 210,
143
+ "durationFrames": 150,
144
+ "transitionIn": { "type": "slide", "direction": "bottom", "durationFrames": 16 },
145
+ "transitionOut": { "type": "fade", "durationFrames": 10 },
146
+ "layers": [
147
+ {
148
+ "id": "code-glow",
149
+ "type": "circle",
150
+ "x": 140,
151
+ "y": 760,
152
+ "width": 860,
153
+ "fill": "{{accent}}",
154
+ "opacity": 0.16,
155
+ "blur": 80
156
+ },
157
+ {
158
+ "id": "code-label",
159
+ "type": "text",
160
+ "content": "USE THE CODE",
161
+ "x": 540,
162
+ "y": 360,
163
+ "fontSize": 30,
164
+ "fontWeight": 700,
165
+ "letterSpacing": 8,
166
+ "textAlign": "center",
167
+ "color": "#d8aab2"
168
+ },
169
+ {
170
+ "id": "code-box",
171
+ "type": "rect",
172
+ "x": 170,
173
+ "y": 470,
174
+ "width": 740,
175
+ "height": 240,
176
+ "radius": 24,
177
+ "fill": "#1a0a0d",
178
+ "stroke": "{{accent}}",
179
+ "strokeWidth": 4,
180
+ "strokeDash": [26, 18],
181
+ "animations": [
182
+ { "property": "scale", "keyframes": [{ "frame": 12, "value": 0.92 }, { "frame": 34, "value": 1, "easing": "easeOutBack" }] }
183
+ ]
184
+ },
185
+ {
186
+ "id": "code",
187
+ "type": "text",
188
+ "content": "{{code}}",
189
+ "x": 540,
190
+ "y": 542,
191
+ "fontSize": 116,
192
+ "fontWeight": 800,
193
+ "letterSpacing": 10,
194
+ "textAlign": "center",
195
+ "maxWidth": 700,
196
+ "maxLines": 1,
197
+ "minFontSize": 56,
198
+ "color": "#fff1f2",
199
+ "animations": [
200
+ { "property": "opacity", "keyframes": [{ "frame": 20, "value": 0 }, { "frame": 38, "value": 1 }] }
201
+ ]
202
+ },
203
+ {
204
+ "id": "code-detail",
205
+ "type": "text",
206
+ "content": "{{detail}}",
207
+ "x": 540,
208
+ "y": 810,
209
+ "fontSize": 34,
210
+ "lineHeight": 1.5,
211
+ "textAlign": "center",
212
+ "maxWidth": 760,
213
+ "maxLines": 4,
214
+ "color": "#d8aab2"
215
+ }
216
+ ]
217
+ },
218
+ {
219
+ "id": "cta",
220
+ "name": "Call to action",
221
+ "startFrame": 360,
222
+ "durationFrames": 90,
223
+ "transitionIn": { "type": "fade", "durationFrames": 12 },
224
+ "transitionOut": { "type": "fade", "durationFrames": 10 },
225
+ "layers": [
226
+ {
227
+ "id": "cta-glow",
228
+ "type": "circle",
229
+ "x": 190,
230
+ "y": 700,
231
+ "width": 700,
232
+ "fill": "{{accent}}",
233
+ "opacity": 0.22,
234
+ "blur": 80
235
+ },
236
+ {
237
+ "id": "cta-title",
238
+ "type": "text",
239
+ "content": "{{title}}",
240
+ "x": 540,
241
+ "y": 430,
242
+ "fontSize": 96,
243
+ "fontWeight": 800,
244
+ "lineHeight": 1,
245
+ "letterSpacing": -3,
246
+ "textAlign": "center",
247
+ "maxWidth": 880,
248
+ "maxLines": 2,
249
+ "minFontSize": 56,
250
+ "color": "#fff1f2"
251
+ },
252
+ {
253
+ "id": "cta-button",
254
+ "type": "rect",
255
+ "x": 290,
256
+ "y": 740,
257
+ "width": 500,
258
+ "height": 132,
259
+ "radius": 66,
260
+ "fill": "{{accent}}",
261
+ "animations": [
262
+ { "property": "scale", "keyframes": [{ "frame": 10, "value": 0.9 }, { "frame": 30, "value": 1, "easing": "easeOutBack" }] }
263
+ ]
264
+ },
265
+ {
266
+ "id": "cta-text",
267
+ "type": "text",
268
+ "content": "{{cta}}",
269
+ "x": 540,
270
+ "y": 782,
271
+ "fontSize": 44,
272
+ "fontWeight": 700,
273
+ "textAlign": "center",
274
+ "color": "#2b080d"
275
+ },
276
+ {
277
+ "id": "cta-code",
278
+ "type": "text",
279
+ "content": "Code {{code}}",
280
+ "x": 540,
281
+ "y": 950,
282
+ "fontSize": 30,
283
+ "textAlign": "center",
284
+ "letterSpacing": 2,
285
+ "color": "#d8aab2"
286
+ }
287
+ ]
288
+ }
289
+ ]
290
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "Sale promo",
3
+ "description": "A 4:5 flash-sale promo: a bold discount, the product promise, a promo code and a call to action.",
4
+ "tags": ["sale", "promo", "4:5", "ecommerce"],
5
+ "order": 3,
6
+ "previewFrame": 90,
7
+ "brief": "A 15-second 4:5 flash-sale promo: a bold 30% OFF, the promise that everything must go, a promo code box and a shop-now call to action, in warm reds on a near-black background."
8
+ }