@auscera/cleoedits 0.0.0-stage → 0.1.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 (230) hide show
  1. package/README.md +62 -2
  2. package/cli.mjs +149 -0
  3. package/lib/dependencies.mjs +384 -0
  4. package/lib/run.mjs +114 -0
  5. package/lib/workspace.mjs +167 -0
  6. package/package.json +240 -3
  7. package/workspace/.agents/skills/cleoedits/SKILL.md +29 -0
  8. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/audiogram.json +41 -0
  9. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/facebook.json +48 -0
  10. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/linkedin.json +48 -0
  11. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/podcast.json +23 -0
  12. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/reels.json +48 -0
  13. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/shorts.json +48 -0
  14. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/tiktok.json +48 -0
  15. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/x.json +48 -0
  16. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/youtube-shorts.json +48 -0
  17. package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/youtube.json +48 -0
  18. package/workspace/.agents/skills/cleoedits/assets/reel_effects/assets/LICENSE-SimpleIcons +30 -0
  19. package/workspace/.agents/skills/cleoedits/assets/reel_effects/assets/logos.json +1 -0
  20. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Anton-Regular.ttf +0 -0
  21. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/ArchivoBlack-Regular.ttf +0 -0
  22. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/InstrumentSerif-Italic.ttf +0 -0
  23. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Inter.ttf +0 -0
  24. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/LICENSE-PermanentMarker.txt +202 -0
  25. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Montserrat.ttf +0 -0
  26. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Anton.txt +93 -0
  27. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-ArchivoBlack.txt +93 -0
  28. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-InstrumentSerif.txt +93 -0
  29. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Inter.txt +93 -0
  30. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Montserrat.txt +93 -0
  31. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-PlayfairDisplay.txt +93 -0
  32. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Poppins.txt +93 -0
  33. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-SpaceMono.txt +93 -0
  34. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/PermanentMarker-Regular.ttf +0 -0
  35. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/PlayfairDisplay-Italic.ttf +0 -0
  36. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/PlayfairDisplay.ttf +0 -0
  37. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Poppins-Black.ttf +0 -0
  38. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Poppins-Bold.ttf +0 -0
  39. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Poppins-ExtraBold.ttf +0 -0
  40. package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/SpaceMono-Bold.ttf +0 -0
  41. package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/LICENSE-MediaPipe +218 -0
  42. package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/LICENSE-YuNet +21 -0
  43. package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/NOTICE.md +4 -0
  44. package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/selfie_segmenter.tflite +0 -0
  45. package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/yunet.onnx +0 -0
  46. package/workspace/.agents/skills/cleoedits/assets/video_styles/LICENSE +21 -0
  47. package/workspace/.agents/skills/cleoedits/assets/video_styles/audio-app-ui/STYLE.md +65 -0
  48. package/workspace/.agents/skills/cleoedits/assets/video_styles/blueprint/STYLE.md +53 -0
  49. package/workspace/.agents/skills/cleoedits/assets/video_styles/blueprint/index.html +328 -0
  50. package/workspace/.agents/skills/cleoedits/assets/video_styles/blueprint/studio.js +57 -0
  51. package/workspace/.agents/skills/cleoedits/assets/video_styles/data-story/STYLE.md +65 -0
  52. package/workspace/.agents/skills/cleoedits/assets/video_styles/data-story/index.html +575 -0
  53. package/workspace/.agents/skills/cleoedits/assets/video_styles/design-app-ui/STYLE.md +68 -0
  54. package/workspace/.agents/skills/cleoedits/assets/video_styles/editor-ui/STYLE.md +73 -0
  55. package/workspace/.agents/skills/cleoedits/assets/video_styles/editorial-paper/STYLE.md +54 -0
  56. package/workspace/.agents/skills/cleoedits/assets/video_styles/editorial-paper/index.html +189 -0
  57. package/workspace/.agents/skills/cleoedits/assets/video_styles/editorial-paper/studio.js +57 -0
  58. package/workspace/.agents/skills/cleoedits/assets/video_styles/explainer-diagram/STYLE.md +64 -0
  59. package/workspace/.agents/skills/cleoedits/assets/video_styles/explainer-diagram/index.html +620 -0
  60. package/workspace/.agents/skills/cleoedits/assets/video_styles/graphite-ui/STYLE.md +55 -0
  61. package/workspace/.agents/skills/cleoedits/assets/video_styles/graphite-ui/index.html +238 -0
  62. package/workspace/.agents/skills/cleoedits/assets/video_styles/graphite-ui/studio.js +57 -0
  63. package/workspace/.agents/skills/cleoedits/assets/video_styles/growing-city/STYLE.md +66 -0
  64. package/workspace/.agents/skills/cleoedits/assets/video_styles/growing-city/index.html +602 -0
  65. package/workspace/.agents/skills/cleoedits/assets/video_styles/ink-line/STYLE.md +66 -0
  66. package/workspace/.agents/skills/cleoedits/assets/video_styles/ink-line/index.html +777 -0
  67. package/workspace/.agents/skills/cleoedits/assets/video_styles/midnight-grid/STYLE.md +56 -0
  68. package/workspace/.agents/skills/cleoedits/assets/video_styles/midnight-grid/index.html +186 -0
  69. package/workspace/.agents/skills/cleoedits/assets/video_styles/midnight-grid/studio.js +57 -0
  70. package/workspace/.agents/skills/cleoedits/assets/video_styles/motion-app-ui/STYLE.md +68 -0
  71. package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-cut/STYLE.md +56 -0
  72. package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-cut/index.html +244 -0
  73. package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-cut/studio.js +57 -0
  74. package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-world/STYLE.md +67 -0
  75. package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-world/index.html +663 -0
  76. package/workspace/.agents/skills/cleoedits/assets/video_styles/particle-field/STYLE.md +59 -0
  77. package/workspace/.agents/skills/cleoedits/assets/video_styles/particle-field/index.html +395 -0
  78. package/workspace/.agents/skills/cleoedits/assets/video_styles/poster-pop/STYLE.md +52 -0
  79. package/workspace/.agents/skills/cleoedits/assets/video_styles/poster-pop/index.html +194 -0
  80. package/workspace/.agents/skills/cleoedits/assets/video_styles/poster-pop/studio.js +57 -0
  81. package/workspace/.agents/skills/cleoedits/assets/video_styles/risograph/STYLE.md +58 -0
  82. package/workspace/.agents/skills/cleoedits/assets/video_styles/risograph/index.html +242 -0
  83. package/workspace/.agents/skills/cleoedits/assets/video_styles/risograph/studio.js +57 -0
  84. package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-grid/STYLE.md +53 -0
  85. package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-grid/index.html +138 -0
  86. package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-grid/studio.js +57 -0
  87. package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-kinetic/STYLE.md +63 -0
  88. package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-kinetic/index.html +599 -0
  89. package/workspace/.agents/skills/cleoedits/assets/video_styles/time-travel/STYLE.md +65 -0
  90. package/workspace/.agents/skills/cleoedits/assets/video_styles/time-travel/index.html +1297 -0
  91. package/workspace/.agents/skills/cleoedits/assets/video_styles/weather-widget/STYLE.md +69 -0
  92. package/workspace/.agents/skills/cleoedits/assets/video_styles/weather-widget/index.html +674 -0
  93. package/workspace/.agents/skills/cleoedits/references/audio-clearervoice-elevenlabs.md +11 -0
  94. package/workspace/.agents/skills/cleoedits/references/ffmpeg-and-reels.md +15 -0
  95. package/workspace/.agents/skills/cleoedits/references/hyperframes-workflows.md +13 -0
  96. package/workspace/.agents/skills/cleoedits/references/kdenlive-cli-and-mcp.md +12 -0
  97. package/workspace/.agents/skills/cleoedits/references/motion-design-pipeline.md +7 -0
  98. package/workspace/.agents/skills/cleoedits/references/motion-taste-emil.md +5 -0
  99. package/workspace/.agents/skills/cleoedits/references/playwright-demo-capture.md +9 -0
  100. package/workspace/.agents/skills/cleoedits/references/remotion-workflows.md +13 -0
  101. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/LICENSE +21 -0
  102. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_ass_overlay.py +399 -0
  103. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/__init__.py +235 -0
  104. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/alpha.py +560 -0
  105. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/asr.py +1237 -0
  106. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/color.py +540 -0
  107. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/decision.py +2452 -0
  108. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/drawtext.py +290 -0
  109. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/emit.py +1309 -0
  110. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/emoji.py +518 -0
  111. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/fonts.py +875 -0
  112. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/pacing.py +263 -0
  113. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/pacing_edit.py +432 -0
  114. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/probe.py +1613 -0
  115. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/runner.py +3994 -0
  116. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/text.py +73 -0
  117. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/timeline.py +721 -0
  118. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/wrap.py +981 -0
  119. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_contract.py +2454 -0
  120. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_platforms.py +258 -0
  121. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_review.html +754 -0
  122. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_review.py +258 -0
  123. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_smartcut.py +450 -0
  124. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/audio.py +867 -0
  125. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/background.py +136 -0
  126. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/batch.py +1409 -0
  127. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/broll.py +282 -0
  128. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/caption.py +2207 -0
  129. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/check.py +815 -0
  130. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/color.py +695 -0
  131. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/crop.py +91 -0
  132. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/cropdetect.py +214 -0
  133. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/cut.py +2076 -0
  134. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/deinterlace.py +90 -0
  135. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/denoise.py +94 -0
  136. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/export.py +1033 -0
  137. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/fit.py +729 -0
  138. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/freeze.py +197 -0
  139. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/graphics.py +920 -0
  140. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/grid.py +235 -0
  141. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/insert.py +142 -0
  142. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/join.py +1083 -0
  143. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/look.py +475 -0
  144. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/loop.py +395 -0
  145. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/loudness.py +397 -0
  146. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/metadata.py +416 -0
  147. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/multicam.py +414 -0
  148. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/overlay.py +766 -0
  149. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/pad.py +121 -0
  150. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/probe.py +145 -0
  151. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/proxy.py +93 -0
  152. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/redact.py +162 -0
  153. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/render.py +2424 -0
  154. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/report.py +354 -0
  155. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/reverse.py +114 -0
  156. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/scenes.py +439 -0
  157. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/sequence.py +285 -0
  158. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/silence.py +945 -0
  159. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/speedramp.py +193 -0
  160. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/sphere.py +137 -0
  161. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/stabilize.py +141 -0
  162. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/straighten.py +120 -0
  163. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/sync.py +500 -0
  164. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/verify.py +411 -0
  165. package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/waveform.py +502 -0
  166. package/workspace/.agents/skills/cleoedits/scripts/kdenlive_builder.py +284 -0
  167. package/workspace/.agents/skills/cleoedits/scripts/motion/LICENSE-claude-motion +21 -0
  168. package/workspace/.agents/skills/cleoedits/scripts/motion/LICENSE-motion-design +21 -0
  169. package/workspace/.agents/skills/cleoedits/scripts/motion/_media.py +43 -0
  170. package/workspace/.agents/skills/cleoedits/scripts/motion/pacing_check.py +90 -0
  171. package/workspace/.agents/skills/cleoedits/scripts/motion/storyboard.py +77 -0
  172. package/workspace/.agents/skills/cleoedits/scripts/reel_effects/LICENSE +26 -0
  173. package/workspace/.agents/skills/cleoedits/scripts/reel_effects/fx.py +2717 -0
  174. package/workspace/.agents/skills/cleoedits/scripts/reel_effects/logos.py +194 -0
  175. package/workspace/.agents/skills/cleoedits/scripts/reel_effects/sfx.py +105 -0
  176. package/workspace/.agents/skills/cleoedits/scripts/reel_effects/trim.py +99 -0
  177. package/workspace/.agents/skills/cleoedits/scripts/reel_effects/words.py +60 -0
  178. package/workspace/.claude/commands/blender-3d.md +12 -0
  179. package/workspace/.claude/commands/business-short-form-reels.md +12 -0
  180. package/workspace/.claude/commands/color-grade.md +12 -0
  181. package/workspace/.claude/commands/cutout-grid-reel.md +12 -0
  182. package/workspace/.claude/commands/depth-ui-reel.md +12 -0
  183. package/workspace/.claude/commands/explainer-panel-reel.md +12 -0
  184. package/workspace/.claude/commands/freeze-frame.md +12 -0
  185. package/workspace/.claude/commands/glass-graph.md +12 -0
  186. package/workspace/.claude/commands/over-the-shoulder.md +12 -0
  187. package/workspace/.claude/commands/personal-short-form-reels.md +12 -0
  188. package/workspace/.claude/commands/ranking-format.md +12 -0
  189. package/workspace/.claude/commands/relight.md +12 -0
  190. package/workspace/.claude/commands/reverse-engineer.md +12 -0
  191. package/workspace/.claude/commands/text-behind.md +12 -0
  192. package/workspace/.claude/commands/tier-list.md +12 -0
  193. package/workspace/.claude-plugin/plugin.json +8 -0
  194. package/workspace/.npmignore +15 -0
  195. package/workspace/AGENTS.md +30 -0
  196. package/workspace/README.md +63 -0
  197. package/workspace/assets/fonts/TikTokSans-OFL.txt +93 -0
  198. package/workspace/assets/fonts/TikTokSans-Variable.ttf +0 -0
  199. package/workspace/assets/luts/clean_warm.cube +4917 -0
  200. package/workspace/assets/luts/golden_hour.cube +4917 -0
  201. package/workspace/assets/luts/moody_dark.cube +4917 -0
  202. package/workspace/assets/luts/teal_orange.cube +4917 -0
  203. package/workspace/assets/sfx/NOTICE.txt +1 -0
  204. package/workspace/assets/sfx/click.wav +0 -0
  205. package/workspace/assets/sfx/pop.wav +0 -0
  206. package/workspace/assets/sfx/riser.wav +0 -0
  207. package/workspace/assets/sfx/whoosh.wav +0 -0
  208. package/workspace/generators/hyperframes/index.html +39 -0
  209. package/workspace/generators/hyperframes/package.json +15 -0
  210. package/workspace/generators/hyperframes/pnpm-lock.yaml +1181 -0
  211. package/workspace/generators/hyperframes/pnpm-workspace.yaml +10 -0
  212. package/workspace/generators/remotion/eslint.config.mjs +3 -0
  213. package/workspace/generators/remotion/package.json +36 -0
  214. package/workspace/generators/remotion/pnpm-lock.yaml +4179 -0
  215. package/workspace/generators/remotion/pnpm-workspace.yaml +10 -0
  216. package/workspace/generators/remotion/remotion.config.ts +13 -0
  217. package/workspace/generators/remotion/src/Root.tsx +52 -0
  218. package/workspace/generators/remotion/src/index.css +1 -0
  219. package/workspace/generators/remotion/src/index.ts +4 -0
  220. package/workspace/generators/remotion/tsconfig.json +15 -0
  221. package/workspace/pipeline/scripts/_codec.py +28 -0
  222. package/workspace/pipeline/scripts/ai_media_api.py +109 -0
  223. package/workspace/pipeline/scripts/blender_render.py +166 -0
  224. package/workspace/pipeline/scripts/composite.py +49 -0
  225. package/workspace/pipeline/scripts/melt.sh +68 -0
  226. package/workspace/pipeline/scripts/normalize_audio.py +39 -0
  227. package/workspace/pipeline/scripts/person_matte.py +216 -0
  228. package/workspace/pipeline/scripts/record_demo.py +69 -0
  229. package/workspace/pipeline/scripts/whisper_cut.py +98 -0
  230. package/workspace-manifest.json +908 -0
@@ -0,0 +1,244 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=1920, height=1080" />
6
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,500&display=swap" />
7
+ <script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
8
+ <script src="studio.js"></script>
9
+ <style>
10
+ /* style: paper-cut. Every colour comes from these tokens. */
11
+ :root { --cream: #F2E8D5; --sand: #E3CBA8; --sage: #9CB49A; --dsage: #5E7F6A; --teal: #2F5D62;
12
+ --ink: #2B2B2B; --accent: #D98C7A; }
13
+ * { margin: 0; padding: 0; box-sizing: border-box; }
14
+ html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--cream); }
15
+ #root { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--cream);
16
+ font-family: 'EB Garamond', serif; color: var(--teal); }
17
+ .cam { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 960px 540px; }
18
+ .mov { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
19
+ .mov svg { position: absolute; left: 0; top: 0; overflow: visible; }
20
+ #ground { position: absolute; inset: 0; }
21
+ .line { position: absolute; left: 0; top: 0; white-space: pre; line-height: 1;
22
+ font-style: italic; font-weight: 500; }
23
+ .ch { display: inline-block; transform-origin: 50% 70%; }
24
+ .probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
25
+ </style>
26
+ </head>
27
+ <body>
28
+ <div id="root" data-composition-id="main" data-start="0" data-duration="12" data-width="1920" data-height="1080">
29
+ <div id="ground"></div>
30
+ </div>
31
+ <script>
32
+ const S = STUDIO, root = S.root, D = 12, NS = 'http://www.w3.org/2000/svg';
33
+ const css = getComputedStyle(document.documentElement);
34
+ const C = {}; ['cream', 'sand', 'sage', 'dsage', 'teal', 'ink', 'accent'].forEach(k => C[k] = css.getPropertyValue('--' + k).trim());
35
+ const rgb = h => [1, 3, 5].map(i => parseInt(h.slice(i, i + 2), 16));
36
+ const mixHex = (a, b, p) => { const A = rgb(a), B = rgb(b); return 'rgb(' + A.map((v, i) => Math.round(v + (B[i] - v) * p)).join(',') + ')'; };
37
+ const INK = rgb(C.ink).join(',');
38
+ const TAU = Math.PI * 2;
39
+
40
+ // ---------- paper grain: one seeded, tileable texture (fine tooth + soft mottling + a few fibres)
41
+ const G = 512, cv = document.createElement('canvas'); cv.width = cv.height = G;
42
+ const g = cv.getContext('2d'), img = g.createImageData(G, G), gr = S.rng(11);
43
+ const waves = []; for (let k = 0; k < 7; k++) waves.push([1 + Math.floor(gr() * 4), 1 + Math.floor(gr() * 4), gr() * TAU, 0.4 + gr() * 0.6]);
44
+ for (let y = 0; y < G; y++) for (let x = 0; x < G; x++) {
45
+ let m = 0; for (const [kx, ky, ph, a] of waves) m += a * Math.sin(TAU * (kx * x / G + (ky * y / G) * (kx % 2 ? 1 : -1)) + ph);
46
+ const v = 128 + (gr() - 0.5) * 64 + m * 3.5;
47
+ const i = (y * G + x) * 4; img.data[i] = img.data[i + 1] = img.data[i + 2] = v; img.data[i + 3] = 255;
48
+ }
49
+ g.putImageData(img, 0, 0);
50
+ g.lineCap = 'round';
51
+ for (let f = 0; f < 70; f++) { // fibres
52
+ const x = gr() * G, y = gr() * G, a = gr() * TAU, l = 6 + gr() * 18;
53
+ g.strokeStyle = gr() < 0.6 ? 'rgba(255,255,255,0.35)' : 'rgba(0,0,0,0.18)'; g.lineWidth = 0.7;
54
+ g.beginPath(); g.moveTo(x, y); g.quadraticCurveTo(x + Math.cos(a + 0.6) * l * 0.5, y + Math.sin(a + 0.6) * l * 0.5,
55
+ x + Math.cos(a) * l, y + Math.sin(a) * l); g.stroke();
56
+ }
57
+ const GRAIN = cv.toDataURL('image/png');
58
+ const ground = document.getElementById('ground');
59
+ Object.assign(ground.style, {
60
+ backgroundColor: C.cream,
61
+ backgroundImage: `radial-gradient(ellipse 75% 70% at 38% 42%, rgba(${INK},0) 55%, rgba(${INK},0.10) 100%), url(${GRAIN})`,
62
+ backgroundBlendMode: 'normal, soft-light',
63
+ });
64
+ const defs = document.createElementNS(NS, 'svg');
65
+ defs.setAttribute('width', 0); defs.setAttribute('height', 0); defs.style.position = 'absolute';
66
+ defs.innerHTML = `<defs><pattern id="grain" patternUnits="userSpaceOnUse" width="${G}" height="${G}">
67
+ <image href="${GRAIN}" width="${G}" height="${G}"/></pattern></defs>`;
68
+ root.appendChild(defs);
69
+
70
+ // ---------- hand-cut shapes: short straight scissor runs with a little wobble
71
+ const toD = (pts, R) => 'M' + pts.map(([x, y]) => (x + (R() - 0.5) * 1.2).toFixed(1) + ' ' + (y + (R() - 0.5) * 1.2).toFixed(1)).join('L') + 'Z';
72
+ function disc(cx, cy, r, seed) {
73
+ const R = S.rng(seed), f = [R() * TAU, R() * TAU, R() * TAU], n = Math.ceil(TAU * r / 13), pts = [];
74
+ for (let i = 0; i < n; i++) {
75
+ const a = i / n * TAU;
76
+ const rr = r * (1 + 0.004 * Math.sin(3 * a + f[0]) + 0.0025 * Math.sin(7 * a + f[1]) + 0.0012 * Math.sin(15 * a + f[2]));
77
+ pts.push([cx + rr * Math.cos(a), cy + rr * Math.sin(a)]);
78
+ }
79
+ return { d: toD(pts, R), box: [cx - r - 10, cy - r - 10, 2 * r + 20, 2 * r + 20] };
80
+ }
81
+ function scallops(y0, amp, wl, seed) { // a strip with uneven, hand-cut scallops
82
+ const R = S.rng(seed), pts = [];
83
+ let x = -1160;
84
+ while (x < 3080) {
85
+ const w = wl * (0.72 + 0.56 * R()), a = amp * (0.78 + 0.4 * R()), n = Math.ceil(w / 12);
86
+ for (let i = 0; i < n; i++) { const u = i / n; pts.push([x + u * w, y0 - a * Math.pow(Math.sin(Math.PI * u), 0.75)]); }
87
+ x += w;
88
+ }
89
+ pts.push([x, y0], [x, 1500], [-1160, 1500]);
90
+ return { d: toD(pts, R), box: [-1170, y0 - amp * 1.2 - 10, x + 1180, 1520 - y0 + amp * 1.2] };
91
+ }
92
+ function leaf(px, py, ang, len, wid, seed, veinCol) { // stem base at (px, py), pointing at ang degrees
93
+ const R = S.rng(seed), a = ang * Math.PI / 180, ca = Math.cos(a), sa = Math.sin(a);
94
+ const P = (x, y) => [px + x * ca - y * sa, py + x * sa + y * ca];
95
+ const n = Math.ceil(len / 11), top = [], bot = [], bend = (R() - 0.5) * 0.12 * len;
96
+ for (let i = 0; i <= n; i++) {
97
+ const u = i / n, w = Math.pow(Math.sin(Math.PI * Math.pow(u, 0.85)), 0.9), c = bend * Math.sin(Math.PI * u);
98
+ top.push(P(u * len, c - wid / 2 * w)); bot.push(P(u * len, c + wid / 2 * w * 0.92));
99
+ }
100
+ const stem = [P(-120, -4), P(4, -4), P(4, 4), P(-120, 4)];
101
+ let d = toD(top.concat(bot.reverse()), R) + toD(stem, R);
102
+ let vein = `M${P(-110, 0).join(' ')}`;
103
+ for (let i = 1; i <= 10; i++) { const u = i / 10 * 0.88; vein += `L${P(u * len, bend * Math.sin(Math.PI * u)).join(' ')}`; }
104
+ for (const u of [0.22, 0.4, 0.58, 0.74]) for (const s of [-1, 1]) {
105
+ const c = bend * Math.sin(Math.PI * u), w = wid / 2 * 0.62 * Math.pow(Math.sin(Math.PI * u), 0.9);
106
+ vein += `M${P(u * len, c).join(' ')}L${P(u * len + w * 0.9, c + s * w).join(' ')}`;
107
+ }
108
+ const extra = `<path d="${vein}" fill="none" stroke="${veinCol}" stroke-width="3" stroke-linecap="round" opacity="0.55"/>`;
109
+ const xs = top.concat(bot).map(p => p[0]), ys = top.concat(bot).map(p => p[1]);
110
+ const x0 = Math.min(...xs, px) - 130, y0 = Math.min(...ys, py) - 130;
111
+ return { d, extra, box: [x0, y0, Math.max(...xs, px) - x0 + 130, Math.max(...ys, py) - y0 + 130] };
112
+ }
113
+
114
+ // ---------- a sheet: camera wrapper (parallax) > motion wrapper (lift, shadow) > svg
115
+ let uid = 0;
116
+ function sheet(shape, color, depth, origin) {
117
+ const id = 'cp' + (uid++), cam = document.createElement('div'), mov = document.createElement('div');
118
+ cam.className = 'cam'; mov.className = 'mov'; cam.appendChild(mov); root.appendChild(cam);
119
+ const rim = mixHex(color, '#FFFFFF', 0.42), [bx, by, bw, bh] = shape.box;
120
+ mov.innerHTML = `<svg width="1920" height="1080" viewBox="0 0 1920 1080"><defs><clipPath id="${id}"><path d="${shape.d}"/></clipPath></defs>
121
+ <g clip-path="url(#${id})"><path d="${shape.d}" fill="${rim}"/><path d="${shape.d}" fill="${color}" transform="translate(0.8 2.4)"/>
122
+ ${shape.extra || ''}<rect x="${bx}" y="${by}" width="${bw}" height="${bh}" fill="url(#grain)" opacity="0.62" style="mix-blend-mode:soft-light"/></g></svg>`;
123
+ mov.style.transformOrigin = origin[0] + 'px ' + origin[1] + 'px';
124
+ return { cam, mov, depth };
125
+ }
126
+ // lift L in 0..1: 0 = flat on the sheet behind, 1 = held high. Wide soft shadow when high, tight contact when down.
127
+ const shadow = (L, k) => {
128
+ k = k || 1;
129
+ return `drop-shadow(${((3 + 16 * L) * k).toFixed(2)}px ${((5 + 30 * L) * k).toFixed(2)}px ${((6 + 34 * L) * k).toFixed(2)}px rgba(${INK},${(0.34 - 0.13 * L).toFixed(3)}))` +
130
+ ` drop-shadow(${0.8 * k}px ${1.6 * k}px ${1.4 * k}px rgba(${INK},${(0.32 * (1 - L)).toFixed(3)}))`;
131
+ };
132
+
133
+ // ---------- the scene, back to front
134
+ const AX = 1580, AY = 1100;
135
+ const arcs = [[760, C.sand, 0.2], [640, C.sage, 0.3], [520, C.dsage, 0.4], [400, C.cream, 0.5]]
136
+ .map(([r, col, dep], i) => Object.assign(sheet(disc(AX, AY, r, 20 + i), col, dep, [AX, AY - r]), { i, r }));
137
+ const sun = sheet(disc(AX, 905, 165, 40), C.accent, 0.55, [AX, 905]);
138
+
139
+ // words: paper letters
140
+ const lines = [
141
+ { txt: 'Layer', size: 230, base: 488, x: 140, col: C.teal, t0: 3.0, st: 0.05, out: 9.3 },
142
+ { txt: 'by layer', size: 230, base: 730, x: 228, col: C.teal, t0: 3.6, st: 0.05, out: 9.0 },
143
+ { txt: 'made by hand', size: 76, base: 858, x: 236, col: C.dsage, t0: 5.3, st: 0.035, out: 8.3 },
144
+ ];
145
+ const textCam = document.createElement('div'); textCam.className = 'cam'; root.appendChild(textCam);
146
+ const lr = S.rng(77);
147
+ lines.forEach(L => {
148
+ const el = document.createElement('div'); el.className = 'line';
149
+ Object.assign(el.style, { fontSize: L.size + 'px', color: L.col, left: L.x + 'px', letterSpacing: '0.01em' });
150
+ L.chars = [...L.txt].map(c => {
151
+ const s = document.createElement('span'); s.className = 'ch'; s.textContent = c === ' ' ? ' ' : c; el.appendChild(s);
152
+ return { s, rot: (lr() - 0.5) * 16, dx: (lr() - 0.5) * 40, dy: -20 - lr() * 40, space: c === ' ' };
153
+ });
154
+ L.probe = document.createElement('span'); L.probe.className = 'probe'; el.appendChild(L.probe);
155
+ L.el = el; textCam.appendChild(el);
156
+ });
157
+
158
+ const backWave = sheet(scallops(940, 48, 320, 50), C.sage, 0.7, [960, 900]);
159
+ const frontWave = sheet(scallops(1012, 54, 280, 51), C.teal, 0.85, [960, 980]);
160
+
161
+ const leaves = [
162
+ { p: [-30, -30], ang: 30, len: 680, wid: 225, col: C.dsage, dep: 1.0, t0: 4.4, out: 8.55, side: -1 },
163
+ { p: [-30, -30], ang: 60, len: 390, wid: 150, col: C.sage, dep: 0.92, t0: 4.7, out: 8.75, side: -1 },
164
+ { p: [-30, -30], ang: 8, len: 540, wid: 165, col: C.teal, dep: 1.06, t0: 4.55, out: 8.65, side: -1 },
165
+ { p: [1950, -30], ang: 141, len: 620, wid: 215, col: C.sage, dep: 0.95, t0: 4.85, out: 8.85, side: 1 },
166
+ { p: [1950, -30], ang: 116, len: 430, wid: 150, col: C.dsage, dep: 1.02, t0: 5.0, out: 8.95, side: 1 },
167
+ ].map((o, i) => Object.assign(sheet(leaf(o.p[0], o.p[1], o.ang, o.len, o.wid, 60 + i, mixHex(o.col, C.ink, 0.45)), o.col, o.dep, o.p), o, { i }));
168
+
169
+ // ---------- timing helpers
170
+ const bump = (t, s, d) => Math.sin(Math.PI * S.seg(t, s, d, 'sine.inOut'));
171
+ // land: returns [p (0 parked .. 1 set down, with back.out settle), L lift]
172
+ const land = (t, t0, d, ease) => [S.seg(t, t0, d, ease || 'back.out(1.2)'), 1 - S.seg(t, t0 + 0.25 * d, 0.85 * d, 'power2.inOut')];
173
+ // leave: lift first, then go. returns [q (0 home .. 1 gone), L]
174
+ const leave = (t, t1, d) => [S.seg(t, t1 + 0.1, d, 'power2.in'), S.seg(t, t1, 0.22, 'power2.out')];
175
+ const ARC_IN = [0.0, 0.4, 0.8, 1.2], ARC_OUT = [11.3, 11.05, 10.8, 10.55];
176
+
177
+ function place(sh, t, x, y, sc, rot, L, k) {
178
+ const d = sh.depth, camX = 12 * S.wave(t, 1), camY = 5 * S.wave(t, 1, 0.25);
179
+ const push = 1 + 0.012 * d * (0.5 - 0.5 * Math.cos(TAU * t / D));
180
+ sh.cam.style.transform = `translate(${(camX * d).toFixed(2)}px, ${(camY * d).toFixed(2)}px) scale(${push.toFixed(5)})`;
181
+ sh.mov.style.transform = `translate(${x.toFixed(2)}px, ${y.toFixed(2)}px) rotate(${(rot || 0).toFixed(3)}deg) scale(${sc.toFixed(4)})`;
182
+ sh.mov.style.filter = shadow(Math.max(0, Math.min(1.2, L)), k);
183
+ }
184
+
185
+ window.__timelines["main"] = S.play(function render(t) {
186
+ // arcs: rise from below, breathe, sink
187
+ arcs.forEach((a, i) => {
188
+ const [p, L1] = land(t, ARC_IN[i], 0.8), [q, L2] = leave(t, ARC_OUT[i], 0.42);
189
+ const b = bump(t, 6.1 + 0.22 * i, 0.8);
190
+ const y = (1 - p) * 820 + q * 820 - 14 * b;
191
+ const L = (t < 6 ? L1 : L2) + 0.55 * b;
192
+ place(a, t, 0, y, 1 + 0.035 * Math.max(L1 * (t < 6), L2) + 0.006 * b, 0, L);
193
+ });
194
+ // sun
195
+ {
196
+ const [p, L1] = land(t, 1.6, 0.9), [q, L2] = leave(t, 10.25, 0.42), b = bump(t, 7.0, 1.0);
197
+ const y = (1 - p) * 480 + q * 480 - 44 * b + 5 * S.wave(t, 3);
198
+ const L = (t < 6 ? L1 : L2) + 0.6 * b;
199
+ place(sun, t, 0, y, 1 + 0.035 * Math.max(L1 * (t < 6), L2), 0, L);
200
+ }
201
+ // waves: slide in from the sides, sway, slide out
202
+ [[backWave, 2.1, 9.9, -1, 0], [frontWave, 2.5, 9.65, 1, 0.5]].forEach(([w, t0, t1, dir, ph]) => {
203
+ const p = S.seg(t, t0, 0.85, 'power3.out'), L1 = 1 - S.seg(t, t0 + 0.3, 0.7, 'power2.inOut');
204
+ const [q, L2] = leave(t, t1, 0.45);
205
+ const x = dir * (1 - p) * 3300 + dir * q * 3300 + 22 * S.wave(t, 2, ph);
206
+ const y = 6 * S.wave(t, 2, ph + 0.25);
207
+ place(w, t, x, y, 1, 0, t < 6 ? L1 : L2);
208
+ });
209
+ // leaves: swing in on their stems from the corners
210
+ leaves.forEach(l => {
211
+ const [p, L1] = land(t, l.t0, 0.7), [q, L2] = leave(t, l.out, 0.45);
212
+ const rot = l.side * -105 * (1 - p) + l.side * -105 * q + 1.6 * S.wave(t, 2, l.i * 0.17) - l.side * 6 * bump(t, 7.6 + 0.08 * l.i, 0.75);
213
+ place(l, t, 0, 0, 1 + 0.04 * (t < 6 ? L1 : L2), rot, (t < 6 ? L1 : L2) * 0.9);
214
+ l.cam.style.visibility = (p <= 0 || q >= 1) ? 'hidden' : 'visible';
215
+ });
216
+ // letters: drop onto the page from just above it, then peel off and away
217
+ const d = 0.6, camX = 12 * S.wave(t, 1), camY = 5 * S.wave(t, 1, 0.25);
218
+ const push = 1 + 0.012 * 0.6 * (0.5 - 0.5 * Math.cos(TAU * t / D));
219
+ textCam.style.transform = `translate(${(camX * 0.6).toFixed(2)}px, ${(camY * 0.6).toFixed(2)}px) scale(${push.toFixed(5)})`;
220
+ lines.forEach(Ln => {
221
+ Ln.el.style.top = (Ln.base - Ln.probe.offsetTop) + 'px';
222
+ let k = 0;
223
+ Ln.chars.forEach((c, j) => {
224
+ if (c.space) return;
225
+ const ti = Ln.t0 + k * Ln.st, to = Ln.out + k * Ln.st * 0.8; k++;
226
+ const pIn = S.seg(t, ti, 0.6, 'back.out(1.2)'), a = S.seg(t, ti, 0.16, 'power1.out');
227
+ const Lin = 1 - S.seg(t, ti + 0.12, 0.5, 'power2.inOut');
228
+ const Lout = S.seg(t, to, 0.22, 'power2.out'), q = S.seg(t, to + 0.06, 0.42, 'power2.in');
229
+ const L = t < 7 ? Lin : Lout;
230
+ const sc = 1 + 0.32 * (1 - pIn) + 0.36 * q + 0.03 * L;
231
+ const x = c.dx * (1 - pIn) - c.dx * q, y = c.dy * (1 - pIn) + c.dy * 1.2 * q;
232
+ const rot = c.rot * (1 - pIn) - c.rot * q;
233
+ const op = (t < 7 ? a : 1 - S.seg(t, to + 0.3, 0.18, 'power1.in'));
234
+ const ks = Ln.size / 230 * 0.55;
235
+ c.s.style.transform = `translate(${x.toFixed(2)}px, ${y.toFixed(2)}px) rotate(${rot.toFixed(2)}deg) scale(${sc.toFixed(4)})`;
236
+ c.s.style.opacity = op.toFixed(3);
237
+ c.s.style.textShadow = `${((3 + 16 * L) * ks).toFixed(2)}px ${((5 + 30 * L) * ks).toFixed(2)}px ${((6 + 30 * L) * ks).toFixed(2)}px rgba(${INK},${(0.28 - 0.1 * L).toFixed(3)}), ` +
238
+ `${0.7 * ks}px ${1.4 * ks}px ${1.2 * ks}px rgba(${INK},${(0.35 * (1 - L)).toFixed(3)})`;
239
+ });
240
+ });
241
+ }, { loop: true });
242
+ </script>
243
+ </body>
244
+ </html>
@@ -0,0 +1,57 @@
1
+ // studio.js: one clock for the whole piece (hack 4).
2
+ // Load it after GSAP and before your scene script.
3
+ // Your scene calls STUDIO.play(render). render(t) must draw the WHOLE frame from t alone.
4
+ // Same t in, same picture out. That makes renders exact, seekable, and loopable.
5
+ (function () {
6
+ // works from <head> or <body>: the root is looked up the first time it is needed
7
+ const R = () => document.querySelector('[data-composition-id]');
8
+ const num = (k) => +R().dataset[k];
9
+ const cache = {};
10
+ const S = {
11
+ get root() { return R(); },
12
+ get D() { return num('duration'); },
13
+ get W() { return num('width'); },
14
+ get H() { return num('height'); },
15
+ get V() { return S.H > S.W; }, // true for 9:16
16
+ get u() { return Math.min(S.W, S.H) / 1080; }, // 1 unit = 1 px at a 1080 short side
17
+ ease(name) { return cache[name] || (cache[name] = name === 'none' ? (p) => p : gsap.parseEase(name)); },
18
+ // eased 0..1 progress of a move that starts at `start` and lasts `dur`
19
+ seg(t, start, dur, ease) {
20
+ const p = Math.min(1, Math.max(0, (t - start) / dur));
21
+ return S.ease(ease || 'power3.out')(p);
22
+ },
23
+ mix(a, b, p) { return a + (b - a) * p; },
24
+ // a wave that always loops: use whole-number cycles
25
+ wave(t, cycles, offset) { return Math.sin(2 * Math.PI * ((cycles || 1) * t / S.D + (offset || 0))); },
26
+ // seeded random numbers (never use Math.random in a render)
27
+ rng(seed) {
28
+ let a = seed >>> 0;
29
+ return function () {
30
+ a = (a + 0x6d2b79f5) | 0;
31
+ let t = Math.imul(a ^ (a >>> 15), 1 | a);
32
+ t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
33
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
34
+ };
35
+ },
36
+ // one clock drives everything; loop:true wraps t so t = D draws the same frame as t = 0
37
+ play(render, opts) {
38
+ const loop = !opts || opts.loop !== false;
39
+ const D = S.D, root = S.root;
40
+ const clock = { t: 0 };
41
+ const tl = gsap.timeline({ paused: true });
42
+ // loop_check.py sets STUDIO_NO_WRAP so it can prove render(end) really equals render(0)
43
+ const wrap = loop && !window.STUDIO_NO_WRAP;
44
+ const draw = () => render(wrap ? clock.t % D : clock.t);
45
+ tl.to(clock, { t: D, duration: D, ease: 'none', onUpdate: draw }, 0);
46
+ draw();
47
+ // fonts can arrive after the first draw; draw again so text measured from them is right,
48
+ // even on frame 0 (seeking to the time you are already at does not redraw)
49
+ if (document.fonts && document.fonts.ready) document.fonts.ready.then(draw);
50
+ window.addEventListener('load', draw);
51
+ window.__timelines = window.__timelines || {};
52
+ window.__timelines[root.dataset.compositionId] = tl;
53
+ return tl;
54
+ },
55
+ };
56
+ window.STUDIO = S;
57
+ })();
@@ -0,0 +1,67 @@
1
+ # Cut-paper world
2
+
3
+ id: paper-world
4
+ Best for: story openers, travel and place pieces, calm brand films, "a day in" pieces, book or kids promos.
5
+ Mood: a pop-up book builds itself, then the day slowly turns to dusk.
6
+ Reference piece: styles/paper-world/index.html (14 s, does not loop)
7
+ Gallery video: gallery/videos/paper-world.mp4
8
+
9
+ ## Palette (hex)
10
+ - ground (paper): #F2E8D5 cream
11
+ - sand: #E3CBA8
12
+ - sage: #9CB49A
13
+ - deep sage: #5E7F6A
14
+ - teal (water, near banks): #2F5D62
15
+ - ink (shadows, birds, mast): #2B2B2B
16
+ - accent: #D98C7A dusk rose (sun at dusk, rim light, the boat's flag). The ONE accent.
17
+ - Every sheet has three light keys (morning, golden, dusk) mixed only from these tones.
18
+
19
+ ## Type
20
+ - Display: none. This look has no words on screen. The picture tells it.
21
+ - Labels: none.
22
+ - Font links: none needed.
23
+
24
+ ## Easing (numbers)
25
+ - land (big sheet): back.out(0.7), 0.55 s, slides up from 820 px below. Tilt settles with back.out(1.4), 0.75 s.
26
+ - land (small cutouts, trees, bushes): back.out(1.5), 0.42 s. Flag back.out(2.2), stars back.out(2.4), 0.5 s.
27
+ - clouds slide in: power3.out, 0.75 s.
28
+ - leave: power2.in, 0.9 s (front grass slides out of frame).
29
+ - move (camera push): power2.inOut, 6.4 s. Light change: sine.inOut, 4.4 s.
30
+ - stagger: 0.045 s between trees, plus a small seeded jitter (up to 0.04 s).
31
+
32
+ ## Motion rules
33
+ - One sheet lands per beat (every 0.5 s), back to front.
34
+ - A sheet still in the air throws a wide, soft shadow. It tightens as the sheet lands.
35
+ - The camera pushes in with real parallax. Near sheets move more than far ones.
36
+ - Light changes slowly and never stops. Shadows grow longer to the left as the sun sets.
37
+ - Depth of field grows with the push: far hills and near banks blur a little.
38
+ - Small things keep moving: water strips flow, birds flap, the boat bobs, reeds sway.
39
+ - Everything is seeded. Same time, same frame.
40
+
41
+ ## Signature moves
42
+ - Hand-cut edges: every outline is cut into 6 to 13 px facets and nudged by seeded noise.
43
+ - Paper finish on every sheet: a 2.4 px sun-lit rim on the top edge, grain plus fibres, a soft shadow plus a tight contact shadow.
44
+ - A river cut right through the meadow sheet, with a teal water sheet showing underneath.
45
+ - One small hero (the paper boat) sails the whole time. The last beat lands on it with a rose flag and ripple rings.
46
+
47
+ ## Composition
48
+ - Full frame, 1920x1080. Sky takes the top third. Ridge lines stack from y 440 to y 800.
49
+ - The hero sits in the lower third, a little right of centre (about x 1015, y 793 at the end).
50
+ - Keep sky and sunset in frame at the end. Do not let one flat sheet fill the frame.
51
+ - Fill most of the frame with layers, but leave the sky calm.
52
+
53
+ ## With media
54
+ - Put the real clip under the paper canvas. Keep it hidden until the hand-off.
55
+ - Sample the clip's colours band by band (sky top, horizon, hills, ground, water). Make them the dusk key of the paper world. Then the cut is seamless.
56
+ - Reveal by running the build in reverse: the sky sheet lifts away, then hills and meadows sink one by one on the beat. The real scene shows through layer by layer.
57
+ - Track one real object by hand. Move the paper hero onto it, match its size, then dissolve.
58
+ - Move the glow and vignette to CSS blend layers (soft-light and multiply) so they grade paper and footage the same way. Fade grain from 0.62 to 0.22 over the footage.
59
+
60
+ ## Ban list
61
+ - words or numbers on screen
62
+ - clean vector edges (every edge must look cut)
63
+ - blotchy, dirty grain or heavy dark vignettes
64
+ - a second accent colour
65
+ - bright saturated greens or blues
66
+ - a flat dark meadow filling most of the end frame
67
+ - Math.random or Date.now