@bydiorama/motion 0.0.0-stage → 0.4.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 (354) hide show
  1. package/CREDITS.md +62 -0
  2. package/LICENSE +21 -0
  3. package/README.md +142 -2
  4. package/catalog.json +4697 -0
  5. package/dist/npm/brief/brief.d.ts +28 -0
  6. package/dist/npm/brief/brief.js +159 -0
  7. package/dist/npm/brief/types.d.ts +75 -0
  8. package/dist/npm/brief/types.js +2 -0
  9. package/dist/npm/browser/motion.js +1039 -0
  10. package/dist/npm/browser/page.js +4821 -0
  11. package/dist/npm/browser/wizard.js +1511 -0
  12. package/dist/npm/build/design.d.ts +54 -0
  13. package/dist/npm/build/design.js +91 -0
  14. package/dist/npm/build/index.d.ts +39 -0
  15. package/dist/npm/build/index.js +66 -0
  16. package/dist/npm/build/iso.d.ts +41 -0
  17. package/dist/npm/build/iso.js +71 -0
  18. package/dist/npm/catalog.d.ts +24 -0
  19. package/dist/npm/catalog.js +23 -0
  20. package/dist/npm/cli/browser.d.ts +26 -0
  21. package/dist/npm/cli/browser.js +66 -0
  22. package/dist/npm/cli/capture.d.ts +26 -0
  23. package/dist/npm/cli/capture.js +94 -0
  24. package/dist/npm/cli/files.d.ts +14 -0
  25. package/dist/npm/cli/files.js +87 -0
  26. package/dist/npm/cli/frames.d.ts +27 -0
  27. package/dist/npm/cli/frames.js +125 -0
  28. package/dist/npm/cli/guard.d.ts +23 -0
  29. package/dist/npm/cli/guard.js +158 -0
  30. package/dist/npm/cli/library.d.ts +2 -0
  31. package/dist/npm/cli/library.js +55 -0
  32. package/dist/npm/cli/main.d.ts +17 -0
  33. package/dist/npm/cli/main.js +964 -0
  34. package/dist/npm/cli/motion.d.ts +2 -0
  35. package/dist/npm/cli/motion.js +6 -0
  36. package/dist/npm/cli/record.d.ts +36 -0
  37. package/dist/npm/cli/record.js +142 -0
  38. package/dist/npm/cli/review.d.ts +45 -0
  39. package/dist/npm/cli/review.js +139 -0
  40. package/dist/npm/cli/schema.d.ts +852 -0
  41. package/dist/npm/cli/schema.js +120 -0
  42. package/dist/npm/cli/server.d.ts +17 -0
  43. package/dist/npm/cli/server.js +135 -0
  44. package/dist/npm/core/ease.d.ts +39 -0
  45. package/dist/npm/core/ease.js +176 -0
  46. package/dist/npm/core/frame.d.ts +52 -0
  47. package/dist/npm/core/frame.js +60 -0
  48. package/dist/npm/core/shapes.d.ts +8 -0
  49. package/dist/npm/core/shapes.js +88 -0
  50. package/dist/npm/core/stagger.d.ts +19 -0
  51. package/dist/npm/core/stagger.js +77 -0
  52. package/dist/npm/core/tap.d.ts +19 -0
  53. package/dist/npm/core/tap.js +42 -0
  54. package/dist/npm/core/track.d.ts +4 -0
  55. package/dist/npm/core/track.js +23 -0
  56. package/dist/npm/dom/mount.d.ts +127 -0
  57. package/dist/npm/dom/mount.js +950 -0
  58. package/dist/npm/dom/page.d.ts +37 -0
  59. package/dist/npm/dom/page.js +77 -0
  60. package/dist/npm/dom/soundtrack.d.ts +13 -0
  61. package/dist/npm/dom/soundtrack.js +37 -0
  62. package/dist/npm/dom/stage.css.d.ts +1 -0
  63. package/dist/npm/dom/stage.css.js +44 -0
  64. package/dist/npm/dom/tokens.d.ts +10 -0
  65. package/dist/npm/dom/tokens.js +38 -0
  66. package/dist/npm/dom/ui-themes.css.d.ts +8 -0
  67. package/dist/npm/dom/ui-themes.css.js +9 -0
  68. package/dist/npm/film/beats.d.ts +64 -0
  69. package/dist/npm/film/beats.js +282 -0
  70. package/dist/npm/film/pace.d.ts +94 -0
  71. package/dist/npm/film/pace.js +396 -0
  72. package/dist/npm/film/resolve.d.ts +16 -0
  73. package/dist/npm/film/resolve.js +997 -0
  74. package/dist/npm/film/tempo.d.ts +19 -0
  75. package/dist/npm/film/tempo.js +34 -0
  76. package/dist/npm/film/tune.d.ts +17 -0
  77. package/dist/npm/film/tune.js +68 -0
  78. package/dist/npm/film/types.d.ts +416 -0
  79. package/dist/npm/film/types.js +16 -0
  80. package/dist/npm/index.d.ts +18 -0
  81. package/dist/npm/index.js +11 -0
  82. package/dist/npm/primitives/blur.d.ts +14 -0
  83. package/dist/npm/primitives/blur.js +59 -0
  84. package/dist/npm/primitives/canvas.d.ts +5 -0
  85. package/dist/npm/primitives/canvas.js +13 -0
  86. package/dist/npm/primitives/el/box.d.ts +2 -0
  87. package/dist/npm/primitives/el/box.js +24 -0
  88. package/dist/npm/primitives/el/frames.d.ts +15 -0
  89. package/dist/npm/primitives/el/frames.js +71 -0
  90. package/dist/npm/primitives/el/html.d.ts +2 -0
  91. package/dist/npm/primitives/el/html.js +14 -0
  92. package/dist/npm/primitives/el/image.d.ts +2 -0
  93. package/dist/npm/primitives/el/image.js +43 -0
  94. package/dist/npm/primitives/el/slot.d.ts +2 -0
  95. package/dist/npm/primitives/el/slot.js +25 -0
  96. package/dist/npm/primitives/el/text.d.ts +2 -0
  97. package/dist/npm/primitives/el/text.js +13 -0
  98. package/dist/npm/primitives/el/video.d.ts +6 -0
  99. package/dist/npm/primitives/el/video.js +179 -0
  100. package/dist/npm/primitives/fx/counter-roll.d.ts +2 -0
  101. package/dist/npm/primitives/fx/counter-roll.js +32 -0
  102. package/dist/npm/primitives/fx/depth-drift.d.ts +2 -0
  103. package/dist/npm/primitives/fx/depth-drift.js +44 -0
  104. package/dist/npm/primitives/fx/grid-ripple.d.ts +2 -0
  105. package/dist/npm/primitives/fx/grid-ripple.js +59 -0
  106. package/dist/npm/primitives/fx/odometer.d.ts +2 -0
  107. package/dist/npm/primitives/fx/odometer.js +80 -0
  108. package/dist/npm/primitives/fx/pan-across.d.ts +17 -0
  109. package/dist/npm/primitives/fx/pan-across.js +76 -0
  110. package/dist/npm/primitives/fx/path-draw.d.ts +2 -0
  111. package/dist/npm/primitives/fx/path-draw.js +105 -0
  112. package/dist/npm/primitives/fx/pin-drop.d.ts +2 -0
  113. package/dist/npm/primitives/fx/pin-drop.js +92 -0
  114. package/dist/npm/primitives/fx/shape-morph.d.ts +2 -0
  115. package/dist/npm/primitives/fx/shape-morph.js +65 -0
  116. package/dist/npm/primitives/fx/slow-push.d.ts +13 -0
  117. package/dist/npm/primitives/fx/slow-push.js +56 -0
  118. package/dist/npm/primitives/fx/stagger-fill.d.ts +2 -0
  119. package/dist/npm/primitives/fx/stagger-fill.js +33 -0
  120. package/dist/npm/primitives/index.d.ts +4 -0
  121. package/dist/npm/primitives/index.js +78 -0
  122. package/dist/npm/primitives/rig/browser-window.d.ts +2 -0
  123. package/dist/npm/primitives/rig/browser-window.js +142 -0
  124. package/dist/npm/primitives/rig/camera.d.ts +36 -0
  125. package/dist/npm/primitives/rig/camera.js +81 -0
  126. package/dist/npm/primitives/rig/footage-plane.d.ts +27 -0
  127. package/dist/npm/primitives/rig/footage-plane.js +257 -0
  128. package/dist/npm/primitives/rig/layer-stack.d.ts +39 -0
  129. package/dist/npm/primitives/rig/layer-stack.js +276 -0
  130. package/dist/npm/primitives/rig/orbit-ring.d.ts +2 -0
  131. package/dist/npm/primitives/rig/orbit-ring.js +59 -0
  132. package/dist/npm/primitives/rig/tab-stack.d.ts +9 -0
  133. package/dist/npm/primitives/rig/tab-stack.js +143 -0
  134. package/dist/npm/primitives/scene/bar-chart.d.ts +2 -0
  135. package/dist/npm/primitives/scene/bar-chart.js +83 -0
  136. package/dist/npm/primitives/scene/bento-grid.d.ts +49 -0
  137. package/dist/npm/primitives/scene/bento-grid.js +293 -0
  138. package/dist/npm/primitives/scene/grid-wall.d.ts +18 -0
  139. package/dist/npm/primitives/scene/grid-wall.js +110 -0
  140. package/dist/npm/primitives/scene/line-chart.d.ts +2 -0
  141. package/dist/npm/primitives/scene/line-chart.js +121 -0
  142. package/dist/npm/primitives/scene/logo-reveal.d.ts +2 -0
  143. package/dist/npm/primitives/scene/logo-reveal.js +117 -0
  144. package/dist/npm/primitives/scene/marquee-wall.d.ts +2 -0
  145. package/dist/npm/primitives/scene/marquee-wall.js +82 -0
  146. package/dist/npm/primitives/scene/post-carousel.d.ts +16 -0
  147. package/dist/npm/primitives/scene/post-carousel.js +195 -0
  148. package/dist/npm/primitives/scene/strip-cycle.d.ts +49 -0
  149. package/dist/npm/primitives/scene/strip-cycle.js +237 -0
  150. package/dist/npm/primitives/split.d.ts +34 -0
  151. package/dist/npm/primitives/split.js +105 -0
  152. package/dist/npm/primitives/texture/beat-field.d.ts +13 -0
  153. package/dist/npm/primitives/texture/beat-field.js +113 -0
  154. package/dist/npm/primitives/texture/gradient-drift.d.ts +2 -0
  155. package/dist/npm/primitives/texture/gradient-drift.js +56 -0
  156. package/dist/npm/primitives/texture/grain.d.ts +2 -0
  157. package/dist/npm/primitives/texture/grain.js +54 -0
  158. package/dist/npm/primitives/texture/halftone-field.d.ts +2 -0
  159. package/dist/npm/primitives/texture/halftone-field.js +36 -0
  160. package/dist/npm/primitives/texture/signal-field.d.ts +4 -0
  161. package/dist/npm/primitives/texture/signal-field.js +107 -0
  162. package/dist/npm/primitives/texture/vignette.d.ts +2 -0
  163. package/dist/npm/primitives/texture/vignette.js +23 -0
  164. package/dist/npm/primitives/transition/band-sweep.d.ts +22 -0
  165. package/dist/npm/primitives/transition/band-sweep.js +111 -0
  166. package/dist/npm/primitives/transition/beat-cut.d.ts +2 -0
  167. package/dist/npm/primitives/transition/beat-cut.js +10 -0
  168. package/dist/npm/primitives/transition/blur-dissolve.d.ts +2 -0
  169. package/dist/npm/primitives/transition/blur-dissolve.js +28 -0
  170. package/dist/npm/primitives/transition/camera-travel.d.ts +2 -0
  171. package/dist/npm/primitives/transition/camera-travel.js +69 -0
  172. package/dist/npm/primitives/transition/cover-reveal.d.ts +2 -0
  173. package/dist/npm/primitives/transition/cover-reveal.js +52 -0
  174. package/dist/npm/primitives/transition/curtain.d.ts +2 -0
  175. package/dist/npm/primitives/transition/curtain.js +40 -0
  176. package/dist/npm/primitives/transition/dive-in.d.ts +2 -0
  177. package/dist/npm/primitives/transition/dive-in.js +52 -0
  178. package/dist/npm/primitives/transition/fly-past.d.ts +2 -0
  179. package/dist/npm/primitives/transition/fly-past.js +87 -0
  180. package/dist/npm/primitives/transition/iris.d.ts +2 -0
  181. package/dist/npm/primitives/transition/iris.js +38 -0
  182. package/dist/npm/primitives/transition/overlay.d.ts +4 -0
  183. package/dist/npm/primitives/transition/overlay.js +24 -0
  184. package/dist/npm/primitives/transition/push.d.ts +2 -0
  185. package/dist/npm/primitives/transition/push.js +35 -0
  186. package/dist/npm/primitives/transition/signal-wipe.d.ts +2 -0
  187. package/dist/npm/primitives/transition/signal-wipe.js +67 -0
  188. package/dist/npm/primitives/transition/slant-wipe.d.ts +2 -0
  189. package/dist/npm/primitives/transition/slant-wipe.js +30 -0
  190. package/dist/npm/primitives/transition/stack-over.d.ts +2 -0
  191. package/dist/npm/primitives/transition/stack-over.js +38 -0
  192. package/dist/npm/primitives/transition/step-wipe.d.ts +2 -0
  193. package/dist/npm/primitives/transition/step-wipe.js +29 -0
  194. package/dist/npm/primitives/transition/strip-wipe.d.ts +40 -0
  195. package/dist/npm/primitives/transition/strip-wipe.js +121 -0
  196. package/dist/npm/primitives/transition/whip-pan.d.ts +2 -0
  197. package/dist/npm/primitives/transition/whip-pan.js +45 -0
  198. package/dist/npm/primitives/type/block-reveal.d.ts +2 -0
  199. package/dist/npm/primitives/type/block-reveal.js +61 -0
  200. package/dist/npm/primitives/type/char-cascade.d.ts +2 -0
  201. package/dist/npm/primitives/type/char-cascade.js +45 -0
  202. package/dist/npm/primitives/type/echo.d.ts +2 -0
  203. package/dist/npm/primitives/type/echo.js +57 -0
  204. package/dist/npm/primitives/type/fill-text.d.ts +14 -0
  205. package/dist/npm/primitives/type/fill-text.js +82 -0
  206. package/dist/npm/primitives/type/mask-reveal.d.ts +2 -0
  207. package/dist/npm/primitives/type/mask-reveal.js +58 -0
  208. package/dist/npm/primitives/type/scramble.d.ts +2 -0
  209. package/dist/npm/primitives/type/scramble.js +34 -0
  210. package/dist/npm/primitives/type/scribble-highlight.d.ts +2 -0
  211. package/dist/npm/primitives/type/scribble-highlight.js +84 -0
  212. package/dist/npm/primitives/type/shimmer.d.ts +2 -0
  213. package/dist/npm/primitives/type/shimmer.js +35 -0
  214. package/dist/npm/primitives/type/tracking-in.d.ts +2 -0
  215. package/dist/npm/primitives/type/tracking-in.js +37 -0
  216. package/dist/npm/primitives/type/typed-title.d.ts +2 -0
  217. package/dist/npm/primitives/type/typed-title.js +33 -0
  218. package/dist/npm/primitives/type/word-build.d.ts +2 -0
  219. package/dist/npm/primitives/type/word-build.js +44 -0
  220. package/dist/npm/primitives/type/word-roller.d.ts +2 -0
  221. package/dist/npm/primitives/type/word-roller.js +80 -0
  222. package/dist/npm/primitives/types.d.ts +183 -0
  223. package/dist/npm/primitives/types.js +5 -0
  224. package/dist/npm/primitives/ui/cursor-click.d.ts +4 -0
  225. package/dist/npm/primitives/ui/cursor-click.js +68 -0
  226. package/dist/npm/primitives/ui/page-scroll.d.ts +17 -0
  227. package/dist/npm/primitives/ui/page-scroll.js +98 -0
  228. package/dist/npm/review/fft.d.ts +4 -0
  229. package/dist/npm/review/fft.js +71 -0
  230. package/dist/npm/review/measure.d.ts +170 -0
  231. package/dist/npm/review/measure.js +577 -0
  232. package/dist/npm/tokens.d.ts +50 -0
  233. package/dist/npm/tokens.js +49 -0
  234. package/dist/npm/version.d.ts +1 -0
  235. package/dist/npm/version.js +1 -0
  236. package/examples/builder.film.mjs +18 -0
  237. package/films/feature-announcement.film.json +70 -0
  238. package/library/narratives/app-demo.md +64 -0
  239. package/library/narratives/brand-identity.md +78 -0
  240. package/library/narratives/capability-through-type.md +53 -0
  241. package/library/narratives/data-story.md +59 -0
  242. package/library/narratives/explainer.md +64 -0
  243. package/library/narratives/feature-announcement.md +68 -0
  244. package/library/narratives/infinite-loop.md +28 -0
  245. package/library/narratives/platform-launch.md +81 -0
  246. package/library/narratives/social-teaser.md +45 -0
  247. package/library/narratives/title-sequence.md +55 -0
  248. package/library/narratives/website-launch.md +65 -0
  249. package/library/primitives/fx/card-arrangements.md +26 -0
  250. package/library/primitives/fx/counter-roll.md +27 -0
  251. package/library/primitives/fx/depth-drift.md +32 -0
  252. package/library/primitives/fx/grid-ripple.md +58 -0
  253. package/library/primitives/fx/letter-interleave.md +26 -0
  254. package/library/primitives/fx/marquee-highlight.md +27 -0
  255. package/library/primitives/fx/mosaic-fill.md +23 -0
  256. package/library/primitives/fx/odometer.md +44 -0
  257. package/library/primitives/fx/pan-across.md +63 -0
  258. package/library/primitives/fx/path-draw.md +54 -0
  259. package/library/primitives/fx/pin-drop.md +51 -0
  260. package/library/primitives/fx/radial-burst.md +33 -0
  261. package/library/primitives/fx/shape-morph.md +45 -0
  262. package/library/primitives/fx/slow-push.md +63 -0
  263. package/library/primitives/fx/stagger-fill.md +28 -0
  264. package/library/primitives/rig/browser-window.md +113 -0
  265. package/library/primitives/rig/flip-ticker.md +26 -0
  266. package/library/primitives/rig/footage-plane.md +90 -0
  267. package/library/primitives/rig/layer-stack.md +168 -0
  268. package/library/primitives/rig/orbit-ring.md +43 -0
  269. package/library/primitives/rig/rolodex.md +31 -0
  270. package/library/primitives/rig/tab-stack.md +116 -0
  271. package/library/primitives/rig/tumbling-object.md +27 -0
  272. package/library/primitives/scene/bar-chart.md +49 -0
  273. package/library/primitives/scene/bento-grid.md +74 -0
  274. package/library/primitives/scene/end-card.md +28 -0
  275. package/library/primitives/scene/grid-wall.md +61 -0
  276. package/library/primitives/scene/hero-object.md +33 -0
  277. package/library/primitives/scene/kinetic-headline.md +34 -0
  278. package/library/primitives/scene/line-chart.md +47 -0
  279. package/library/primitives/scene/logo-reveal.md +53 -0
  280. package/library/primitives/scene/marquee-wall.md +33 -0
  281. package/library/primitives/scene/mosaic.md +28 -0
  282. package/library/primitives/scene/post-carousel.md +68 -0
  283. package/library/primitives/scene/specimen-grid.md +28 -0
  284. package/library/primitives/scene/stat-with-evidence.md +34 -0
  285. package/library/primitives/scene/strip-cycle.md +122 -0
  286. package/library/primitives/scene/zoomed-ui.md +29 -0
  287. package/library/primitives/texture/ascii.md +22 -0
  288. package/library/primitives/texture/beat-field.md +85 -0
  289. package/library/primitives/texture/depth-fade.md +23 -0
  290. package/library/primitives/texture/dither.md +27 -0
  291. package/library/primitives/texture/gradient-drift.md +50 -0
  292. package/library/primitives/texture/grain.md +39 -0
  293. package/library/primitives/texture/halftone-field.md +26 -0
  294. package/library/primitives/texture/signal-field.md +61 -0
  295. package/library/primitives/texture/vignette.md +53 -0
  296. package/library/primitives/transition/band-sweep.md +63 -0
  297. package/library/primitives/transition/beat-cut.md +27 -0
  298. package/library/primitives/transition/blur-dissolve.md +36 -0
  299. package/library/primitives/transition/camera-travel.md +57 -0
  300. package/library/primitives/transition/collapse-to-anchor.md +27 -0
  301. package/library/primitives/transition/cover-reveal.md +47 -0
  302. package/library/primitives/transition/curtain.md +42 -0
  303. package/library/primitives/transition/dive-in.md +51 -0
  304. package/library/primitives/transition/fly-past.md +51 -0
  305. package/library/primitives/transition/iris.md +49 -0
  306. package/library/primitives/transition/layout-locked-swap.md +28 -0
  307. package/library/primitives/transition/light-dark-flip.md +27 -0
  308. package/library/primitives/transition/push.md +47 -0
  309. package/library/primitives/transition/signal-wipe.md +52 -0
  310. package/library/primitives/transition/slant-wipe.md +44 -0
  311. package/library/primitives/transition/stack-over.md +51 -0
  312. package/library/primitives/transition/step-wipe.md +32 -0
  313. package/library/primitives/transition/strip-wipe.md +80 -0
  314. package/library/primitives/transition/torn-edge.md +26 -0
  315. package/library/primitives/transition/whip-pan.md +47 -0
  316. package/library/primitives/transition/zoom-through-letter.md +27 -0
  317. package/library/primitives/type/accent-number.md +22 -0
  318. package/library/primitives/type/block-reveal.md +41 -0
  319. package/library/primitives/type/char-cascade.md +65 -0
  320. package/library/primitives/type/echo.md +44 -0
  321. package/library/primitives/type/fill-text.md +63 -0
  322. package/library/primitives/type/focus-blur.md +22 -0
  323. package/library/primitives/type/inline-chips.md +27 -0
  324. package/library/primitives/type/mask-reveal.md +65 -0
  325. package/library/primitives/type/parting.md +23 -0
  326. package/library/primitives/type/per-word-restyle.md +28 -0
  327. package/library/primitives/type/scramble.md +26 -0
  328. package/library/primitives/type/scribble-highlight.md +47 -0
  329. package/library/primitives/type/shimmer.md +39 -0
  330. package/library/primitives/type/split-flap.md +26 -0
  331. package/library/primitives/type/style-multiply.md +23 -0
  332. package/library/primitives/type/tracking-in.md +40 -0
  333. package/library/primitives/type/typed-title.md +27 -0
  334. package/library/primitives/type/word-build.md +37 -0
  335. package/library/primitives/type/word-roller.md +52 -0
  336. package/library/primitives/type/writing-ticker.md +27 -0
  337. package/library/primitives/ui/collab-cursors.md +27 -0
  338. package/library/primitives/ui/cursor-click.md +61 -0
  339. package/library/primitives/ui/page-scroll.md +58 -0
  340. package/library/primitives/ui/prompt-typing.md +29 -0
  341. package/library/primitives/ui/streamed-result.md +23 -0
  342. package/library/primitives/ui/tour-hold.md +27 -0
  343. package/library/styles/brand-system.md +49 -0
  344. package/library/styles/clean-explainer.md +42 -0
  345. package/library/styles/dark-showcase.md +48 -0
  346. package/library/styles/editorial-type.md +37 -0
  347. package/library/styles/kinetic-poster.md +54 -0
  348. package/library/styles/product-ui.md +44 -0
  349. package/library/styles/studio-loop.md +41 -0
  350. package/library.json +1467 -0
  351. package/package.json +64 -4
  352. package/schema/film.schema.json +1316 -0
  353. package/showcase/vendor/DIALKIT-LICENSE +21 -0
  354. package/src/studio/theme/fonts/OFL.txt +94 -0
@@ -0,0 +1,28 @@
1
+ ---
2
+ slug: fx/stagger-fill
3
+ kind: primitive
4
+ group: fx
5
+ summary: Items appear one after another.
6
+ status: specified
7
+ origin: observed
8
+ observations: 2
9
+ energy: medium
10
+ params:
11
+ stagger:
12
+ default: 0.04
13
+ min: 0.02
14
+ max: 0.06
15
+ unit: s
16
+ related:
17
+ - scene/grid-wall
18
+ since: 0.3.0
19
+ ---
20
+
21
+ ## Behaviour
22
+
23
+ Each item fades or scales in slightly after the previous one.
24
+
25
+ ## Rules
26
+
27
+ - Order by reading direction or by distance from the centre.
28
+ - Total fill time under 1 s.
@@ -0,0 +1,113 @@
1
+ ---
2
+ slug: rig/browser-window
3
+ kind: primitive
4
+ group: rig
5
+ summary: A page in a browser window turns into perspective, then lifts one of its parts.
6
+ status: specified
7
+ origin: designed
8
+ energy: medium
9
+ params:
10
+ width:
11
+ default: 80
12
+ min: 40
13
+ max: 100
14
+ unit: '% of stage width'
15
+ aspect:
16
+ default: 0.625
17
+ min: 0.4
18
+ max: 1.4
19
+ unit: height / width
20
+ lift:
21
+ default: 140
22
+ min: 0
23
+ max: 320
24
+ unit: px
25
+ lift_at:
26
+ default: 0.8
27
+ min: 0
28
+ max: 6
29
+ unit: s
30
+ path:
31
+ default: in
32
+ options:
33
+ - in
34
+ - out
35
+ - in-out
36
+ - hold
37
+ tilt:
38
+ default: -24
39
+ min: -40
40
+ max: 40
41
+ unit: deg, negative faces left
42
+ pitch:
43
+ default: 10
44
+ min: -15
45
+ max: 30
46
+ unit: deg
47
+ roll:
48
+ default: -2.4
49
+ min: -12
50
+ max: 12
51
+ unit: deg
52
+ zoom:
53
+ default: 0.92
54
+ min: 0.5
55
+ max: 1.8
56
+ unit: x
57
+ pan_x:
58
+ default: 0
59
+ min: -50
60
+ max: 50
61
+ unit: '% of the rig'
62
+ pan_y:
63
+ default: 0
64
+ min: -50
65
+ max: 50
66
+ unit: '% of the rig'
67
+ move:
68
+ default: 1
69
+ min: 0.4
70
+ max: 3
71
+ unit: s
72
+ hold:
73
+ default: 1
74
+ min: 0
75
+ max: 6
76
+ unit: s
77
+ ease:
78
+ default: cubic.inOut
79
+ drift:
80
+ default: 1.2
81
+ min: 0
82
+ max: 4
83
+ unit: deg/s
84
+ related:
85
+ - rig/tab-stack
86
+ - scene/zoomed-ui
87
+ - fx/depth-drift
88
+ since: 0.5.0
89
+ ---
90
+
91
+ ## Behaviour
92
+
93
+ A page in a browser window (three lights and an address bar) starts square to the camera, then turns into perspective: it leans back, turns aside and recedes a little. At `lift_at`, one part of the page lifts off it towards the camera: the page's own picture cropped to that part, so it matches the page exactly. The part's shadow grows with its height and the page darkens softly beneath it. After the move, the camera keeps drifting slowly back towards square-on under the hold.
94
+
95
+ Give it a screenshot as `src`; without one it draws a placeholder page from the theme, whose middle card sits at `lift: [36, 54, 28, 38]`.
96
+
97
+ ## Camera
98
+
99
+ Shared with every 3D rig, with the same names everywhere:
100
+
101
+ - `path`: `in` turns from square-on to the pose, `out` from the pose to square-on, `in-out` goes, waits `hold` seconds and comes back, `hold` stays in the pose.
102
+ - `tilt` and `pitch` (one 2D pad in the studio, "angle"), `roll`: the pose.
103
+ - `zoom`: below 1 stands back, above 1 moves in. It is a distance, so perspective stays true.
104
+ - `pan_x` and `pan_y` (one pad, "look"): the point the camera looks at and turns about, in % of the rig from its centre.
105
+ - `move`, `ease`: time and curve of each camera move. `drift`: once arrived, a slow linear drift (back towards square-on from a pose, a slight creep in when square-on).
106
+
107
+ ## Rules
108
+
109
+ - Turn in 0.8–1.2 s on an in-out curve; lift with an expo ease-out, starting before the turn has settled.
110
+ - Tilt 20–30° and lean 8–14°: more reads as a stunt, less as a mistake.
111
+ - Lift one part only, the one the scene is about. Lifted parts stack in the order they sit on the page: the higher layer always rides on the one below.
112
+ - A part lying flush casts no shadow: shadow scales with height.
113
+ - Two clocks: the eased turn, then a slow linear drift through the hold.
@@ -0,0 +1,26 @@
1
+ ---
2
+ slug: rig/flip-ticker
3
+ kind: primitive
4
+ group: rig
5
+ summary: A row of cards where a rotation wave travels along the row.
6
+ status: draft
7
+ origin: observed
8
+ observations: 1
9
+ energy: low
10
+ params:
11
+ period:
12
+ default: 13.5
13
+ min: 10
14
+ max: 15
15
+ unit: s
16
+ related: []
17
+ since: 0.3.0
18
+ ---
19
+
20
+ ## Behaviour
21
+
22
+ Cards move sideways. The Y rotation of each card depends on its x position.
23
+
24
+ ## Rules
25
+
26
+ - Translate by a whole number of tile periods per loop.
@@ -0,0 +1,90 @@
1
+ ---
2
+ slug: rig/footage-plane
3
+ kind: primitive
4
+ group: rig
5
+ summary: Flat screen footage on a plane the camera moves over, with depth of field and light.
6
+ status: specified
7
+ origin: designed
8
+ energy: medium
9
+ params:
10
+ width:
11
+ default: 1080
12
+ min: 100
13
+ max: 8000
14
+ unit: px
15
+ radius:
16
+ default: 0
17
+ min: 0
18
+ max: 200
19
+ unit: px
20
+ rate:
21
+ default: 1
22
+ min: 0.1
23
+ max: 4
24
+ unit: ×
25
+ loop:
26
+ default: false
27
+ aperture:
28
+ default: 6
29
+ min: 0
30
+ max: 24
31
+ unit: px
32
+ depth:
33
+ default: 260
34
+ min: 40
35
+ max: 2000
36
+ unit: px
37
+ light:
38
+ default: 235
39
+ min: 0
40
+ max: 360
41
+ unit: deg
42
+ shade:
43
+ default: 0.5
44
+ min: 0
45
+ max: 1
46
+ unit: ratio
47
+ sheen:
48
+ default: 0.06
49
+ min: 0
50
+ max: 0.3
51
+ unit: opacity
52
+ shadow:
53
+ default: 0.35
54
+ min: 0
55
+ max: 1
56
+ unit: opacity
57
+ related:
58
+ - rig/browser-window
59
+ - fx/slow-push
60
+ since: 0.5.0
61
+ ---
62
+
63
+ ## Behaviour
64
+
65
+ The traditional motion-design pipeline: a screen is recorded flat, once (`motion record`), and laid on a plane in the film, where the scene's camera moves over it. The page is never re-laid out to move the camera, so its type cannot step, wiggle or re-wrap; everything moves as one rigid picture under one camera.
66
+
67
+ `src` can also be a still picture of a screen (a PNG from `motion capture`); it then shows as it is, with no frames to pull, and marks do not apply.
68
+
69
+ The plane answers the camera:
70
+
71
+ - **Depth of field.** Tilted, the parts of the plane furthest from the focal plane go soft, up to `aperture` px of blur at `depth` px from it. The focus sits on the `focus` mark, or the middle of the picture. Flat, it is all sharp.
72
+ - **Light.** The plane brightens as it turns towards the light (`light`, the direction it comes from on the screen) and darkens turning away, by `shade`. A soft band of reflected light slides across as it turns (`sheen`).
73
+ - **Shadow.** Its shadow on what is behind it grows as it tilts.
74
+ - **Resolution.** For a render, the footage is pulled at the size the deepest camera zoom shows it, plus halved copies; the plane draws the copy nearest its size on screen and cross-fades to the next, so a dive stays sharp and a pull-out does not shimmer. `motion render` warns `undersampled` when the source is too small for the deepest zoom.
75
+
76
+ **Marks.** `motion record --marks '#send,.card'` writes each element's box on every frame beside the footage. Set `props.marks` to that file, and then:
77
+
78
+ - a camera key can aim at a mark with `"frame": "plane#send"`, following the element as the footage scrolls;
79
+ - a tap can draw its ring on one with `"taps": [{ "at": "3.25b", "mark": "send" }]` (the press itself is already in the footage);
80
+ - `focus` can name the mark the lens holds sharp.
81
+
82
+ A mark is named by its selector as passed to `--marks`; an id or class can drop its `#` or `.`, so `#send` is `send`.
83
+
84
+ ## Rules
85
+
86
+ - Shoot flat, move the camera in the film. The page being recorded holds still, at its final layout: no camera, no CSS zoom, no tilt. Every move a viewer reads as the camera belongs to `scene.camera` over this plane.
87
+ - Record at the size the deepest zoom needs. At zoom 4 on a 1080 px plane, the footage must be about 4320 px wide; record with a larger `--scale` rather than letting the render upsample.
88
+ - Tilt grows with closeness: 12–20° in a close-up, 1–3° on a wide, flat on a punch. Depth of field only shows while it is tilted, so a flat wide stays sharp everywhere.
89
+ - Keep `aperture` low (4–8 px). It is a lens, not a blur effect: the viewer should feel depth, not notice softness.
90
+ - The light comes from one direction for the whole film. Change `light` only between films, never between scenes.
@@ -0,0 +1,168 @@
1
+ ---
2
+ slug: rig/layer-stack
3
+ kind: primitive
4
+ group: rig
5
+ summary: Named planes float one above the other, then close onto the lowest and become one layer.
6
+ status: specified
7
+ origin: designed
8
+ energy: medium
9
+ params:
10
+ width:
11
+ default: 42
12
+ min: 15
13
+ max: 90
14
+ unit: '% of stage width'
15
+ aspect:
16
+ default: 1
17
+ min: 0.4
18
+ max: 1.6
19
+ unit: depth ÷ width
20
+ gap:
21
+ default: 120
22
+ min: 20
23
+ max: 320
24
+ unit: px
25
+ lay:
26
+ default: 60
27
+ min: 0
28
+ max: 80
29
+ unit: deg
30
+ turn:
31
+ default: -45
32
+ min: -90
33
+ max: 90
34
+ unit: deg
35
+ spin:
36
+ default: 1.2
37
+ min: -8
38
+ max: 8
39
+ unit: deg/s
40
+ order:
41
+ default: close
42
+ options:
43
+ - close
44
+ - open
45
+ - open-close
46
+ start:
47
+ default: 1.4
48
+ min: 0
49
+ max: 10
50
+ unit: s
51
+ travel:
52
+ default: 0.9
53
+ min: 0.3
54
+ max: 3
55
+ unit: s
56
+ stagger:
57
+ default: 0.14
58
+ min: 0
59
+ max: 0.6
60
+ unit: s
61
+ apart:
62
+ default: 1.2
63
+ min: 0
64
+ max: 6
65
+ unit: s
66
+ radius:
67
+ default: 28
68
+ min: 0
69
+ max: 120
70
+ unit: px
71
+ lens:
72
+ default: 4
73
+ min: 0
74
+ max: 12
75
+ unit: × the rig
76
+ look:
77
+ default: solid
78
+ options:
79
+ - solid
80
+ - wire
81
+ path:
82
+ default: hold
83
+ options:
84
+ - in
85
+ - out
86
+ - in-out
87
+ - hold
88
+ tilt:
89
+ default: 0
90
+ min: -40
91
+ max: 40
92
+ unit: deg, negative faces left
93
+ pitch:
94
+ default: 0
95
+ min: -15
96
+ max: 30
97
+ unit: deg
98
+ roll:
99
+ default: 0
100
+ min: -12
101
+ max: 12
102
+ unit: deg
103
+ zoom:
104
+ default: 1
105
+ min: 0.5
106
+ max: 1.8
107
+ unit: x
108
+ pan_x:
109
+ default: 0
110
+ min: -50
111
+ max: 50
112
+ unit: '% of the rig'
113
+ pan_y:
114
+ default: 0
115
+ min: -50
116
+ max: 50
117
+ unit: '% of the rig'
118
+ move:
119
+ default: 1.6
120
+ min: 0.4
121
+ max: 3
122
+ unit: s
123
+ hold:
124
+ default: 1
125
+ min: 0
126
+ max: 6
127
+ unit: s
128
+ ease:
129
+ default: cubic.inOut
130
+ drift:
131
+ default: 1.2
132
+ min: 0
133
+ max: 4
134
+ unit: deg/s
135
+ related:
136
+ - rig/tab-stack
137
+ - rig/browser-window
138
+ - transition/dive-in
139
+ since: 0.5.0
140
+ ---
141
+
142
+ ## Behaviour
143
+
144
+ Two to seven named planes lie flat, one above the other, seen from above at an angle through a long lens, so they stay parallel and read as a diagram. Each plane carries a label on a short stem at its right-hand corner; labels always face the camera and stay level while the stack turns slowly.
145
+
146
+ With `order: close` the planes start apart and come down onto the base one after another, lowest first. A plane that lands on another dissolves into it. When the last has landed, the top face takes the accent, the plane labels have gone, the stack's `name` stands at the same corner, and one ring leaves the base outward, once. `open` is the reverse, top plane first; `open-close` opens, holds `apart` seconds and closes.
147
+
148
+ The base never moves: the stack grows upward from it and returns to it. The closed layer therefore sits low in the rig, where the next scene can stand things on it.
149
+
150
+ `faces` gives each plane a picture. Without it a plane is a plain surface.
151
+
152
+ `look: wire` draws the stack as a technical drawing: outlined planes with no shadows, dotted guides joining the corners of the base to the corners of the top plane, and numbered labels in the mono face on dotted stems. `look: solid` is surfaces with shadows.
153
+
154
+ ## Camera
155
+
156
+ `lens` is the length of the lens in multiples of the rig; at 0 it is parallel, so nothing gets smaller with depth. For a true isometric drawing set `lens: 0`, `lay: 54.7356`, `turn: -45` (or 45) and `spin: 0`: a square plane is then drawn with its diagonals in the ratio 1 to √3, and every guide is vertical. A parallel lens has no distance, so `zoom` does nothing under it.
157
+
158
+ The planes' own angle is `lay` (how far they lie back) and `turn` (about their own axis), with `spin` as the drift that never stops. The rigs' shared camera sits on top with the same names as everywhere (`path`, `tilt`, `pitch`, `roll`, `zoom`, `pan_x`, `pan_y`, `move`, `hold`, `ease`, `drift`); by default it holds square-on and adds nothing.
159
+
160
+ ## Rules
161
+
162
+ - A higher plane is never less lifted than the one below it, so planes cannot pass each other however the stagger is set.
163
+ - Shadows scale with the height above the plane below; a plane lying flush casts nothing.
164
+ - The accent appears once, at the moment of becoming one: lit face, name and ring together. Keep it off the planes while they are apart.
165
+ - Keep `spin` under 2 deg/s. Labels hang on the corner furthest right on screen, so a stack that turns through a quarter would hand its labels to the next corner.
166
+ - Leave room on the right for the labels: about a third of the plane's width.
167
+ - A wire stack does not spin: a drawing is aligned to its grid. Put the base on a point the rest of the film is built around.
168
+ - Name the planes with one or two words. The closed name is the message of the scene; hold it for at least 1.5 s.
@@ -0,0 +1,43 @@
1
+ ---
2
+ slug: rig/orbit-ring
3
+ kind: primitive
4
+ group: rig
5
+ summary: Tiles on a tilted ring that rotates forever.
6
+ status: draft
7
+ origin: observed
8
+ observations: 1
9
+ energy: low
10
+ params:
11
+ tiles:
12
+ default: 12
13
+ min: 8
14
+ max: 16
15
+ unit: tiles
16
+ tilt_x:
17
+ default: 25
18
+ min: 15
19
+ max: 35
20
+ unit: deg
21
+ tilt_z:
22
+ default: -20
23
+ min: -30
24
+ max: -10
25
+ unit: deg
26
+ period:
27
+ default: 15
28
+ min: 12
29
+ max: 18
30
+ unit: s
31
+ related:
32
+ - texture/depth-fade
33
+ since: 0.3.0
34
+ ---
35
+
36
+ ## Behaviour
37
+
38
+ Square tiles sit on a ring. The ring is tilted and rotates around its axis at constant speed.
39
+
40
+ ## Rules
41
+
42
+ - Loop length equals one full rotation.
43
+ - Combine with `texture/depth-fade`.
@@ -0,0 +1,31 @@
1
+ ---
2
+ slug: rig/rolodex
3
+ kind: primitive
4
+ group: rig
5
+ summary: Cards on a short cylinder that spins while the whole rig swings.
6
+ status: draft
7
+ origin: observed
8
+ observations: 1
9
+ energy: medium
10
+ params:
11
+ cards:
12
+ default: 4
13
+ min: 3
14
+ max: 6
15
+ unit: cards
16
+ period:
17
+ default: 18
18
+ min: 15
19
+ max: 20
20
+ unit: s
21
+ related: []
22
+ since: 0.3.0
23
+ ---
24
+
25
+ ## Behaviour
26
+
27
+ Cards rotate around a shared axis. The rig itself swings between vertical, diagonal and horizontal.
28
+
29
+ ## Rules
30
+
31
+ - The swing returns to its start pose at the loop point.
@@ -0,0 +1,116 @@
1
+ ---
2
+ slug: rig/tab-stack
3
+ kind: primitive
4
+ group: rig
5
+ summary: Tabs stacked as stairs in depth; the open tab slides through them, then pops forward.
6
+ status: specified
7
+ origin: designed
8
+ energy: medium
9
+ params:
10
+ width:
11
+ default: 64
12
+ min: 30
13
+ max: 100
14
+ unit: '% of stage width'
15
+ stack:
16
+ default: 34
17
+ min: 0
18
+ max: 90
19
+ unit: px
20
+ slide_at:
21
+ default: 0.9
22
+ min: 0
23
+ max: 6
24
+ unit: s
25
+ slide:
26
+ default: 1.6
27
+ min: 0.3
28
+ max: 5
29
+ unit: s
30
+ pop:
31
+ default: 46
32
+ min: 0
33
+ max: 140
34
+ unit: px
35
+ path:
36
+ default: out
37
+ options:
38
+ - in
39
+ - out
40
+ - in-out
41
+ - hold
42
+ tilt:
43
+ default: -19
44
+ min: -40
45
+ max: 40
46
+ unit: deg, negative faces left
47
+ pitch:
48
+ default: 13
49
+ min: -15
50
+ max: 30
51
+ unit: deg
52
+ roll:
53
+ default: -1.5
54
+ min: -12
55
+ max: 12
56
+ unit: deg
57
+ zoom:
58
+ default: 0.9
59
+ min: 0.5
60
+ max: 1.8
61
+ unit: x
62
+ pan_x:
63
+ default: 0
64
+ min: -50
65
+ max: 50
66
+ unit: '% of the rig'
67
+ pan_y:
68
+ default: 0
69
+ min: -50
70
+ max: 50
71
+ unit: '% of the rig'
72
+ move:
73
+ default: 1.6
74
+ min: 0.4
75
+ max: 3
76
+ unit: s
77
+ hold:
78
+ default: 1
79
+ min: 0
80
+ max: 6
81
+ unit: s
82
+ ease:
83
+ default: cubic.inOut
84
+ drift:
85
+ default: 1.2
86
+ min: 0
87
+ max: 4
88
+ unit: deg/s
89
+ related:
90
+ - rig/browser-window
91
+ - fx/stagger-fill
92
+ since: 0.5.0
93
+ ---
94
+
95
+ ## Behaviour
96
+
97
+ A list of tabs stands as stairs in depth: each tab a step nearer the camera than the one before it, on a ground panel. The open state slides through the list as one continuous move, from `from` to `to`: each tab's openness is its distance from the slide's position, so one tab's worth of height is shared between neighbours at every instant and the list keeps its length. Each tab cross-fades between its closed look (quiet title, a plus) and its open look (tinted, the accent mark, its detail line, a bar that fills while it is open); both share one title row, so nothing jumps. The tab that ends open pops a step further forward.
98
+
99
+ By default the camera lands at an angle, so the stairs read, and turns square-on while the open tab slides.
100
+
101
+ ## Camera
102
+
103
+ Shared with every 3D rig, with the same names everywhere:
104
+
105
+ - `path`: `in` turns from square-on to the pose, `out` from the pose to square-on, `in-out` goes, waits `hold` seconds and comes back, `hold` stays in the pose.
106
+ - `tilt` and `pitch` (one 2D pad in the studio, "angle"), `roll`: the pose.
107
+ - `zoom`: below 1 stands back, above 1 moves in. It is a distance, so perspective stays true.
108
+ - `pan_x` and `pan_y` (one pad, "look"): the point the camera looks at and turns about, in % of the rig from its centre.
109
+ - `move`, `ease`: time and curve of each camera move. `drift`: once arrived, a slow linear drift (back towards square-on from a pose, a slight creep in when square-on).
110
+
111
+ ## Rules
112
+
113
+ - Slide on a sine: its top speed is 1.57× the average, so middle tabs are not rushed (a cubic in-out passes them 3× faster than the ends).
114
+ - Never switch a tab's look in one frame: the open look fades in over the first fifth of its opening.
115
+ - Keep steps small (20–40 px): stairs say order and depth, not architecture.
116
+ - Four to seven tabs. One detail line each; the one that ends open may carry two.
@@ -0,0 +1,27 @@
1
+ ---
2
+ slug: rig/tumbling-object
3
+ kind: primitive
4
+ group: rig
5
+ summary: A cube or tile that turns in quarter steps.
6
+ status: draft
7
+ origin: observed
8
+ observations: 1
9
+ energy: medium
10
+ params:
11
+ step:
12
+ default: 0.5
13
+ min: 0.4
14
+ max: 0.7
15
+ unit: s
16
+ related:
17
+ - scene/hero-object
18
+ since: 0.3.0
19
+ ---
20
+
21
+ ## Behaviour
22
+
23
+ The object rotates 90 degrees at a time with a small overshoot, showing a different face each step.
24
+
25
+ ## Rules
26
+
27
+ - Each face carries one mark.
@@ -0,0 +1,49 @@
1
+ ---
2
+ slug: scene/bar-chart
3
+ kind: primitive
4
+ group: scene
5
+ summary: Bars grow from the baseline one after another, each value counting up with it.
6
+ status: specified
7
+ origin: designed
8
+ energy: medium
9
+ params:
10
+ grow:
11
+ default: 0.9
12
+ min: 0.5
13
+ max: 1.4
14
+ unit: s
15
+ stagger:
16
+ default: 0.07
17
+ min: 0.03
18
+ max: 0.15
19
+ unit: s
20
+ orientation:
21
+ default: vertical
22
+ options:
23
+ - vertical
24
+ - horizontal
25
+ width:
26
+ default: 64
27
+ min: 30
28
+ max: 90
29
+ unit: '% of stage width'
30
+ height:
31
+ default: 46
32
+ min: 20
33
+ max: 75
34
+ unit: '% of stage height'
35
+ related:
36
+ - scene/line-chart
37
+ - fx/odometer
38
+ since: 0.5.0
39
+ ---
40
+
41
+ ## Behaviour
42
+
43
+ A bar chart builds in stages: the baseline draws, the bars grow one after another from it, then each value lands above its bar. One bar can be highlighted in the accent colour.
44
+
45
+ ## Rules
46
+
47
+ - Stage it: axis, then data, then labels, then the highlight; each stage 0.6–1.0 s.
48
+ - Bars grow from the baseline with a short stagger, all on the same curve.
49
+ - Highlight one bar at most, in the accent colour; the others are muted.