@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.
- package/README.md +62 -2
- package/cli.mjs +149 -0
- package/lib/dependencies.mjs +384 -0
- package/lib/run.mjs +114 -0
- package/lib/workspace.mjs +167 -0
- package/package.json +240 -3
- package/workspace/.agents/skills/cleoedits/SKILL.md +29 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/audiogram.json +41 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/facebook.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/linkedin.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/podcast.json +23 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/reels.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/shorts.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/tiktok.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/x.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/youtube-shorts.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/ffmpeg_templates/youtube.json +48 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/assets/LICENSE-SimpleIcons +30 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/assets/logos.json +1 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Anton-Regular.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/ArchivoBlack-Regular.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/InstrumentSerif-Italic.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Inter.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/LICENSE-PermanentMarker.txt +202 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Montserrat.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Anton.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-ArchivoBlack.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-InstrumentSerif.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Inter.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Montserrat.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-PlayfairDisplay.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-Poppins.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/OFL-SpaceMono.txt +93 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/PermanentMarker-Regular.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/PlayfairDisplay-Italic.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/PlayfairDisplay.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Poppins-Black.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Poppins-Bold.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/Poppins-ExtraBold.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/fonts/SpaceMono-Bold.ttf +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/LICENSE-MediaPipe +218 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/LICENSE-YuNet +21 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/NOTICE.md +4 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/selfie_segmenter.tflite +0 -0
- package/workspace/.agents/skills/cleoedits/assets/reel_effects/models/yunet.onnx +0 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/LICENSE +21 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/audio-app-ui/STYLE.md +65 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/blueprint/STYLE.md +53 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/blueprint/index.html +328 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/blueprint/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/data-story/STYLE.md +65 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/data-story/index.html +575 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/design-app-ui/STYLE.md +68 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/editor-ui/STYLE.md +73 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/editorial-paper/STYLE.md +54 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/editorial-paper/index.html +189 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/editorial-paper/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/explainer-diagram/STYLE.md +64 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/explainer-diagram/index.html +620 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/graphite-ui/STYLE.md +55 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/graphite-ui/index.html +238 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/graphite-ui/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/growing-city/STYLE.md +66 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/growing-city/index.html +602 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/ink-line/STYLE.md +66 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/ink-line/index.html +777 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/midnight-grid/STYLE.md +56 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/midnight-grid/index.html +186 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/midnight-grid/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/motion-app-ui/STYLE.md +68 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-cut/STYLE.md +56 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-cut/index.html +244 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-cut/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-world/STYLE.md +67 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/paper-world/index.html +663 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/particle-field/STYLE.md +59 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/particle-field/index.html +395 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/poster-pop/STYLE.md +52 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/poster-pop/index.html +194 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/poster-pop/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/risograph/STYLE.md +58 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/risograph/index.html +242 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/risograph/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-grid/STYLE.md +53 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-grid/index.html +138 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-grid/studio.js +57 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-kinetic/STYLE.md +63 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/swiss-kinetic/index.html +599 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/time-travel/STYLE.md +65 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/time-travel/index.html +1297 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/weather-widget/STYLE.md +69 -0
- package/workspace/.agents/skills/cleoedits/assets/video_styles/weather-widget/index.html +674 -0
- package/workspace/.agents/skills/cleoedits/references/audio-clearervoice-elevenlabs.md +11 -0
- package/workspace/.agents/skills/cleoedits/references/ffmpeg-and-reels.md +15 -0
- package/workspace/.agents/skills/cleoedits/references/hyperframes-workflows.md +13 -0
- package/workspace/.agents/skills/cleoedits/references/kdenlive-cli-and-mcp.md +12 -0
- package/workspace/.agents/skills/cleoedits/references/motion-design-pipeline.md +7 -0
- package/workspace/.agents/skills/cleoedits/references/motion-taste-emil.md +5 -0
- package/workspace/.agents/skills/cleoedits/references/playwright-demo-capture.md +9 -0
- package/workspace/.agents/skills/cleoedits/references/remotion-workflows.md +13 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/LICENSE +21 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_ass_overlay.py +399 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/__init__.py +235 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/alpha.py +560 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/asr.py +1237 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/color.py +540 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/decision.py +2452 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/drawtext.py +290 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/emit.py +1309 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/emoji.py +518 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/fonts.py +875 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/pacing.py +263 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/pacing_edit.py +432 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/probe.py +1613 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/runner.py +3994 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/text.py +73 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/timeline.py +721 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_common/wrap.py +981 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_contract.py +2454 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_platforms.py +258 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_review.html +754 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_review.py +258 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/_smartcut.py +450 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/audio.py +867 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/background.py +136 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/batch.py +1409 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/broll.py +282 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/caption.py +2207 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/check.py +815 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/color.py +695 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/crop.py +91 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/cropdetect.py +214 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/cut.py +2076 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/deinterlace.py +90 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/denoise.py +94 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/export.py +1033 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/fit.py +729 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/freeze.py +197 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/graphics.py +920 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/grid.py +235 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/insert.py +142 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/join.py +1083 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/look.py +475 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/loop.py +395 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/loudness.py +397 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/metadata.py +416 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/multicam.py +414 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/overlay.py +766 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/pad.py +121 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/probe.py +145 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/proxy.py +93 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/redact.py +162 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/render.py +2424 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/report.py +354 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/reverse.py +114 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/scenes.py +439 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/sequence.py +285 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/silence.py +945 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/speedramp.py +193 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/sphere.py +137 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/stabilize.py +141 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/straighten.py +120 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/sync.py +500 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/verify.py +411 -0
- package/workspace/.agents/skills/cleoedits/scripts/ffmpeg/waveform.py +502 -0
- package/workspace/.agents/skills/cleoedits/scripts/kdenlive_builder.py +284 -0
- package/workspace/.agents/skills/cleoedits/scripts/motion/LICENSE-claude-motion +21 -0
- package/workspace/.agents/skills/cleoedits/scripts/motion/LICENSE-motion-design +21 -0
- package/workspace/.agents/skills/cleoedits/scripts/motion/_media.py +43 -0
- package/workspace/.agents/skills/cleoedits/scripts/motion/pacing_check.py +90 -0
- package/workspace/.agents/skills/cleoedits/scripts/motion/storyboard.py +77 -0
- package/workspace/.agents/skills/cleoedits/scripts/reel_effects/LICENSE +26 -0
- package/workspace/.agents/skills/cleoedits/scripts/reel_effects/fx.py +2717 -0
- package/workspace/.agents/skills/cleoedits/scripts/reel_effects/logos.py +194 -0
- package/workspace/.agents/skills/cleoedits/scripts/reel_effects/sfx.py +105 -0
- package/workspace/.agents/skills/cleoedits/scripts/reel_effects/trim.py +99 -0
- package/workspace/.agents/skills/cleoedits/scripts/reel_effects/words.py +60 -0
- package/workspace/.claude/commands/blender-3d.md +12 -0
- package/workspace/.claude/commands/business-short-form-reels.md +12 -0
- package/workspace/.claude/commands/color-grade.md +12 -0
- package/workspace/.claude/commands/cutout-grid-reel.md +12 -0
- package/workspace/.claude/commands/depth-ui-reel.md +12 -0
- package/workspace/.claude/commands/explainer-panel-reel.md +12 -0
- package/workspace/.claude/commands/freeze-frame.md +12 -0
- package/workspace/.claude/commands/glass-graph.md +12 -0
- package/workspace/.claude/commands/over-the-shoulder.md +12 -0
- package/workspace/.claude/commands/personal-short-form-reels.md +12 -0
- package/workspace/.claude/commands/ranking-format.md +12 -0
- package/workspace/.claude/commands/relight.md +12 -0
- package/workspace/.claude/commands/reverse-engineer.md +12 -0
- package/workspace/.claude/commands/text-behind.md +12 -0
- package/workspace/.claude/commands/tier-list.md +12 -0
- package/workspace/.claude-plugin/plugin.json +8 -0
- package/workspace/.npmignore +15 -0
- package/workspace/AGENTS.md +30 -0
- package/workspace/README.md +63 -0
- package/workspace/assets/fonts/TikTokSans-OFL.txt +93 -0
- package/workspace/assets/fonts/TikTokSans-Variable.ttf +0 -0
- package/workspace/assets/luts/clean_warm.cube +4917 -0
- package/workspace/assets/luts/golden_hour.cube +4917 -0
- package/workspace/assets/luts/moody_dark.cube +4917 -0
- package/workspace/assets/luts/teal_orange.cube +4917 -0
- package/workspace/assets/sfx/NOTICE.txt +1 -0
- package/workspace/assets/sfx/click.wav +0 -0
- package/workspace/assets/sfx/pop.wav +0 -0
- package/workspace/assets/sfx/riser.wav +0 -0
- package/workspace/assets/sfx/whoosh.wav +0 -0
- package/workspace/generators/hyperframes/index.html +39 -0
- package/workspace/generators/hyperframes/package.json +15 -0
- package/workspace/generators/hyperframes/pnpm-lock.yaml +1181 -0
- package/workspace/generators/hyperframes/pnpm-workspace.yaml +10 -0
- package/workspace/generators/remotion/eslint.config.mjs +3 -0
- package/workspace/generators/remotion/package.json +36 -0
- package/workspace/generators/remotion/pnpm-lock.yaml +4179 -0
- package/workspace/generators/remotion/pnpm-workspace.yaml +10 -0
- package/workspace/generators/remotion/remotion.config.ts +13 -0
- package/workspace/generators/remotion/src/Root.tsx +52 -0
- package/workspace/generators/remotion/src/index.css +1 -0
- package/workspace/generators/remotion/src/index.ts +4 -0
- package/workspace/generators/remotion/tsconfig.json +15 -0
- package/workspace/pipeline/scripts/_codec.py +28 -0
- package/workspace/pipeline/scripts/ai_media_api.py +109 -0
- package/workspace/pipeline/scripts/blender_render.py +166 -0
- package/workspace/pipeline/scripts/composite.py +49 -0
- package/workspace/pipeline/scripts/melt.sh +68 -0
- package/workspace/pipeline/scripts/normalize_audio.py +39 -0
- package/workspace/pipeline/scripts/person_matte.py +216 -0
- package/workspace/pipeline/scripts/record_demo.py +69 -0
- package/workspace/pipeline/scripts/whisper_cut.py +98 -0
- package/workspace-manifest.json +908 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Midnight Grid
|
|
2
|
+
|
|
3
|
+
id: midnight-grid
|
|
4
|
+
Best for: tech explainers, AI and software topics, diagrams, flows.
|
|
5
|
+
Mood: deep navy, quiet dot grid, one clean blue doing the talking.
|
|
6
|
+
Reference piece: styles/midnight-grid/index.html (12 s, loops)
|
|
7
|
+
Gallery video: gallery/videos/midnight-grid.mp4
|
|
8
|
+
|
|
9
|
+
## Palette (hex)
|
|
10
|
+
- ground: #0B1220
|
|
11
|
+
- dots: #1E2A44 (2 px dots on a 40 px grid)
|
|
12
|
+
- panels: #111A2E with a 2 px border #22304D (wires 3 px)
|
|
13
|
+
- text: #E8EDF7
|
|
14
|
+
- muted text: #8C98B3
|
|
15
|
+
- accent: #3D8BFF (one blue, used on the active thing only)
|
|
16
|
+
|
|
17
|
+
## Type
|
|
18
|
+
- Display: Inter 700, tracking -0.03em
|
|
19
|
+
- Labels: Inter 500, 28 px
|
|
20
|
+
- Code or numbers: JetBrains Mono 500
|
|
21
|
+
- Font links (paste into <head>; all fonts are free):
|
|
22
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500&display=swap">
|
|
23
|
+
(the reference piece uses Inter only, so it links Inter only)
|
|
24
|
+
|
|
25
|
+
## Easing (numbers)
|
|
26
|
+
- land: power3.out, 0.5 s (15 frames)
|
|
27
|
+
- move: power3.inOut, 0.8 s
|
|
28
|
+
- connect a line: power2.inOut, 0.6 s
|
|
29
|
+
- leave: power2.in, 0.3 s
|
|
30
|
+
- stagger: 0.05 s
|
|
31
|
+
|
|
32
|
+
## Motion rules
|
|
33
|
+
- Diagrams build node by node. A line draws, then the next node lands.
|
|
34
|
+
- The active node gets the blue. Old nodes go back to muted.
|
|
35
|
+
- The camera pans across the grid like a calm slide, never a whip.
|
|
36
|
+
|
|
37
|
+
## Signature moves
|
|
38
|
+
- One blue pulse rides the tip of each wire as it draws, then hands the blue to the node it reaches.
|
|
39
|
+
- Nodes land with a wipe from their input side and a short slide; the label rises through a mask 0.1 s later.
|
|
40
|
+
- The camera rests one node pitch at a time; the dot grid lags a little mid-pan and lands back on the grid.
|
|
41
|
+
- The flow rewinds at the end: nodes leave in reverse and wires pull back into their source.
|
|
42
|
+
|
|
43
|
+
## Grid
|
|
44
|
+
Dot grid at 40 px. Snap every box to it. 96 px safe margin.
|
|
45
|
+
|
|
46
|
+
## With media
|
|
47
|
+
- Put screenshots or clips inside a node panel: same #111A2E fill, 1 px #22304D border, 16 px radius, snapped to the grid.
|
|
48
|
+
- Keep media calm and slightly dark so the blue accent still wins. No colour grades that add purple or cyan.
|
|
49
|
+
- The active media panel gets the blue border. Others stay muted.
|
|
50
|
+
- Reveal media with the same wipe as a node. Never float it in a glass card.
|
|
51
|
+
|
|
52
|
+
## Ban list
|
|
53
|
+
- glow, bloom, lens flares, neon edges
|
|
54
|
+
- purple-to-blue gradients
|
|
55
|
+
- glass cards with blur
|
|
56
|
+
- fake HUD rings, fake timecodes, corner labels
|
|
@@ -0,0 +1,186 @@
|
|
|
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=Inter:wght@400;500;600;700;800;900&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: midnight-grid. Every colour comes from these tokens. */
|
|
11
|
+
:root { --ground: #0B1220; --dots: #1E2A44; --panel: #111A2E; --border: #22304D;
|
|
12
|
+
--text: #E8EDF7; --muted: #8C98B3; --accent: #3D8BFF; }
|
|
13
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
14
|
+
html, body { width: 1920px; height: 1080px; overflow: hidden; background: var(--ground); }
|
|
15
|
+
#root { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: var(--ground);
|
|
16
|
+
font-family: 'Inter', sans-serif; color: var(--text); }
|
|
17
|
+
#world { position: absolute; left: 0; top: 0; width: 4200px; height: 1080px; will-change: transform; }
|
|
18
|
+
#grid { position: absolute; inset: 0;
|
|
19
|
+
background-image: radial-gradient(circle at 20px 20px, var(--dots) 2px, transparent 2.6px);
|
|
20
|
+
background-size: 40px 40px; background-position: -20px -20px; }
|
|
21
|
+
svg { position: absolute; left: 0; top: 0; overflow: visible; }
|
|
22
|
+
.wire { fill: none; stroke: var(--border); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
|
|
23
|
+
.trail { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
|
|
24
|
+
.node { position: absolute; width: 600px; height: 240px; }
|
|
25
|
+
.panel { position: absolute; inset: 0; background: var(--panel); border: 2px solid var(--border); border-radius: 16px; }
|
|
26
|
+
.mask { position: absolute; left: 48px; top: 30px; height: 150px; width: 480px; overflow: hidden; }
|
|
27
|
+
.label { position: absolute; left: 0; top: 0; font-size: 120px; font-weight: 700; letter-spacing: -0.035em;
|
|
28
|
+
line-height: 150px; white-space: nowrap; }
|
|
29
|
+
.sdot { position: absolute; right: 48px; top: 48px; width: 20px; height: 20px; border-radius: 50%; }
|
|
30
|
+
.track { position: absolute; left: 48px; right: 48px; bottom: 48px; height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
|
|
31
|
+
.fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 2px; }
|
|
32
|
+
.port { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
|
|
33
|
+
background: var(--ground); border: 3px solid var(--border); }
|
|
34
|
+
#pulse { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--accent); }
|
|
35
|
+
</style>
|
|
36
|
+
</head>
|
|
37
|
+
<body>
|
|
38
|
+
<div id="root" data-composition-id="main" data-start="0" data-duration="12" data-width="1920" data-height="1080">
|
|
39
|
+
<div id="grid"></div>
|
|
40
|
+
<div id="world"></div>
|
|
41
|
+
</div>
|
|
42
|
+
<script>
|
|
43
|
+
const S = STUDIO, world = document.getElementById('world'), grid = document.getElementById('grid');
|
|
44
|
+
const NS = 'http://www.w3.org/2000/svg';
|
|
45
|
+
const el = (tag, cls, parent) => { const d = document.createElement(tag); if (cls) d.className = cls; (parent || world).appendChild(d); return d; };
|
|
46
|
+
const css = n => getComputedStyle(document.documentElement).getPropertyValue(n).trim();
|
|
47
|
+
const hex = h => [1, 3, 5].map(i => parseInt(h.slice(i, i + 2), 16));
|
|
48
|
+
const C = { border: hex(css('--border')), muted: hex(css('--muted')), text: hex(css('--text')), accent: hex(css('--accent')), dots: hex(css('--dots')) };
|
|
49
|
+
const mixc = (a, b, p) => `rgb(${a.map((v, i) => Math.round(v + (b[i] - v) * p)).join(',')})`;
|
|
50
|
+
|
|
51
|
+
// ---- layout: five nodes on the 40 px grid, zig-zag rows ----
|
|
52
|
+
const NW = 600, NH = 240;
|
|
53
|
+
const WORDS = ['Idea', 'Brief', 'Build', 'Check', 'Ship'];
|
|
54
|
+
const POS = [[160, 320], [920, 680], [1680, 320], [2440, 680], [3200, 320]];
|
|
55
|
+
// timing (s): fill starts, wire starts, lands, leaves
|
|
56
|
+
const FILL = [0.2, 2.1, 4.0, 5.9, 7.8];
|
|
57
|
+
const WIRE = [0.9, 2.8, 4.7, 6.6];
|
|
58
|
+
const LAND = [null, 1.6, 3.5, 5.4, 7.3];
|
|
59
|
+
const LEAVE = [null, 11.20, 10.94, 10.82, 10.70];
|
|
60
|
+
const RETRACT = [11.28, 11.00, 10.86, 10.72];
|
|
61
|
+
const RET0 = 8.6, RETD = 2.0; // the pulse goes home
|
|
62
|
+
const ACT_ON = [10.6, 1.6, 3.5, 5.4, 7.3], ACT_OFF = [0.9, 2.8, 4.7, 6.6, 8.6];
|
|
63
|
+
|
|
64
|
+
// ---- wires (rounded orthogonal paths) ----
|
|
65
|
+
const svg = document.createElementNS(NS, 'svg'); svg.setAttribute('width', 4200); svg.setAttribute('height', 1080); world.appendChild(svg);
|
|
66
|
+
function route(pts, r) {
|
|
67
|
+
let d = `M${pts[0][0]},${pts[0][1]}`;
|
|
68
|
+
for (let i = 1; i < pts.length - 1; i++) {
|
|
69
|
+
const [ax, ay] = pts[i - 1], [bx, by] = pts[i], [cx, cy] = pts[i + 1];
|
|
70
|
+
const l1 = Math.hypot(bx - ax, by - ay), l2 = Math.hypot(cx - bx, cy - by), rr = Math.min(r, l1 / 2, l2 / 2);
|
|
71
|
+
const p1 = [bx - (bx - ax) / l1 * rr, by - (by - ay) / l1 * rr], p2 = [bx + (cx - bx) / l2 * rr, by + (cy - by) / l2 * rr];
|
|
72
|
+
d += ` L${p1[0]},${p1[1]} Q${bx},${by} ${p2[0]},${p2[1]}`;
|
|
73
|
+
}
|
|
74
|
+
const e = pts[pts.length - 1]; return d + ` L${e[0]},${e[1]}`;
|
|
75
|
+
}
|
|
76
|
+
const mkPath = (d, cls) => { const p = document.createElementNS(NS, 'path'); p.setAttribute('d', d); p.setAttribute('class', cls); svg.appendChild(p); return p; };
|
|
77
|
+
const cy = i => POS[i][1] + NH / 2;
|
|
78
|
+
const wires = [];
|
|
79
|
+
for (let i = 0; i < 4; i++) {
|
|
80
|
+
const x0 = POS[i][0] + NW, x1 = POS[i + 1][0], mx = x0 + 80;
|
|
81
|
+
const d = route([[x0, cy(i)], [mx, cy(i)], [mx, cy(i + 1)], [x1, cy(i + 1)]], 32);
|
|
82
|
+
wires.push({ w: mkPath(d, 'wire'), tr: mkPath(d, 'trail') });
|
|
83
|
+
}
|
|
84
|
+
const shipBottom = [POS[4][0] + NW / 2, POS[4][1]];
|
|
85
|
+
const retD = route([shipBottom, [shipBottom[0], 200], [80, 200], [80, cy(0)], [POS[0][0], cy(0)]], 40);
|
|
86
|
+
const ret = { w: mkPath(retD, 'wire'), tr: mkPath(retD, 'trail') };
|
|
87
|
+
[...wires, ret].forEach(o => { o.L = o.w.getTotalLength(); });
|
|
88
|
+
|
|
89
|
+
// ---- nodes and ports ----
|
|
90
|
+
const nodes = WORDS.map((w, i) => {
|
|
91
|
+
const n = el('div', 'node'); n.style.left = POS[i][0] + 'px'; n.style.top = POS[i][1] + 'px';
|
|
92
|
+
const panel = el('div', 'panel', n), mask = el('div', 'mask', panel), label = el('div', 'label', mask);
|
|
93
|
+
label.textContent = w;
|
|
94
|
+
const sdot = el('div', 'sdot', panel), track = el('div', 'track', panel), fill = el('div', 'fill', track);
|
|
95
|
+
const port = (x, y) => { const p = el('div', 'port'); p.style.left = x + 'px'; p.style.top = y + 'px'; return p; };
|
|
96
|
+
const pin = port(POS[i][0], cy(i)), pout = i < 4 ? port(POS[i][0] + NW, cy(i)) : port(...shipBottom);
|
|
97
|
+
return { n, panel, label, sdot, fill, pin, pout };
|
|
98
|
+
});
|
|
99
|
+
const pulse = el('div'); pulse.id = 'pulse';
|
|
100
|
+
|
|
101
|
+
// ---- helpers ----
|
|
102
|
+
const seg = S.seg;
|
|
103
|
+
const bump = (t, t0, d) => { const p = (t - t0) / d; return p > 0 && p < 1 ? Math.sin(Math.PI * p) : 0; };
|
|
104
|
+
// show only the stretch [a, b] of a path of length L
|
|
105
|
+
const span = (path, L, a, b) => {
|
|
106
|
+
if (b - a < 0.5) { path.style.strokeDasharray = `0 ${L + 10}`; path.style.strokeDashoffset = 0; path.style.opacity = 0; return; }
|
|
107
|
+
path.style.opacity = 1; path.style.strokeDasharray = `${b - a} ${L + 10}`; path.style.strokeDashoffset = -a;
|
|
108
|
+
};
|
|
109
|
+
function act(i, t) {
|
|
110
|
+
if (i === 0) return t < 5 ? 1 - seg(t, ACT_OFF[0], 0.3, 'power2.out') : seg(t, ACT_ON[0], 0.25, 'power2.out');
|
|
111
|
+
return seg(t, ACT_ON[i], 0.25, 'power2.out') - seg(t, ACT_OFF[i], 0.3, 'power2.out');
|
|
112
|
+
}
|
|
113
|
+
// camera rests: Idea centred (-500), then -280, 480, 1240, 2000 (one node pitch per pan), then home.
|
|
114
|
+
// the dot grid is the far layer: same moves on a slower ease, so it lags mid-pan and lands back on the grid at rest
|
|
115
|
+
const CAM0 = -500;
|
|
116
|
+
function cam(t, far) {
|
|
117
|
+
const E = far ? 'power2.inOut' : 'power3.inOut', k = far ? 1.3 : 1;
|
|
118
|
+
if (t < 8) return CAM0 + 220 * seg(t, 0.6, 1.0 * k, E)
|
|
119
|
+
+ 760 * (seg(t, 2.5, 1.2 * k, E) + seg(t, 4.4, 1.2 * k, E) + seg(t, 6.3, 1.2 * k, E));
|
|
120
|
+
return CAM0 + 2500 * (1 - seg(t, RET0, RETD * (far ? 1.15 : 1), E));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
window.__timelines["main"] = S.play(function render(t) {
|
|
124
|
+
const c = cam(t);
|
|
125
|
+
world.style.transform = `translate(${-Math.round(c)}px, 0px)`;
|
|
126
|
+
grid.style.backgroundPosition = `${-Math.round(cam(t, true)) - 20}px -20px`;
|
|
127
|
+
|
|
128
|
+
// nodes
|
|
129
|
+
nodes.forEach((o, i) => {
|
|
130
|
+
const land = i === 0 ? 1 : seg(t, LAND[i], 0.5, 'power3.out');
|
|
131
|
+
const lv = i === 0 ? 0 : seg(t, LEAVE[i], 0.3, 'power2.in');
|
|
132
|
+
const shown = i === 0 ? 1 : (t >= LAND[i] && lv < 1 ? 1 : 0);
|
|
133
|
+
o.n.style.visibility = shown ? 'visible' : 'hidden';
|
|
134
|
+
const inset = lv > 0 ? lv : 1 - land;
|
|
135
|
+
o.panel.style.clipPath = `inset(-4px ${inset * 100}% -4px -4px round 16px)`;
|
|
136
|
+
o.n.style.transform = `translateX(${-32 * (1 - land) - 24 * lv}px)`;
|
|
137
|
+
const lp = i === 0 ? 1 : seg(t, LAND[i] + 0.1, 0.5, 'power3.out');
|
|
138
|
+
o.label.style.transform = `translateY(${(1 - lp) * 110}%)`;
|
|
139
|
+
const a = Math.max(0, act(i, t));
|
|
140
|
+
o.panel.style.borderColor = mixc(C.border, C.accent, a);
|
|
141
|
+
o.label.style.color = mixc(C.muted, C.text, a);
|
|
142
|
+
const sp = i === 0 ? 1 : seg(t, LAND[i] + 0.18, 0.35, 'back.out(1.2)');
|
|
143
|
+
o.sdot.style.background = mixc(C.border, C.accent, a);
|
|
144
|
+
o.sdot.style.transform = `scale(${0.6 + 0.4 * sp})`; o.sdot.style.opacity = Math.min(1, sp * 1.4);
|
|
145
|
+
// progress bar: fills blue while active, stays muted when done; Idea's old bar drains when the pulse comes home
|
|
146
|
+
const f = seg(t, FILL[i], 0.7, 'power2.inOut');
|
|
147
|
+
const drain = i === 0 ? seg(t, 10.65, 0.45, 'power2.inOut') : 0;
|
|
148
|
+
o.fill.style.left = drain * 100 + '%'; o.fill.style.width = Math.max(0, f - drain) * 100 + '%';
|
|
149
|
+
o.fill.style.background = mixc(C.muted, C.accent, a);
|
|
150
|
+
// ports
|
|
151
|
+
const pv = i === 0 ? 1 : land * (1 - lv);
|
|
152
|
+
const hitIn = i === 0 ? bump(t, RET0 + RETD - 0.02, 0.4) : bump(t, LAND[i] - 0.02, 0.4);
|
|
153
|
+
const hitOut = i < 4 ? bump(t, WIRE[i] - 0.1, 0.3) : bump(t, RET0 - 0.1, 0.3);
|
|
154
|
+
o.pin.style.opacity = o.pout.style.opacity = pv;
|
|
155
|
+
o.pin.style.transform = `scale(${(0.6 + 0.4 * pv) * (1 + 0.35 * hitIn)})`;
|
|
156
|
+
o.pout.style.transform = `scale(${(0.6 + 0.4 * pv) * (1 + 0.35 * hitOut)})`;
|
|
157
|
+
o.pin.style.borderColor = mixc(C.border, C.accent, Math.max(a * (i === 0 ? 0 : 1), hitIn));
|
|
158
|
+
o.pout.style.borderColor = mixc(C.border, C.accent, hitOut);
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
// wires: draw with the pulse, pull back into their source at the end
|
|
162
|
+
let px = null, py = 0, ps = 0;
|
|
163
|
+
const ride = (o, s0, dur, ease) => {
|
|
164
|
+
const p = seg(t, s0, dur, ease), head = o.L * p;
|
|
165
|
+
if (t >= s0 - 0.12 && t < s0 + dur + 0.22) {
|
|
166
|
+
const pop = seg(t, s0 - 0.12, 0.15, 'back.out(1.2)'), gone = seg(t, s0 + dur, 0.2, 'power2.in');
|
|
167
|
+
const pt = o.w.getPointAtLength(head); px = pt.x; py = pt.y; ps = (0.6 + 0.4 * pop) * (1 - 0.6 * gone);
|
|
168
|
+
pulse.style.opacity = Math.min(1, pop * 1.5) * (1 - gone);
|
|
169
|
+
span(o.tr, o.L, Math.max(0, head - 140 * (1 - gone)), head);
|
|
170
|
+
} else span(o.tr, o.L, 0, 0);
|
|
171
|
+
return head;
|
|
172
|
+
};
|
|
173
|
+
wires.forEach((o, k) => {
|
|
174
|
+
const head = ride(o, WIRE[k], 0.7, 'power2.inOut');
|
|
175
|
+
const r = seg(t, RETRACT[k], 0.35, 'power2.in');
|
|
176
|
+
span(o.w, o.L, 0, t < WIRE[k] ? 0 : head * (1 - r));
|
|
177
|
+
});
|
|
178
|
+
const rh = ride(ret, RET0, RETD, 'power2.inOut');
|
|
179
|
+
const rr = seg(t, 10.70, 0.7, 'power2.inOut');
|
|
180
|
+
span(ret.w, ret.L, ret.L * rr, t < RET0 ? 0 : rh);
|
|
181
|
+
if (px === null) { pulse.style.opacity = 0; }
|
|
182
|
+
else pulse.style.transform = `translate(${px}px, ${py}px) scale(${ps})`;
|
|
183
|
+
}, { loop: true });
|
|
184
|
+
</script>
|
|
185
|
+
</body>
|
|
186
|
+
</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,68 @@
|
|
|
1
|
+
# Animated in a motion app
|
|
2
|
+
|
|
3
|
+
id: motion-app-ui
|
|
4
|
+
Best for: "AI animates my shot" demos, title and motion tool launches, keyframe and easing explainers, tracking demos.
|
|
5
|
+
Mood: a dark motion app fills the frame, an AI cursor sets keyframes and bends the curve, then the app peels away and the finished shot plays.
|
|
6
|
+
Reference piece: none, spec only (the original is built around real footage)
|
|
7
|
+
Gallery video: gallery/videos/motion-app-ui.mp4
|
|
8
|
+
|
|
9
|
+
## Palette (hex)
|
|
10
|
+
- desk: #0A0A0B to #0B0B0C, app window #121212
|
|
11
|
+
- panels: #1D1D1D, radius 8 px; timeline rows #1F1F1F, property rows #1A1A1A, selected row #2B2B2B
|
|
12
|
+
- text: #EDEDED (active), #9A9A9A (row numbers), #7A7A7A (dim labels)
|
|
13
|
+
- layer label chips (app colours, muted): #4E7380, #5F7A55, #6D6A55, #7A6F9E, #86796A
|
|
14
|
+
- graph curve: #F2F2F2, 3 px; analysed track keys #CFCFCF
|
|
15
|
+
- accent: #D97757 clay. The ONE accent. Cursor, focus ring, keyframes the AI sets, bezier handles, tracker box and trail dots, cache bar, the one serif word.
|
|
16
|
+
|
|
17
|
+
## Type
|
|
18
|
+
- Display: Switzer 800, tracking -0.03em, line height 0.95 (the title inside the comp, 148 px, white)
|
|
19
|
+
- Labels: Switzer 600 to 700, 13 to 16 px in the timeline, tabular numbers for live values and time
|
|
20
|
+
- One word only: Instrument Serif italic in clay, with a thin stroke for weight (for example the "2.0" in a title)
|
|
21
|
+
- Font links (paste into <head>; all fonts are free):
|
|
22
|
+
<link rel="stylesheet" href="https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700,800&display=swap">
|
|
23
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&display=swap">
|
|
24
|
+
|
|
25
|
+
## Easing (numbers)
|
|
26
|
+
- land: expo.out, 0.7 s (panels stagger in)
|
|
27
|
+
- leave: power2.in, 0.25 s
|
|
28
|
+
- move: power3.inOut, 0.45 s (camera pushes, cursor moves)
|
|
29
|
+
- pop: back.out(2.2), 0.4 s (keyframe diamonds, tracker box back.out(2) over 0.3 s)
|
|
30
|
+
- peel: power2.in, 0.55 s; blur power3.in, 0.5 s
|
|
31
|
+
- stagger: 0.07 s panels, 0.02 to 0.05 s per panel in the peel
|
|
32
|
+
- beat: 120 BPM, every hit on a 0.5 s mark
|
|
33
|
+
|
|
34
|
+
## Motion rules
|
|
35
|
+
- One clock. Camera, cursor, comp time, timeline, graph, tracker and title are all pure functions of time.
|
|
36
|
+
- Two clocks agree: the comp clock (the playhead inside the app) is one table. The picture, title, callout and tracker always show that comp time.
|
|
37
|
+
- The camera is a keyframe track (x, y, scale, tilt). App opens tilted (scale 0.80, 16 deg and -13 deg) and settles wide by 1.5 s. Each push is power3.inOut, about 0.45 s, to scale 1.5 to 2.7, then a slow linear drift hold.
|
|
38
|
+
- The cursor never teleports. Every click gets a clay ring that grows and fades. The label badge reads "AI name · step" and stays on screen.
|
|
39
|
+
- The title move, the motion path dots and the graph curve all use ONE cubic bezier. When the AI drags a handle, all three change together.
|
|
40
|
+
- Draw the timeline on one canvas at high pixel ratio (2.4). Rows slide in as they appear (30 px tall).
|
|
41
|
+
|
|
42
|
+
## Signature moves
|
|
43
|
+
- Linear becomes ease: first a preview with evenly spaced white dots along the motion path. Then the camera dives into the graph editor, the AI drags both bezier handles, an "Influence 80%" tag shows, the keys turn into hourglass shapes. Second preview: the dots bunch at both ends.
|
|
44
|
+
- Keyframes being set: twirl open Position, Scale, Opacity, click three stopwatches, three clay diamonds pop. Values count live next to them.
|
|
45
|
+
- The tracker: a 3 px clay inner box, a dashed white outer box, a white crosshair, a "Track Point 1" tag, and a trail of clay dots every 2 frames. A callout gets pinned to the track.
|
|
46
|
+
- The peel finish: panels hinge on their outer edges (turn 55 to 62 deg, z +800 to +1100, blur to 14 px, fade at +0.42 s). The desk dims to 0.35. The camera speeds into the viewer (power3.in). A clay flash on the beat: up to 0.8 in 0.06 s, out in 0.5 s.
|
|
47
|
+
|
|
48
|
+
## Composition
|
|
49
|
+
- Title bar with workspace tabs (Animate, Track, Render), a tool strip with a Text tool, Project bin, Effects and Presets, the comp viewer top centre, the AI panel right, the timeline across the bottom.
|
|
50
|
+
- Timeline: layer outline on the left (eye, colour chip, number, name), keyframe area on the right, a 6 px clay cache bar that sweeps across over 0.85 s before playback.
|
|
51
|
+
- Graph editor: dim value grid with numbers on the right, a dashed straight "before" line, the white eased curve, clay handles with round ends.
|
|
52
|
+
- In the finished shot: title top left, tracked callout to the upper right of the tracked point, lower third bottom left. About 6 words on screen.
|
|
53
|
+
- Finish: the finished shot full frame for the last 3 s, slow 5 percent push (power1.inOut).
|
|
54
|
+
|
|
55
|
+
## With media
|
|
56
|
+
- The person's clip plays inside the comp viewer. When the playhead is parked, show a still of that exact frame, so the picture never lies about the time.
|
|
57
|
+
- Track a real point (a shoulder, a product edge, never the face). Measure it with template tracking, smooth it, then drive the tracker and callout from that data.
|
|
58
|
+
- Bin thumbnails are stills from their own clips.
|
|
59
|
+
- No footage? Draw a placeholder scene in code (for example a golden-hour street with a backlit runner) driven by the same comp clock.
|
|
60
|
+
|
|
61
|
+
## Ban list
|
|
62
|
+
- real motion app names, logos or brand colours
|
|
63
|
+
- a second accent colour in the chrome
|
|
64
|
+
- tracker, callout or title on a face
|
|
65
|
+
- keyframes that appear with no click
|
|
66
|
+
- a curve change that does not change the motion path
|
|
67
|
+
- a light theme
|
|
68
|
+
- tiny UI that cannot be read at the final camera scale
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Paper Cut
|
|
2
|
+
|
|
3
|
+
id: paper-cut
|
|
4
|
+
Best for: stories, travel, nature, gentle brand moments, loops.
|
|
5
|
+
Mood: a pop-up book. Layered cut paper with soft shadows and real depth.
|
|
6
|
+
Reference piece: styles/paper-cut/index.html (12 s, loops)
|
|
7
|
+
Gallery video: gallery/videos/paper-cut.mp4
|
|
8
|
+
|
|
9
|
+
## Palette (hex)
|
|
10
|
+
- cream: #F2E8D5
|
|
11
|
+
- sand: #E3CBA8
|
|
12
|
+
- sage: #9CB49A
|
|
13
|
+
- deep sage: #5E7F6A
|
|
14
|
+
- teal: #2F5D62
|
|
15
|
+
- ink: #2B2B2B
|
|
16
|
+
- accent: #D98C7A (dusk rose, one small thing: a sun, a flag, a boat)
|
|
17
|
+
|
|
18
|
+
## Type
|
|
19
|
+
- Mostly no words. If needed: EB Garamond 500 italic, 64 px or more.
|
|
20
|
+
- Words are paper too: each letter lands with its own small shadow.
|
|
21
|
+
- Font links (paste into <head>; all fonts are free):
|
|
22
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,500&display=swap">
|
|
23
|
+
|
|
24
|
+
## Easing (numbers)
|
|
25
|
+
- sheet lands: back.out(1.2), 0.6 s, with a small 2% overshoot
|
|
26
|
+
- camera push: sine.inOut, slow, 4 to 8 s
|
|
27
|
+
- bob and sway: sine waves with a whole number of cycles (so it loops)
|
|
28
|
+
|
|
29
|
+
## Motion rules
|
|
30
|
+
- Every sheet has a hand-cut edge, a thin light rim on top and a soft shadow on the sheet behind.
|
|
31
|
+
- Near sheets move faster than far sheets (parallax).
|
|
32
|
+
- A sheet still in the air throws a wider, softer shadow that tightens as it lands.
|
|
33
|
+
|
|
34
|
+
## Signature moves
|
|
35
|
+
- The stack: sheets land one by one, far to near, each held 4% big with a wide shadow, then set down.
|
|
36
|
+
- The breath: in a hold, the sheets lift a little and settle again, one after another.
|
|
37
|
+
- The unstack: the same sheets lift off near to far until the bare cream page is back. That closes the loop.
|
|
38
|
+
- Leaves swing in on their stems from the corners, like a pop-up page opening.
|
|
39
|
+
|
|
40
|
+
## Grid
|
|
41
|
+
Layers, not columns: 5 to 7 depth layers from sky to foreground.
|
|
42
|
+
|
|
43
|
+
## Composition
|
|
44
|
+
- Text hangs off the left margin on bare cream. The shapes frame it: arcs on the right, waves below, leaves in the top corners.
|
|
45
|
+
- Big shapes bleed off the frame edges. Nothing floats small in the middle.
|
|
46
|
+
|
|
47
|
+
## With media
|
|
48
|
+
- Put a photo inside a paper window: cut a hand-cut hole in a cream sheet and lay it over the photo, with a shadow on the photo.
|
|
49
|
+
- Grade photos warm and soft, low contrast, so they sit with the paper colours.
|
|
50
|
+
- Paper leaves or waves can overlap the photo edge to tie it into the stack.
|
|
51
|
+
|
|
52
|
+
## Ban list
|
|
53
|
+
- flat vector shapes with no shadow
|
|
54
|
+
- perfect geometric edges
|
|
55
|
+
- bright saturated colours
|
|
56
|
+
- text on top of the scene
|