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,443 @@
1
+ {
2
+ "id": "fx-map-journey",
3
+ "name": "Map pin journey",
4
+ "category": "effect",
5
+ "kind": "scene",
6
+ "durationFrames": 180,
7
+ "transition": {
8
+ "type": "fade",
9
+ "durationFrames": 12
10
+ },
11
+ "description": "A stylised map (grid and soft land shapes, not real geography) with a route drawing itself from one place to another and two pins dropping in. Give the places and where they sit on the map.",
12
+ "params": {
13
+ "from": {
14
+ "type": "string",
15
+ "default": "San Francisco"
16
+ },
17
+ "to": {
18
+ "type": "string",
19
+ "default": "Tokyo"
20
+ },
21
+ "fromX": {
22
+ "type": "number",
23
+ "default": 0.2,
24
+ "description": "Left to right, 0 to 1"
25
+ },
26
+ "fromY": {
27
+ "type": "number",
28
+ "default": 0.55,
29
+ "description": "Top to bottom, 0 to 1"
30
+ },
31
+ "toX": {
32
+ "type": "number",
33
+ "default": 0.8
34
+ },
35
+ "toY": {
36
+ "type": "number",
37
+ "default": 0.4
38
+ }
39
+ },
40
+ "layers": [
41
+ {
42
+ "id": "bg",
43
+ "type": "rect",
44
+ "x": 0,
45
+ "y": 0,
46
+ "width": "{{canvas.width}}",
47
+ "height": "{{canvas.height}}",
48
+ "fill": "{{bg}}"
49
+ },
50
+ {
51
+ "id": "grid-v0",
52
+ "type": "rect",
53
+ "x": "{{round(canvas.width * 0.1) + 0 * round(canvas.width * 0.1)}}",
54
+ "y": 0,
55
+ "width": 2,
56
+ "height": "{{canvas.height}}",
57
+ "fill": "rgba(255,255,255,0.07)"
58
+ },
59
+ {
60
+ "id": "grid-v1",
61
+ "type": "rect",
62
+ "x": "{{round(canvas.width * 0.1) + 1 * round(canvas.width * 0.1)}}",
63
+ "y": 0,
64
+ "width": 2,
65
+ "height": "{{canvas.height}}",
66
+ "fill": "rgba(255,255,255,0.07)"
67
+ },
68
+ {
69
+ "id": "grid-v2",
70
+ "type": "rect",
71
+ "x": "{{round(canvas.width * 0.1) + 2 * round(canvas.width * 0.1)}}",
72
+ "y": 0,
73
+ "width": 2,
74
+ "height": "{{canvas.height}}",
75
+ "fill": "rgba(255,255,255,0.07)"
76
+ },
77
+ {
78
+ "id": "grid-v3",
79
+ "type": "rect",
80
+ "x": "{{round(canvas.width * 0.1) + 3 * round(canvas.width * 0.1)}}",
81
+ "y": 0,
82
+ "width": 2,
83
+ "height": "{{canvas.height}}",
84
+ "fill": "rgba(255,255,255,0.07)"
85
+ },
86
+ {
87
+ "id": "grid-v4",
88
+ "type": "rect",
89
+ "x": "{{round(canvas.width * 0.1) + 4 * round(canvas.width * 0.1)}}",
90
+ "y": 0,
91
+ "width": 2,
92
+ "height": "{{canvas.height}}",
93
+ "fill": "rgba(255,255,255,0.07)"
94
+ },
95
+ {
96
+ "id": "grid-v5",
97
+ "type": "rect",
98
+ "x": "{{round(canvas.width * 0.1) + 5 * round(canvas.width * 0.1)}}",
99
+ "y": 0,
100
+ "width": 2,
101
+ "height": "{{canvas.height}}",
102
+ "fill": "rgba(255,255,255,0.07)"
103
+ },
104
+ {
105
+ "id": "grid-v6",
106
+ "type": "rect",
107
+ "x": "{{round(canvas.width * 0.1) + 6 * round(canvas.width * 0.1)}}",
108
+ "y": 0,
109
+ "width": 2,
110
+ "height": "{{canvas.height}}",
111
+ "fill": "rgba(255,255,255,0.07)"
112
+ },
113
+ {
114
+ "id": "grid-v7",
115
+ "type": "rect",
116
+ "x": "{{round(canvas.width * 0.1) + 7 * round(canvas.width * 0.1)}}",
117
+ "y": 0,
118
+ "width": 2,
119
+ "height": "{{canvas.height}}",
120
+ "fill": "rgba(255,255,255,0.07)"
121
+ },
122
+ {
123
+ "id": "grid-v8",
124
+ "type": "rect",
125
+ "x": "{{round(canvas.width * 0.1) + 8 * round(canvas.width * 0.1)}}",
126
+ "y": 0,
127
+ "width": 2,
128
+ "height": "{{canvas.height}}",
129
+ "fill": "rgba(255,255,255,0.07)"
130
+ },
131
+ {
132
+ "id": "grid-h0",
133
+ "type": "rect",
134
+ "x": 0,
135
+ "y": "{{round(canvas.height * 0.1) + 0 * round(canvas.height * 0.1)}}",
136
+ "width": "{{canvas.width}}",
137
+ "height": 2,
138
+ "fill": "rgba(255,255,255,0.07)"
139
+ },
140
+ {
141
+ "id": "grid-h1",
142
+ "type": "rect",
143
+ "x": 0,
144
+ "y": "{{round(canvas.height * 0.1) + 1 * round(canvas.height * 0.1)}}",
145
+ "width": "{{canvas.width}}",
146
+ "height": 2,
147
+ "fill": "rgba(255,255,255,0.07)"
148
+ },
149
+ {
150
+ "id": "grid-h2",
151
+ "type": "rect",
152
+ "x": 0,
153
+ "y": "{{round(canvas.height * 0.1) + 2 * round(canvas.height * 0.1)}}",
154
+ "width": "{{canvas.width}}",
155
+ "height": 2,
156
+ "fill": "rgba(255,255,255,0.07)"
157
+ },
158
+ {
159
+ "id": "grid-h3",
160
+ "type": "rect",
161
+ "x": 0,
162
+ "y": "{{round(canvas.height * 0.1) + 3 * round(canvas.height * 0.1)}}",
163
+ "width": "{{canvas.width}}",
164
+ "height": 2,
165
+ "fill": "rgba(255,255,255,0.07)"
166
+ },
167
+ {
168
+ "id": "grid-h4",
169
+ "type": "rect",
170
+ "x": 0,
171
+ "y": "{{round(canvas.height * 0.1) + 4 * round(canvas.height * 0.1)}}",
172
+ "width": "{{canvas.width}}",
173
+ "height": 2,
174
+ "fill": "rgba(255,255,255,0.07)"
175
+ },
176
+ {
177
+ "id": "grid-h5",
178
+ "type": "rect",
179
+ "x": 0,
180
+ "y": "{{round(canvas.height * 0.1) + 5 * round(canvas.height * 0.1)}}",
181
+ "width": "{{canvas.width}}",
182
+ "height": 2,
183
+ "fill": "rgba(255,255,255,0.07)"
184
+ },
185
+ {
186
+ "id": "grid-h6",
187
+ "type": "rect",
188
+ "x": 0,
189
+ "y": "{{round(canvas.height * 0.1) + 6 * round(canvas.height * 0.1)}}",
190
+ "width": "{{canvas.width}}",
191
+ "height": 2,
192
+ "fill": "rgba(255,255,255,0.07)"
193
+ },
194
+ {
195
+ "id": "grid-h7",
196
+ "type": "rect",
197
+ "x": 0,
198
+ "y": "{{round(canvas.height * 0.1) + 7 * round(canvas.height * 0.1)}}",
199
+ "width": "{{canvas.width}}",
200
+ "height": 2,
201
+ "fill": "rgba(255,255,255,0.07)"
202
+ },
203
+ {
204
+ "id": "grid-h8",
205
+ "type": "rect",
206
+ "x": 0,
207
+ "y": "{{round(canvas.height * 0.1) + 8 * round(canvas.height * 0.1)}}",
208
+ "width": "{{canvas.width}}",
209
+ "height": 2,
210
+ "fill": "rgba(255,255,255,0.07)"
211
+ },
212
+ {
213
+ "id": "land-0",
214
+ "type": "circle",
215
+ "x": "{{round(canvas.width * 0.12)}}",
216
+ "y": "{{round(canvas.height * 0.5)}}",
217
+ "width": "{{round(min(canvas.width, canvas.height) * 0.41600000000000004)}}",
218
+ "fill": "rgba(255,255,255,0.06)",
219
+ "blur": 6
220
+ },
221
+ {
222
+ "id": "land-1",
223
+ "type": "circle",
224
+ "x": "{{round(canvas.width * 0.6)}}",
225
+ "y": "{{round(canvas.height * 0.38)}}",
226
+ "width": "{{round(min(canvas.width, canvas.height) * 0.544)}}",
227
+ "fill": "rgba(255,255,255,0.06)",
228
+ "blur": 6
229
+ },
230
+ {
231
+ "id": "land-2",
232
+ "type": "circle",
233
+ "x": "{{round(canvas.width * 0.4)}}",
234
+ "y": "{{round(canvas.height * 0.72)}}",
235
+ "width": "{{round(min(canvas.width, canvas.height) * 0.256)}}",
236
+ "fill": "rgba(255,255,255,0.06)",
237
+ "blur": 6
238
+ },
239
+ {
240
+ "id": "route",
241
+ "type": "path",
242
+ "d": "{{\"M \" + string(round(canvas.width * fromX)) + \" \" + string(round(canvas.height * fromY)) + \" Q \" + string(round(canvas.width * (fromX + toX) / 2)) + \" \" + string(round(canvas.height * (min(fromY, toY) - 0.18))) + \" \" + string(round(canvas.width * toX)) + \" \" + string(round(canvas.height * toY))}}",
243
+ "x": 0,
244
+ "y": 0,
245
+ "width": "{{canvas.width}}",
246
+ "height": "{{canvas.height}}",
247
+ "stroke": "{{accent}}",
248
+ "strokeWidth": 6,
249
+ "lineCap": "round",
250
+ "fill": "transparent",
251
+ "shadow": {
252
+ "color": "#2457FF",
253
+ "blur": 16,
254
+ "offsetX": 0,
255
+ "offsetY": 0
256
+ },
257
+ "startFrame": 30,
258
+ "animations": [
259
+ {
260
+ "property": "trimEnd",
261
+ "keyframes": [
262
+ {
263
+ "frame": 0,
264
+ "value": 0
265
+ },
266
+ {
267
+ "frame": 90,
268
+ "value": 1,
269
+ "easing": "glide"
270
+ }
271
+ ]
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "id": "pin-from",
277
+ "type": "group",
278
+ "x": "{{round(canvas.width * fromX)}}",
279
+ "y": "{{round(canvas.height * fromY)}}",
280
+ "startFrame": 14,
281
+ "animations": [
282
+ {
283
+ "property": "opacity",
284
+ "keyframes": [
285
+ {
286
+ "frame": 0,
287
+ "value": 0
288
+ },
289
+ {
290
+ "frame": 8,
291
+ "value": 1
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "property": "scale",
297
+ "keyframes": [
298
+ {
299
+ "frame": 0,
300
+ "value": 0.2,
301
+ "easing": "pop"
302
+ },
303
+ {
304
+ "frame": 16,
305
+ "value": 1
306
+ }
307
+ ]
308
+ }
309
+ ],
310
+ "originX": 0,
311
+ "originY": 0,
312
+ "children": [
313
+ {
314
+ "id": "halo",
315
+ "type": "circle",
316
+ "x": 0,
317
+ "y": 0,
318
+ "width": "{{round(min(canvas.width, canvas.height) * 0.09)}}",
319
+ "fill": "{{accent}}",
320
+ "opacity": 0.3
321
+ },
322
+ {
323
+ "id": "dot",
324
+ "type": "circle",
325
+ "x": 0,
326
+ "y": 0,
327
+ "width": "{{round(min(canvas.width, canvas.height) * 0.035)}}",
328
+ "fill": "#ffffff",
329
+ "stroke": "{{accent}}",
330
+ "strokeWidth": 6
331
+ },
332
+ {
333
+ "id": "name",
334
+ "type": "text",
335
+ "content": "{{from}}",
336
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.032)}}",
337
+ "color": "#ffffff",
338
+ "x": 0,
339
+ "y": "{{round(min(canvas.width, canvas.height) * 0.055)}}",
340
+ "textAlign": "center",
341
+ "fontWeight": 800,
342
+ "maxWidth": "{{round(canvas.width * 0.4)}}",
343
+ "maxLines": 1,
344
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "id": "pin-to",
350
+ "type": "group",
351
+ "x": "{{round(canvas.width * toX)}}",
352
+ "y": "{{round(canvas.height * toY)}}",
353
+ "startFrame": 120,
354
+ "animations": [
355
+ {
356
+ "property": "opacity",
357
+ "keyframes": [
358
+ {
359
+ "frame": 0,
360
+ "value": 0
361
+ },
362
+ {
363
+ "frame": 8,
364
+ "value": 1
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "property": "scale",
370
+ "keyframes": [
371
+ {
372
+ "frame": 0,
373
+ "value": 0.2,
374
+ "easing": "pop"
375
+ },
376
+ {
377
+ "frame": 16,
378
+ "value": 1
379
+ }
380
+ ]
381
+ }
382
+ ],
383
+ "originX": 0,
384
+ "originY": 0,
385
+ "children": [
386
+ {
387
+ "id": "halo",
388
+ "type": "circle",
389
+ "x": 0,
390
+ "y": 0,
391
+ "width": "{{round(min(canvas.width, canvas.height) * 0.09)}}",
392
+ "fill": "{{accent}}",
393
+ "opacity": 0.3
394
+ },
395
+ {
396
+ "id": "dot",
397
+ "type": "circle",
398
+ "x": 0,
399
+ "y": 0,
400
+ "width": "{{round(min(canvas.width, canvas.height) * 0.035)}}",
401
+ "fill": "#ffffff",
402
+ "stroke": "{{accent}}",
403
+ "strokeWidth": 6
404
+ },
405
+ {
406
+ "id": "name",
407
+ "type": "text",
408
+ "content": "{{to}}",
409
+ "fontSize": "{{round(min(canvas.width, canvas.height) * 0.032)}}",
410
+ "color": "#ffffff",
411
+ "x": 0,
412
+ "y": "{{round(min(canvas.width, canvas.height) * 0.055)}}",
413
+ "textAlign": "center",
414
+ "fontWeight": 800,
415
+ "maxWidth": "{{round(canvas.width * 0.4)}}",
416
+ "maxLines": 1,
417
+ "minFontSize": "{{round(min(canvas.width, canvas.height) * 0.02)}}"
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "id": "sfx-1",
423
+ "type": "audio",
424
+ "src": "sfx:pop",
425
+ "startFrame": 14,
426
+ "volume": 0.35
427
+ },
428
+ {
429
+ "id": "sfx-2",
430
+ "type": "audio",
431
+ "src": "sfx:whoosh",
432
+ "startFrame": 30,
433
+ "volume": 0.3
434
+ },
435
+ {
436
+ "id": "sfx-3",
437
+ "type": "audio",
438
+ "src": "sfx:ding",
439
+ "startFrame": 120,
440
+ "volume": 0.35
441
+ }
442
+ ]
443
+ }