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,309 @@
1
+ {
2
+ "id": "fx-extruded-title",
3
+ "name": "Extruded title",
4
+ "category": "effect",
5
+ "kind": "overlay",
6
+ "durationFrames": 150,
7
+ "description": "A big title with a solid 3D-looking depth made of stacked copies, that turns into place. In front of the picture, not behind the subject.",
8
+ "params": {
9
+ "title": {
10
+ "type": "string",
11
+ "default": "BUILD. COMPOSE. RENDER."
12
+ }
13
+ },
14
+ "layers": [
15
+ {
16
+ "id": "extrusion",
17
+ "type": "group",
18
+ "x": 0,
19
+ "y": "{{round(canvas.height * 0.58)}}",
20
+ "width": "{{canvas.width}}",
21
+ "height": "{{round(min(canvas.width, canvas.height) * 0.4)}}",
22
+ "originX": "center",
23
+ "originY": "center",
24
+ "animations": [
25
+ {
26
+ "property": "rotation",
27
+ "keyframes": [
28
+ {
29
+ "frame": 0,
30
+ "value": -6,
31
+ "easing": "land"
32
+ },
33
+ {
34
+ "frame": 26,
35
+ "value": 0
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "property": "scale",
41
+ "keyframes": [
42
+ {
43
+ "frame": 0,
44
+ "value": 0.6,
45
+ "easing": "pop"
46
+ },
47
+ {
48
+ "frame": 22,
49
+ "value": 1
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "property": "opacity",
55
+ "keyframes": [
56
+ {
57
+ "frame": 0,
58
+ "value": 0
59
+ },
60
+ {
61
+ "frame": 8,
62
+ "value": 1
63
+ }
64
+ ]
65
+ }
66
+ ],
67
+ "children": [
68
+ {
69
+ "id": "depth-14",
70
+ "type": "text",
71
+ "content": "{{title}}",
72
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
73
+ "color": "#0f2a8a",
74
+ "x": "{{round(canvas.width * 0.5) + 14 * round(min(canvas.width, canvas.height) * 0.0035)}}",
75
+ "y": "{{14 * round(min(canvas.width, canvas.height) * 0.0035)}}",
76
+ "textAlign": "center",
77
+ "fontWeight": 900,
78
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
79
+ "maxLines": 3,
80
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
81
+ "lineHeight": 1
82
+ },
83
+ {
84
+ "id": "depth-13",
85
+ "type": "text",
86
+ "content": "{{title}}",
87
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
88
+ "color": "#0f2a8a",
89
+ "x": "{{round(canvas.width * 0.5) + 13 * round(min(canvas.width, canvas.height) * 0.0035)}}",
90
+ "y": "{{13 * round(min(canvas.width, canvas.height) * 0.0035)}}",
91
+ "textAlign": "center",
92
+ "fontWeight": 900,
93
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
94
+ "maxLines": 3,
95
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
96
+ "lineHeight": 1
97
+ },
98
+ {
99
+ "id": "depth-12",
100
+ "type": "text",
101
+ "content": "{{title}}",
102
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
103
+ "color": "#0f2a8a",
104
+ "x": "{{round(canvas.width * 0.5) + 12 * round(min(canvas.width, canvas.height) * 0.0035)}}",
105
+ "y": "{{12 * round(min(canvas.width, canvas.height) * 0.0035)}}",
106
+ "textAlign": "center",
107
+ "fontWeight": 900,
108
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
109
+ "maxLines": 3,
110
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
111
+ "lineHeight": 1
112
+ },
113
+ {
114
+ "id": "depth-11",
115
+ "type": "text",
116
+ "content": "{{title}}",
117
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
118
+ "color": "#0f2a8a",
119
+ "x": "{{round(canvas.width * 0.5) + 11 * round(min(canvas.width, canvas.height) * 0.0035)}}",
120
+ "y": "{{11 * round(min(canvas.width, canvas.height) * 0.0035)}}",
121
+ "textAlign": "center",
122
+ "fontWeight": 900,
123
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
124
+ "maxLines": 3,
125
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
126
+ "lineHeight": 1
127
+ },
128
+ {
129
+ "id": "depth-10",
130
+ "type": "text",
131
+ "content": "{{title}}",
132
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
133
+ "color": "#0f2a8a",
134
+ "x": "{{round(canvas.width * 0.5) + 10 * round(min(canvas.width, canvas.height) * 0.0035)}}",
135
+ "y": "{{10 * round(min(canvas.width, canvas.height) * 0.0035)}}",
136
+ "textAlign": "center",
137
+ "fontWeight": 900,
138
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
139
+ "maxLines": 3,
140
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
141
+ "lineHeight": 1
142
+ },
143
+ {
144
+ "id": "depth-9",
145
+ "type": "text",
146
+ "content": "{{title}}",
147
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
148
+ "color": "#0f2a8a",
149
+ "x": "{{round(canvas.width * 0.5) + 9 * round(min(canvas.width, canvas.height) * 0.0035)}}",
150
+ "y": "{{9 * round(min(canvas.width, canvas.height) * 0.0035)}}",
151
+ "textAlign": "center",
152
+ "fontWeight": 900,
153
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
154
+ "maxLines": 3,
155
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
156
+ "lineHeight": 1
157
+ },
158
+ {
159
+ "id": "depth-8",
160
+ "type": "text",
161
+ "content": "{{title}}",
162
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
163
+ "color": "#0f2a8a",
164
+ "x": "{{round(canvas.width * 0.5) + 8 * round(min(canvas.width, canvas.height) * 0.0035)}}",
165
+ "y": "{{8 * round(min(canvas.width, canvas.height) * 0.0035)}}",
166
+ "textAlign": "center",
167
+ "fontWeight": 900,
168
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
169
+ "maxLines": 3,
170
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
171
+ "lineHeight": 1
172
+ },
173
+ {
174
+ "id": "depth-7",
175
+ "type": "text",
176
+ "content": "{{title}}",
177
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
178
+ "color": "#1740d6",
179
+ "x": "{{round(canvas.width * 0.5) + 7 * round(min(canvas.width, canvas.height) * 0.0035)}}",
180
+ "y": "{{7 * round(min(canvas.width, canvas.height) * 0.0035)}}",
181
+ "textAlign": "center",
182
+ "fontWeight": 900,
183
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
184
+ "maxLines": 3,
185
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
186
+ "lineHeight": 1
187
+ },
188
+ {
189
+ "id": "depth-6",
190
+ "type": "text",
191
+ "content": "{{title}}",
192
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
193
+ "color": "#1740d6",
194
+ "x": "{{round(canvas.width * 0.5) + 6 * round(min(canvas.width, canvas.height) * 0.0035)}}",
195
+ "y": "{{6 * round(min(canvas.width, canvas.height) * 0.0035)}}",
196
+ "textAlign": "center",
197
+ "fontWeight": 900,
198
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
199
+ "maxLines": 3,
200
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
201
+ "lineHeight": 1
202
+ },
203
+ {
204
+ "id": "depth-5",
205
+ "type": "text",
206
+ "content": "{{title}}",
207
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
208
+ "color": "#1740d6",
209
+ "x": "{{round(canvas.width * 0.5) + 5 * round(min(canvas.width, canvas.height) * 0.0035)}}",
210
+ "y": "{{5 * round(min(canvas.width, canvas.height) * 0.0035)}}",
211
+ "textAlign": "center",
212
+ "fontWeight": 900,
213
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
214
+ "maxLines": 3,
215
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
216
+ "lineHeight": 1
217
+ },
218
+ {
219
+ "id": "depth-4",
220
+ "type": "text",
221
+ "content": "{{title}}",
222
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
223
+ "color": "#1740d6",
224
+ "x": "{{round(canvas.width * 0.5) + 4 * round(min(canvas.width, canvas.height) * 0.0035)}}",
225
+ "y": "{{4 * round(min(canvas.width, canvas.height) * 0.0035)}}",
226
+ "textAlign": "center",
227
+ "fontWeight": 900,
228
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
229
+ "maxLines": 3,
230
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
231
+ "lineHeight": 1
232
+ },
233
+ {
234
+ "id": "depth-3",
235
+ "type": "text",
236
+ "content": "{{title}}",
237
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
238
+ "color": "#1740d6",
239
+ "x": "{{round(canvas.width * 0.5) + 3 * round(min(canvas.width, canvas.height) * 0.0035)}}",
240
+ "y": "{{3 * round(min(canvas.width, canvas.height) * 0.0035)}}",
241
+ "textAlign": "center",
242
+ "fontWeight": 900,
243
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
244
+ "maxLines": 3,
245
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
246
+ "lineHeight": 1
247
+ },
248
+ {
249
+ "id": "depth-2",
250
+ "type": "text",
251
+ "content": "{{title}}",
252
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
253
+ "color": "#1740d6",
254
+ "x": "{{round(canvas.width * 0.5) + 2 * round(min(canvas.width, canvas.height) * 0.0035)}}",
255
+ "y": "{{2 * round(min(canvas.width, canvas.height) * 0.0035)}}",
256
+ "textAlign": "center",
257
+ "fontWeight": 900,
258
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
259
+ "maxLines": 3,
260
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
261
+ "lineHeight": 1
262
+ },
263
+ {
264
+ "id": "depth-1",
265
+ "type": "text",
266
+ "content": "{{title}}",
267
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
268
+ "color": "#1740d6",
269
+ "x": "{{round(canvas.width * 0.5) + 1 * round(min(canvas.width, canvas.height) * 0.0035)}}",
270
+ "y": "{{1 * round(min(canvas.width, canvas.height) * 0.0035)}}",
271
+ "textAlign": "center",
272
+ "fontWeight": 900,
273
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
274
+ "maxLines": 3,
275
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
276
+ "lineHeight": 1
277
+ },
278
+ {
279
+ "id": "front",
280
+ "type": "text",
281
+ "content": "{{title}}",
282
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.1)}}",
283
+ "color": "#ffffff",
284
+ "x": "{{round(canvas.width * 0.5)}}",
285
+ "y": 0,
286
+ "textAlign": "center",
287
+ "fontWeight": 900,
288
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
289
+ "maxLines": 3,
290
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
291
+ "lineHeight": 1,
292
+ "shadow": {
293
+ "color": "#00000099",
294
+ "blur": 24,
295
+ "offsetX": 0,
296
+ "offsetY": 18
297
+ }
298
+ }
299
+ ]
300
+ },
301
+ {
302
+ "id": "sfx-1",
303
+ "type": "audio",
304
+ "src": "sfx:thump",
305
+ "startFrame": 6,
306
+ "volume": 0.45
307
+ }
308
+ ]
309
+ }
@@ -0,0 +1,239 @@
1
+ {
2
+ "id": "fx-gallery",
3
+ "name": "Effects gallery",
4
+ "category": "effect",
5
+ "kind": "scene",
6
+ "durationFrames": 180,
7
+ "transition": {
8
+ "type": "fade",
9
+ "durationFrames": 12
10
+ },
11
+ "description": "A numbered 4 by 3 grid of twelve labelled tiles that appear one after another; the tiles are placeholders for previews.",
12
+ "params": {
13
+ "title": {
14
+ "type": "string",
15
+ "default": "THE EFFECT LIBRARY"
16
+ },
17
+ "tiles": {
18
+ "type": "list",
19
+ "items": {
20
+ "label": {
21
+ "type": "string",
22
+ "default": ""
23
+ }
24
+ },
25
+ "default": [
26
+ {
27
+ "label": "Glass cards"
28
+ },
29
+ {
30
+ "label": "Duo title"
31
+ },
32
+ {
33
+ "label": "Icon orbit"
34
+ },
35
+ {
36
+ "label": "Stats split"
37
+ },
38
+ {
39
+ "label": "Spotlight"
40
+ },
41
+ {
42
+ "label": "Checklist"
43
+ },
44
+ {
45
+ "label": "Timeline"
46
+ },
47
+ {
48
+ "label": "Command bridge"
49
+ },
50
+ {
51
+ "label": "Captions"
52
+ },
53
+ {
54
+ "label": "Highlighter"
55
+ },
56
+ {
57
+ "label": "Glitch title"
58
+ },
59
+ {
60
+ "label": "Light leak"
61
+ }
62
+ ]
63
+ }
64
+ },
65
+ "layers": [
66
+ {
67
+ "id": "bg",
68
+ "type": "rect",
69
+ "x": 0,
70
+ "y": 0,
71
+ "width": "{{canvas.width}}",
72
+ "height": "{{canvas.height}}",
73
+ "fill": "{{bg}}"
74
+ },
75
+ {
76
+ "id": "glow-0",
77
+ "type": "circle",
78
+ "x": "{{round(canvas.width * 0.2)}}",
79
+ "y": "{{round(canvas.height * 0.5)}}",
80
+ "width": "{{round(min(canvas.width, canvas.height) * 1.1)}}",
81
+ "fill": "{{accent}}",
82
+ "opacity": 0.12,
83
+ "blur": 140
84
+ },
85
+ {
86
+ "id": "glow-1",
87
+ "type": "circle",
88
+ "x": "{{round(canvas.width * 0.8)}}",
89
+ "y": "{{round(canvas.height * 0.5)}}",
90
+ "width": "{{round(min(canvas.width, canvas.height) * 1.1)}}",
91
+ "fill": "{{accent2}}",
92
+ "opacity": 0.12,
93
+ "blur": 140
94
+ },
95
+ {
96
+ "id": "title",
97
+ "type": "text",
98
+ "content": "{{title}}",
99
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.055)}}",
100
+ "color": "#ffffff",
101
+ "x": "{{round(canvas.width * 0.5)}}",
102
+ "y": "{{round(canvas.height * 0.05)}}",
103
+ "textAlign": "center",
104
+ "fontWeight": 900,
105
+ "maxWidth": "{{round(canvas.width * 0.9)}}",
106
+ "maxLines": 1,
107
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.03)}}",
108
+ "startFrame": 0,
109
+ "animations": [
110
+ {
111
+ "property": "opacity",
112
+ "keyframes": [
113
+ {
114
+ "frame": 0,
115
+ "value": 0
116
+ },
117
+ {
118
+ "frame": 14,
119
+ "value": 1,
120
+ "easing": "glide"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "property": "y",
126
+ "keyframes": [
127
+ {
128
+ "frame": 0,
129
+ "value": "{{round(canvas.height * 0.05) + 20}}",
130
+ "easing": "land"
131
+ },
132
+ {
133
+ "frame": 18,
134
+ "value": "{{round(canvas.height * 0.05)}}"
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "repeat": "{{tiles}}",
142
+ "as": "t",
143
+ "each": [
144
+ {
145
+ "id": "tile-{{index}}",
146
+ "type": "group",
147
+ "x": "{{round(canvas.width * 0.06) + (index % 4) * round(canvas.width * 0.2275)}}",
148
+ "y": "{{round(canvas.height * 0.16) + floor(index / 4) * round(canvas.height * 0.265)}}",
149
+ "width": "{{round(canvas.width * 0.2)}}",
150
+ "height": "{{round(canvas.height * 0.235)}}",
151
+ "startFrame": "{{10 + index * 6}}",
152
+ "originX": "center",
153
+ "originY": "center",
154
+ "animations": [
155
+ {
156
+ "property": "opacity",
157
+ "keyframes": [
158
+ {
159
+ "frame": 0,
160
+ "value": 0
161
+ },
162
+ {
163
+ "frame": 10,
164
+ "value": 1
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "property": "scale",
170
+ "keyframes": [
171
+ {
172
+ "frame": 0,
173
+ "value": 0.8,
174
+ "easing": "pop"
175
+ },
176
+ {
177
+ "frame": 16,
178
+ "value": 1
179
+ }
180
+ ]
181
+ }
182
+ ],
183
+ "children": [
184
+ {
185
+ "id": "tile-bg",
186
+ "type": "rect",
187
+ "x": 0,
188
+ "y": 0,
189
+ "width": "{{round(canvas.width * 0.2)}}",
190
+ "height": "{{round(canvas.height * 0.235)}}",
191
+ "radius": "{{round(min(canvas.width, canvas.height) * 0.02)}}",
192
+ "fill": "rgba(255,255,255,0.1)",
193
+ "stroke": "rgba(255,255,255,0.3)",
194
+ "strokeWidth": 2
195
+ },
196
+ {
197
+ "id": "num",
198
+ "type": "text",
199
+ "content": "{{string(index + 1)}}",
200
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.06)}}",
201
+ "color": "{{accent2}}",
202
+ "x": "{{round(canvas.width * 0.1)}}",
203
+ "y": "{{round(canvas.height * 0.235) * 0.2}}",
204
+ "textAlign": "center",
205
+ "fontWeight": 900
206
+ },
207
+ {
208
+ "id": "lab",
209
+ "type": "text",
210
+ "content": "{{t.label}}",
211
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.022)}}",
212
+ "color": "#ffffff",
213
+ "x": "{{round(canvas.width * 0.1)}}",
214
+ "y": "{{round(canvas.height * 0.235) * 0.64}}",
215
+ "textAlign": "center",
216
+ "fontWeight": 700,
217
+ "maxWidth": "{{round(canvas.width * 0.18)}}",
218
+ "maxLines": 2,
219
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.014)}}"
220
+ }
221
+ ]
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "repeat": "{{tiles}}",
227
+ "as": "u",
228
+ "each": [
229
+ {
230
+ "id": "sfx-{{index}}",
231
+ "type": "audio",
232
+ "src": "sfx:tick",
233
+ "startFrame": "{{10 + index * 6}}",
234
+ "volume": 0.2
235
+ }
236
+ ]
237
+ }
238
+ ]
239
+ }