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,456 @@
1
+ {
2
+ "id": "fx-notifications",
3
+ "name": "Notification stack",
4
+ "category": "effect",
5
+ "kind": "overlay",
6
+ "durationFrames": 180,
7
+ "description": "Three notification cards drop in from the top of the frame one after another, each pushing the earlier ones down into a stack.",
8
+ "params": {
9
+ "title1": {
10
+ "type": "string",
11
+ "default": "Composition created"
12
+ },
13
+ "body1": {
14
+ "type": "string",
15
+ "default": "Four scenes, 30 seconds"
16
+ },
17
+ "title2": {
18
+ "type": "string",
19
+ "default": "Schema validated"
20
+ },
21
+ "body2": {
22
+ "type": "string",
23
+ "default": "No errors found"
24
+ },
25
+ "title3": {
26
+ "type": "string",
27
+ "default": "Video exported"
28
+ },
29
+ "body3": {
30
+ "type": "string",
31
+ "default": "out.mp4 is ready"
32
+ }
33
+ },
34
+ "layers": [
35
+ {
36
+ "id": "note-1",
37
+ "type": "group",
38
+ "x": "{{round(canvas.width * 0.06)}}",
39
+ "y": "{{round(canvas.height * 0.05)}}",
40
+ "width": "{{round(canvas.width * 0.62)}}",
41
+ "height": "{{round(min(canvas.width, canvas.height) * 0.135)}}",
42
+ "animations": [
43
+ {
44
+ "property": "y",
45
+ "keyframes": [
46
+ {
47
+ "frame": 0,
48
+ "value": "{{-round(min(canvas.width, canvas.height) * 0.2)}}"
49
+ },
50
+ {
51
+ "frame": 2,
52
+ "value": "{{-round(min(canvas.width, canvas.height) * 0.2)}}",
53
+ "easing": "land"
54
+ },
55
+ {
56
+ "frame": 16,
57
+ "value": "{{round(canvas.height * 0.05) + 0 * round(min(canvas.width, canvas.height) * 0.155)}}",
58
+ "easing": "land"
59
+ },
60
+ {
61
+ "frame": 55,
62
+ "value": "{{round(canvas.height * 0.05) + 0 * round(min(canvas.width, canvas.height) * 0.155)}}",
63
+ "easing": "land"
64
+ },
65
+ {
66
+ "frame": 68,
67
+ "value": "{{round(canvas.height * 0.05) + 1 * round(min(canvas.width, canvas.height) * 0.155)}}",
68
+ "easing": "land"
69
+ },
70
+ {
71
+ "frame": 95,
72
+ "value": "{{round(canvas.height * 0.05) + 1 * round(min(canvas.width, canvas.height) * 0.155)}}",
73
+ "easing": "land"
74
+ },
75
+ {
76
+ "frame": 108,
77
+ "value": "{{round(canvas.height * 0.05) + 2 * round(min(canvas.width, canvas.height) * 0.155)}}",
78
+ "easing": "land"
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "property": "opacity",
84
+ "keyframes": [
85
+ {
86
+ "frame": 0,
87
+ "value": 0
88
+ },
89
+ {
90
+ "frame": 2,
91
+ "value": 0
92
+ },
93
+ {
94
+ "frame": 12,
95
+ "value": 1
96
+ }
97
+ ]
98
+ }
99
+ ],
100
+ "children": [
101
+ {
102
+ "id": "note-1-bg",
103
+ "type": "rect",
104
+ "x": 0,
105
+ "y": 0,
106
+ "width": "{{round(canvas.width * 0.62)}}",
107
+ "height": "{{round(min(canvas.width, canvas.height) * 0.135)}}",
108
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
109
+ "fill": "rgba(255,255,255,0.13)",
110
+ "stroke": "rgba(255,255,255,0.38)",
111
+ "strokeWidth": 2,
112
+ "shadow": {
113
+ "color": "#00000066",
114
+ "blur": 28,
115
+ "offsetX": 0,
116
+ "offsetY": 10
117
+ }
118
+ },
119
+ {
120
+ "id": "note-1-shine",
121
+ "type": "rect",
122
+ "x": "{{round(min(canvas.width, canvas.height) * 0.014)}}",
123
+ "y": 3,
124
+ "width": "{{round(canvas.width * 0.62) - round(min(canvas.width, canvas.height) * 0.028)}}",
125
+ "height": 3,
126
+ "radius": 2,
127
+ "fill": "rgba(255,255,255,0.45)"
128
+ },
129
+ {
130
+ "id": "icon-disc",
131
+ "type": "circle",
132
+ "x": "{{round(min(canvas.width, canvas.height) * 0.055)}}",
133
+ "y": "{{round(min(canvas.width, canvas.height) * 0.0675)}}",
134
+ "width": "{{round(min(canvas.width, canvas.height) * 0.07)}}",
135
+ "fill": "{{accent}}"
136
+ },
137
+ {
138
+ "id": "icon",
139
+ "type": "path",
140
+ "d": "M5 12.5 L10 17.5 L19 7",
141
+ "width": 24,
142
+ "height": 24,
143
+ "scale": "{{min(canvas.width, canvas.height) * 0.034 / 24}}",
144
+ "stroke": "#ffffff",
145
+ "strokeWidth": 3,
146
+ "lineCap": "round",
147
+ "lineJoin": "round",
148
+ "x": "{{round(min(canvas.width, canvas.height) * 0.038)}}",
149
+ "y": "{{round(min(canvas.width, canvas.height) * 0.0505)}}"
150
+ },
151
+ {
152
+ "id": "t",
153
+ "type": "text",
154
+ "content": "{{title1}}",
155
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
156
+ "color": "#ffffff",
157
+ "x": "{{round(min(canvas.width, canvas.height) * 0.105)}}",
158
+ "y": "{{round(min(canvas.width, canvas.height) * 0.028)}}",
159
+ "fontWeight": 700,
160
+ "maxWidth": "{{round(canvas.width * 0.46)}}",
161
+ "maxLines": 1,
162
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
163
+ },
164
+ {
165
+ "id": "b",
166
+ "type": "text",
167
+ "content": "{{body1}}",
168
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.026)}}",
169
+ "color": "{{muted}}",
170
+ "x": "{{round(min(canvas.width, canvas.height) * 0.105)}}",
171
+ "y": "{{round(min(canvas.width, canvas.height) * 0.07)}}",
172
+ "maxWidth": "{{round(canvas.width * 0.46)}}",
173
+ "maxLines": 1,
174
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.018)}}"
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "id": "note-2",
180
+ "type": "group",
181
+ "x": "{{round(canvas.width * 0.06)}}",
182
+ "y": "{{round(canvas.height * 0.05)}}",
183
+ "width": "{{round(canvas.width * 0.62)}}",
184
+ "height": "{{round(min(canvas.width, canvas.height) * 0.135)}}",
185
+ "animations": [
186
+ {
187
+ "property": "y",
188
+ "keyframes": [
189
+ {
190
+ "frame": 0,
191
+ "value": "{{-round(min(canvas.width, canvas.height) * 0.2)}}"
192
+ },
193
+ {
194
+ "frame": 42,
195
+ "value": "{{-round(min(canvas.width, canvas.height) * 0.2)}}",
196
+ "easing": "land"
197
+ },
198
+ {
199
+ "frame": 56,
200
+ "value": "{{round(canvas.height * 0.05) + 0 * round(min(canvas.width, canvas.height) * 0.155)}}",
201
+ "easing": "land"
202
+ },
203
+ {
204
+ "frame": 95,
205
+ "value": "{{round(canvas.height * 0.05) + 0 * round(min(canvas.width, canvas.height) * 0.155)}}",
206
+ "easing": "land"
207
+ },
208
+ {
209
+ "frame": 108,
210
+ "value": "{{round(canvas.height * 0.05) + 1 * round(min(canvas.width, canvas.height) * 0.155)}}",
211
+ "easing": "land"
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "property": "opacity",
217
+ "keyframes": [
218
+ {
219
+ "frame": 0,
220
+ "value": 0
221
+ },
222
+ {
223
+ "frame": 42,
224
+ "value": 0
225
+ },
226
+ {
227
+ "frame": 52,
228
+ "value": 1
229
+ }
230
+ ]
231
+ }
232
+ ],
233
+ "children": [
234
+ {
235
+ "id": "note-2-bg",
236
+ "type": "rect",
237
+ "x": 0,
238
+ "y": 0,
239
+ "width": "{{round(canvas.width * 0.62)}}",
240
+ "height": "{{round(min(canvas.width, canvas.height) * 0.135)}}",
241
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
242
+ "fill": "rgba(255,255,255,0.13)",
243
+ "stroke": "rgba(255,255,255,0.38)",
244
+ "strokeWidth": 2,
245
+ "shadow": {
246
+ "color": "#00000066",
247
+ "blur": 28,
248
+ "offsetX": 0,
249
+ "offsetY": 10
250
+ }
251
+ },
252
+ {
253
+ "id": "note-2-shine",
254
+ "type": "rect",
255
+ "x": "{{round(min(canvas.width, canvas.height) * 0.014)}}",
256
+ "y": 3,
257
+ "width": "{{round(canvas.width * 0.62) - round(min(canvas.width, canvas.height) * 0.028)}}",
258
+ "height": 3,
259
+ "radius": 2,
260
+ "fill": "rgba(255,255,255,0.45)"
261
+ },
262
+ {
263
+ "id": "icon-disc",
264
+ "type": "circle",
265
+ "x": "{{round(min(canvas.width, canvas.height) * 0.055)}}",
266
+ "y": "{{round(min(canvas.width, canvas.height) * 0.0675)}}",
267
+ "width": "{{round(min(canvas.width, canvas.height) * 0.07)}}",
268
+ "fill": "{{accent}}"
269
+ },
270
+ {
271
+ "id": "icon",
272
+ "type": "path",
273
+ "d": "M5 12.5 L10 17.5 L19 7",
274
+ "width": 24,
275
+ "height": 24,
276
+ "scale": "{{min(canvas.width, canvas.height) * 0.034 / 24}}",
277
+ "stroke": "#ffffff",
278
+ "strokeWidth": 3,
279
+ "lineCap": "round",
280
+ "lineJoin": "round",
281
+ "x": "{{round(min(canvas.width, canvas.height) * 0.038)}}",
282
+ "y": "{{round(min(canvas.width, canvas.height) * 0.0505)}}"
283
+ },
284
+ {
285
+ "id": "t",
286
+ "type": "text",
287
+ "content": "{{title2}}",
288
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
289
+ "color": "#ffffff",
290
+ "x": "{{round(min(canvas.width, canvas.height) * 0.105)}}",
291
+ "y": "{{round(min(canvas.width, canvas.height) * 0.028)}}",
292
+ "fontWeight": 700,
293
+ "maxWidth": "{{round(canvas.width * 0.46)}}",
294
+ "maxLines": 1,
295
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
296
+ },
297
+ {
298
+ "id": "b",
299
+ "type": "text",
300
+ "content": "{{body2}}",
301
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.026)}}",
302
+ "color": "{{muted}}",
303
+ "x": "{{round(min(canvas.width, canvas.height) * 0.105)}}",
304
+ "y": "{{round(min(canvas.width, canvas.height) * 0.07)}}",
305
+ "maxWidth": "{{round(canvas.width * 0.46)}}",
306
+ "maxLines": 1,
307
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.018)}}"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "id": "note-3",
313
+ "type": "group",
314
+ "x": "{{round(canvas.width * 0.06)}}",
315
+ "y": "{{round(canvas.height * 0.05)}}",
316
+ "width": "{{round(canvas.width * 0.62)}}",
317
+ "height": "{{round(min(canvas.width, canvas.height) * 0.135)}}",
318
+ "animations": [
319
+ {
320
+ "property": "y",
321
+ "keyframes": [
322
+ {
323
+ "frame": 0,
324
+ "value": "{{-round(min(canvas.width, canvas.height) * 0.2)}}"
325
+ },
326
+ {
327
+ "frame": 82,
328
+ "value": "{{-round(min(canvas.width, canvas.height) * 0.2)}}",
329
+ "easing": "land"
330
+ },
331
+ {
332
+ "frame": 96,
333
+ "value": "{{round(canvas.height * 0.05) + 0 * round(min(canvas.width, canvas.height) * 0.155)}}",
334
+ "easing": "land"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "property": "opacity",
340
+ "keyframes": [
341
+ {
342
+ "frame": 0,
343
+ "value": 0
344
+ },
345
+ {
346
+ "frame": 82,
347
+ "value": 0
348
+ },
349
+ {
350
+ "frame": 92,
351
+ "value": 1
352
+ }
353
+ ]
354
+ }
355
+ ],
356
+ "children": [
357
+ {
358
+ "id": "note-3-bg",
359
+ "type": "rect",
360
+ "x": 0,
361
+ "y": 0,
362
+ "width": "{{round(canvas.width * 0.62)}}",
363
+ "height": "{{round(min(canvas.width, canvas.height) * 0.135)}}",
364
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
365
+ "fill": "rgba(255,255,255,0.13)",
366
+ "stroke": "rgba(255,255,255,0.38)",
367
+ "strokeWidth": 2,
368
+ "shadow": {
369
+ "color": "#00000066",
370
+ "blur": 28,
371
+ "offsetX": 0,
372
+ "offsetY": 10
373
+ }
374
+ },
375
+ {
376
+ "id": "note-3-shine",
377
+ "type": "rect",
378
+ "x": "{{round(min(canvas.width, canvas.height) * 0.014)}}",
379
+ "y": 3,
380
+ "width": "{{round(canvas.width * 0.62) - round(min(canvas.width, canvas.height) * 0.028)}}",
381
+ "height": 3,
382
+ "radius": 2,
383
+ "fill": "rgba(255,255,255,0.45)"
384
+ },
385
+ {
386
+ "id": "icon-disc",
387
+ "type": "circle",
388
+ "x": "{{round(min(canvas.width, canvas.height) * 0.055)}}",
389
+ "y": "{{round(min(canvas.width, canvas.height) * 0.0675)}}",
390
+ "width": "{{round(min(canvas.width, canvas.height) * 0.07)}}",
391
+ "fill": "{{accent}}"
392
+ },
393
+ {
394
+ "id": "icon",
395
+ "type": "path",
396
+ "d": "M5 12.5 L10 17.5 L19 7",
397
+ "width": 24,
398
+ "height": 24,
399
+ "scale": "{{min(canvas.width, canvas.height) * 0.034 / 24}}",
400
+ "stroke": "#ffffff",
401
+ "strokeWidth": 3,
402
+ "lineCap": "round",
403
+ "lineJoin": "round",
404
+ "x": "{{round(min(canvas.width, canvas.height) * 0.038)}}",
405
+ "y": "{{round(min(canvas.width, canvas.height) * 0.0505)}}"
406
+ },
407
+ {
408
+ "id": "t",
409
+ "type": "text",
410
+ "content": "{{title3}}",
411
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
412
+ "color": "#ffffff",
413
+ "x": "{{round(min(canvas.width, canvas.height) * 0.105)}}",
414
+ "y": "{{round(min(canvas.width, canvas.height) * 0.028)}}",
415
+ "fontWeight": 700,
416
+ "maxWidth": "{{round(canvas.width * 0.46)}}",
417
+ "maxLines": 1,
418
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
419
+ },
420
+ {
421
+ "id": "b",
422
+ "type": "text",
423
+ "content": "{{body3}}",
424
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.026)}}",
425
+ "color": "{{muted}}",
426
+ "x": "{{round(min(canvas.width, canvas.height) * 0.105)}}",
427
+ "y": "{{round(min(canvas.width, canvas.height) * 0.07)}}",
428
+ "maxWidth": "{{round(canvas.width * 0.46)}}",
429
+ "maxLines": 1,
430
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.018)}}"
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "id": "sfx-1",
436
+ "type": "audio",
437
+ "src": "sfx:pop",
438
+ "startFrame": 16,
439
+ "volume": 0.35
440
+ },
441
+ {
442
+ "id": "sfx-2",
443
+ "type": "audio",
444
+ "src": "sfx:pop",
445
+ "startFrame": 56,
446
+ "volume": 0.35
447
+ },
448
+ {
449
+ "id": "sfx-3",
450
+ "type": "audio",
451
+ "src": "sfx:pop",
452
+ "startFrame": 96,
453
+ "volume": 0.35
454
+ }
455
+ ]
456
+ }
@@ -0,0 +1,143 @@
1
+ {
2
+ "id": "fx-progress-ring",
3
+ "name": "Progress ring",
4
+ "category": "effect",
5
+ "kind": "overlay",
6
+ "durationFrames": 120,
7
+ "description": "A glowing ring that draws itself round to a percentage, with the number counting up in the middle and a label under it.",
8
+ "params": {
9
+ "value": {
10
+ "type": "number",
11
+ "default": 87
12
+ },
13
+ "label": {
14
+ "type": "string",
15
+ "default": "RENDER COMPLETE"
16
+ }
17
+ },
18
+ "layers": [
19
+ {
20
+ "id": "ring-track",
21
+ "type": "circle",
22
+ "x": "{{round(canvas.width * 0.5)}}",
23
+ "y": "{{round(canvas.height * 0.15)}}",
24
+ "width": "{{round(min(canvas.width, canvas.height) * 0.34)}}",
25
+ "fill": "transparent",
26
+ "stroke": "rgba(255,255,255,0.18)",
27
+ "strokeWidth": "{{round(min(canvas.width, canvas.height) * 0.014)}}"
28
+ },
29
+ {
30
+ "id": "ring",
31
+ "type": "path",
32
+ "d": "{{'M 0 ' + string(round(min(canvas.width, canvas.height) * 0.17)) + ' a ' + string(round(min(canvas.width, canvas.height) * 0.17)) + ' ' + string(round(min(canvas.width, canvas.height) * 0.17)) + ' 0 1 1 ' + string(round(min(canvas.width, canvas.height) * 0.34)) + ' 0 a ' + string(round(min(canvas.width, canvas.height) * 0.17)) + ' ' + string(round(min(canvas.width, canvas.height) * 0.17)) + ' 0 1 1 -' + string(round(min(canvas.width, canvas.height) * 0.34)) + ' 0'}}",
33
+ "x": "{{round(canvas.width * 0.5) - round(min(canvas.width, canvas.height) * 0.17)}}",
34
+ "y": "{{round(canvas.height * 0.15) - round(min(canvas.width, canvas.height) * 0.17)}}",
35
+ "width": "{{round(min(canvas.width, canvas.height) * 0.34)}}",
36
+ "height": "{{round(min(canvas.width, canvas.height) * 0.34)}}",
37
+ "fill": "transparent",
38
+ "stroke": "{{accent}}",
39
+ "strokeWidth": "{{round(min(canvas.width, canvas.height) * 0.014)}}",
40
+ "lineCap": "round",
41
+ "rotation": -90,
42
+ "originX": "center",
43
+ "originY": "center",
44
+ "shadow": {
45
+ "color": "#2457FF",
46
+ "blur": 22,
47
+ "offsetX": 0,
48
+ "offsetY": 0
49
+ },
50
+ "animations": [
51
+ {
52
+ "property": "trimEnd",
53
+ "keyframes": [
54
+ {
55
+ "frame": 8,
56
+ "value": 0
57
+ },
58
+ {
59
+ "frame": 78,
60
+ "value": "{{value / 100}}",
61
+ "easing": "land"
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "id": "pct",
69
+ "type": "html",
70
+ "width": "{{round(min(canvas.width, canvas.height) * 0.34)}}",
71
+ "height": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
72
+ "startFrame": 8,
73
+ "html": "<div class='n'></div>",
74
+ "css": ".n{font:800 {{round(min(canvas.width, canvas.height) * 0.09)}}px Inter;color:#fff;line-height:1;text-align:center}.n::before{counter-reset:n round(var(--n));content:counter(n) '%'}",
75
+ "vars": {
76
+ "--n": 0
77
+ },
78
+ "animations": [
79
+ {
80
+ "property": "--n",
81
+ "keyframes": [
82
+ {
83
+ "frame": 0,
84
+ "value": 0
85
+ },
86
+ {
87
+ "frame": 70,
88
+ "value": "{{value}}",
89
+ "easing": "land"
90
+ }
91
+ ]
92
+ }
93
+ ],
94
+ "x": "{{round(canvas.width * 0.5) - round(min(canvas.width, canvas.height) * 0.17)}}",
95
+ "y": "{{round(canvas.height * 0.15) - round(min(canvas.width, canvas.height) * 0.05)}}"
96
+ },
97
+ {
98
+ "id": "label",
99
+ "type": "text",
100
+ "content": "{{label}}",
101
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.028)}}",
102
+ "color": "{{accent2}}",
103
+ "x": "{{round(canvas.width * 0.5)}}",
104
+ "y": "{{round(canvas.height * 0.15) + round(min(canvas.width, canvas.height) * 0.2)}}",
105
+ "textAlign": "center",
106
+ "fontWeight": 800,
107
+ "letterSpacing": "{{round(min(canvas.width, canvas.height) * 0.005)}}",
108
+ "maxWidth": "{{round(canvas.width * 0.8)}}",
109
+ "maxLines": 1,
110
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.018)}}",
111
+ "startFrame": 20,
112
+ "animations": [
113
+ {
114
+ "property": "opacity",
115
+ "keyframes": [
116
+ {
117
+ "frame": 0,
118
+ "value": 0
119
+ },
120
+ {
121
+ "frame": 14,
122
+ "value": 1
123
+ }
124
+ ]
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "id": "sfx-1",
130
+ "type": "audio",
131
+ "src": "sfx:riser",
132
+ "startFrame": 4,
133
+ "volume": 0.3
134
+ },
135
+ {
136
+ "id": "sfx-2",
137
+ "type": "audio",
138
+ "src": "sfx:ding",
139
+ "startFrame": 80,
140
+ "volume": 0.3
141
+ }
142
+ ]
143
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "id": "fx-pull-out",
3
+ "name": "Pull-out reveal",
4
+ "category": "effect",
5
+ "kind": "scene",
6
+ "durationFrames": 120,
7
+ "transition": {
8
+ "type": "fade",
9
+ "durationFrames": 12
10
+ },
11
+ "description": "Starts on a close crop (1.35 times) of your footage and pulls out to the full frame in about 1.2 seconds.",
12
+ "params": {
13
+ "footage": {
14
+ "type": "string",
15
+ "default": "",
16
+ "description": "The video to put the effect on (asset id or relative path); the theme background shows without one"
17
+ }
18
+ },
19
+ "layers": [
20
+ {
21
+ "id": "bg",
22
+ "type": "rect",
23
+ "x": 0,
24
+ "y": 0,
25
+ "width": "{{canvas.width}}",
26
+ "height": "{{canvas.height}}",
27
+ "fill": "{{bg}}"
28
+ },
29
+ {
30
+ "if": "{{footage}}",
31
+ "id": "footage",
32
+ "type": "video",
33
+ "src": "{{footage}}",
34
+ "objectFit": "cover",
35
+ "x": 0,
36
+ "y": 0,
37
+ "width": "{{canvas.width}}",
38
+ "height": "{{canvas.height}}"
39
+ },
40
+ {
41
+ "id": "sfx-1",
42
+ "type": "audio",
43
+ "src": "sfx:whoosh",
44
+ "startFrame": 0,
45
+ "volume": 0.35
46
+ }
47
+ ],
48
+ "scene": {
49
+ "camera": {
50
+ "animations": [
51
+ {
52
+ "property": "zoom",
53
+ "keyframes": [
54
+ {
55
+ "frame": 0,
56
+ "value": 1.35
57
+ },
58
+ {
59
+ "frame": 36,
60
+ "value": 1,
61
+ "easing": "land"
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }