motionrender 0.0.0-stage → 0.2.0

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,34 @@
1
+ {
2
+ "id": "fx-captions",
3
+ "name": "Word-synced captions",
4
+ "category": "effect",
5
+ "kind": "overlay",
6
+ "durationFrames": 300,
7
+ "description": "Captions that follow the speech word by word, the word being said in the accent colour and the rest in white, in a dark rounded box. Needs word timings: run ove ai transcribe on the audio and give the captions asset id.",
8
+ "params": {
9
+ "src": {
10
+ "type": "string",
11
+ "default": "",
12
+ "description": "A captions asset id or a .json/.srt/.vtt file with word timings"
13
+ }
14
+ },
15
+ "layers": [
16
+ {
17
+ "if": "{{src}}",
18
+ "id": "cap",
19
+ "type": "captions",
20
+ "src": "{{src}}",
21
+ "x": "{{round(canvas.width * 0.5)}}",
22
+ "y": "{{round(canvas.height * 0.74)}}",
23
+ "textAlign": "center",
24
+ "maxWidth": "{{round(canvas.width * 0.84)}}",
25
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.058)}}",
26
+ "fontWeight": 800,
27
+ "color": "#ffffff",
28
+ "highlightColor": "{{accent2}}",
29
+ "background": "rgba(5,8,20,0.6)",
30
+ "padding": "{{round(min(canvas.width, canvas.height) * 0.018)}}",
31
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,368 @@
1
+ {
2
+ "id": "fx-chat",
3
+ "name": "Chat bubbles",
4
+ "category": "effect",
5
+ "kind": "overlay",
6
+ "durationFrames": 200,
7
+ "description": "A short chat: typing dots, then a question in a grey bubble, then dots again and an answer in an accent bubble.",
8
+ "params": {
9
+ "message1": {
10
+ "type": "string",
11
+ "default": "How do I make a 30 second video?"
12
+ },
13
+ "message2": {
14
+ "type": "string",
15
+ "default": "Describe it. OVE renders it."
16
+ }
17
+ },
18
+ "layers": [
19
+ {
20
+ "id": "typing-a-0",
21
+ "type": "circle",
22
+ "x": "{{round(canvas.width * 0.1) + 0 * round(min(canvas.width, canvas.height) * 0.03)}}",
23
+ "y": "{{round(canvas.height * 0.6)}}",
24
+ "width": "{{round(min(canvas.width, canvas.height) * 0.016)}}",
25
+ "fill": "#ffffff",
26
+ "startFrame": 14,
27
+ "endFrame": 56,
28
+ "animations": [
29
+ {
30
+ "property": "opacity",
31
+ "repeat": 8,
32
+ "keyframes": [
33
+ {
34
+ "frame": 0,
35
+ "value": 0.3
36
+ },
37
+ {
38
+ "frame": 6,
39
+ "value": 1
40
+ },
41
+ {
42
+ "frame": 18,
43
+ "value": 0.3
44
+ }
45
+ ]
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "id": "typing-a-1",
51
+ "type": "circle",
52
+ "x": "{{round(canvas.width * 0.1) + 1 * round(min(canvas.width, canvas.height) * 0.03)}}",
53
+ "y": "{{round(canvas.height * 0.6)}}",
54
+ "width": "{{round(min(canvas.width, canvas.height) * 0.016)}}",
55
+ "fill": "#ffffff",
56
+ "startFrame": 14,
57
+ "endFrame": 56,
58
+ "animations": [
59
+ {
60
+ "property": "opacity",
61
+ "repeat": 8,
62
+ "keyframes": [
63
+ {
64
+ "frame": 0,
65
+ "value": 0.3
66
+ },
67
+ {
68
+ "frame": 9,
69
+ "value": 1
70
+ },
71
+ {
72
+ "frame": 18,
73
+ "value": 0.3
74
+ }
75
+ ]
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "id": "typing-a-2",
81
+ "type": "circle",
82
+ "x": "{{round(canvas.width * 0.1) + 2 * round(min(canvas.width, canvas.height) * 0.03)}}",
83
+ "y": "{{round(canvas.height * 0.6)}}",
84
+ "width": "{{round(min(canvas.width, canvas.height) * 0.016)}}",
85
+ "fill": "#ffffff",
86
+ "startFrame": 14,
87
+ "endFrame": 56,
88
+ "animations": [
89
+ {
90
+ "property": "opacity",
91
+ "repeat": 8,
92
+ "keyframes": [
93
+ {
94
+ "frame": 0,
95
+ "value": 0.3
96
+ },
97
+ {
98
+ "frame": 12,
99
+ "value": 1
100
+ },
101
+ {
102
+ "frame": 18,
103
+ "value": 0.3
104
+ }
105
+ ]
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "id": "bubble-1",
111
+ "type": "group",
112
+ "x": "{{round(canvas.width * 0.06)}}",
113
+ "y": "{{round(canvas.height * 0.58)}}",
114
+ "width": "{{round(canvas.width * 0.64)}}",
115
+ "height": "{{round(min(canvas.width, canvas.height) * 0.13)}}",
116
+ "startFrame": 56,
117
+ "originX": 0,
118
+ "originY": "center",
119
+ "animations": [
120
+ {
121
+ "property": "opacity",
122
+ "keyframes": [
123
+ {
124
+ "frame": 0,
125
+ "value": 0
126
+ },
127
+ {
128
+ "frame": 8,
129
+ "value": 1
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "property": "scale",
135
+ "keyframes": [
136
+ {
137
+ "frame": 0,
138
+ "value": 0.7,
139
+ "easing": "pop"
140
+ },
141
+ {
142
+ "frame": 14,
143
+ "value": 1
144
+ }
145
+ ]
146
+ }
147
+ ],
148
+ "children": [
149
+ {
150
+ "id": "bubble-1-bg",
151
+ "type": "rect",
152
+ "x": 0,
153
+ "y": 0,
154
+ "width": "{{round(canvas.width * 0.64)}}",
155
+ "height": "{{round(min(canvas.width, canvas.height) * 0.13)}}",
156
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
157
+ "fill": "rgba(255,255,255,0.13)",
158
+ "stroke": "rgba(255,255,255,0.38)",
159
+ "strokeWidth": 2,
160
+ "shadow": {
161
+ "color": "#00000066",
162
+ "blur": 28,
163
+ "offsetX": 0,
164
+ "offsetY": 10
165
+ }
166
+ },
167
+ {
168
+ "id": "bubble-1-shine",
169
+ "type": "rect",
170
+ "x": "{{round(min(canvas.width, canvas.height) * 0.014)}}",
171
+ "y": 3,
172
+ "width": "{{round(canvas.width * 0.64) - round(min(canvas.width, canvas.height) * 0.028)}}",
173
+ "height": 3,
174
+ "radius": 2,
175
+ "fill": "rgba(255,255,255,0.45)"
176
+ },
177
+ {
178
+ "id": "m1",
179
+ "type": "text",
180
+ "content": "{{message1}}",
181
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.032)}}",
182
+ "color": "#ffffff",
183
+ "x": "{{round(min(canvas.width, canvas.height) * 0.035)}}",
184
+ "y": "{{round(min(canvas.width, canvas.height) * 0.035)}}",
185
+ "fontWeight": 600,
186
+ "maxWidth": "{{round(canvas.width * 0.56)}}",
187
+ "maxLines": 2,
188
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "id": "typing-b-0",
194
+ "type": "circle",
195
+ "x": "{{round(canvas.width * 0.76) + 0 * round(min(canvas.width, canvas.height) * 0.03)}}",
196
+ "y": "{{round(canvas.height * 0.7)}}",
197
+ "width": "{{round(min(canvas.width, canvas.height) * 0.016)}}",
198
+ "fill": "#ffffff",
199
+ "startFrame": 92,
200
+ "endFrame": 128,
201
+ "animations": [
202
+ {
203
+ "property": "opacity",
204
+ "repeat": 8,
205
+ "keyframes": [
206
+ {
207
+ "frame": 0,
208
+ "value": 0.3
209
+ },
210
+ {
211
+ "frame": 6,
212
+ "value": 1
213
+ },
214
+ {
215
+ "frame": 18,
216
+ "value": 0.3
217
+ }
218
+ ]
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "id": "typing-b-1",
224
+ "type": "circle",
225
+ "x": "{{round(canvas.width * 0.76) + 1 * round(min(canvas.width, canvas.height) * 0.03)}}",
226
+ "y": "{{round(canvas.height * 0.7)}}",
227
+ "width": "{{round(min(canvas.width, canvas.height) * 0.016)}}",
228
+ "fill": "#ffffff",
229
+ "startFrame": 92,
230
+ "endFrame": 128,
231
+ "animations": [
232
+ {
233
+ "property": "opacity",
234
+ "repeat": 8,
235
+ "keyframes": [
236
+ {
237
+ "frame": 0,
238
+ "value": 0.3
239
+ },
240
+ {
241
+ "frame": 9,
242
+ "value": 1
243
+ },
244
+ {
245
+ "frame": 18,
246
+ "value": 0.3
247
+ }
248
+ ]
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "id": "typing-b-2",
254
+ "type": "circle",
255
+ "x": "{{round(canvas.width * 0.76) + 2 * round(min(canvas.width, canvas.height) * 0.03)}}",
256
+ "y": "{{round(canvas.height * 0.7)}}",
257
+ "width": "{{round(min(canvas.width, canvas.height) * 0.016)}}",
258
+ "fill": "#ffffff",
259
+ "startFrame": 92,
260
+ "endFrame": 128,
261
+ "animations": [
262
+ {
263
+ "property": "opacity",
264
+ "repeat": 8,
265
+ "keyframes": [
266
+ {
267
+ "frame": 0,
268
+ "value": 0.3
269
+ },
270
+ {
271
+ "frame": 12,
272
+ "value": 1
273
+ },
274
+ {
275
+ "frame": 18,
276
+ "value": 0.3
277
+ }
278
+ ]
279
+ }
280
+ ]
281
+ },
282
+ {
283
+ "id": "bubble-2",
284
+ "type": "group",
285
+ "x": "{{round(canvas.width * 0.3)}}",
286
+ "y": "{{round(canvas.height * 0.69)}}",
287
+ "width": "{{round(canvas.width * 0.64)}}",
288
+ "height": "{{round(min(canvas.width, canvas.height) * 0.13)}}",
289
+ "startFrame": 128,
290
+ "originX": "center",
291
+ "originY": "center",
292
+ "animations": [
293
+ {
294
+ "property": "opacity",
295
+ "keyframes": [
296
+ {
297
+ "frame": 0,
298
+ "value": 0
299
+ },
300
+ {
301
+ "frame": 8,
302
+ "value": 1
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ "property": "scale",
308
+ "keyframes": [
309
+ {
310
+ "frame": 0,
311
+ "value": 0.7,
312
+ "easing": "pop"
313
+ },
314
+ {
315
+ "frame": 14,
316
+ "value": 1
317
+ }
318
+ ]
319
+ }
320
+ ],
321
+ "children": [
322
+ {
323
+ "id": "b2-bg",
324
+ "type": "rect",
325
+ "x": 0,
326
+ "y": 0,
327
+ "width": "{{round(canvas.width * 0.64)}}",
328
+ "height": "{{round(min(canvas.width, canvas.height) * 0.13)}}",
329
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
330
+ "fill": "{{accent}}",
331
+ "shadow": {
332
+ "color": "#00000066",
333
+ "blur": 24,
334
+ "offsetX": 0,
335
+ "offsetY": 8
336
+ }
337
+ },
338
+ {
339
+ "id": "m2",
340
+ "type": "text",
341
+ "content": "{{message2}}",
342
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.032)}}",
343
+ "color": "#ffffff",
344
+ "x": "{{round(min(canvas.width, canvas.height) * 0.035)}}",
345
+ "y": "{{round(min(canvas.width, canvas.height) * 0.035)}}",
346
+ "fontWeight": 700,
347
+ "maxWidth": "{{round(canvas.width * 0.56)}}",
348
+ "maxLines": 2,
349
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
350
+ }
351
+ ]
352
+ },
353
+ {
354
+ "id": "sfx-1",
355
+ "type": "audio",
356
+ "src": "sfx:pop",
357
+ "startFrame": 56,
358
+ "volume": 0.35
359
+ },
360
+ {
361
+ "id": "sfx-2",
362
+ "type": "audio",
363
+ "src": "sfx:tick",
364
+ "startFrame": 128,
365
+ "volume": 0.35
366
+ }
367
+ ]
368
+ }