@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.
- package/CREDITS.md +62 -0
- package/LICENSE +21 -0
- package/README.md +142 -2
- package/catalog.json +4697 -0
- package/dist/npm/brief/brief.d.ts +28 -0
- package/dist/npm/brief/brief.js +159 -0
- package/dist/npm/brief/types.d.ts +75 -0
- package/dist/npm/brief/types.js +2 -0
- package/dist/npm/browser/motion.js +1039 -0
- package/dist/npm/browser/page.js +4821 -0
- package/dist/npm/browser/wizard.js +1511 -0
- package/dist/npm/build/design.d.ts +54 -0
- package/dist/npm/build/design.js +91 -0
- package/dist/npm/build/index.d.ts +39 -0
- package/dist/npm/build/index.js +66 -0
- package/dist/npm/build/iso.d.ts +41 -0
- package/dist/npm/build/iso.js +71 -0
- package/dist/npm/catalog.d.ts +24 -0
- package/dist/npm/catalog.js +23 -0
- package/dist/npm/cli/browser.d.ts +26 -0
- package/dist/npm/cli/browser.js +66 -0
- package/dist/npm/cli/capture.d.ts +26 -0
- package/dist/npm/cli/capture.js +94 -0
- package/dist/npm/cli/files.d.ts +14 -0
- package/dist/npm/cli/files.js +87 -0
- package/dist/npm/cli/frames.d.ts +27 -0
- package/dist/npm/cli/frames.js +125 -0
- package/dist/npm/cli/guard.d.ts +23 -0
- package/dist/npm/cli/guard.js +158 -0
- package/dist/npm/cli/library.d.ts +2 -0
- package/dist/npm/cli/library.js +55 -0
- package/dist/npm/cli/main.d.ts +17 -0
- package/dist/npm/cli/main.js +964 -0
- package/dist/npm/cli/motion.d.ts +2 -0
- package/dist/npm/cli/motion.js +6 -0
- package/dist/npm/cli/record.d.ts +36 -0
- package/dist/npm/cli/record.js +142 -0
- package/dist/npm/cli/review.d.ts +45 -0
- package/dist/npm/cli/review.js +139 -0
- package/dist/npm/cli/schema.d.ts +852 -0
- package/dist/npm/cli/schema.js +120 -0
- package/dist/npm/cli/server.d.ts +17 -0
- package/dist/npm/cli/server.js +135 -0
- package/dist/npm/core/ease.d.ts +39 -0
- package/dist/npm/core/ease.js +176 -0
- package/dist/npm/core/frame.d.ts +52 -0
- package/dist/npm/core/frame.js +60 -0
- package/dist/npm/core/shapes.d.ts +8 -0
- package/dist/npm/core/shapes.js +88 -0
- package/dist/npm/core/stagger.d.ts +19 -0
- package/dist/npm/core/stagger.js +77 -0
- package/dist/npm/core/tap.d.ts +19 -0
- package/dist/npm/core/tap.js +42 -0
- package/dist/npm/core/track.d.ts +4 -0
- package/dist/npm/core/track.js +23 -0
- package/dist/npm/dom/mount.d.ts +127 -0
- package/dist/npm/dom/mount.js +950 -0
- package/dist/npm/dom/page.d.ts +37 -0
- package/dist/npm/dom/page.js +77 -0
- package/dist/npm/dom/soundtrack.d.ts +13 -0
- package/dist/npm/dom/soundtrack.js +37 -0
- package/dist/npm/dom/stage.css.d.ts +1 -0
- package/dist/npm/dom/stage.css.js +44 -0
- package/dist/npm/dom/tokens.d.ts +10 -0
- package/dist/npm/dom/tokens.js +38 -0
- package/dist/npm/dom/ui-themes.css.d.ts +8 -0
- package/dist/npm/dom/ui-themes.css.js +9 -0
- package/dist/npm/film/beats.d.ts +64 -0
- package/dist/npm/film/beats.js +282 -0
- package/dist/npm/film/pace.d.ts +94 -0
- package/dist/npm/film/pace.js +396 -0
- package/dist/npm/film/resolve.d.ts +16 -0
- package/dist/npm/film/resolve.js +997 -0
- package/dist/npm/film/tempo.d.ts +19 -0
- package/dist/npm/film/tempo.js +34 -0
- package/dist/npm/film/tune.d.ts +17 -0
- package/dist/npm/film/tune.js +68 -0
- package/dist/npm/film/types.d.ts +416 -0
- package/dist/npm/film/types.js +16 -0
- package/dist/npm/index.d.ts +18 -0
- package/dist/npm/index.js +11 -0
- package/dist/npm/primitives/blur.d.ts +14 -0
- package/dist/npm/primitives/blur.js +59 -0
- package/dist/npm/primitives/canvas.d.ts +5 -0
- package/dist/npm/primitives/canvas.js +13 -0
- package/dist/npm/primitives/el/box.d.ts +2 -0
- package/dist/npm/primitives/el/box.js +24 -0
- package/dist/npm/primitives/el/frames.d.ts +15 -0
- package/dist/npm/primitives/el/frames.js +71 -0
- package/dist/npm/primitives/el/html.d.ts +2 -0
- package/dist/npm/primitives/el/html.js +14 -0
- package/dist/npm/primitives/el/image.d.ts +2 -0
- package/dist/npm/primitives/el/image.js +43 -0
- package/dist/npm/primitives/el/slot.d.ts +2 -0
- package/dist/npm/primitives/el/slot.js +25 -0
- package/dist/npm/primitives/el/text.d.ts +2 -0
- package/dist/npm/primitives/el/text.js +13 -0
- package/dist/npm/primitives/el/video.d.ts +6 -0
- package/dist/npm/primitives/el/video.js +179 -0
- package/dist/npm/primitives/fx/counter-roll.d.ts +2 -0
- package/dist/npm/primitives/fx/counter-roll.js +32 -0
- package/dist/npm/primitives/fx/depth-drift.d.ts +2 -0
- package/dist/npm/primitives/fx/depth-drift.js +44 -0
- package/dist/npm/primitives/fx/grid-ripple.d.ts +2 -0
- package/dist/npm/primitives/fx/grid-ripple.js +59 -0
- package/dist/npm/primitives/fx/odometer.d.ts +2 -0
- package/dist/npm/primitives/fx/odometer.js +80 -0
- package/dist/npm/primitives/fx/pan-across.d.ts +17 -0
- package/dist/npm/primitives/fx/pan-across.js +76 -0
- package/dist/npm/primitives/fx/path-draw.d.ts +2 -0
- package/dist/npm/primitives/fx/path-draw.js +105 -0
- package/dist/npm/primitives/fx/pin-drop.d.ts +2 -0
- package/dist/npm/primitives/fx/pin-drop.js +92 -0
- package/dist/npm/primitives/fx/shape-morph.d.ts +2 -0
- package/dist/npm/primitives/fx/shape-morph.js +65 -0
- package/dist/npm/primitives/fx/slow-push.d.ts +13 -0
- package/dist/npm/primitives/fx/slow-push.js +56 -0
- package/dist/npm/primitives/fx/stagger-fill.d.ts +2 -0
- package/dist/npm/primitives/fx/stagger-fill.js +33 -0
- package/dist/npm/primitives/index.d.ts +4 -0
- package/dist/npm/primitives/index.js +78 -0
- package/dist/npm/primitives/rig/browser-window.d.ts +2 -0
- package/dist/npm/primitives/rig/browser-window.js +142 -0
- package/dist/npm/primitives/rig/camera.d.ts +36 -0
- package/dist/npm/primitives/rig/camera.js +81 -0
- package/dist/npm/primitives/rig/footage-plane.d.ts +27 -0
- package/dist/npm/primitives/rig/footage-plane.js +257 -0
- package/dist/npm/primitives/rig/layer-stack.d.ts +39 -0
- package/dist/npm/primitives/rig/layer-stack.js +276 -0
- package/dist/npm/primitives/rig/orbit-ring.d.ts +2 -0
- package/dist/npm/primitives/rig/orbit-ring.js +59 -0
- package/dist/npm/primitives/rig/tab-stack.d.ts +9 -0
- package/dist/npm/primitives/rig/tab-stack.js +143 -0
- package/dist/npm/primitives/scene/bar-chart.d.ts +2 -0
- package/dist/npm/primitives/scene/bar-chart.js +83 -0
- package/dist/npm/primitives/scene/bento-grid.d.ts +49 -0
- package/dist/npm/primitives/scene/bento-grid.js +293 -0
- package/dist/npm/primitives/scene/grid-wall.d.ts +18 -0
- package/dist/npm/primitives/scene/grid-wall.js +110 -0
- package/dist/npm/primitives/scene/line-chart.d.ts +2 -0
- package/dist/npm/primitives/scene/line-chart.js +121 -0
- package/dist/npm/primitives/scene/logo-reveal.d.ts +2 -0
- package/dist/npm/primitives/scene/logo-reveal.js +117 -0
- package/dist/npm/primitives/scene/marquee-wall.d.ts +2 -0
- package/dist/npm/primitives/scene/marquee-wall.js +82 -0
- package/dist/npm/primitives/scene/post-carousel.d.ts +16 -0
- package/dist/npm/primitives/scene/post-carousel.js +195 -0
- package/dist/npm/primitives/scene/strip-cycle.d.ts +49 -0
- package/dist/npm/primitives/scene/strip-cycle.js +237 -0
- package/dist/npm/primitives/split.d.ts +34 -0
- package/dist/npm/primitives/split.js +105 -0
- package/dist/npm/primitives/texture/beat-field.d.ts +13 -0
- package/dist/npm/primitives/texture/beat-field.js +113 -0
- package/dist/npm/primitives/texture/gradient-drift.d.ts +2 -0
- package/dist/npm/primitives/texture/gradient-drift.js +56 -0
- package/dist/npm/primitives/texture/grain.d.ts +2 -0
- package/dist/npm/primitives/texture/grain.js +54 -0
- package/dist/npm/primitives/texture/halftone-field.d.ts +2 -0
- package/dist/npm/primitives/texture/halftone-field.js +36 -0
- package/dist/npm/primitives/texture/signal-field.d.ts +4 -0
- package/dist/npm/primitives/texture/signal-field.js +107 -0
- package/dist/npm/primitives/texture/vignette.d.ts +2 -0
- package/dist/npm/primitives/texture/vignette.js +23 -0
- package/dist/npm/primitives/transition/band-sweep.d.ts +22 -0
- package/dist/npm/primitives/transition/band-sweep.js +111 -0
- package/dist/npm/primitives/transition/beat-cut.d.ts +2 -0
- package/dist/npm/primitives/transition/beat-cut.js +10 -0
- package/dist/npm/primitives/transition/blur-dissolve.d.ts +2 -0
- package/dist/npm/primitives/transition/blur-dissolve.js +28 -0
- package/dist/npm/primitives/transition/camera-travel.d.ts +2 -0
- package/dist/npm/primitives/transition/camera-travel.js +69 -0
- package/dist/npm/primitives/transition/cover-reveal.d.ts +2 -0
- package/dist/npm/primitives/transition/cover-reveal.js +52 -0
- package/dist/npm/primitives/transition/curtain.d.ts +2 -0
- package/dist/npm/primitives/transition/curtain.js +40 -0
- package/dist/npm/primitives/transition/dive-in.d.ts +2 -0
- package/dist/npm/primitives/transition/dive-in.js +52 -0
- package/dist/npm/primitives/transition/fly-past.d.ts +2 -0
- package/dist/npm/primitives/transition/fly-past.js +87 -0
- package/dist/npm/primitives/transition/iris.d.ts +2 -0
- package/dist/npm/primitives/transition/iris.js +38 -0
- package/dist/npm/primitives/transition/overlay.d.ts +4 -0
- package/dist/npm/primitives/transition/overlay.js +24 -0
- package/dist/npm/primitives/transition/push.d.ts +2 -0
- package/dist/npm/primitives/transition/push.js +35 -0
- package/dist/npm/primitives/transition/signal-wipe.d.ts +2 -0
- package/dist/npm/primitives/transition/signal-wipe.js +67 -0
- package/dist/npm/primitives/transition/slant-wipe.d.ts +2 -0
- package/dist/npm/primitives/transition/slant-wipe.js +30 -0
- package/dist/npm/primitives/transition/stack-over.d.ts +2 -0
- package/dist/npm/primitives/transition/stack-over.js +38 -0
- package/dist/npm/primitives/transition/step-wipe.d.ts +2 -0
- package/dist/npm/primitives/transition/step-wipe.js +29 -0
- package/dist/npm/primitives/transition/strip-wipe.d.ts +40 -0
- package/dist/npm/primitives/transition/strip-wipe.js +121 -0
- package/dist/npm/primitives/transition/whip-pan.d.ts +2 -0
- package/dist/npm/primitives/transition/whip-pan.js +45 -0
- package/dist/npm/primitives/type/block-reveal.d.ts +2 -0
- package/dist/npm/primitives/type/block-reveal.js +61 -0
- package/dist/npm/primitives/type/char-cascade.d.ts +2 -0
- package/dist/npm/primitives/type/char-cascade.js +45 -0
- package/dist/npm/primitives/type/echo.d.ts +2 -0
- package/dist/npm/primitives/type/echo.js +57 -0
- package/dist/npm/primitives/type/fill-text.d.ts +14 -0
- package/dist/npm/primitives/type/fill-text.js +82 -0
- package/dist/npm/primitives/type/mask-reveal.d.ts +2 -0
- package/dist/npm/primitives/type/mask-reveal.js +58 -0
- package/dist/npm/primitives/type/scramble.d.ts +2 -0
- package/dist/npm/primitives/type/scramble.js +34 -0
- package/dist/npm/primitives/type/scribble-highlight.d.ts +2 -0
- package/dist/npm/primitives/type/scribble-highlight.js +84 -0
- package/dist/npm/primitives/type/shimmer.d.ts +2 -0
- package/dist/npm/primitives/type/shimmer.js +35 -0
- package/dist/npm/primitives/type/tracking-in.d.ts +2 -0
- package/dist/npm/primitives/type/tracking-in.js +37 -0
- package/dist/npm/primitives/type/typed-title.d.ts +2 -0
- package/dist/npm/primitives/type/typed-title.js +33 -0
- package/dist/npm/primitives/type/word-build.d.ts +2 -0
- package/dist/npm/primitives/type/word-build.js +44 -0
- package/dist/npm/primitives/type/word-roller.d.ts +2 -0
- package/dist/npm/primitives/type/word-roller.js +80 -0
- package/dist/npm/primitives/types.d.ts +183 -0
- package/dist/npm/primitives/types.js +5 -0
- package/dist/npm/primitives/ui/cursor-click.d.ts +4 -0
- package/dist/npm/primitives/ui/cursor-click.js +68 -0
- package/dist/npm/primitives/ui/page-scroll.d.ts +17 -0
- package/dist/npm/primitives/ui/page-scroll.js +98 -0
- package/dist/npm/review/fft.d.ts +4 -0
- package/dist/npm/review/fft.js +71 -0
- package/dist/npm/review/measure.d.ts +170 -0
- package/dist/npm/review/measure.js +577 -0
- package/dist/npm/tokens.d.ts +50 -0
- package/dist/npm/tokens.js +49 -0
- package/dist/npm/version.d.ts +1 -0
- package/dist/npm/version.js +1 -0
- package/examples/builder.film.mjs +18 -0
- package/films/feature-announcement.film.json +70 -0
- package/library/narratives/app-demo.md +64 -0
- package/library/narratives/brand-identity.md +78 -0
- package/library/narratives/capability-through-type.md +53 -0
- package/library/narratives/data-story.md +59 -0
- package/library/narratives/explainer.md +64 -0
- package/library/narratives/feature-announcement.md +68 -0
- package/library/narratives/infinite-loop.md +28 -0
- package/library/narratives/platform-launch.md +81 -0
- package/library/narratives/social-teaser.md +45 -0
- package/library/narratives/title-sequence.md +55 -0
- package/library/narratives/website-launch.md +65 -0
- package/library/primitives/fx/card-arrangements.md +26 -0
- package/library/primitives/fx/counter-roll.md +27 -0
- package/library/primitives/fx/depth-drift.md +32 -0
- package/library/primitives/fx/grid-ripple.md +58 -0
- package/library/primitives/fx/letter-interleave.md +26 -0
- package/library/primitives/fx/marquee-highlight.md +27 -0
- package/library/primitives/fx/mosaic-fill.md +23 -0
- package/library/primitives/fx/odometer.md +44 -0
- package/library/primitives/fx/pan-across.md +63 -0
- package/library/primitives/fx/path-draw.md +54 -0
- package/library/primitives/fx/pin-drop.md +51 -0
- package/library/primitives/fx/radial-burst.md +33 -0
- package/library/primitives/fx/shape-morph.md +45 -0
- package/library/primitives/fx/slow-push.md +63 -0
- package/library/primitives/fx/stagger-fill.md +28 -0
- package/library/primitives/rig/browser-window.md +113 -0
- package/library/primitives/rig/flip-ticker.md +26 -0
- package/library/primitives/rig/footage-plane.md +90 -0
- package/library/primitives/rig/layer-stack.md +168 -0
- package/library/primitives/rig/orbit-ring.md +43 -0
- package/library/primitives/rig/rolodex.md +31 -0
- package/library/primitives/rig/tab-stack.md +116 -0
- package/library/primitives/rig/tumbling-object.md +27 -0
- package/library/primitives/scene/bar-chart.md +49 -0
- package/library/primitives/scene/bento-grid.md +74 -0
- package/library/primitives/scene/end-card.md +28 -0
- package/library/primitives/scene/grid-wall.md +61 -0
- package/library/primitives/scene/hero-object.md +33 -0
- package/library/primitives/scene/kinetic-headline.md +34 -0
- package/library/primitives/scene/line-chart.md +47 -0
- package/library/primitives/scene/logo-reveal.md +53 -0
- package/library/primitives/scene/marquee-wall.md +33 -0
- package/library/primitives/scene/mosaic.md +28 -0
- package/library/primitives/scene/post-carousel.md +68 -0
- package/library/primitives/scene/specimen-grid.md +28 -0
- package/library/primitives/scene/stat-with-evidence.md +34 -0
- package/library/primitives/scene/strip-cycle.md +122 -0
- package/library/primitives/scene/zoomed-ui.md +29 -0
- package/library/primitives/texture/ascii.md +22 -0
- package/library/primitives/texture/beat-field.md +85 -0
- package/library/primitives/texture/depth-fade.md +23 -0
- package/library/primitives/texture/dither.md +27 -0
- package/library/primitives/texture/gradient-drift.md +50 -0
- package/library/primitives/texture/grain.md +39 -0
- package/library/primitives/texture/halftone-field.md +26 -0
- package/library/primitives/texture/signal-field.md +61 -0
- package/library/primitives/texture/vignette.md +53 -0
- package/library/primitives/transition/band-sweep.md +63 -0
- package/library/primitives/transition/beat-cut.md +27 -0
- package/library/primitives/transition/blur-dissolve.md +36 -0
- package/library/primitives/transition/camera-travel.md +57 -0
- package/library/primitives/transition/collapse-to-anchor.md +27 -0
- package/library/primitives/transition/cover-reveal.md +47 -0
- package/library/primitives/transition/curtain.md +42 -0
- package/library/primitives/transition/dive-in.md +51 -0
- package/library/primitives/transition/fly-past.md +51 -0
- package/library/primitives/transition/iris.md +49 -0
- package/library/primitives/transition/layout-locked-swap.md +28 -0
- package/library/primitives/transition/light-dark-flip.md +27 -0
- package/library/primitives/transition/push.md +47 -0
- package/library/primitives/transition/signal-wipe.md +52 -0
- package/library/primitives/transition/slant-wipe.md +44 -0
- package/library/primitives/transition/stack-over.md +51 -0
- package/library/primitives/transition/step-wipe.md +32 -0
- package/library/primitives/transition/strip-wipe.md +80 -0
- package/library/primitives/transition/torn-edge.md +26 -0
- package/library/primitives/transition/whip-pan.md +47 -0
- package/library/primitives/transition/zoom-through-letter.md +27 -0
- package/library/primitives/type/accent-number.md +22 -0
- package/library/primitives/type/block-reveal.md +41 -0
- package/library/primitives/type/char-cascade.md +65 -0
- package/library/primitives/type/echo.md +44 -0
- package/library/primitives/type/fill-text.md +63 -0
- package/library/primitives/type/focus-blur.md +22 -0
- package/library/primitives/type/inline-chips.md +27 -0
- package/library/primitives/type/mask-reveal.md +65 -0
- package/library/primitives/type/parting.md +23 -0
- package/library/primitives/type/per-word-restyle.md +28 -0
- package/library/primitives/type/scramble.md +26 -0
- package/library/primitives/type/scribble-highlight.md +47 -0
- package/library/primitives/type/shimmer.md +39 -0
- package/library/primitives/type/split-flap.md +26 -0
- package/library/primitives/type/style-multiply.md +23 -0
- package/library/primitives/type/tracking-in.md +40 -0
- package/library/primitives/type/typed-title.md +27 -0
- package/library/primitives/type/word-build.md +37 -0
- package/library/primitives/type/word-roller.md +52 -0
- package/library/primitives/type/writing-ticker.md +27 -0
- package/library/primitives/ui/collab-cursors.md +27 -0
- package/library/primitives/ui/cursor-click.md +61 -0
- package/library/primitives/ui/page-scroll.md +58 -0
- package/library/primitives/ui/prompt-typing.md +29 -0
- package/library/primitives/ui/streamed-result.md +23 -0
- package/library/primitives/ui/tour-hold.md +27 -0
- package/library/styles/brand-system.md +49 -0
- package/library/styles/clean-explainer.md +42 -0
- package/library/styles/dark-showcase.md +48 -0
- package/library/styles/editorial-type.md +37 -0
- package/library/styles/kinetic-poster.md +54 -0
- package/library/styles/product-ui.md +44 -0
- package/library/styles/studio-loop.md +41 -0
- package/library.json +1467 -0
- package/package.json +64 -4
- package/schema/film.schema.json +1316 -0
- package/showcase/vendor/DIALKIT-LICENSE +21 -0
- package/src/studio/theme/fonts/OFL.txt +94 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export const DEFAULT_TOKENS = {
|
|
2
|
+
fps: 30,
|
|
3
|
+
beat: 2.5,
|
|
4
|
+
hold: 0.6,
|
|
5
|
+
hold_end: 1.5,
|
|
6
|
+
duration: { instant: 0, fast: 0.3, base: 0.5, slow: 0.8 },
|
|
7
|
+
stagger: { tight: 0.03, base: 0.08, loose: 0.12 },
|
|
8
|
+
ease_enter: 'expo.out',
|
|
9
|
+
ease_exit: 'cubic.in',
|
|
10
|
+
ease_move: 'cubic.inOut',
|
|
11
|
+
ease_loop: 'linear',
|
|
12
|
+
transitions: 'standard',
|
|
13
|
+
ui: { duration: { fast: 0.12, base: 0.2, slow: 0.32, enter: 0.4 }, stagger: 0.1 },
|
|
14
|
+
};
|
|
15
|
+
const isObject = (v) => !!v && typeof v === 'object' && !Array.isArray(v);
|
|
16
|
+
/** Deep merge of plain objects. Arrays and scalars are replaced. */
|
|
17
|
+
export function merge(base, over) {
|
|
18
|
+
if (!isObject(base) || !isObject(over))
|
|
19
|
+
return (over === undefined ? base : over);
|
|
20
|
+
const out = { ...base };
|
|
21
|
+
for (const [k, v] of Object.entries(over))
|
|
22
|
+
out[k] = merge(out[k], v);
|
|
23
|
+
return out;
|
|
24
|
+
}
|
|
25
|
+
export const mergeTokens = (...layers) => layers.reduce((acc, l) => merge(acc, l), DEFAULT_TOKENS);
|
|
26
|
+
/** Every token path a film may reference as `$path`, e.g. `$duration.base`. */
|
|
27
|
+
export function tokenPaths(tokens) {
|
|
28
|
+
const out = [];
|
|
29
|
+
const walk = (v, path) => {
|
|
30
|
+
if (isObject(v) && !('spring' in v))
|
|
31
|
+
for (const [k, c] of Object.entries(v))
|
|
32
|
+
walk(c, path ? `${path}.${k}` : k);
|
|
33
|
+
else
|
|
34
|
+
out.push(path);
|
|
35
|
+
};
|
|
36
|
+
walk(tokens, '');
|
|
37
|
+
return out;
|
|
38
|
+
}
|
|
39
|
+
/** Reads `$duration.base` style references. Returns undefined when the path is unknown. */
|
|
40
|
+
export function readToken(tokens, ref) {
|
|
41
|
+
let cur = tokens;
|
|
42
|
+
for (const part of ref.replace(/^\$/, '').split('.')) {
|
|
43
|
+
if (!isObject(cur) || !(part in cur))
|
|
44
|
+
return undefined;
|
|
45
|
+
cur = cur[part];
|
|
46
|
+
}
|
|
47
|
+
return cur;
|
|
48
|
+
}
|
|
49
|
+
export const isTokenRef = (v) => typeof v === 'string' && v.startsWith('$');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VERSION = "0.4.0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const VERSION = '0.4.0';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// A generated film: twelve cards on a grid, opening nearest the upper left.
|
|
2
|
+
import { film, grid, layer, repeat, scene, sequence, staggerFrom } from '@bydiorama/motion/build';
|
|
3
|
+
|
|
4
|
+
const places = grid(12, 4, { x: [12, 88], y: [30, 88] });
|
|
5
|
+
|
|
6
|
+
export default film({
|
|
7
|
+
title: 'Builder demo', size: [1920, 1080], fps: 30,
|
|
8
|
+
scenes: [
|
|
9
|
+
scene('cards', [
|
|
10
|
+
sequence([
|
|
11
|
+
layer('title', 'el/text', { props: { text: 'Twelve cards, one line each' }, style: { size: 'headline' }, place: { x: 50, y: 12 }, enter: 'mask-up' }),
|
|
12
|
+
]),
|
|
13
|
+
staggerFrom(repeat(12, (i) => layer(`card-${i + 1}`, 'el/box', {
|
|
14
|
+
params: { width: 300, height: 150 }, place: places[i], enter: 'rise',
|
|
15
|
+
})), { focus: [0, 0], step: 0.06, start: 0.4 }),
|
|
16
|
+
], { hold: 1 }),
|
|
17
|
+
],
|
|
18
|
+
});
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/film.schema.json",
|
|
3
|
+
"motion": "0.4",
|
|
4
|
+
"title": "Feature announcement: a shared calendar",
|
|
5
|
+
"size": [1920, 1080],
|
|
6
|
+
"fps": 60,
|
|
7
|
+
"narrative": "narrative/feature-announcement",
|
|
8
|
+
"style": "style/clean-explainer",
|
|
9
|
+
"poster": 2.2,
|
|
10
|
+
"scenes": [
|
|
11
|
+
{
|
|
12
|
+
"id": "headline",
|
|
13
|
+
"intent": "Say the news in one line.",
|
|
14
|
+
"uses": ["scene/kinetic-headline", "type/word-build"],
|
|
15
|
+
"layers": [
|
|
16
|
+
{ "id": "eyebrow", "use": "el/text", "props": { "text": "New this week" }, "style": { "size": "caption", "color": "muted", "font": "mono" }, "enter": "fade" },
|
|
17
|
+
{ "id": "title", "use": "type/word-build", "at": 0.3, "props": { "text": "Meet the new shared calendar", "accent": ["calendar"] }, "style": { "size": "headline", "width": 70 } },
|
|
18
|
+
{ "id": "sub", "use": "el/text", "at": "title.end + 0.1", "props": { "text": "One schedule for every team." }, "style": { "size": "title", "color": "muted" }, "enter": { "move": "rise", "amount": 24 } }
|
|
19
|
+
],
|
|
20
|
+
"hold": 0.9,
|
|
21
|
+
"out": { "use": "transition/blur-dissolve" }
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "stat",
|
|
25
|
+
"intent": "One number that proves it.",
|
|
26
|
+
"uses": ["scene/stat-with-evidence", "fx/counter-roll", "type/accent-number"],
|
|
27
|
+
"background": "sunken",
|
|
28
|
+
"layers": [
|
|
29
|
+
{ "id": "number", "use": "fx/counter-roll", "at": 0.3, "props": { "value": 12 }, "style": { "size": "hero", "color": "accent" } },
|
|
30
|
+
{ "id": "label", "use": "el/text", "at": "number.start + 0.25", "props": { "text": "teams, one schedule" }, "style": { "size": "title" }, "enter": { "move": "rise", "amount": 24 } }
|
|
31
|
+
],
|
|
32
|
+
"hold": 1.0,
|
|
33
|
+
"out": { "use": "transition/step-wipe" }
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "prompt",
|
|
37
|
+
"intent": "Show the request being typed.",
|
|
38
|
+
"uses": ["scene/zoomed-ui", "ui/prompt-typing"],
|
|
39
|
+
"layers": [
|
|
40
|
+
{ "id": "field", "use": "el/box", "props": { "fill": "surface" }, "params": { "width": 1280, "height": 150, "radius": 75 }, "place": { "x": 50, "y": 50 }, "enter": { "move": "scale", "amount": 0.06 } },
|
|
41
|
+
{ "id": "query", "use": "type/typed-title", "at": "field.end", "props": { "text": "Find a free hour next week" }, "place": { "x": 20, "y": 50, "anchor": "left" }, "style": { "size": "title", "align": "left" } }
|
|
42
|
+
],
|
|
43
|
+
"hold": 1.0,
|
|
44
|
+
"tracks": { "scale": [[0, 1], [3, 1.05, "sine.inOut"]] },
|
|
45
|
+
"out": { "use": "transition/blur-dissolve" }
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "breadth",
|
|
49
|
+
"intent": "It works with what people already use.",
|
|
50
|
+
"uses": ["scene/marquee-wall", "fx/marquee-highlight"],
|
|
51
|
+
"length": 4,
|
|
52
|
+
"layout": { "padding": 0, "gap": 60 },
|
|
53
|
+
"layers": [
|
|
54
|
+
{ "id": "claim", "use": "el/text", "props": { "text": "Works with the tools you already use" }, "style": { "size": "title" }, "enter": "rise" },
|
|
55
|
+
{ "id": "wall", "use": "scene/marquee-wall", "at": 0.2, "props": { "items": ["Mail", "Chat", "Docs", "Tasks", "Video calls", "Notes", "Time off", "Rooms", "Shifts", "Travel", "Deadlines", "Reviews", "Stand-ups", "Launches", "Holidays", "On-call", "Workshops", "Interviews", "Releases", "Planning"], "highlight": "Rooms" }, "style": { "size": "title" }, "enter": { "move": "fade", "duration": "$duration.slow" } }
|
|
56
|
+
],
|
|
57
|
+
"out": { "use": "transition/blur-dissolve", "params": { "blur": 24 } }
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "end",
|
|
61
|
+
"intent": "The name, alone, and hold.",
|
|
62
|
+
"uses": ["scene/end-card"],
|
|
63
|
+
"background": "inverse",
|
|
64
|
+
"layers": [
|
|
65
|
+
{ "id": "name", "use": "type/scramble", "at": 0.3, "props": { "text": "CALENDAR" }, "style": { "size": "headline", "font": "mono" } }
|
|
66
|
+
],
|
|
67
|
+
"hold": "$hold_end"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/app-demo
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: product
|
|
5
|
+
summary: Shows an app doing one real task, start to finish.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: designed
|
|
8
|
+
duration:
|
|
9
|
+
min: 30
|
|
10
|
+
max: 60
|
|
11
|
+
unit: s
|
|
12
|
+
fits_styles:
|
|
13
|
+
- style/product-ui
|
|
14
|
+
- style/clean-explainer
|
|
15
|
+
beats:
|
|
16
|
+
- name: hook
|
|
17
|
+
share: 10
|
|
18
|
+
content: The problem in one line
|
|
19
|
+
primitives:
|
|
20
|
+
- type/mask-reveal
|
|
21
|
+
- scene/kinetic-headline
|
|
22
|
+
- type/word-build
|
|
23
|
+
- name: open
|
|
24
|
+
share: 12
|
|
25
|
+
content: The app arrives, enlarged where it matters
|
|
26
|
+
primitives:
|
|
27
|
+
- transition/iris
|
|
28
|
+
- scene/zoomed-ui
|
|
29
|
+
- transition/dive-in
|
|
30
|
+
- name: flow
|
|
31
|
+
share: 30
|
|
32
|
+
content: The cursor works through the task, one step per beat
|
|
33
|
+
primitives:
|
|
34
|
+
- ui/cursor-click
|
|
35
|
+
- ui/prompt-typing
|
|
36
|
+
- ui/tour-hold
|
|
37
|
+
- name: result
|
|
38
|
+
share: 18
|
|
39
|
+
content: The outcome appears, with the number that proves it
|
|
40
|
+
primitives:
|
|
41
|
+
- type/shimmer
|
|
42
|
+
- ui/streamed-result
|
|
43
|
+
- fx/counter-roll
|
|
44
|
+
- name: recap
|
|
45
|
+
share: 18
|
|
46
|
+
content: Three features, named
|
|
47
|
+
primitives:
|
|
48
|
+
- transition/stack-over
|
|
49
|
+
- type/inline-chips
|
|
50
|
+
- fx/stagger-fill
|
|
51
|
+
- name: end
|
|
52
|
+
share: 12
|
|
53
|
+
content: Name and where to get it
|
|
54
|
+
primitives:
|
|
55
|
+
- scene/logo-reveal
|
|
56
|
+
- scene/end-card
|
|
57
|
+
since: 0.5.0
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Notes
|
|
61
|
+
|
|
62
|
+
One task, shown for real. Hold every step long enough to read the interface, and cut away anything the task does not need.
|
|
63
|
+
|
|
64
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/brand-identity
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: brand
|
|
5
|
+
summary: Presents a new identity, from mark and idea to type, colour and use.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: designed
|
|
8
|
+
duration:
|
|
9
|
+
min: 40
|
|
10
|
+
max: 90
|
|
11
|
+
unit: s
|
|
12
|
+
fits_styles:
|
|
13
|
+
- style/brand-system
|
|
14
|
+
- style/editorial-type
|
|
15
|
+
beats:
|
|
16
|
+
- name: mark
|
|
17
|
+
share: 14
|
|
18
|
+
content: The mark assembles from its parts
|
|
19
|
+
primitives:
|
|
20
|
+
- scene/logo-reveal
|
|
21
|
+
- fx/path-draw
|
|
22
|
+
- scene/hero-object
|
|
23
|
+
- fx/letter-interleave
|
|
24
|
+
- name: idea
|
|
25
|
+
share: 14
|
|
26
|
+
content: The idea behind it, in one sentence
|
|
27
|
+
primitives:
|
|
28
|
+
- type/mask-reveal
|
|
29
|
+
- scene/kinetic-headline
|
|
30
|
+
- type/word-build
|
|
31
|
+
- name: type
|
|
32
|
+
share: 16
|
|
33
|
+
content: The typeface, set large and in its weights
|
|
34
|
+
primitives:
|
|
35
|
+
- type/tracking-in
|
|
36
|
+
- scene/specimen-grid
|
|
37
|
+
- type/style-multiply
|
|
38
|
+
- name: colour
|
|
39
|
+
share: 14
|
|
40
|
+
content: The palette fills the frame
|
|
41
|
+
primitives:
|
|
42
|
+
- transition/cover-reveal
|
|
43
|
+
- transition/band-sweep
|
|
44
|
+
- fx/mosaic-fill
|
|
45
|
+
- transition/light-dark-flip
|
|
46
|
+
- name: system
|
|
47
|
+
share: 16
|
|
48
|
+
content: Grid, shapes and patterns drawn from the mark
|
|
49
|
+
primitives:
|
|
50
|
+
- fx/shape-morph
|
|
51
|
+
- fx/grid-ripple
|
|
52
|
+
- scene/grid-wall
|
|
53
|
+
- fx/card-arrangements
|
|
54
|
+
- name: applications
|
|
55
|
+
share: 16
|
|
56
|
+
content: The identity on the surfaces it will live on
|
|
57
|
+
primitives:
|
|
58
|
+
- scene/strip-cycle
|
|
59
|
+
- scene/bento-grid
|
|
60
|
+
- scene/mosaic
|
|
61
|
+
- rig/rolodex
|
|
62
|
+
- name: end
|
|
63
|
+
share: 10
|
|
64
|
+
content: The lockup, still
|
|
65
|
+
primitives:
|
|
66
|
+
- scene/logo-reveal
|
|
67
|
+
- transition/collapse-to-anchor
|
|
68
|
+
- scene/end-card
|
|
69
|
+
since: 0.5.0
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Notes
|
|
73
|
+
|
|
74
|
+
Slow enough to study. Each beat shows one part of the system, and the parts are built from the mark rather than added to it.
|
|
75
|
+
|
|
76
|
+
The mark is revealed by one of a few patterns: stroke then fill, construction geometry, a mask opened from the mark's own shape, a morph from a simple shape, assembly on a grid, or symbol then wordmark. Pick one and keep it; the end lockup repeats it in short. A slow drift runs under every hold, so the mark is never dead still.
|
|
77
|
+
|
|
78
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/capability-through-type
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: graphics
|
|
5
|
+
summary: For features that can be shown through text itself.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: observed
|
|
8
|
+
observations: 1
|
|
9
|
+
duration:
|
|
10
|
+
min: 30
|
|
11
|
+
max: 45
|
|
12
|
+
unit: s
|
|
13
|
+
fits_styles:
|
|
14
|
+
- style/editorial-type
|
|
15
|
+
beats:
|
|
16
|
+
- name: write
|
|
17
|
+
share: 15
|
|
18
|
+
content: A sentence is written while it scrolls
|
|
19
|
+
primitives:
|
|
20
|
+
- type/writing-ticker
|
|
21
|
+
- name: restyle
|
|
22
|
+
share: 30
|
|
23
|
+
content: Each word gets a different treatment
|
|
24
|
+
primitives:
|
|
25
|
+
- type/per-word-restyle
|
|
26
|
+
- ui/collab-cursors
|
|
27
|
+
- name: multiply
|
|
28
|
+
share: 15
|
|
29
|
+
content: One word becomes a grid of typefaces
|
|
30
|
+
primitives:
|
|
31
|
+
- type/style-multiply
|
|
32
|
+
- scene/specimen-grid
|
|
33
|
+
- name: flip
|
|
34
|
+
share: 15
|
|
35
|
+
content: Mood changes to dark
|
|
36
|
+
primitives:
|
|
37
|
+
- transition/light-dark-flip
|
|
38
|
+
- texture/dither
|
|
39
|
+
- name: posters
|
|
40
|
+
share: 15
|
|
41
|
+
content: Poster frames with visible grids
|
|
42
|
+
primitives: []
|
|
43
|
+
- name: close
|
|
44
|
+
share: 10
|
|
45
|
+
content: Closing line and logo
|
|
46
|
+
primitives:
|
|
47
|
+
- scene/end-card
|
|
48
|
+
since: 0.3.0
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Notes
|
|
52
|
+
|
|
53
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/data-story
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: graphics
|
|
5
|
+
summary: Turns a few numbers into a short story.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: designed
|
|
8
|
+
duration:
|
|
9
|
+
min: 20
|
|
10
|
+
max: 40
|
|
11
|
+
unit: s
|
|
12
|
+
fits_styles:
|
|
13
|
+
- style/clean-explainer
|
|
14
|
+
- style/dark-showcase
|
|
15
|
+
beats:
|
|
16
|
+
- name: claim
|
|
17
|
+
share: 15
|
|
18
|
+
content: The claim, before the evidence
|
|
19
|
+
primitives:
|
|
20
|
+
- type/mask-reveal
|
|
21
|
+
- type/word-build
|
|
22
|
+
- name: number
|
|
23
|
+
share: 25
|
|
24
|
+
content: The headline number rolls in
|
|
25
|
+
primitives:
|
|
26
|
+
- fx/odometer
|
|
27
|
+
- fx/counter-roll
|
|
28
|
+
- type/accent-number
|
|
29
|
+
- name: context
|
|
30
|
+
share: 20
|
|
31
|
+
content: What surrounds the number
|
|
32
|
+
primitives:
|
|
33
|
+
- scene/line-chart
|
|
34
|
+
- scene/bar-chart
|
|
35
|
+
- scene/stat-with-evidence
|
|
36
|
+
- fx/depth-drift
|
|
37
|
+
- name: compare
|
|
38
|
+
share: 25
|
|
39
|
+
content: Before and after, or this against that
|
|
40
|
+
primitives:
|
|
41
|
+
- scene/bar-chart
|
|
42
|
+
- rig/flip-ticker
|
|
43
|
+
- fx/stagger-fill
|
|
44
|
+
- name: end
|
|
45
|
+
share: 15
|
|
46
|
+
content: Source and sign-off
|
|
47
|
+
primitives:
|
|
48
|
+
- scene/logo-reveal
|
|
49
|
+
- scene/end-card
|
|
50
|
+
since: 0.5.0
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Notes
|
|
54
|
+
|
|
55
|
+
Never more than one number moving at a time. The source of every figure goes on screen, small, in the end card.
|
|
56
|
+
|
|
57
|
+
Charts build in stages: axis, then data, then labels, then the one annotation that carries the point, each 0.6–1.0 s. A counter beside a chart uses the same curve as its bars, so they land together. Highlight one bar or one point, never two.
|
|
58
|
+
|
|
59
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/explainer
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: graphics
|
|
5
|
+
summary: Motion graphics that explain how something works.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: designed
|
|
8
|
+
duration:
|
|
9
|
+
min: 45
|
|
10
|
+
max: 90
|
|
11
|
+
unit: s
|
|
12
|
+
fits_styles:
|
|
13
|
+
- style/clean-explainer
|
|
14
|
+
- style/brand-system
|
|
15
|
+
beats:
|
|
16
|
+
- name: question
|
|
17
|
+
share: 10
|
|
18
|
+
content: The question the video answers
|
|
19
|
+
primitives:
|
|
20
|
+
- type/mask-reveal
|
|
21
|
+
- scene/kinetic-headline
|
|
22
|
+
- type/focus-blur
|
|
23
|
+
- name: setup
|
|
24
|
+
share: 16
|
|
25
|
+
content: What is there before anything happens
|
|
26
|
+
primitives:
|
|
27
|
+
- fx/grid-ripple
|
|
28
|
+
- fx/stagger-fill
|
|
29
|
+
- scene/grid-wall
|
|
30
|
+
- name: mechanism
|
|
31
|
+
share: 30
|
|
32
|
+
content: How it works, one step per beat
|
|
33
|
+
primitives:
|
|
34
|
+
- transition/push
|
|
35
|
+
- transition/step-wipe
|
|
36
|
+
- fx/card-arrangements
|
|
37
|
+
- type/inline-chips
|
|
38
|
+
- name: proof
|
|
39
|
+
share: 18
|
|
40
|
+
content: The number that shows it works
|
|
41
|
+
primitives:
|
|
42
|
+
- scene/bar-chart
|
|
43
|
+
- fx/odometer
|
|
44
|
+
- scene/stat-with-evidence
|
|
45
|
+
- fx/counter-roll
|
|
46
|
+
- name: takeaway
|
|
47
|
+
share: 14
|
|
48
|
+
content: The answer, in one line
|
|
49
|
+
primitives:
|
|
50
|
+
- type/scribble-highlight
|
|
51
|
+
- type/word-build
|
|
52
|
+
- name: end
|
|
53
|
+
share: 12
|
|
54
|
+
content: Who made it
|
|
55
|
+
primitives:
|
|
56
|
+
- scene/end-card
|
|
57
|
+
since: 0.5.0
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Notes
|
|
61
|
+
|
|
62
|
+
One idea per beat, and every shape on screen stands for something. A viewer should be able to explain it back after one watch.
|
|
63
|
+
|
|
64
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/feature-announcement
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: product
|
|
5
|
+
summary: For one new capability.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: observed
|
|
8
|
+
observations: 1
|
|
9
|
+
duration:
|
|
10
|
+
min: 18
|
|
11
|
+
max: 25
|
|
12
|
+
unit: s
|
|
13
|
+
fits_styles:
|
|
14
|
+
- style/clean-explainer
|
|
15
|
+
beats:
|
|
16
|
+
- name: headline
|
|
17
|
+
share: 14
|
|
18
|
+
content: Headline builds word by word
|
|
19
|
+
primitives:
|
|
20
|
+
- type/mask-reveal
|
|
21
|
+
- scene/kinetic-headline
|
|
22
|
+
- type/word-build
|
|
23
|
+
- type/inline-chips
|
|
24
|
+
- name: stat
|
|
25
|
+
share: 14
|
|
26
|
+
content: Big number with evidence around it
|
|
27
|
+
primitives:
|
|
28
|
+
- fx/odometer
|
|
29
|
+
- scene/stat-with-evidence
|
|
30
|
+
- type/accent-number
|
|
31
|
+
- name: prompt
|
|
32
|
+
share: 16
|
|
33
|
+
content: A request is typed and sent
|
|
34
|
+
primitives:
|
|
35
|
+
- scene/zoomed-ui
|
|
36
|
+
- ui/prompt-typing
|
|
37
|
+
- ui/cursor-click
|
|
38
|
+
- name: result
|
|
39
|
+
share: 18
|
|
40
|
+
content: The answer streams in
|
|
41
|
+
primitives:
|
|
42
|
+
- ui/streamed-result
|
|
43
|
+
- name: context
|
|
44
|
+
share: 8
|
|
45
|
+
content: One line that widens the claim
|
|
46
|
+
primitives:
|
|
47
|
+
- transition/push
|
|
48
|
+
- transition/blur-dissolve
|
|
49
|
+
- scene/kinetic-headline
|
|
50
|
+
- name: breadth
|
|
51
|
+
share: 18
|
|
52
|
+
content: Wall of related items, one highlighted
|
|
53
|
+
primitives:
|
|
54
|
+
- scene/marquee-wall
|
|
55
|
+
- fx/marquee-highlight
|
|
56
|
+
- name: end
|
|
57
|
+
share: 12
|
|
58
|
+
content: The highlight becomes the logo
|
|
59
|
+
primitives:
|
|
60
|
+
- scene/logo-reveal
|
|
61
|
+
- transition/collapse-to-anchor
|
|
62
|
+
- scene/end-card
|
|
63
|
+
since: 0.3.0
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Notes
|
|
67
|
+
|
|
68
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/infinite-loop
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: social
|
|
5
|
+
summary: One scene that repeats without a visible seam.
|
|
6
|
+
status: specified
|
|
7
|
+
origin: observed
|
|
8
|
+
observations: 3
|
|
9
|
+
duration:
|
|
10
|
+
min: 9
|
|
11
|
+
max: 18
|
|
12
|
+
unit: s
|
|
13
|
+
fits_styles:
|
|
14
|
+
- style/studio-loop
|
|
15
|
+
beats:
|
|
16
|
+
- name: loop
|
|
17
|
+
share: 100
|
|
18
|
+
content: One rig in constant motion
|
|
19
|
+
primitives:
|
|
20
|
+
- rig/orbit-ring
|
|
21
|
+
- rig/rolodex
|
|
22
|
+
- rig/flip-ticker
|
|
23
|
+
since: 0.3.0
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Notes
|
|
27
|
+
|
|
28
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/platform-launch
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: product
|
|
5
|
+
summary: For a product made of several tools.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: observed
|
|
8
|
+
observations: 1
|
|
9
|
+
duration:
|
|
10
|
+
min: 35
|
|
11
|
+
max: 50
|
|
12
|
+
unit: s
|
|
13
|
+
fits_styles:
|
|
14
|
+
- style/dark-showcase
|
|
15
|
+
beats:
|
|
16
|
+
- name: hook
|
|
17
|
+
share: 5
|
|
18
|
+
content: Hero object built from the brand mark
|
|
19
|
+
primitives:
|
|
20
|
+
- scene/hero-object
|
|
21
|
+
- rig/tumbling-object
|
|
22
|
+
- name: dive
|
|
23
|
+
share: 1
|
|
24
|
+
content: Camera pushes into the object
|
|
25
|
+
primitives:
|
|
26
|
+
- transition/dive-in
|
|
27
|
+
- name: burst
|
|
28
|
+
share: 4
|
|
29
|
+
content: Assets explode outward
|
|
30
|
+
primitives:
|
|
31
|
+
- fx/radial-burst
|
|
32
|
+
- name: title
|
|
33
|
+
share: 5
|
|
34
|
+
content: Product name with drifting collage
|
|
35
|
+
primitives:
|
|
36
|
+
- type/char-cascade
|
|
37
|
+
- type/typed-title
|
|
38
|
+
- fx/depth-drift
|
|
39
|
+
- name: collapse
|
|
40
|
+
share: 2
|
|
41
|
+
content: Everything shrinks into the first interface element
|
|
42
|
+
primitives:
|
|
43
|
+
- transition/collapse-to-anchor
|
|
44
|
+
- name: use
|
|
45
|
+
share: 6
|
|
46
|
+
content: A query is typed and results fill the frame
|
|
47
|
+
primitives:
|
|
48
|
+
- ui/prompt-typing
|
|
49
|
+
- ui/streamed-result
|
|
50
|
+
- scene/grid-wall
|
|
51
|
+
- name: tour
|
|
52
|
+
share: 52
|
|
53
|
+
content: One feature every 2 to 3 s inside a fixed frame
|
|
54
|
+
primitives:
|
|
55
|
+
- transition/slant-wipe
|
|
56
|
+
- ui/tour-hold
|
|
57
|
+
- transition/layout-locked-swap
|
|
58
|
+
- transition/beat-cut
|
|
59
|
+
- name: delight
|
|
60
|
+
share: 8
|
|
61
|
+
content: A playful or illustrated moment
|
|
62
|
+
primitives:
|
|
63
|
+
- fx/letter-interleave
|
|
64
|
+
- name: proof
|
|
65
|
+
share: 7
|
|
66
|
+
content: Thousands of items tile the frame
|
|
67
|
+
primitives:
|
|
68
|
+
- scene/mosaic
|
|
69
|
+
- fx/mosaic-fill
|
|
70
|
+
- name: bookend
|
|
71
|
+
share: 10
|
|
72
|
+
content: Return to the hero object so the film loops
|
|
73
|
+
primitives:
|
|
74
|
+
- rig/tumbling-object
|
|
75
|
+
- scene/end-card
|
|
76
|
+
since: 0.3.0
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Notes
|
|
80
|
+
|
|
81
|
+
Shares are percentages of total duration and must add up to 100.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
slug: narrative/social-teaser
|
|
3
|
+
kind: narrative
|
|
4
|
+
family: social
|
|
5
|
+
summary: A short vertical hook for a feed.
|
|
6
|
+
status: draft
|
|
7
|
+
origin: designed
|
|
8
|
+
duration:
|
|
9
|
+
min: 6
|
|
10
|
+
max: 15
|
|
11
|
+
unit: s
|
|
12
|
+
fits_styles:
|
|
13
|
+
- style/kinetic-poster
|
|
14
|
+
- style/studio-loop
|
|
15
|
+
beats:
|
|
16
|
+
- name: hook
|
|
17
|
+
share: 30
|
|
18
|
+
content: One word or number that stops the scroll
|
|
19
|
+
primitives:
|
|
20
|
+
- type/block-reveal
|
|
21
|
+
- type/char-cascade
|
|
22
|
+
- type/scramble
|
|
23
|
+
- type/split-flap
|
|
24
|
+
- name: payoff
|
|
25
|
+
share: 45
|
|
26
|
+
content: What it means, cut on the beat
|
|
27
|
+
primitives:
|
|
28
|
+
- type/word-roller
|
|
29
|
+
- transition/slant-wipe
|
|
30
|
+
- type/word-build
|
|
31
|
+
- transition/beat-cut
|
|
32
|
+
- name: end
|
|
33
|
+
share: 25
|
|
34
|
+
content: Name and call to action
|
|
35
|
+
primitives:
|
|
36
|
+
- scene/logo-reveal
|
|
37
|
+
- scene/end-card
|
|
38
|
+
since: 0.5.0
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Notes
|
|
42
|
+
|
|
43
|
+
Readable with the sound off and in the first second. Keep text inside the middle 80% of a 9:16 frame, clear of feed controls.
|
|
44
|
+
|
|
45
|
+
Shares are percentages of total duration and must add up to 100.
|