takomi 2.5.1 → 2.5.4
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/.pi/agents/worker.md +32 -32
- package/.pi/extensions/oauth-router/README.md +3 -3
- package/.pi/extensions/oauth-router/config.ts +34 -34
- package/.pi/extensions/oauth-router/report-ui.ts +205 -205
- package/.pi/extensions/oauth-router/scripts/vibe-verify.py +5 -5
- package/.pi/extensions/takomi-context-manager/diagnostics.ts +560 -560
- package/.pi/extensions/takomi-context-manager/policy-tools.ts +93 -93
- package/.pi/extensions/takomi-context-manager/skill-categories.d.ts +11 -11
- package/.pi/extensions/takomi-context-manager/skill-tools.ts +208 -208
- package/.pi/extensions/takomi-context-manager/tool-renderers.ts +112 -112
- package/.pi/extensions/takomi-runtime/gate-provenance.ts +24 -24
- package/.pi/extensions/takomi-runtime/model-routing-defaults.ts +262 -262
- package/.pi/extensions/takomi-runtime/tool-renderers.ts +234 -234
- package/.pi/extensions/takomi-runtime/workflow-catalog.ts +54 -54
- package/.pi/extensions/takomi-subagents/async-lifecycle.ts +401 -401
- package/.pi/extensions/takomi-subagents/detached-results.ts +940 -940
- package/.pi/extensions/takomi-subagents/native-render.ts +253 -250
- package/.pi/extensions/takomi-subagents/result-heartbeat.ts +55 -55
- package/.pi/extensions/takomi-subagents/subagent-ux.ts +162 -162
- package/.pi/extensions/takomi-subagents/tool-runner.ts +25 -0
- package/.pi/takomi-profile.json +54 -54
- package/README.md +1 -1
- package/assets/.agent/skills/embedded-captions/CATALOG.md +93 -93
- package/assets/.agent/skills/embedded-captions/SKILL.md +286 -286
- package/assets/.agent/skills/embedded-captions/assets/brand/CDPR-fankit-terms.txt +35 -35
- package/assets/.agent/skills/embedded-captions/assets/brand/cyberpunk-widths.json +115 -115
- package/assets/.agent/skills/embedded-captions/assets/fonts/char-widths.json +2211 -2211
- package/assets/.agent/skills/embedded-captions/assets/strokefonts/HersheyScript1.svg +241 -241
- package/assets/.agent/skills/embedded-captions/assets/strokefonts/HersheyScriptMed.svg +241 -241
- package/assets/.agent/skills/embedded-captions/dna/README.md +148 -148
- package/assets/.agent/skills/embedded-captions/dna/chrome.json +68 -68
- package/assets/.agent/skills/embedded-captions/dna/cream.json +69 -69
- package/assets/.agent/skills/embedded-captions/dna/documentary.json +62 -62
- package/assets/.agent/skills/embedded-captions/dna/editorial.json +70 -70
- package/assets/.agent/skills/embedded-captions/dna/glitch.json +82 -82
- package/assets/.agent/skills/embedded-captions/dna/ink.json +65 -65
- package/assets/.agent/skills/embedded-captions/dna/keynote.json +62 -62
- package/assets/.agent/skills/embedded-captions/dna/loud.json +75 -75
- package/assets/.agent/skills/embedded-captions/dna/neon.json +58 -58
- package/assets/.agent/skills/embedded-captions/dna/velocity.json +89 -89
- package/assets/.agent/skills/embedded-captions/modes/cinematic/README.md +48 -48
- package/assets/.agent/skills/embedded-captions/modes/cinematic/_archive/champion/spec.md +98 -98
- package/assets/.agent/skills/embedded-captions/modes/cinematic/_archive/champion/template.html +188 -188
- package/assets/.agent/skills/embedded-captions/modes/cinematic/_archive/memory-wall/spec.md +134 -134
- package/assets/.agent/skills/embedded-captions/modes/cinematic/_archive/memory-wall/template.html +179 -179
- package/assets/.agent/skills/embedded-captions/modes/cinematic/_archive/portrait-header/spec.md +81 -81
- package/assets/.agent/skills/embedded-captions/modes/cinematic/_archive/portrait-header/template.html +170 -170
- package/assets/.agent/skills/embedded-captions/modes/cinematic/cinematic-cream/spec.md +16 -16
- package/assets/.agent/skills/embedded-captions/modes/cinematic/cinematic-cream/template.html +226 -226
- package/assets/.agent/skills/embedded-captions/modes/cinematic/engine.html +355 -355
- package/assets/.agent/skills/embedded-captions/modes/standard/_anatomy.md +233 -233
- package/assets/.agent/skills/embedded-captions/modes/standard/_motion.md +192 -192
- package/assets/.agent/skills/embedded-captions/modes/standard/fonts/build-fonts-css.cjs +97 -97
- package/assets/.agent/skills/embedded-captions/references/aesthetic-principles.md +168 -168
- package/assets/.agent/skills/embedded-captions/references/anti-patterns.md +188 -188
- package/assets/.agent/skills/embedded-captions/references/bespoke-vs-presets.md +178 -178
- package/assets/.agent/skills/embedded-captions/references/caption-grouping.md +130 -130
- package/assets/.agent/skills/embedded-captions/references/composition-craft.md +522 -522
- package/assets/.agent/skills/embedded-captions/references/direction-catalog.md +138 -138
- package/assets/.agent/skills/embedded-captions/references/example-renders/champion.html +371 -371
- package/assets/.agent/skills/embedded-captions/references/example-renders/memory-wall.html +334 -334
- package/assets/.agent/skills/embedded-captions/references/failure-modes.md +145 -145
- package/assets/.agent/skills/embedded-captions/references/layout-heuristics.md +238 -238
- package/assets/.agent/skills/embedded-captions/references/motion-vocabulary.md +148 -148
- package/assets/.agent/skills/embedded-captions/references/rail.md +68 -68
- package/assets/.agent/skills/embedded-captions/references/reference-bar.md +47 -47
- package/assets/.agent/skills/embedded-captions/references/scene-types.md +94 -94
- package/assets/.agent/skills/embedded-captions/references/test-set.md +66 -66
- package/assets/.agent/skills/embedded-captions/references/typographic-moves.md +266 -266
- package/assets/.agent/skills/embedded-captions/references/typography-presets.md +63 -63
- package/assets/.agent/skills/embedded-captions/scripts/audio-envelope.cjs +95 -95
- package/assets/.agent/skills/embedded-captions/scripts/check-occlusion.cjs +250 -250
- package/assets/.agent/skills/embedded-captions/scripts/check-overflow.cjs +194 -194
- package/assets/.agent/skills/embedded-captions/scripts/check-rail-climax.cjs +233 -233
- package/assets/.agent/skills/embedded-captions/scripts/check-timing.cjs +173 -173
- package/assets/.agent/skills/embedded-captions/scripts/fill-timings.cjs +124 -124
- package/assets/.agent/skills/embedded-captions/scripts/fit-fonts.cjs +158 -158
- package/assets/.agent/skills/embedded-captions/scripts/gen-stroke-path.py +46 -46
- package/assets/.agent/skills/embedded-captions/scripts/inject-fonts.cjs +169 -169
- package/assets/.agent/skills/embedded-captions/scripts/lib-dna.cjs +201 -201
- package/assets/.agent/skills/embedded-captions/scripts/make-cinematic.cjs +1205 -1205
- package/assets/.agent/skills/embedded-captions/scripts/make-composition.cjs +404 -404
- package/assets/.agent/skills/embedded-captions/scripts/make-theme.cjs +8781 -8781
- package/assets/.agent/skills/embedded-captions/scripts/matte.cjs +279 -279
- package/assets/.agent/skills/embedded-captions/scripts/measure-layout.cjs +293 -293
- package/assets/.agent/skills/embedded-captions/scripts/prepare.sh +39 -39
- package/assets/.agent/skills/embedded-captions/scripts/preview-frames.cjs +268 -268
- package/assets/.agent/skills/embedded-captions/scripts/render-and-composite.sh +469 -469
- package/assets/.agent/skills/embedded-captions/scripts/render-theme.sh +34 -34
- package/assets/.agent/skills/embedded-captions/scripts/safe-zones.cjs +813 -813
- package/assets/.agent/skills/embedded-captions/scripts/transcribe.cjs +332 -332
- package/assets/.agent/skills/embedded-captions/themes/PORTING.md +49 -49
- package/assets/.agent/skills/embedded-captions/themes/README.md +244 -244
- package/assets/.agent/skills/embedded-captions/themes/anchor.json +27 -27
- package/assets/.agent/skills/embedded-captions/themes/arcade.json +51 -51
- package/assets/.agent/skills/embedded-captions/themes/aurora.json +41 -41
- package/assets/.agent/skills/embedded-captions/themes/biolume.json +35 -35
- package/assets/.agent/skills/embedded-captions/themes/brush.json +74 -74
- package/assets/.agent/skills/embedded-captions/themes/chalkboard.json +52 -52
- package/assets/.agent/skills/embedded-captions/themes/dossier.json +56 -56
- package/assets/.agent/skills/embedded-captions/themes/graffiti.json +62 -62
- package/assets/.agent/skills/embedded-captions/themes/hologram.json +41 -41
- package/assets/.agent/skills/embedded-captions/themes/inkwater.json +43 -43
- package/assets/.agent/skills/embedded-captions/themes/laser.json +46 -46
- package/assets/.agent/skills/embedded-captions/themes/lastpage.json +33 -33
- package/assets/.agent/skills/embedded-captions/themes/neonsign.json +53 -53
- package/assets/.agent/skills/embedded-captions/themes/nightcity.json +56 -56
- package/assets/.agent/skills/embedded-captions/themes/ordnance.json +54 -54
- package/assets/.agent/skills/embedded-captions/themes/papercut.json +37 -37
- package/assets/.agent/skills/embedded-captions/themes/popup.json +46 -46
- package/assets/.agent/skills/embedded-captions/themes/ransom.json +62 -62
- package/assets/.agent/skills/embedded-captions/themes/scoreboard.json +54 -54
- package/assets/.agent/skills/embedded-captions/themes/spectrum.json +46 -46
- package/assets/.agent/skills/embedded-captions/themes/stardust.json +29 -29
- package/assets/.agent/skills/embedded-captions/themes/stomp.json +43 -43
- package/assets/.agent/skills/embedded-captions/themes/terminal.json +49 -49
- package/assets/.agent/skills/embedded-captions/themes/thunder.json +44 -44
- package/assets/.agent/skills/embedded-captions/themes/transit.json +44 -44
- package/assets/.agent/skills/embedded-captions/themes/vhs.json +47 -47
- package/assets/.agent/skills/faceless-explainer/SKILL.md +209 -209
- package/assets/.agent/skills/faceless-explainer/references/cut-catalog.md +215 -215
- package/assets/.agent/skills/faceless-explainer/references/motion-language.md +156 -156
- package/assets/.agent/skills/faceless-explainer/references/story-design.md +248 -248
- package/assets/.agent/skills/faceless-explainer/references/visual-design.md +146 -146
- package/assets/.agent/skills/faceless-explainer/scripts/assemble-index.mjs +570 -570
- package/assets/.agent/skills/faceless-explainer/scripts/audio.mjs +253 -253
- package/assets/.agent/skills/faceless-explainer/scripts/build-frame.mjs +536 -536
- package/assets/.agent/skills/faceless-explainer/scripts/captions.mjs +508 -508
- package/assets/.agent/skills/faceless-explainer/scripts/lib/assets.mjs +55 -55
- package/assets/.agent/skills/faceless-explainer/scripts/lib/dimensions.mjs +45 -45
- package/assets/.agent/skills/faceless-explainer/scripts/lib/storyboard.mjs +249 -249
- package/assets/.agent/skills/faceless-explainer/scripts/lib/tokens.mjs +204 -204
- package/assets/.agent/skills/faceless-explainer/scripts/lib/transition-registry.mjs +38 -38
- package/assets/.agent/skills/faceless-explainer/scripts/lib/transitions.json +71 -71
- package/assets/.agent/skills/faceless-explainer/scripts/transitions.mjs +320 -320
- package/assets/.agent/skills/faceless-explainer/sub-agents/frame-worker.md +75 -75
- package/assets/.agent/skills/figma/SKILL.md +121 -121
- package/assets/.agent/skills/general-video/SKILL.md +143 -143
- package/assets/.agent/skills/hyperframes/SKILL.md +164 -164
- package/assets/.agent/skills/hyperframes-animation/SKILL.md +84 -84
- package/assets/.agent/skills/hyperframes-animation/adapters/animate-text.md +64 -64
- package/assets/.agent/skills/hyperframes-animation/adapters/animejs.md +114 -114
- package/assets/.agent/skills/hyperframes-animation/adapters/css-animations.md +143 -143
- package/assets/.agent/skills/hyperframes-animation/adapters/gsap-easing-and-stagger.md +118 -118
- package/assets/.agent/skills/hyperframes-animation/adapters/gsap-timeline-and-labels.md +96 -96
- package/assets/.agent/skills/hyperframes-animation/adapters/gsap-transforms-and-perf.md +96 -96
- package/assets/.agent/skills/hyperframes-animation/adapters/gsap.md +105 -105
- package/assets/.agent/skills/hyperframes-animation/adapters/html-in-canvas-patterns.md +507 -507
- package/assets/.agent/skills/hyperframes-animation/adapters/lottie.md +117 -117
- package/assets/.agent/skills/hyperframes-animation/adapters/three.md +131 -131
- package/assets/.agent/skills/hyperframes-animation/adapters/typegpu.md +178 -178
- package/assets/.agent/skills/hyperframes-animation/adapters/waapi.md +101 -101
- package/assets/.agent/skills/hyperframes-animation/blueprints/comparison-split.md +27 -27
- package/assets/.agent/skills/hyperframes-animation/blueprints/constellation-hub.md +44 -44
- package/assets/.agent/skills/hyperframes-animation/blueprints/cta-morph-press.md +28 -28
- package/assets/.agent/skills/hyperframes-animation/blueprints/cursor-ui-demo.md +57 -57
- package/assets/.agent/skills/hyperframes-animation/blueprints/dataviz-countup.md +46 -46
- package/assets/.agent/skills/hyperframes-animation/blueprints/device-surface-showcase.md +53 -53
- package/assets/.agent/skills/hyperframes-animation/blueprints/grid-card-assemble.md +66 -66
- package/assets/.agent/skills/hyperframes-animation/blueprints/kinetic-type-beats.md +78 -78
- package/assets/.agent/skills/hyperframes-animation/blueprints/logo-assemble-lockup.md +69 -69
- package/assets/.agent/skills/hyperframes-animation/blueprints/overwhelm-surround.md +28 -28
- package/assets/.agent/skills/hyperframes-animation/blueprints/spatial-pan-stations.md +37 -37
- package/assets/.agent/skills/hyperframes-animation/blueprints/ticker-takeover.md +29 -29
- package/assets/.agent/skills/hyperframes-animation/blueprints/titlecard-reveal.md +42 -42
- package/assets/.agent/skills/hyperframes-animation/blueprints/typewriter-reveal.md +51 -51
- package/assets/.agent/skills/hyperframes-animation/blueprints/video-text-pivot.md +30 -30
- package/assets/.agent/skills/hyperframes-animation/blueprints-index.md +146 -146
- package/assets/.agent/skills/hyperframes-animation/examples/brand-reveal-assemble-zoom.html +382 -382
- package/assets/.agent/skills/hyperframes-animation/examples/comparison-split-cards.html +649 -649
- package/assets/.agent/skills/hyperframes-animation/examples/concept-demo-decode-pan.html +520 -520
- package/assets/.agent/skills/hyperframes-animation/examples/cta-morph-press.html +468 -468
- package/assets/.agent/skills/hyperframes-animation/examples/cta-orbit-collapse.html +1298 -1298
- package/assets/.agent/skills/hyperframes-animation/examples/demo-page-scroll-spotlight.html +759 -759
- package/assets/.agent/skills/hyperframes-animation/examples/hook-counter-burst.html +729 -729
- package/assets/.agent/skills/hyperframes-animation/examples/messaging-multi-phrase.html +352 -352
- package/assets/.agent/skills/hyperframes-animation/examples/metric-video-text-pivot.html +779 -779
- package/assets/.agent/skills/hyperframes-animation/examples/problem-mockup-overwhelm.html +1374 -1374
- package/assets/.agent/skills/hyperframes-animation/examples/proof-logo-chain.html +861 -861
- package/assets/.agent/skills/hyperframes-animation/examples/takeover-ticker-displace.html +347 -347
- package/assets/.agent/skills/hyperframes-animation/examples/workflow-approve-press.html +606 -606
- package/assets/.agent/skills/hyperframes-animation/rules/3d-page-scroll.md +227 -227
- package/assets/.agent/skills/hyperframes-animation/rules/3d-text-depth-layers.md +297 -297
- package/assets/.agent/skills/hyperframes-animation/rules/ai-tracking-box.md +382 -382
- package/assets/.agent/skills/hyperframes-animation/rules/ambient-glow-bloom.md +305 -305
- package/assets/.agent/skills/hyperframes-animation/rules/asr-keyword-glow.md +286 -286
- package/assets/.agent/skills/hyperframes-animation/rules/avatar-cloud-network.md +371 -371
- package/assets/.agent/skills/hyperframes-animation/rules/camera-cursor-tracking.md +246 -246
- package/assets/.agent/skills/hyperframes-animation/rules/card-morph-anchor.md +267 -267
- package/assets/.agent/skills/hyperframes-animation/rules/center-outward-expansion.md +227 -227
- package/assets/.agent/skills/hyperframes-animation/rules/context-sensitive-cursor.md +257 -257
- package/assets/.agent/skills/hyperframes-animation/rules/coordinate-target-zoom.md +332 -332
- package/assets/.agent/skills/hyperframes-animation/rules/counting-dynamic-scale.md +283 -283
- package/assets/.agent/skills/hyperframes-animation/rules/css-marker-patterns.md +373 -373
- package/assets/.agent/skills/hyperframes-animation/rules/cursor-click-ripple.md +262 -262
- package/assets/.agent/skills/hyperframes-animation/rules/depth-of-field-blur.md +313 -313
- package/assets/.agent/skills/hyperframes-animation/rules/depth-scatter-assemble.md +303 -303
- package/assets/.agent/skills/hyperframes-animation/rules/discrete-text-sequence.md +273 -273
- package/assets/.agent/skills/hyperframes-animation/rules/dynamic-content-sequencing.md +307 -307
- package/assets/.agent/skills/hyperframes-animation/rules/gsap-effects.md +299 -299
- package/assets/.agent/skills/hyperframes-animation/rules/hacker-flip-3d.md +223 -223
- package/assets/.agent/skills/hyperframes-animation/rules/kinetic-beat-slam.md +183 -183
- package/assets/.agent/skills/hyperframes-animation/rules/motion-blur-streak.md +328 -328
- package/assets/.agent/skills/hyperframes-animation/rules/multi-phase-camera.md +273 -273
- package/assets/.agent/skills/hyperframes-animation/rules/orbit-3d-entry.md +301 -301
- package/assets/.agent/skills/hyperframes-animation/rules/physics-press-reaction.md +350 -350
- package/assets/.agent/skills/hyperframes-animation/rules/press-release-spring.md +296 -296
- package/assets/.agent/skills/hyperframes-animation/rules/reactive-displacement.md +277 -277
- package/assets/.agent/skills/hyperframes-animation/rules/scale-swap-transition.md +298 -298
- package/assets/.agent/skills/hyperframes-animation/rules/sine-wave-loop.md +278 -278
- package/assets/.agent/skills/hyperframes-animation/rules/split-tilt-cards.md +277 -277
- package/assets/.agent/skills/hyperframes-animation/rules/spring-pop-entrance.md +273 -273
- package/assets/.agent/skills/hyperframes-animation/rules/stat-bars-and-fills.md +156 -156
- package/assets/.agent/skills/hyperframes-animation/rules/svg-icon-enrichment.md +329 -329
- package/assets/.agent/skills/hyperframes-animation/rules/svg-path-draw.md +274 -274
- package/assets/.agent/skills/hyperframes-animation/rules/vertical-spring-ticker.md +239 -239
- package/assets/.agent/skills/hyperframes-animation/rules/viewport-change.md +349 -349
- package/assets/.agent/skills/hyperframes-animation/rules-index.md +86 -86
- package/assets/.agent/skills/hyperframes-animation/scripts/animation-map.mjs +606 -606
- package/assets/.agent/skills/hyperframes-animation/scripts/package-loader.mjs +288 -288
- package/assets/.agent/skills/hyperframes-animation/scripts/package-loader.test.mjs +62 -62
- package/assets/.agent/skills/hyperframes-animation/techniques.md +507 -507
- package/assets/.agent/skills/hyperframes-animation/transitions/TRANSITION-REGISTRY.md +167 -167
- package/assets/.agent/skills/hyperframes-animation/transitions/catalog.md +127 -127
- package/assets/.agent/skills/hyperframes-animation/transitions/css-3d.md +12 -12
- package/assets/.agent/skills/hyperframes-animation/transitions/css-blur.md +51 -51
- package/assets/.agent/skills/hyperframes-animation/transitions/css-cover.md +43 -43
- package/assets/.agent/skills/hyperframes-animation/transitions/css-destruction.md +95 -95
- package/assets/.agent/skills/hyperframes-animation/transitions/css-dissolve.md +66 -66
- package/assets/.agent/skills/hyperframes-animation/transitions/css-distortion.md +45 -45
- package/assets/.agent/skills/hyperframes-animation/transitions/css-grid.md +10 -10
- package/assets/.agent/skills/hyperframes-animation/transitions/css-light.md +49 -49
- package/assets/.agent/skills/hyperframes-animation/transitions/css-mechanical.md +30 -30
- package/assets/.agent/skills/hyperframes-animation/transitions/css-other.md +25 -25
- package/assets/.agent/skills/hyperframes-animation/transitions/css-push.md +41 -41
- package/assets/.agent/skills/hyperframes-animation/transitions/css-radial.md +37 -37
- package/assets/.agent/skills/hyperframes-animation/transitions/css-scale.md +24 -24
- package/assets/.agent/skills/hyperframes-animation/transitions/overview.md +153 -153
- package/assets/.agent/skills/hyperframes-cli/SKILL.md +113 -113
- package/assets/.agent/skills/hyperframes-cli/references/doctor-browser.md +45 -45
- package/assets/.agent/skills/hyperframes-cli/references/init-and-scaffold.md +51 -51
- package/assets/.agent/skills/hyperframes-cli/references/lambda.md +132 -132
- package/assets/.agent/skills/hyperframes-cli/references/lint-validate-inspect.md +121 -121
- package/assets/.agent/skills/hyperframes-cli/references/preview-render.md +164 -164
- package/assets/.agent/skills/hyperframes-cli/references/upgrade-info-misc.md +75 -75
- package/assets/.agent/skills/hyperframes-core/SKILL.md +78 -78
- package/assets/.agent/skills/hyperframes-core/references/composition-patterns.md +263 -263
- package/assets/.agent/skills/hyperframes-core/references/data-attributes.md +70 -70
- package/assets/.agent/skills/hyperframes-core/references/determinism-rules.md +68 -68
- package/assets/.agent/skills/hyperframes-core/references/full-screen-motion.md +62 -62
- package/assets/.agent/skills/hyperframes-core/references/minimal-composition.md +66 -66
- package/assets/.agent/skills/hyperframes-core/references/script-format.md +49 -49
- package/assets/.agent/skills/hyperframes-core/references/storyboard-format.md +95 -95
- package/assets/.agent/skills/hyperframes-core/references/sub-compositions.md +237 -237
- package/assets/.agent/skills/hyperframes-core/references/subagent-dispatch.md +41 -41
- package/assets/.agent/skills/hyperframes-core/references/tailwind.md +125 -125
- package/assets/.agent/skills/hyperframes-core/references/tracks-and-clips.md +76 -76
- package/assets/.agent/skills/hyperframes-core/references/variables-and-media.md +90 -90
- package/assets/.agent/skills/hyperframes-creative/SKILL.md +70 -70
- package/assets/.agent/skills/hyperframes-creative/frame-presets/biennale-yellow/FRAME.md +289 -289
- package/assets/.agent/skills/hyperframes-creative/frame-presets/biennale-yellow/caption-skin.html +221 -221
- package/assets/.agent/skills/hyperframes-creative/frame-presets/biennale-yellow/frame-showcase.html +1214 -1214
- package/assets/.agent/skills/hyperframes-creative/frame-presets/blockframe/FRAME.md +275 -275
- package/assets/.agent/skills/hyperframes-creative/frame-presets/blockframe/caption-skin.html +224 -224
- package/assets/.agent/skills/hyperframes-creative/frame-presets/blockframe/frame-showcase.html +1347 -1347
- package/assets/.agent/skills/hyperframes-creative/frame-presets/blue-professional/FRAME.md +307 -307
- package/assets/.agent/skills/hyperframes-creative/frame-presets/blue-professional/caption-skin.html +223 -223
- package/assets/.agent/skills/hyperframes-creative/frame-presets/blue-professional/frame-showcase.html +1372 -1372
- package/assets/.agent/skills/hyperframes-creative/frame-presets/bold-poster/FRAME.md +275 -275
- package/assets/.agent/skills/hyperframes-creative/frame-presets/bold-poster/caption-skin.html +230 -230
- package/assets/.agent/skills/hyperframes-creative/frame-presets/bold-poster/frame-showcase.html +1140 -1140
- package/assets/.agent/skills/hyperframes-creative/frame-presets/broadside/FRAME.md +284 -284
- package/assets/.agent/skills/hyperframes-creative/frame-presets/broadside/caption-skin.html +225 -225
- package/assets/.agent/skills/hyperframes-creative/frame-presets/broadside/frame-showcase.html +1166 -1166
- package/assets/.agent/skills/hyperframes-creative/frame-presets/capsule/FRAME.md +284 -284
- package/assets/.agent/skills/hyperframes-creative/frame-presets/capsule/caption-skin.html +224 -224
- package/assets/.agent/skills/hyperframes-creative/frame-presets/capsule/frame-showcase.html +1465 -1465
- package/assets/.agent/skills/hyperframes-creative/frame-presets/cartesian/FRAME.md +278 -278
- package/assets/.agent/skills/hyperframes-creative/frame-presets/cartesian/caption-skin.html +222 -222
- package/assets/.agent/skills/hyperframes-creative/frame-presets/cartesian/frame-showcase.html +1263 -1263
- package/assets/.agent/skills/hyperframes-creative/frame-presets/claude/FRAME.md +277 -277
- package/assets/.agent/skills/hyperframes-creative/frame-presets/claude/caption-skin.html +224 -224
- package/assets/.agent/skills/hyperframes-creative/frame-presets/claude/frame-showcase.html +1439 -1439
- package/assets/.agent/skills/hyperframes-creative/frame-presets/cobalt-grid/FRAME.md +265 -265
- package/assets/.agent/skills/hyperframes-creative/frame-presets/cobalt-grid/caption-skin.html +238 -238
- package/assets/.agent/skills/hyperframes-creative/frame-presets/cobalt-grid/frame-showcase.html +1468 -1468
- package/assets/.agent/skills/hyperframes-creative/frame-presets/coral/FRAME.md +314 -314
- package/assets/.agent/skills/hyperframes-creative/frame-presets/coral/caption-skin.html +226 -226
- package/assets/.agent/skills/hyperframes-creative/frame-presets/coral/frame-showcase.html +1268 -1268
- package/assets/.agent/skills/hyperframes-creative/frame-presets/creative-mode/FRAME.md +333 -333
- package/assets/.agent/skills/hyperframes-creative/frame-presets/creative-mode/caption-skin.html +227 -227
- package/assets/.agent/skills/hyperframes-creative/frame-presets/creative-mode/frame-showcase.html +1330 -1330
- package/assets/.agent/skills/hyperframes-creative/frame-presets/daisy-days/FRAME.md +274 -274
- package/assets/.agent/skills/hyperframes-creative/frame-presets/daisy-days/caption-skin.html +230 -230
- package/assets/.agent/skills/hyperframes-creative/frame-presets/daisy-days/frame-showcase.html +1444 -1444
- package/assets/.agent/skills/hyperframes-creative/frame-presets/editorial-forest/FRAME.md +265 -265
- package/assets/.agent/skills/hyperframes-creative/frame-presets/editorial-forest/caption-skin.html +223 -223
- package/assets/.agent/skills/hyperframes-creative/frame-presets/editorial-forest/frame-showcase.html +1273 -1273
- package/assets/.agent/skills/hyperframes-creative/palettes/bold-energetic.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/clean-corporate.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/dark-premium.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/jewel-rich.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/monochrome.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/nature-earth.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/neon-electric.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/pastel-soft.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/palettes/warm-editorial.md +14 -14
- package/assets/.agent/skills/hyperframes-creative/references/audio-reactive.md +76 -76
- package/assets/.agent/skills/hyperframes-creative/references/beat-direction.md +164 -164
- package/assets/.agent/skills/hyperframes-creative/references/composition-patterns.md +199 -199
- package/assets/.agent/skills/hyperframes-creative/references/data-in-motion.md +19 -19
- package/assets/.agent/skills/hyperframes-creative/references/design-adherence.md +19 -19
- package/assets/.agent/skills/hyperframes-creative/references/design-picker.md +123 -123
- package/assets/.agent/skills/hyperframes-creative/references/design-spec.md +55 -55
- package/assets/.agent/skills/hyperframes-creative/references/house-style.md +73 -73
- package/assets/.agent/skills/hyperframes-creative/references/motion-principles.md +150 -150
- package/assets/.agent/skills/hyperframes-creative/references/narration.md +92 -92
- package/assets/.agent/skills/hyperframes-creative/references/prompt-expansion.md +68 -68
- package/assets/.agent/skills/hyperframes-creative/references/typography.md +218 -218
- package/assets/.agent/skills/hyperframes-creative/references/video-composition.md +63 -63
- package/assets/.agent/skills/hyperframes-creative/references/visual-styles.md +457 -457
- package/assets/.agent/skills/hyperframes-creative/scripts/contrast-report.mjs +353 -353
- package/assets/.agent/skills/hyperframes-creative/scripts/extract-audio-data.py +188 -188
- package/assets/.agent/skills/hyperframes-creative/scripts/package-loader.mjs +288 -288
- package/assets/.agent/skills/hyperframes-creative/scripts/package-loader.test.mjs +62 -62
- package/assets/.agent/skills/hyperframes-creative/templates/design-picker.html +1432 -1432
- package/assets/.agent/skills/hyperframes-keyframes/SKILL.md +237 -237
- package/assets/.agent/skills/hyperframes-keyframes/agents/openai.yaml +4 -4
- package/assets/.agent/skills/hyperframes-keyframes/references/keyframe-patterns.md +106 -106
- package/assets/.agent/skills/hyperframes-media/SKILL.md +97 -97
- package/assets/.agent/skills/hyperframes-media/assets/sfx/CREDITS.md +35 -35
- package/assets/.agent/skills/hyperframes-media/assets/sfx/manifest.json +97 -97
- package/assets/.agent/skills/hyperframes-media/references/bgm.md +72 -72
- package/assets/.agent/skills/hyperframes-media/references/captions/authoring.md +159 -159
- package/assets/.agent/skills/hyperframes-media/references/captions/motion.md +87 -87
- package/assets/.agent/skills/hyperframes-media/references/captions/transcript-handling.md +97 -97
- package/assets/.agent/skills/hyperframes-media/references/remove-background.md +143 -143
- package/assets/.agent/skills/hyperframes-media/references/requirements.md +29 -29
- package/assets/.agent/skills/hyperframes-media/references/sfx.md +42 -42
- package/assets/.agent/skills/hyperframes-media/references/transcribe.md +52 -52
- package/assets/.agent/skills/hyperframes-media/references/tts-to-captions.md +24 -24
- package/assets/.agent/skills/hyperframes-media/references/tts.md +135 -135
- package/assets/.agent/skills/hyperframes-media/scripts/audio.mjs +293 -293
- package/assets/.agent/skills/hyperframes-media/scripts/heygen-tts.mjs +121 -121
- package/assets/.agent/skills/hyperframes-media/scripts/lib/bgm.mjs +235 -235
- package/assets/.agent/skills/hyperframes-media/scripts/lib/concurrency.mjs +14 -14
- package/assets/.agent/skills/hyperframes-media/scripts/lib/concurrency.test.mjs +41 -41
- package/assets/.agent/skills/hyperframes-media/scripts/lib/heygen.mjs +131 -131
- package/assets/.agent/skills/hyperframes-media/scripts/lib/sfx.mjs +128 -128
- package/assets/.agent/skills/hyperframes-media/scripts/lib/tts.mjs +298 -298
- package/assets/.agent/skills/hyperframes-media/scripts/lib/tts.spawn.test.mjs +97 -97
- package/assets/.agent/skills/hyperframes-media/scripts/lib/tts.test.mjs +66 -66
- package/assets/.agent/skills/hyperframes-media/scripts/lyria-recipe.py +128 -128
- package/assets/.agent/skills/hyperframes-media/scripts/wait-bgm.mjs +167 -167
- package/assets/.agent/skills/hyperframes-registry/SKILL.md +101 -101
- package/assets/.agent/skills/hyperframes-registry/examples/add-block.md +51 -51
- package/assets/.agent/skills/hyperframes-registry/examples/add-component.md +73 -73
- package/assets/.agent/skills/hyperframes-registry/references/contributing.md +166 -166
- package/assets/.agent/skills/hyperframes-registry/references/demo-html-pattern.md +54 -54
- package/assets/.agent/skills/hyperframes-registry/references/discovery.md +215 -215
- package/assets/.agent/skills/hyperframes-registry/references/install-locations.md +45 -45
- package/assets/.agent/skills/hyperframes-registry/references/templates.md +417 -417
- package/assets/.agent/skills/hyperframes-registry/references/wiring-blocks.md +61 -61
- package/assets/.agent/skills/hyperframes-registry/references/wiring-components.md +39 -39
- package/assets/.agent/skills/media-use/SKILL.md +124 -124
- package/assets/.agent/skills/media-use/scripts/eval.mjs +369 -369
- package/assets/.agent/skills/media-use/scripts/lib/adopt.mjs +112 -112
- package/assets/.agent/skills/media-use/scripts/lib/bgm-provider.mjs +20 -20
- package/assets/.agent/skills/media-use/scripts/lib/brand-provider.mjs +59 -59
- package/assets/.agent/skills/media-use/scripts/lib/cache.mjs +114 -114
- package/assets/.agent/skills/media-use/scripts/lib/freeze.mjs +26 -26
- package/assets/.agent/skills/media-use/scripts/lib/heygen-search.mjs +51 -51
- package/assets/.agent/skills/media-use/scripts/lib/image-provider.mjs +44 -44
- package/assets/.agent/skills/media-use/scripts/lib/index-gen.mjs +63 -63
- package/assets/.agent/skills/media-use/scripts/lib/manifest.mjs +91 -91
- package/assets/.agent/skills/media-use/scripts/lib/manifest.test.mjs +293 -293
- package/assets/.agent/skills/media-use/scripts/lib/probe.mjs +39 -39
- package/assets/.agent/skills/media-use/scripts/lib/probe.test.mjs +31 -31
- package/assets/.agent/skills/media-use/scripts/lib/providers.mjs +29 -29
- package/assets/.agent/skills/media-use/scripts/lib/sfx-provider.mjs +23 -23
- package/assets/.agent/skills/media-use/scripts/resolve.mjs +247 -247
- package/assets/.agent/skills/media-use/scripts/resolve.test.mjs +247 -247
- package/assets/.agent/skills/motion-graphics/SKILL.md +172 -172
- package/assets/.agent/skills/motion-graphics/agents/builder.md +40 -40
- package/assets/.agent/skills/motion-graphics/agents/director.md +53 -53
- package/assets/.agent/skills/motion-graphics/agents/finalize.md +17 -17
- package/assets/.agent/skills/motion-graphics/catalog-map.md +40 -40
- package/assets/.agent/skills/motion-graphics/categories/asset-fusion/module.md +37 -37
- package/assets/.agent/skills/motion-graphics/categories/charts/module.md +21 -21
- package/assets/.agent/skills/motion-graphics/categories/kinetic-type/module.md +19 -19
- package/assets/.agent/skills/motion-graphics/categories/logo-reveal/module.md +17 -17
- package/assets/.agent/skills/motion-graphics/categories/lower-thirds/module.md +16 -16
- package/assets/.agent/skills/motion-graphics/categories/maps/bake-basemap.mjs +273 -273
- package/assets/.agent/skills/motion-graphics/categories/maps/module.md +61 -61
- package/assets/.agent/skills/motion-graphics/categories/news/module.md +56 -56
- package/assets/.agent/skills/motion-graphics/categories/stat/module.md +21 -21
- package/assets/.agent/skills/motion-graphics/categories/tweet/module.md +16 -16
- package/assets/.agent/skills/motion-graphics/categories/webpage/module.md +21 -21
- package/assets/.agent/skills/motion-graphics/grounding/PROTOCOL.md +64 -64
- package/assets/.agent/skills/motion-graphics/grounding/locate.mjs +227 -227
- package/assets/.agent/skills/motion-graphics/phases/source/guide.md +21 -21
- package/assets/.agent/skills/motion-graphics/references/builder-contract.md +38 -38
- package/assets/.agent/skills/motion-graphics/references/motion-vocabulary.md +43 -43
- package/assets/.agent/skills/motion-graphics/references/shot-plan-ir.md +54 -54
- package/assets/.agent/skills/motion-graphics/samples/asset-fusion/_ref-circle-highlight.html +306 -306
- package/assets/.agent/skills/music-to-video/SKILL.md +197 -197
- package/assets/.agent/skills/music-to-video/references/frame-skeleton.md +100 -100
- package/assets/.agent/skills/music-to-video/references/montage.md +58 -58
- package/assets/.agent/skills/music-to-video/references/motion-primitive-catalog.md +75 -75
- package/assets/.agent/skills/music-to-video/references/motion-primitives/3d-card-flip/index.html +154 -154
- package/assets/.agent/skills/music-to-video/references/motion-primitives/assets/gsap.min.js +11 -11
- package/assets/.agent/skills/music-to-video/references/motion-primitives/bg-flow-field/index.html +326 -326
- package/assets/.agent/skills/music-to-video/references/motion-primitives/binary-decrypt/index.html +120 -120
- package/assets/.agent/skills/music-to-video/references/motion-primitives/blur-resolve/index.html +95 -95
- package/assets/.agent/skills/music-to-video/references/motion-primitives/braam-punch/index.html +135 -135
- package/assets/.agent/skills/music-to-video/references/motion-primitives/chromatic-split/index.html +146 -146
- package/assets/.agent/skills/music-to-video/references/motion-primitives/chrome-sweep/index.html +103 -103
- package/assets/.agent/skills/music-to-video/references/motion-primitives/counting-punch/index.html +154 -154
- package/assets/.agent/skills/music-to-video/references/motion-primitives/crash-zoom-in/index.html +155 -155
- package/assets/.agent/skills/music-to-video/references/motion-primitives/datamosh-smear/index.html +166 -166
- package/assets/.agent/skills/music-to-video/references/motion-primitives/directional-fill/index.html +133 -133
- package/assets/.agent/skills/music-to-video/references/motion-primitives/dolly-zoom/index.html +137 -137
- package/assets/.agent/skills/music-to-video/references/motion-primitives/electric-arc/index.html +144 -144
- package/assets/.agent/skills/music-to-video/references/motion-primitives/flash-cut/index.html +132 -132
- package/assets/.agent/skills/music-to-video/references/motion-primitives/gooey-metaball/index.html +241 -241
- package/assets/.agent/skills/music-to-video/references/motion-primitives/hard-cut/index.html +117 -117
- package/assets/.agent/skills/music-to-video/references/motion-primitives/hypercut-whip/index.html +79 -79
- package/assets/.agent/skills/music-to-video/references/motion-primitives/iris-open/index.html +104 -104
- package/assets/.agent/skills/music-to-video/references/motion-primitives/kinetic-letter-in/index.html +92 -92
- package/assets/.agent/skills/music-to-video/references/motion-primitives/liquid-morph/index.html +131 -131
- package/assets/.agent/skills/music-to-video/references/motion-primitives/mask-reveal/index.html +109 -109
- package/assets/.agent/skills/music-to-video/references/motion-primitives/mosaic-pack/index.html +124 -124
- package/assets/.agent/skills/music-to-video/references/motion-primitives/neon-flicker/index.html +108 -108
- package/assets/.agent/skills/music-to-video/references/motion-primitives/outline-to-fill/index.html +117 -117
- package/assets/.agent/skills/music-to-video/references/motion-primitives/palette-flip/index.html +132 -132
- package/assets/.agent/skills/music-to-video/references/motion-primitives/particle-burst/index.html +141 -141
- package/assets/.agent/skills/music-to-video/references/motion-primitives/pixel-dissolve/index.html +121 -121
- package/assets/.agent/skills/music-to-video/references/motion-primitives/radial-burst-lines/index.html +160 -160
- package/assets/.agent/skills/music-to-video/references/motion-primitives/screen-shake/index.html +113 -113
- package/assets/.agent/skills/music-to-video/references/motion-primitives/slot-machine-reveal/index.html +130 -130
- package/assets/.agent/skills/music-to-video/references/motion-primitives/spotlight-sweep/index.html +137 -137
- package/assets/.agent/skills/music-to-video/references/motion-primitives/staggered-exit/index.html +117 -117
- package/assets/.agent/skills/music-to-video/references/motion-primitives/text-spectral-rays/USAGE.md +42 -42
- package/assets/.agent/skills/music-to-video/references/motion-primitives/text-spectral-rays/index.html +313 -313
- package/assets/.agent/skills/music-to-video/references/motion-primitives/text-wave-distort/index.html +136 -136
- package/assets/.agent/skills/music-to-video/references/motion-primitives/tile-mosaic/index.html +144 -144
- package/assets/.agent/skills/music-to-video/references/motion-primitives/typewriter-reveal/index.html +122 -122
- package/assets/.agent/skills/music-to-video/references/motion-primitives/word-grid-burst/index.html +126 -126
- package/assets/.agent/skills/music-to-video/references/planning.md +104 -104
- package/assets/.agent/skills/music-to-video/references/storyboard-format.md +94 -94
- package/assets/.agent/skills/music-to-video/references/template-catalog.md +106 -106
- package/assets/.agent/skills/music-to-video/references/templates/card-flyby/index.html +527 -527
- package/assets/.agent/skills/music-to-video/references/templates/card-flyby/program.json +13 -13
- package/assets/.agent/skills/music-to-video/references/templates/held-message-living-field/index.html +485 -485
- package/assets/.agent/skills/music-to-video/references/templates/held-text-strobe-burst/index.html +302 -302
- package/assets/.agent/skills/music-to-video/references/templates/intro-kinetic-cascade/index.html +610 -610
- package/assets/.agent/skills/music-to-video/references/templates/intro-kinetic-cascade/program.json +41 -41
- package/assets/.agent/skills/music-to-video/references/templates/logo-split-lockup-pulse/index.html +596 -596
- package/assets/.agent/skills/music-to-video/references/templates/poster-tile-mosaic/index.html +589 -589
- package/assets/.agent/skills/music-to-video/references/templates/poster-tile-mosaic/program.json +25 -25
- package/assets/.agent/skills/music-to-video/references/templates/roll-flipbook-word-cycle/index.html +267 -267
- package/assets/.agent/skills/music-to-video/references/templates/split-anchor-word-slot/index.html +594 -594
- package/assets/.agent/skills/music-to-video/references/templates/split-anchor-word-slot/program.json +39 -39
- package/assets/.agent/skills/music-to-video/references/templates/typewriter-phrase-keyword-shuffle/index.html +238 -238
- package/assets/.agent/skills/music-to-video/scripts/analyze-beatgrid.py +531 -531
- package/assets/.agent/skills/music-to-video/scripts/assemble-index.mjs +218 -218
- package/assets/.agent/skills/music-to-video/scripts/lib/storyboard.mjs +249 -249
- package/assets/.agent/skills/music-to-video/scripts/stage-assets.mjs +58 -58
- package/assets/.agent/skills/music-to-video/scripts/validate-plan.mjs +161 -161
- package/assets/.agent/skills/music-to-video/sub-agents/frame-worker.md +75 -75
- package/assets/.agent/skills/pr-to-video/SKILL.md +240 -240
- package/assets/.agent/skills/pr-to-video/references/code-vocabulary.md +111 -111
- package/assets/.agent/skills/pr-to-video/references/cut-catalog.md +215 -215
- package/assets/.agent/skills/pr-to-video/references/motion-language.md +156 -156
- package/assets/.agent/skills/pr-to-video/references/story-design.md +211 -211
- package/assets/.agent/skills/pr-to-video/references/visual-design.md +164 -164
- package/assets/.agent/skills/pr-to-video/scripts/assemble-index.mjs +570 -570
- package/assets/.agent/skills/pr-to-video/scripts/audio.mjs +253 -253
- package/assets/.agent/skills/pr-to-video/scripts/build-frame.mjs +536 -536
- package/assets/.agent/skills/pr-to-video/scripts/captions.mjs +508 -508
- package/assets/.agent/skills/pr-to-video/scripts/fetch-people-avatars.mjs +157 -157
- package/assets/.agent/skills/pr-to-video/scripts/fetch-pr.mjs +164 -164
- package/assets/.agent/skills/pr-to-video/scripts/ingest.mjs +539 -539
- package/assets/.agent/skills/pr-to-video/scripts/lib/assets.mjs +55 -55
- package/assets/.agent/skills/pr-to-video/scripts/lib/dimensions.mjs +45 -45
- package/assets/.agent/skills/pr-to-video/scripts/lib/storyboard.mjs +249 -249
- package/assets/.agent/skills/pr-to-video/scripts/lib/tokens.mjs +204 -204
- package/assets/.agent/skills/pr-to-video/scripts/lib/transition-registry.mjs +38 -38
- package/assets/.agent/skills/pr-to-video/scripts/lib/transitions.json +71 -71
- package/assets/.agent/skills/pr-to-video/scripts/transitions.mjs +320 -320
- package/assets/.agent/skills/pr-to-video/sub-agents/frame-worker.md +95 -95
- package/assets/.agent/skills/product-launch-video/SKILL.md +208 -208
- package/assets/.agent/skills/product-launch-video/references/cut-catalog.md +220 -220
- package/assets/.agent/skills/product-launch-video/references/motion-language.md +156 -156
- package/assets/.agent/skills/product-launch-video/references/story-design.md +373 -373
- package/assets/.agent/skills/product-launch-video/references/visual-design.md +126 -126
- package/assets/.agent/skills/product-launch-video/scripts/assemble-index.mjs +570 -570
- package/assets/.agent/skills/product-launch-video/scripts/audio.mjs +253 -253
- package/assets/.agent/skills/product-launch-video/scripts/build-frame.mjs +536 -536
- package/assets/.agent/skills/product-launch-video/scripts/captions.mjs +508 -508
- package/assets/.agent/skills/product-launch-video/scripts/lib/assets.mjs +55 -55
- package/assets/.agent/skills/product-launch-video/scripts/lib/dimensions.mjs +45 -45
- package/assets/.agent/skills/product-launch-video/scripts/lib/storyboard.mjs +249 -249
- package/assets/.agent/skills/product-launch-video/scripts/lib/tokens.mjs +204 -204
- package/assets/.agent/skills/product-launch-video/scripts/lib/transition-registry.mjs +38 -38
- package/assets/.agent/skills/product-launch-video/scripts/lib/transitions.json +71 -71
- package/assets/.agent/skills/product-launch-video/scripts/stage-assets.mjs +39 -39
- package/assets/.agent/skills/product-launch-video/scripts/transitions.mjs +320 -320
- package/assets/.agent/skills/product-launch-video/sub-agents/frame-worker.md +75 -75
- package/assets/.agent/skills/remotion/SKILL.md +357 -38
- package/assets/.agent/skills/remotion/rules/3d.md +5 -5
- package/assets/.agent/skills/remotion/rules/assets/text-animations-word-highlight.tsx +1 -6
- package/assets/.agent/skills/remotion/rules/audio-visualization.md +198 -0
- package/assets/.agent/skills/remotion/rules/audio.md +1 -4
- package/assets/.agent/skills/remotion/rules/calculate-metadata.md +48 -18
- package/assets/.agent/skills/remotion/rules/compositions.md +16 -24
- package/assets/.agent/skills/remotion/rules/display-captions.md +79 -21
- package/assets/.agent/skills/remotion/rules/effects.md +235 -0
- package/assets/.agent/skills/remotion/rules/ffmpeg.md +34 -0
- package/assets/.agent/skills/remotion/rules/get-audio-duration.md +13 -13
- package/assets/.agent/skills/remotion/rules/get-video-dimensions.md +1 -1
- package/assets/.agent/skills/remotion/rules/get-video-duration.md +12 -10
- package/assets/.agent/skills/remotion/rules/gifs.md +21 -18
- package/assets/.agent/skills/remotion/rules/google-fonts.md +72 -0
- package/assets/.agent/skills/remotion/rules/html-in-canvas.md +122 -0
- package/assets/.agent/skills/remotion/rules/images.md +5 -64
- package/assets/.agent/skills/remotion/rules/import-srt-captions.md +9 -7
- package/assets/.agent/skills/remotion/rules/light-leaks.md +73 -0
- package/assets/.agent/skills/remotion/rules/local-fonts.md +65 -0
- package/assets/.agent/skills/remotion/rules/lottie.md +10 -8
- package/assets/.agent/skills/remotion/rules/maplibre.md +458 -0
- package/assets/.agent/skills/remotion/rules/measuring-dom-nodes.md +0 -1
- package/assets/.agent/skills/remotion/rules/measuring-text.md +2 -5
- package/assets/.agent/skills/remotion/rules/parameters.md +21 -10
- package/assets/.agent/skills/remotion/rules/sequencing.md +35 -9
- package/assets/.agent/skills/remotion/rules/sfx.md +51 -0
- package/assets/.agent/skills/remotion/rules/silence-detection.md +71 -0
- package/assets/.agent/skills/remotion/rules/subtitles.md +36 -0
- package/assets/.agent/skills/remotion/rules/tailwind.md +2 -2
- package/assets/.agent/skills/remotion/rules/timing.md +89 -106
- package/assets/.agent/skills/remotion/rules/transcribe-captions.md +58 -7
- package/assets/.agent/skills/remotion/rules/transitions.md +117 -42
- package/assets/.agent/skills/remotion/rules/transparent-videos.md +106 -0
- package/assets/.agent/skills/remotion/rules/trimming.md +1 -3
- package/assets/.agent/skills/remotion/rules/video-layout.md +68 -0
- package/assets/.agent/skills/remotion/rules/voiceover.md +99 -0
- package/assets/.agent/skills/remotion-real-ui-video/SKILL.md +264 -264
- package/assets/.agent/skills/remotion-real-ui-video/references/anti-patterns.md +114 -114
- package/assets/.agent/skills/remotion-real-ui-video/references/completion-checklist.md +75 -75
- package/assets/.agent/skills/remotion-real-ui-video/references/real-ui-bridge-example.md +93 -93
- package/assets/.agent/skills/remotion-to-hyperframes/SKILL.md +127 -127
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/run.sh +249 -249
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/README.md +41 -41
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/expected.json +26 -26
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/hf-src/index.html +61 -61
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/package.json +14 -14
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/remotion.config.ts +13 -13
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/src/Root.tsx +13 -13
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/src/TitleCard.tsx +34 -34
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/src/index.ts +4 -4
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-1-title-card/remotion-src/tsconfig.json +15 -15
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/README.md +54 -54
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/expected.json +29 -29
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/hf-src/index.html +118 -118
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/package.json +14 -14
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/remotion.config.ts +13 -13
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/src/MultiScene.tsx +105 -105
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/src/Root.tsx +13 -13
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/src/index.ts +4 -4
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/remotion-src/tsconfig.json +15 -15
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-2-multi-scene/setup.sh +34 -34
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/README.md +85 -85
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/expected.json +41 -41
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/hf-src/index.html +269 -269
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/package.json +15 -15
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/remotion.config.ts +13 -13
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/Root.tsx +27 -27
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/Stargazed.tsx +37 -37
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/components/AnimatedNumber.tsx +23 -23
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/components/StatCard.tsx +59 -59
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/components/UnderlinedText.tsx +47 -47
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/index.ts +4 -4
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/scenes/OutroScene.tsx +18 -18
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/scenes/StatsScene.tsx +34 -34
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/src/scenes/TitleScene.tsx +55 -55
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-3-data-driven/remotion-src/tsconfig.json +15 -15
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/README.md +51 -51
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/01-use-state.tsx +29 -29
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/02-use-effect-deps.tsx +29 -29
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/03-async-metadata.tsx +39 -39
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/04-third-party-react.tsx +30 -30
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/05-lambda-config.tsx +38 -38
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/06-warnings-only.tsx +36 -36
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/07-custom-hook.tsx +28 -28
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/cases/08-mixed.tsx +41 -41
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/expected.json +85 -85
- package/assets/.agent/skills/remotion-to-hyperframes/assets/test-corpus/tier-4-escape-hatch/validate.sh +110 -110
- package/assets/.agent/skills/remotion-to-hyperframes/references/api-map.md +142 -142
- package/assets/.agent/skills/remotion-to-hyperframes/references/escape-hatch.md +115 -115
- package/assets/.agent/skills/remotion-to-hyperframes/references/eval.md +140 -140
- package/assets/.agent/skills/remotion-to-hyperframes/references/fonts.md +112 -112
- package/assets/.agent/skills/remotion-to-hyperframes/references/limitations.md +136 -136
- package/assets/.agent/skills/remotion-to-hyperframes/references/lottie.md +121 -121
- package/assets/.agent/skills/remotion-to-hyperframes/references/media.md +149 -149
- package/assets/.agent/skills/remotion-to-hyperframes/references/parameters.md +167 -167
- package/assets/.agent/skills/remotion-to-hyperframes/references/sequencing.md +195 -195
- package/assets/.agent/skills/remotion-to-hyperframes/references/timing.md +165 -165
- package/assets/.agent/skills/remotion-to-hyperframes/references/transitions.md +114 -114
- package/assets/.agent/skills/remotion-to-hyperframes/scripts/frame_strip.sh +107 -107
- package/assets/.agent/skills/remotion-to-hyperframes/scripts/lint_source.py +358 -358
- package/assets/.agent/skills/remotion-to-hyperframes/scripts/render_diff.sh +103 -103
- package/assets/.agent/skills/remotion-to-hyperframes/scripts/tests/fixtures/blocker.tsx +50 -50
- package/assets/.agent/skills/remotion-to-hyperframes/scripts/tests/fixtures/clean.tsx +46 -46
- package/assets/.agent/skills/remotion-to-hyperframes/scripts/tests/smoke.sh +90 -90
- package/assets/.agent/skills/shared-resend-portfolio/SKILL.md +124 -124
- package/assets/.agent/skills/slideshow/SKILL.md +550 -550
- package/assets/.agent/skills/slideshow/references/standalone-harness.md +1020 -1020
- package/assets/.agent/skills/talking-head-recut/NOTICE.md +39 -39
- package/assets/.agent/skills/talking-head-recut/SKILL.md +1191 -1191
- package/assets/.agent/skills/talking-head-recut/assets/vendor/gsap.min.js +10 -10
- package/assets/.agent/skills/talking-head-recut/references/DESIGN_INDEX.md +145 -145
- package/assets/.agent/skills/talking-head-recut/references/frames/clean.html +92 -92
- package/assets/.agent/skills/talking-head-recut/references/frames/hairline.html +171 -171
- package/assets/.agent/skills/talking-head-recut/references/frames/polaroid.html +131 -131
- package/assets/.agent/skills/talking-head-recut/references/layouts/overlay.html +164 -164
- package/assets/.agent/skills/talking-head-recut/references/layouts/pip.html +143 -143
- package/assets/.agent/skills/talking-head-recut/references/layouts/split.html +121 -121
- package/assets/.agent/skills/talking-head-recut/references/layouts/stack.html +109 -109
- package/assets/.agent/skills/talking-head-recut/references/styles/academic.html +172 -172
- package/assets/.agent/skills/talking-head-recut/references/styles/audit.html +170 -170
- package/assets/.agent/skills/talking-head-recut/references/styles/editorial.html +189 -189
- package/assets/.agent/skills/talking-head-recut/references/styles/geom.html +181 -181
- package/assets/.agent/skills/talking-head-recut/references/styles/minimal.html +130 -130
- package/assets/.agent/skills/talking-head-recut/references/styles/spotlight.html +142 -142
- package/assets/.agent/skills/talking-head-recut/references/styles/swiss.html +188 -188
- package/assets/.agent/skills/talking-head-recut/references/styles/terminal.html +196 -196
- package/assets/.agent/skills/talking-head-recut/references/styles/whiteboard.html +170 -170
- package/assets/.agent/skills/talking-head-recut/references/styles/xhs.html +206 -206
- package/assets/.agent/skills/website-to-video/SKILL.md +145 -145
- package/assets/.agent/skills/website-to-video/assets/sfx/CREDITS.md +35 -35
- package/assets/.agent/skills/website-to-video/assets/sfx/manifest.json +97 -97
- package/assets/.agent/skills/website-to-video/references/beat-builder-guide.md +263 -263
- package/assets/.agent/skills/website-to-video/references/capabilities.md +713 -713
- package/assets/.agent/skills/website-to-video/references/step-0-capture.md +55 -55
- package/assets/.agent/skills/website-to-video/references/step-1-design.md +333 -333
- package/assets/.agent/skills/website-to-video/references/step-2-brief.md +178 -178
- package/assets/.agent/skills/website-to-video/references/step-3-storyboard.md +572 -572
- package/assets/.agent/skills/website-to-video/references/step-4-vo.md +230 -230
- package/assets/.agent/skills/website-to-video/references/step-5-build.md +483 -483
- package/assets/.agent/skills/website-to-video/references/step-6-validate.md +341 -341
- package/assets/.agent/skills/website-to-video/scripts/w2h-verify.mjs +759 -759
- package/package.json +5 -4
- package/src/pi-takomi-core/workflows.ts +86 -86
- package/src/takomi-stats.js +5 -5
- package/assets/.agent/skills/remotion/rules/animations.md +0 -29
- package/assets/.agent/skills/remotion/rules/assets.md +0 -78
- package/assets/.agent/skills/remotion/rules/can-decode.md +0 -75
- package/assets/.agent/skills/remotion/rules/charts.md +0 -58
- package/assets/.agent/skills/remotion/rules/extract-frames.md +0 -229
- package/assets/.agent/skills/remotion/rules/fonts.md +0 -152
- package/assets/.agent/skills/remotion/rules/maps.md +0 -403
|
@@ -1,861 +1,861 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=1920, height=1080" />
|
|
6
|
-
<title>Scene 03 — HyperFrames Anchor Chain Reveal</title>
|
|
7
|
-
|
|
8
|
-
<!--
|
|
9
|
-
HyperFrames-native version of the scene-03-anchor-chain-reveal concept.
|
|
10
|
-
Same 5-phase choreography, GSAP-driven, seek-safe.
|
|
11
|
-
|
|
12
|
-
Audio (assumed accompanying narration):
|
|
13
|
-
"Meet HyperFrames, the HTML video composition toolkit for building,
|
|
14
|
-
previewing, and rendering programmable motion."
|
|
15
|
-
|
|
16
|
-
Sub-shots (local time, 8s total):
|
|
17
|
-
0.0 – 1.2s "HyperFrames" Brand reveal (hacker-flip)
|
|
18
|
-
1.2 – 4.0s "HTML VIDEO" Text swap + rolling ticker
|
|
19
|
-
4.0 – 6.3s "60FPS" Counter + capability cloud
|
|
20
|
-
6.3 – 8.0s "Built for Motion" Capability strip
|
|
21
|
-
|
|
22
|
-
Placeholders (self-contained — no asset files needed):
|
|
23
|
-
inline-SVG "HF" mark — brand logo (swap for your image)
|
|
24
|
-
CSS initials circles — user avatars (edit CREATOR_INITIALS)
|
|
25
|
-
CSS text chips — partner brand logos (edit --brand-name)
|
|
26
|
-
Replace with real assets for production.
|
|
27
|
-
-->
|
|
28
|
-
|
|
29
|
-
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
|
|
30
|
-
|
|
31
|
-
<style>
|
|
32
|
-
:root {
|
|
33
|
-
/* Palette — direct port of the the source COLORS constants */
|
|
34
|
-
--text-primary: #ffffff;
|
|
35
|
-
--text-muted: rgba(255, 255, 255, 0.45);
|
|
36
|
-
--brand-green: #00e676;
|
|
37
|
-
--bg-grad-from: #0a1a2e;
|
|
38
|
-
--bg-grad-to: #1a0a2e;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
* {
|
|
42
|
-
margin: 0;
|
|
43
|
-
padding: 0;
|
|
44
|
-
box-sizing: border-box;
|
|
45
|
-
}
|
|
46
|
-
html,
|
|
47
|
-
body {
|
|
48
|
-
margin: 0;
|
|
49
|
-
width: 1920px;
|
|
50
|
-
height: 1080px;
|
|
51
|
-
overflow: hidden;
|
|
52
|
-
background: #000;
|
|
53
|
-
font-family:
|
|
54
|
-
"Inter",
|
|
55
|
-
system-ui,
|
|
56
|
-
-apple-system,
|
|
57
|
-
sans-serif;
|
|
58
|
-
color: var(--text-primary);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/* ============================================================
|
|
62
|
-
BACKGROUND (port of <FrostedGlassBackground />)
|
|
63
|
-
============================================================ */
|
|
64
|
-
.bg {
|
|
65
|
-
position: absolute;
|
|
66
|
-
inset: 0;
|
|
67
|
-
background:
|
|
68
|
-
radial-gradient(ellipse at 30% 20%, rgba(0, 230, 118, 0.18), transparent 50%),
|
|
69
|
-
radial-gradient(ellipse at 70% 80%, rgba(120, 60, 220, 0.18), transparent 50%),
|
|
70
|
-
linear-gradient(135deg, var(--bg-grad-from), var(--bg-grad-to));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Camera wrapper — port of <CameraSystem /> */
|
|
74
|
-
.camera {
|
|
75
|
-
position: absolute;
|
|
76
|
-
inset: 0;
|
|
77
|
-
transform-origin: center center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* ============================================================
|
|
81
|
-
PHASES 1–3 (BrandReveal): logo + decode + swap + recenter
|
|
82
|
-
============================================================ */
|
|
83
|
-
.brand-stage {
|
|
84
|
-
position: absolute;
|
|
85
|
-
inset: 0;
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
justify-content: center;
|
|
89
|
-
z-index: 50; /* above cloud SVG (z:1), below logo (z:100) */
|
|
90
|
-
}
|
|
91
|
-
.anchor-shift {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
gap: 35px;
|
|
95
|
-
/* GSAP tweens .x on this element for Phase-2 recenter */
|
|
96
|
-
}
|
|
97
|
-
.anchor-logo {
|
|
98
|
-
position: relative;
|
|
99
|
-
width: 192px;
|
|
100
|
-
height: 192px;
|
|
101
|
-
flex-shrink: 0;
|
|
102
|
-
display: flex;
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: center;
|
|
105
|
-
z-index: 100; /* highest — sits above lines + avatars */
|
|
106
|
-
opacity: 1;
|
|
107
|
-
/* initial scale(0) set by GSAP fromTo — no CSS transform here */
|
|
108
|
-
}
|
|
109
|
-
.anchor-logo img {
|
|
110
|
-
width: 100%;
|
|
111
|
-
height: 100%;
|
|
112
|
-
object-fit: contain;
|
|
113
|
-
filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
|
|
114
|
-
}
|
|
115
|
-
.anchor-text {
|
|
116
|
-
position: relative;
|
|
117
|
-
display: flex;
|
|
118
|
-
align-items: center;
|
|
119
|
-
}
|
|
120
|
-
.phase1-text {
|
|
121
|
-
display: flex;
|
|
122
|
-
perspective: 800px; /* required for the per-glyph rotateX */
|
|
123
|
-
white-space: nowrap;
|
|
124
|
-
}
|
|
125
|
-
.flip-glyph {
|
|
126
|
-
position: relative;
|
|
127
|
-
display: inline-block;
|
|
128
|
-
font-size: 163px; /* 1920 × 0.085 — matches the source brandFontSize */
|
|
129
|
-
font-weight: 900;
|
|
130
|
-
letter-spacing: -0.02em;
|
|
131
|
-
}
|
|
132
|
-
.flip-glyph .ghost {
|
|
133
|
-
opacity: 0;
|
|
134
|
-
}
|
|
135
|
-
.flip-glyph .anim {
|
|
136
|
-
position: absolute;
|
|
137
|
-
left: 0;
|
|
138
|
-
top: 0;
|
|
139
|
-
width: 100%;
|
|
140
|
-
color: var(--text-primary);
|
|
141
|
-
opacity: 0;
|
|
142
|
-
transform: perspective(600px) rotateX(90deg);
|
|
143
|
-
transform-origin: bottom;
|
|
144
|
-
backface-visibility: hidden;
|
|
145
|
-
}
|
|
146
|
-
.flip-glyph.space {
|
|
147
|
-
min-width: 0.35em;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.phase2-claim {
|
|
151
|
-
position: absolute;
|
|
152
|
-
left: 0;
|
|
153
|
-
top: 50%;
|
|
154
|
-
transform: translateY(-50%);
|
|
155
|
-
opacity: 0;
|
|
156
|
-
white-space: nowrap;
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
gap: 40px;
|
|
160
|
-
}
|
|
161
|
-
.claim-rank {
|
|
162
|
-
color: var(--brand-green);
|
|
163
|
-
font-size: 163px;
|
|
164
|
-
font-weight: 900;
|
|
165
|
-
letter-spacing: -0.02em;
|
|
166
|
-
}
|
|
167
|
-
.claim-ai,
|
|
168
|
-
.claim-video {
|
|
169
|
-
color: var(--text-primary);
|
|
170
|
-
font-size: 163px;
|
|
171
|
-
font-weight: 900;
|
|
172
|
-
letter-spacing: -0.02em;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* Vertical ticker — port of <RollingWord /> */
|
|
176
|
-
.ticker-window {
|
|
177
|
-
height: 204px; /* fontSize × 1.25 = 163 × 1.25 ≈ 204 */
|
|
178
|
-
overflow: hidden;
|
|
179
|
-
display: inline-flex;
|
|
180
|
-
flex-direction: column;
|
|
181
|
-
vertical-align: bottom;
|
|
182
|
-
}
|
|
183
|
-
.ticker-stack {
|
|
184
|
-
display: flex;
|
|
185
|
-
flex-direction: column;
|
|
186
|
-
will-change: transform;
|
|
187
|
-
}
|
|
188
|
-
.ticker-item {
|
|
189
|
-
height: 204px;
|
|
190
|
-
display: flex;
|
|
191
|
-
align-items: center;
|
|
192
|
-
color: var(--text-primary);
|
|
193
|
-
font-weight: 900;
|
|
194
|
-
font-size: 163px;
|
|
195
|
-
letter-spacing: -0.02em;
|
|
196
|
-
line-height: 1;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/* ============================================================
|
|
200
|
-
PHASE 4 (CreatorCloud): counter + avatar cloud + lines
|
|
201
|
-
============================================================ */
|
|
202
|
-
.cloud-stage {
|
|
203
|
-
position: absolute;
|
|
204
|
-
inset: 0;
|
|
205
|
-
z-index: 10; /* below brand-stage's logo (z:100), below counter */
|
|
206
|
-
opacity: 0; /* GSAP fades it in */
|
|
207
|
-
}
|
|
208
|
-
.counter-pin {
|
|
209
|
-
position: absolute;
|
|
210
|
-
top: 3%;
|
|
211
|
-
left: 50%;
|
|
212
|
-
transform: translateX(-50%);
|
|
213
|
-
text-align: center;
|
|
214
|
-
z-index: 60; /* above brand-stage so it overlays cleanly */
|
|
215
|
-
}
|
|
216
|
-
.count {
|
|
217
|
-
font-variant-numeric: tabular-nums;
|
|
218
|
-
font-weight: 900;
|
|
219
|
-
font-size: 115px; /* 1920 × 0.06 */
|
|
220
|
-
color: var(--brand-green);
|
|
221
|
-
display: inline-block;
|
|
222
|
-
min-width: 200px;
|
|
223
|
-
text-align: right;
|
|
224
|
-
}
|
|
225
|
-
.count-suffix {
|
|
226
|
-
font-weight: 900;
|
|
227
|
-
font-size: 115px;
|
|
228
|
-
color: var(--brand-green);
|
|
229
|
-
opacity: 0; /* GSAP fades in after count */
|
|
230
|
-
}
|
|
231
|
-
.cloud-lines {
|
|
232
|
-
position: absolute;
|
|
233
|
-
inset: 0;
|
|
234
|
-
pointer-events: none;
|
|
235
|
-
z-index: 1;
|
|
236
|
-
}
|
|
237
|
-
.cloud-avatars {
|
|
238
|
-
position: absolute;
|
|
239
|
-
inset: 0;
|
|
240
|
-
z-index: 10;
|
|
241
|
-
}
|
|
242
|
-
.cloud-avatar {
|
|
243
|
-
position: absolute;
|
|
244
|
-
border-radius: 50%;
|
|
245
|
-
overflow: hidden;
|
|
246
|
-
border: 3px solid rgba(255, 255, 255, 0.2);
|
|
247
|
-
opacity: 0;
|
|
248
|
-
/* initial scale(0) set by GSAP fromTo — no CSS transform here */
|
|
249
|
-
background: linear-gradient(135deg, #6b8cff, #a6b3ff);
|
|
250
|
-
display: flex;
|
|
251
|
-
align-items: center;
|
|
252
|
-
justify-content: center;
|
|
253
|
-
color: rgba(255, 255, 255, 0.8);
|
|
254
|
-
font-weight: 700;
|
|
255
|
-
font-size: 32px;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/* ============================================================
|
|
259
|
-
PHASE 5 (BrandShowcase): label + scrolling brand strip
|
|
260
|
-
============================================================ */
|
|
261
|
-
.brand-strip {
|
|
262
|
-
position: absolute;
|
|
263
|
-
bottom: 8%;
|
|
264
|
-
left: 0;
|
|
265
|
-
right: 0;
|
|
266
|
-
opacity: 0; /* GSAP fades + translateY in via fromTo */
|
|
267
|
-
z-index: 70;
|
|
268
|
-
}
|
|
269
|
-
.brand-label {
|
|
270
|
-
text-align: center;
|
|
271
|
-
margin-bottom: 25px;
|
|
272
|
-
font-size: 27px; /* 1920 × 0.014 */
|
|
273
|
-
font-weight: 500;
|
|
274
|
-
color: var(--text-muted);
|
|
275
|
-
letter-spacing: 0.2em;
|
|
276
|
-
text-transform: uppercase;
|
|
277
|
-
}
|
|
278
|
-
.brand-strip-window {
|
|
279
|
-
display: flex;
|
|
280
|
-
justify-content: center;
|
|
281
|
-
align-items: center;
|
|
282
|
-
gap: 80px;
|
|
283
|
-
overflow: hidden;
|
|
284
|
-
}
|
|
285
|
-
.brand-strip-track {
|
|
286
|
-
display: flex;
|
|
287
|
-
gap: 110px;
|
|
288
|
-
}
|
|
289
|
-
.brand-logo {
|
|
290
|
-
width: 170px;
|
|
291
|
-
height: 52px;
|
|
292
|
-
display: flex;
|
|
293
|
-
align-items: center;
|
|
294
|
-
justify-content: center;
|
|
295
|
-
opacity: 0;
|
|
296
|
-
/* initial scale(0.5) set by GSAP fromTo — no CSS transform here */
|
|
297
|
-
}
|
|
298
|
-
.brand-logo::before {
|
|
299
|
-
content: var(--brand-name);
|
|
300
|
-
font-family: Inter, system-ui, sans-serif;
|
|
301
|
-
font-size: 30px;
|
|
302
|
-
font-weight: 800;
|
|
303
|
-
letter-spacing: 0.08em;
|
|
304
|
-
white-space: nowrap;
|
|
305
|
-
color: rgba(255, 255, 255, 0.72);
|
|
306
|
-
}
|
|
307
|
-
.brand-nvidia {
|
|
308
|
-
--brand-name: "NVIDIA";
|
|
309
|
-
}
|
|
310
|
-
.brand-visa {
|
|
311
|
-
--brand-name: "VISA";
|
|
312
|
-
}
|
|
313
|
-
.brand-zoominfo {
|
|
314
|
-
--brand-name: "ZOOMINFO";
|
|
315
|
-
}
|
|
316
|
-
.brand-github {
|
|
317
|
-
--brand-name: "GITHUB";
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/* Vignette overlay */
|
|
321
|
-
.vignette {
|
|
322
|
-
position: absolute;
|
|
323
|
-
inset: 0;
|
|
324
|
-
background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
|
|
325
|
-
pointer-events: none;
|
|
326
|
-
z-index: 200;
|
|
327
|
-
}
|
|
328
|
-
</style>
|
|
329
|
-
</head>
|
|
330
|
-
<body>
|
|
331
|
-
<div
|
|
332
|
-
id="root"
|
|
333
|
-
data-composition-id="main"
|
|
334
|
-
data-start="0"
|
|
335
|
-
data-duration="8"
|
|
336
|
-
data-width="1920"
|
|
337
|
-
data-height="1080"
|
|
338
|
-
>
|
|
339
|
-
<div class="bg"></div>
|
|
340
|
-
|
|
341
|
-
<div class="camera">
|
|
342
|
-
<!-- =====================================================
|
|
343
|
-
PHASES 1–3: BrandReveal (logo + hacker-flip + swap)
|
|
344
|
-
===================================================== -->
|
|
345
|
-
<div
|
|
346
|
-
id="phase-anchor"
|
|
347
|
-
class="brand-stage clip"
|
|
348
|
-
data-start="0"
|
|
349
|
-
data-duration="8"
|
|
350
|
-
data-track-index="1"
|
|
351
|
-
>
|
|
352
|
-
<div class="anchor-shift" data-layout-allow-overflow>
|
|
353
|
-
<!-- Anchor logo — persists across all phases -->
|
|
354
|
-
<div class="anchor-logo">
|
|
355
|
-
<!-- Inline-SVG placeholder mark — swap for your logo image -->
|
|
356
|
-
<svg
|
|
357
|
-
class="logo-mark"
|
|
358
|
-
viewBox="0 0 100 100"
|
|
359
|
-
width="100%"
|
|
360
|
-
height="100%"
|
|
361
|
-
role="img"
|
|
362
|
-
aria-label="hyperframes logo"
|
|
363
|
-
>
|
|
364
|
-
<defs>
|
|
365
|
-
<linearGradient id="hfMark" x1="0" y1="0" x2="1" y2="1">
|
|
366
|
-
<stop offset="0" stop-color="#8b7bff" />
|
|
367
|
-
<stop offset="1" stop-color="#3ddc97" />
|
|
368
|
-
</linearGradient>
|
|
369
|
-
</defs>
|
|
370
|
-
<rect x="4" y="4" width="92" height="92" rx="22" fill="url(#hfMark)" />
|
|
371
|
-
<text
|
|
372
|
-
x="50"
|
|
373
|
-
y="63"
|
|
374
|
-
text-anchor="middle"
|
|
375
|
-
font-family="Inter, system-ui, sans-serif"
|
|
376
|
-
font-size="40"
|
|
377
|
-
font-weight="800"
|
|
378
|
-
fill="#fff"
|
|
379
|
-
>
|
|
380
|
-
HF
|
|
381
|
-
</text>
|
|
382
|
-
</svg>
|
|
383
|
-
</div>
|
|
384
|
-
|
|
385
|
-
<!-- Swappable text zone -->
|
|
386
|
-
<div class="anchor-text">
|
|
387
|
-
<!-- Phase 1: 'HyperFrames' decoded character by character -->
|
|
388
|
-
<div class="phase1-text" aria-label="HyperFrames">
|
|
389
|
-
<!-- Spans generated by the script below -->
|
|
390
|
-
</div>
|
|
391
|
-
|
|
392
|
-
<!-- Phase 2: 'HTML video render/ship' claim -->
|
|
393
|
-
<div class="phase2-claim">
|
|
394
|
-
<span class="claim-rank">HTML</span>
|
|
395
|
-
<span class="claim-ai">Video</span>
|
|
396
|
-
<div class="claim-ticker">
|
|
397
|
-
<div class="ticker-window" data-layout-allow-overflow>
|
|
398
|
-
<div class="ticker-stack">
|
|
399
|
-
<div class="ticker-item">render</div>
|
|
400
|
-
<div class="ticker-item">ship</div>
|
|
401
|
-
</div>
|
|
402
|
-
</div>
|
|
403
|
-
</div>
|
|
404
|
-
</div>
|
|
405
|
-
</div>
|
|
406
|
-
</div>
|
|
407
|
-
</div>
|
|
408
|
-
|
|
409
|
-
<!-- =====================================================
|
|
410
|
-
PHASE 4: CreatorCloud (counter + avatar ring + lines)
|
|
411
|
-
===================================================== -->
|
|
412
|
-
<div
|
|
413
|
-
id="phase-cloud"
|
|
414
|
-
class="cloud-stage clip"
|
|
415
|
-
data-start="3.6"
|
|
416
|
-
data-duration="4.4"
|
|
417
|
-
data-track-index="2"
|
|
418
|
-
>
|
|
419
|
-
<div class="counter-pin">
|
|
420
|
-
<span class="count">60</span><span class="count-suffix">FPS</span>
|
|
421
|
-
</div>
|
|
422
|
-
<svg class="cloud-lines" width="1920" height="1080">
|
|
423
|
-
<defs>
|
|
424
|
-
<linearGradient id="lineGradient" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
425
|
-
<stop offset="0%" stop-color="#00e676" stop-opacity="0.8" />
|
|
426
|
-
<stop offset="100%" stop-color="#00e676" stop-opacity="0.2" />
|
|
427
|
-
</linearGradient>
|
|
428
|
-
</defs>
|
|
429
|
-
<!-- <line> elements generated by JS -->
|
|
430
|
-
</svg>
|
|
431
|
-
<div class="cloud-avatars">
|
|
432
|
-
<!-- .cloud-avatar elements generated by JS -->
|
|
433
|
-
</div>
|
|
434
|
-
</div>
|
|
435
|
-
|
|
436
|
-
<!-- =====================================================
|
|
437
|
-
PHASE 5: BrandShowcase (label + scrolling logos)
|
|
438
|
-
===================================================== -->
|
|
439
|
-
<div
|
|
440
|
-
id="phase-brands"
|
|
441
|
-
class="brand-strip clip"
|
|
442
|
-
data-start="6.3"
|
|
443
|
-
data-duration="1.7"
|
|
444
|
-
data-track-index="3"
|
|
445
|
-
>
|
|
446
|
-
<div class="brand-label">Trusted by Leading Brands</div>
|
|
447
|
-
<div class="brand-strip-window" data-layout-allow-overflow>
|
|
448
|
-
<div class="brand-strip-track">
|
|
449
|
-
<div class="brand-logo brand-nvidia" aria-label="NVIDIA"></div>
|
|
450
|
-
<div class="brand-logo brand-visa" aria-label="Visa"></div>
|
|
451
|
-
<div class="brand-logo brand-zoominfo" aria-label="ZoomInfo"></div>
|
|
452
|
-
<div class="brand-logo brand-github" aria-label="GitHub"></div>
|
|
453
|
-
<div class="brand-logo brand-nvidia" aria-label="NVIDIA"></div>
|
|
454
|
-
<div class="brand-logo brand-visa" aria-label="Visa"></div>
|
|
455
|
-
<div class="brand-logo brand-zoominfo" aria-label="ZoomInfo"></div>
|
|
456
|
-
<div class="brand-logo brand-github" aria-label="GitHub"></div>
|
|
457
|
-
<div class="brand-logo brand-nvidia" aria-label="NVIDIA"></div>
|
|
458
|
-
<div class="brand-logo brand-visa" aria-label="Visa"></div>
|
|
459
|
-
<div class="brand-logo brand-zoominfo" aria-label="ZoomInfo"></div>
|
|
460
|
-
<div class="brand-logo brand-github" aria-label="GitHub"></div>
|
|
461
|
-
</div>
|
|
462
|
-
</div>
|
|
463
|
-
</div>
|
|
464
|
-
</div>
|
|
465
|
-
<!-- /.camera -->
|
|
466
|
-
|
|
467
|
-
<div class="vignette"></div>
|
|
468
|
-
</div>
|
|
469
|
-
|
|
470
|
-
<script>
|
|
471
|
-
/* ================================================================
|
|
472
|
-
CONSTANTS — all derived once, never recomputed at tween time.
|
|
473
|
-
Composition is 1920 × 1080, total duration 8.0s.
|
|
474
|
-
================================================================ */
|
|
475
|
-
const W = 1920,
|
|
476
|
-
H = 1080;
|
|
477
|
-
const FPS_HASH = 60; // synthetic clock for the hacker-flip flicker hash only
|
|
478
|
-
|
|
479
|
-
// Self-contained placeholder data — swap for real asset paths in production.
|
|
480
|
-
const CREATOR_INITIALS = ["JC", "MK", "AR", "TS", "LP", "DV", "NW", "SB", "KH", "EM"];
|
|
481
|
-
|
|
482
|
-
const TIMING = {
|
|
483
|
-
// Phase 1 — logo pop + HyperFrames decode
|
|
484
|
-
logoPop: 0.32,
|
|
485
|
-
flipStart: 0.4, // logoPop + ~5/60
|
|
486
|
-
flipStagger: 0.033, // 2 frames at 60fps per glyph
|
|
487
|
-
flipDuration: 0.55,
|
|
488
|
-
|
|
489
|
-
// Phase 2 — slide-out + claim slide-in.
|
|
490
|
-
swapTrigger: 1.38,
|
|
491
|
-
swapDuration: 0.55,
|
|
492
|
-
claimFadeIn: 1.65, // swapTrigger + ~8/60
|
|
493
|
-
claimFadeDur: 0.27,
|
|
494
|
-
|
|
495
|
-
// Rolling ticker — render → ship.
|
|
496
|
-
tickerTrigger: 2.35,
|
|
497
|
-
tickerDuration: 0.45,
|
|
498
|
-
|
|
499
|
-
// Phase 3 — logo recenters (anchored ~0.25s before "trusted")
|
|
500
|
-
recenterTrigger: 3.87,
|
|
501
|
-
recenterDuration: 0.9,
|
|
502
|
-
|
|
503
|
-
// Phase 4 — cloud + counter.
|
|
504
|
-
cloudFadeIn: 4.12,
|
|
505
|
-
cloudFadeDur: 0.4,
|
|
506
|
-
avatarEntryStart: 4.3,
|
|
507
|
-
avatarStagger: 0.1,
|
|
508
|
-
avatarEntryDur: 0.55,
|
|
509
|
-
linesDelay: 0.2, // gap after last avatar
|
|
510
|
-
linesDur: 0.45,
|
|
511
|
-
lineStagger: 0.033,
|
|
512
|
-
|
|
513
|
-
counterStart: 4.92,
|
|
514
|
-
counterDuration: 0.85,
|
|
515
|
-
suffixDelay: 0.05,
|
|
516
|
-
|
|
517
|
-
// Phase 5 — brand logos
|
|
518
|
-
brandStripStart: 6.5,
|
|
519
|
-
brandStripFadeDur: 0.35,
|
|
520
|
-
brandLogoStagger: 0.1,
|
|
521
|
-
brandScrollDur: 1.4, // until end (8.0 - 6.5 - 0.1 buffer)
|
|
522
|
-
};
|
|
523
|
-
|
|
524
|
-
// Layout constants — shared center keeps logo, avatars, and lines aligned.
|
|
525
|
-
const RECENTER_OFFSET = -W * 0.12; // = -230.4 px — container shift in Phase 2
|
|
526
|
-
const CENTER_OFFSET = 800; // Phase 3: logo center aligns with cloud center.
|
|
527
|
-
|
|
528
|
-
// Cloud geometry — logo final position and line origins derive from this center.
|
|
529
|
-
const CLOUD_CENTER_X = W / 2;
|
|
530
|
-
const CLOUD_CENTER_Y = H * 0.47; // = 507.6 px
|
|
531
|
-
const VERTICAL_ADJUST = CLOUD_CENTER_Y - H / 2;
|
|
532
|
-
const CLOUD_RADIUS_X = W * 0.25; // = 480 px
|
|
533
|
-
const CLOUD_RADIUS_Y = H * 0.22; // = 237.6 px
|
|
534
|
-
const AVATAR_COUNT = 10;
|
|
535
|
-
|
|
536
|
-
/* ================================================================
|
|
537
|
-
BUILD DOM — flip glyphs, avatars, connection lines.
|
|
538
|
-
Runs synchronously before the timeline registration.
|
|
539
|
-
================================================================ */
|
|
540
|
-
|
|
541
|
-
// ---- Hacker-flip glyphs for "HyperFrames" -------------------------
|
|
542
|
-
const phase1 = document.querySelector(".phase1-text");
|
|
543
|
-
const decodeText = "HyperFrames";
|
|
544
|
-
decodeText.split("").forEach((char, index) => {
|
|
545
|
-
const span = document.createElement("span");
|
|
546
|
-
span.className = "flip-glyph" + (char === " " ? " space" : "");
|
|
547
|
-
span.dataset.char = char;
|
|
548
|
-
span.dataset.index = String(index);
|
|
549
|
-
const ghost = document.createElement("span");
|
|
550
|
-
ghost.className = "ghost";
|
|
551
|
-
ghost.textContent = char === " " ? " " : char;
|
|
552
|
-
const anim = document.createElement("span");
|
|
553
|
-
anim.className = "anim";
|
|
554
|
-
anim.textContent = char === " " ? " " : char;
|
|
555
|
-
span.append(ghost, anim);
|
|
556
|
-
phase1.appendChild(span);
|
|
557
|
-
});
|
|
558
|
-
|
|
559
|
-
// ---- Avatar cloud + connection lines ------------------------------
|
|
560
|
-
const cloudLines = document.querySelector(".cloud-lines");
|
|
561
|
-
const cloudAvatars = document.querySelector(".cloud-avatars");
|
|
562
|
-
const avatarPositions = [];
|
|
563
|
-
const avatars = CREATOR_INITIALS.slice(0, AVATAR_COUNT);
|
|
564
|
-
|
|
565
|
-
for (let i = 0; i < avatars.length; i++) {
|
|
566
|
-
const angle = (i / avatars.length) * Math.PI * 2 - Math.PI / 2;
|
|
567
|
-
const x = CLOUD_CENTER_X + Math.cos(angle) * CLOUD_RADIUS_X;
|
|
568
|
-
const y = CLOUD_CENTER_Y + Math.sin(angle) * CLOUD_RADIUS_Y;
|
|
569
|
-
avatarPositions.push({ x, y });
|
|
570
|
-
|
|
571
|
-
const size = 90 + (i % 3) * 15;
|
|
572
|
-
const av = document.createElement("div");
|
|
573
|
-
av.className = "cloud-avatar";
|
|
574
|
-
av.style.left = x - size / 2 + "px";
|
|
575
|
-
av.style.top = y - size / 2 + "px";
|
|
576
|
-
av.style.width = size + "px";
|
|
577
|
-
av.style.height = size + "px";
|
|
578
|
-
av.dataset.index = String(i);
|
|
579
|
-
// Initials placeholder — deterministic hue from index (no asset files).
|
|
580
|
-
av.textContent = avatars[i];
|
|
581
|
-
av.style.background = `linear-gradient(135deg, hsl(${(220 + i * 36) % 360}, 70%, 62%), hsl(${(260 + i * 36) % 360}, 70%, 46%))`;
|
|
582
|
-
cloudAvatars.appendChild(av);
|
|
583
|
-
|
|
584
|
-
// SVG line — both endpoints start at center; will tween x2/y2 outward.
|
|
585
|
-
const line = document.createElementNS("http://www.w3.org/2000/svg", "line");
|
|
586
|
-
line.setAttribute("x1", CLOUD_CENTER_X);
|
|
587
|
-
line.setAttribute("y1", CLOUD_CENTER_Y);
|
|
588
|
-
line.setAttribute("x2", CLOUD_CENTER_X);
|
|
589
|
-
line.setAttribute("y2", CLOUD_CENTER_Y);
|
|
590
|
-
line.setAttribute("stroke", "#00e676");
|
|
591
|
-
line.setAttribute("stroke-width", "2");
|
|
592
|
-
line.setAttribute("stroke-dasharray", "4 4");
|
|
593
|
-
line.setAttribute("stroke-opacity", "0");
|
|
594
|
-
cloudLines.appendChild(line);
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
/* ================================================================
|
|
598
|
-
TIMELINE
|
|
599
|
-
================================================================ */
|
|
600
|
-
window.__timelines = window.__timelines || {};
|
|
601
|
-
const tl = gsap.timeline({ paused: true });
|
|
602
|
-
|
|
603
|
-
// ----------------------------------------------------------------
|
|
604
|
-
// Camera: gentle initial zoom + drift. Finite, computed from duration.
|
|
605
|
-
// ----------------------------------------------------------------
|
|
606
|
-
tl.fromTo(".camera", { scale: 0.95 }, { scale: 1.0, duration: 0.95, ease: "power2.out" }, 0);
|
|
607
|
-
|
|
608
|
-
// Subtle drift across the whole 8s. Finite yoyo cycles, not infinite.
|
|
609
|
-
// sin(frame * 0.003) cycle = 2π / 0.003 frames = 2094 frames ≈ 34.9s at 60fps.
|
|
610
|
-
// Over 8s we see roughly a quarter cycle — model as a single slow yoyo.
|
|
611
|
-
tl.fromTo(
|
|
612
|
-
".camera",
|
|
613
|
-
{ x: 0, y: 0 },
|
|
614
|
-
{ x: 3, y: 2, duration: 4, ease: "sine.inOut", yoyo: true, repeat: 1 },
|
|
615
|
-
0,
|
|
616
|
-
);
|
|
617
|
-
|
|
618
|
-
// ----------------------------------------------------------------
|
|
619
|
-
// PHASE 1: Logo pop + HyperFrames decode
|
|
620
|
-
// ----------------------------------------------------------------
|
|
621
|
-
tl.fromTo(
|
|
622
|
-
".anchor-logo",
|
|
623
|
-
{ scale: 0 },
|
|
624
|
-
{
|
|
625
|
-
scale: 1,
|
|
626
|
-
duration: 0.6,
|
|
627
|
-
ease: "back.out(1.4)", // spring(stiffness:180, damping:12)
|
|
628
|
-
},
|
|
629
|
-
TIMING.logoPop,
|
|
630
|
-
);
|
|
631
|
-
|
|
632
|
-
// Hacker-flip per glyph. Each glyph has its own tween with onUpdate
|
|
633
|
-
// that derives the visible character from time.
|
|
634
|
-
const CHAR_POOL = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%&";
|
|
635
|
-
const FLICKER = 3; // frames between glyph reshuffles
|
|
636
|
-
const REVEAL_AT = 0.6; // progress threshold to swap random → real
|
|
637
|
-
|
|
638
|
-
function pseudoHash(i, t) {
|
|
639
|
-
// Cheap deterministic 32-bit mix — no Math.random, no Date.now
|
|
640
|
-
return ((i * 374761393 + t * 668265263) >>> 0) % CHAR_POOL.length;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
document.querySelectorAll(".flip-glyph").forEach((glyph) => {
|
|
644
|
-
const index = Number(glyph.dataset.index);
|
|
645
|
-
const real = glyph.dataset.char === " " ? " " : glyph.dataset.char;
|
|
646
|
-
const anim = glyph.querySelector(".anim");
|
|
647
|
-
const start = TIMING.flipStart + index * TIMING.flipStagger;
|
|
648
|
-
|
|
649
|
-
tl.fromTo(
|
|
650
|
-
anim,
|
|
651
|
-
{ rotationX: 90, opacity: 0, "--p": 0 },
|
|
652
|
-
{
|
|
653
|
-
rotationX: 0,
|
|
654
|
-
opacity: 1,
|
|
655
|
-
"--p": 1,
|
|
656
|
-
duration: TIMING.flipDuration,
|
|
657
|
-
ease: "back.out(1.6)", // spring(stiffness:150, damping:14)
|
|
658
|
-
onUpdate: function () {
|
|
659
|
-
const p = Number(gsap.getProperty(anim, "--p"));
|
|
660
|
-
if (p >= REVEAL_AT) {
|
|
661
|
-
if (anim.textContent !== real) anim.textContent = real;
|
|
662
|
-
} else {
|
|
663
|
-
const localFrame = Math.floor((tl.time() - start) * FPS_HASH);
|
|
664
|
-
const bucket = Math.max(0, Math.floor(localFrame / FLICKER));
|
|
665
|
-
anim.textContent = CHAR_POOL[pseudoHash(index, bucket)];
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
},
|
|
669
|
-
start,
|
|
670
|
-
);
|
|
671
|
-
});
|
|
672
|
-
|
|
673
|
-
// ----------------------------------------------------------------
|
|
674
|
-
// PHASE 2: Swap — old text slides out, container shifts left,
|
|
675
|
-
// claim fades in at the old text's origin.
|
|
676
|
-
// ----------------------------------------------------------------
|
|
677
|
-
tl.to(
|
|
678
|
-
".phase1-text",
|
|
679
|
-
{
|
|
680
|
-
x: 200,
|
|
681
|
-
opacity: 0,
|
|
682
|
-
duration: TIMING.swapDuration * 0.5,
|
|
683
|
-
ease: "power3.out",
|
|
684
|
-
},
|
|
685
|
-
TIMING.swapTrigger,
|
|
686
|
-
);
|
|
687
|
-
tl.set(".phase1-text .anim", { opacity: 0 }, TIMING.swapTrigger + TIMING.swapDuration * 0.5);
|
|
688
|
-
|
|
689
|
-
tl.to(
|
|
690
|
-
".anchor-shift",
|
|
691
|
-
{
|
|
692
|
-
x: RECENTER_OFFSET,
|
|
693
|
-
duration: TIMING.swapDuration,
|
|
694
|
-
ease: "power3.out", // spring(stiffness:80, damping:18)
|
|
695
|
-
},
|
|
696
|
-
TIMING.swapTrigger,
|
|
697
|
-
);
|
|
698
|
-
|
|
699
|
-
tl.to(
|
|
700
|
-
".phase2-claim",
|
|
701
|
-
{
|
|
702
|
-
opacity: 1,
|
|
703
|
-
duration: TIMING.claimFadeDur,
|
|
704
|
-
ease: "power2.out",
|
|
705
|
-
},
|
|
706
|
-
TIMING.claimFadeIn,
|
|
707
|
-
);
|
|
708
|
-
|
|
709
|
-
// Rolling ticker — render → ship.
|
|
710
|
-
tl.to(
|
|
711
|
-
".ticker-stack",
|
|
712
|
-
{
|
|
713
|
-
y: "-=204", // one itemHeight
|
|
714
|
-
duration: TIMING.tickerDuration,
|
|
715
|
-
ease: "back.out(1.4)", // spring(stiffness:120, damping:14)
|
|
716
|
-
},
|
|
717
|
-
TIMING.tickerTrigger,
|
|
718
|
-
);
|
|
719
|
-
|
|
720
|
-
// ----------------------------------------------------------------
|
|
721
|
-
// PHASE 3: Logo recenters + text fades out.
|
|
722
|
-
// ----------------------------------------------------------------
|
|
723
|
-
tl.to(
|
|
724
|
-
".anchor-text",
|
|
725
|
-
{
|
|
726
|
-
opacity: 0,
|
|
727
|
-
duration: 0.3,
|
|
728
|
-
ease: "power2.out",
|
|
729
|
-
},
|
|
730
|
-
TIMING.recenterTrigger,
|
|
731
|
-
);
|
|
732
|
-
|
|
733
|
-
tl.to(
|
|
734
|
-
".anchor-logo",
|
|
735
|
-
{
|
|
736
|
-
x: CENTER_OFFSET,
|
|
737
|
-
y: VERTICAL_ADJUST,
|
|
738
|
-
duration: TIMING.recenterDuration,
|
|
739
|
-
ease: "power2.out", // spring(stiffness:45, damping:22) — gentle
|
|
740
|
-
},
|
|
741
|
-
TIMING.recenterTrigger,
|
|
742
|
-
);
|
|
743
|
-
|
|
744
|
-
// ----------------------------------------------------------------
|
|
745
|
-
// PHASE 4: Avatar cloud + counter.
|
|
746
|
-
// ----------------------------------------------------------------
|
|
747
|
-
tl.to(
|
|
748
|
-
".cloud-stage",
|
|
749
|
-
{
|
|
750
|
-
opacity: 1,
|
|
751
|
-
duration: TIMING.cloudFadeDur,
|
|
752
|
-
ease: "power2.out",
|
|
753
|
-
},
|
|
754
|
-
TIMING.cloudFadeIn,
|
|
755
|
-
);
|
|
756
|
-
|
|
757
|
-
// Avatars cascade in.
|
|
758
|
-
tl.fromTo(
|
|
759
|
-
".cloud-avatar",
|
|
760
|
-
{ scale: 0, opacity: 0 },
|
|
761
|
-
{
|
|
762
|
-
scale: 1,
|
|
763
|
-
opacity: 1,
|
|
764
|
-
duration: TIMING.avatarEntryDur,
|
|
765
|
-
ease: "back.out(1.7)",
|
|
766
|
-
stagger: { each: TIMING.avatarStagger, from: "start" },
|
|
767
|
-
},
|
|
768
|
-
TIMING.avatarEntryStart,
|
|
769
|
-
);
|
|
770
|
-
|
|
771
|
-
// Connection lines draw outward from center after all avatars settle.
|
|
772
|
-
const lastAvatarEnd =
|
|
773
|
-
TIMING.avatarEntryStart + TIMING.avatarStagger * (AVATAR_COUNT - 1) + TIMING.avatarEntryDur;
|
|
774
|
-
const linesStart = lastAvatarEnd + TIMING.linesDelay;
|
|
775
|
-
|
|
776
|
-
document.querySelectorAll(".cloud-lines line").forEach((line, i) => {
|
|
777
|
-
const { x, y } = avatarPositions[i];
|
|
778
|
-
tl.to(
|
|
779
|
-
line,
|
|
780
|
-
{
|
|
781
|
-
attr: { x2: x, y2: y },
|
|
782
|
-
strokeOpacity: 0.6,
|
|
783
|
-
duration: TIMING.linesDur,
|
|
784
|
-
ease: "power2.out",
|
|
785
|
-
},
|
|
786
|
-
linesStart + i * TIMING.lineStagger,
|
|
787
|
-
);
|
|
788
|
-
});
|
|
789
|
-
|
|
790
|
-
const countEl = document.querySelector(".count");
|
|
791
|
-
const suffixEl = document.querySelector(".count-suffix");
|
|
792
|
-
|
|
793
|
-
// Counter pulse — text stays deterministic under timeline seeking.
|
|
794
|
-
tl.fromTo(
|
|
795
|
-
countEl,
|
|
796
|
-
{
|
|
797
|
-
scale: 0.88,
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
scale: 1,
|
|
801
|
-
duration: TIMING.counterDuration,
|
|
802
|
-
ease: "power2.out",
|
|
803
|
-
},
|
|
804
|
-
TIMING.counterStart,
|
|
805
|
-
);
|
|
806
|
-
|
|
807
|
-
tl.to(
|
|
808
|
-
suffixEl,
|
|
809
|
-
{
|
|
810
|
-
opacity: 1,
|
|
811
|
-
duration: 0.3,
|
|
812
|
-
ease: "back.out(1.6)",
|
|
813
|
-
},
|
|
814
|
-
TIMING.counterStart + TIMING.counterDuration + TIMING.suffixDelay,
|
|
815
|
-
);
|
|
816
|
-
|
|
817
|
-
// ----------------------------------------------------------------
|
|
818
|
-
// PHASE 5: Brand strip — label + scrolling partner logos.
|
|
819
|
-
// ----------------------------------------------------------------
|
|
820
|
-
tl.fromTo(
|
|
821
|
-
".brand-strip",
|
|
822
|
-
{ opacity: 0, y: 40 },
|
|
823
|
-
{
|
|
824
|
-
opacity: 1,
|
|
825
|
-
y: 0,
|
|
826
|
-
duration: TIMING.brandStripFadeDur,
|
|
827
|
-
ease: "power2.out",
|
|
828
|
-
},
|
|
829
|
-
TIMING.brandStripStart,
|
|
830
|
-
);
|
|
831
|
-
|
|
832
|
-
tl.fromTo(
|
|
833
|
-
".brand-logo",
|
|
834
|
-
{ scale: 0.5, opacity: 0 },
|
|
835
|
-
{
|
|
836
|
-
scale: 1,
|
|
837
|
-
opacity: 0.7,
|
|
838
|
-
duration: 0.5,
|
|
839
|
-
ease: "back.out(1.4)",
|
|
840
|
-
stagger: { each: TIMING.brandLogoStagger, from: "start" },
|
|
841
|
-
},
|
|
842
|
-
TIMING.brandStripStart,
|
|
843
|
-
);
|
|
844
|
-
|
|
845
|
-
// Finite horizontal scroll. Distance derived from remaining time × speed.
|
|
846
|
-
// Speed in original: 0.8 px/frame at 30fps = 24 px/s. Over 1.4s ≈ 33.6 px.
|
|
847
|
-
// For a more visible scroll, multiply by 4 → ~135 px.
|
|
848
|
-
tl.to(
|
|
849
|
-
".brand-strip-track",
|
|
850
|
-
{
|
|
851
|
-
x: -135,
|
|
852
|
-
duration: TIMING.brandScrollDur,
|
|
853
|
-
ease: "none",
|
|
854
|
-
},
|
|
855
|
-
TIMING.brandStripStart,
|
|
856
|
-
);
|
|
857
|
-
|
|
858
|
-
window.__timelines["main"] = tl;
|
|
859
|
-
</script>
|
|
860
|
-
</body>
|
|
861
|
-
</html>
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=1920, height=1080" />
|
|
6
|
+
<title>Scene 03 — HyperFrames Anchor Chain Reveal</title>
|
|
7
|
+
|
|
8
|
+
<!--
|
|
9
|
+
HyperFrames-native version of the scene-03-anchor-chain-reveal concept.
|
|
10
|
+
Same 5-phase choreography, GSAP-driven, seek-safe.
|
|
11
|
+
|
|
12
|
+
Audio (assumed accompanying narration):
|
|
13
|
+
"Meet HyperFrames, the HTML video composition toolkit for building,
|
|
14
|
+
previewing, and rendering programmable motion."
|
|
15
|
+
|
|
16
|
+
Sub-shots (local time, 8s total):
|
|
17
|
+
0.0 – 1.2s "HyperFrames" Brand reveal (hacker-flip)
|
|
18
|
+
1.2 – 4.0s "HTML VIDEO" Text swap + rolling ticker
|
|
19
|
+
4.0 – 6.3s "60FPS" Counter + capability cloud
|
|
20
|
+
6.3 – 8.0s "Built for Motion" Capability strip
|
|
21
|
+
|
|
22
|
+
Placeholders (self-contained — no asset files needed):
|
|
23
|
+
inline-SVG "HF" mark — brand logo (swap for your image)
|
|
24
|
+
CSS initials circles — user avatars (edit CREATOR_INITIALS)
|
|
25
|
+
CSS text chips — partner brand logos (edit --brand-name)
|
|
26
|
+
Replace with real assets for production.
|
|
27
|
+
-->
|
|
28
|
+
|
|
29
|
+
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
|
|
30
|
+
|
|
31
|
+
<style>
|
|
32
|
+
:root {
|
|
33
|
+
/* Palette — direct port of the the source COLORS constants */
|
|
34
|
+
--text-primary: #ffffff;
|
|
35
|
+
--text-muted: rgba(255, 255, 255, 0.45);
|
|
36
|
+
--brand-green: #00e676;
|
|
37
|
+
--bg-grad-from: #0a1a2e;
|
|
38
|
+
--bg-grad-to: #1a0a2e;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
* {
|
|
42
|
+
margin: 0;
|
|
43
|
+
padding: 0;
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
}
|
|
46
|
+
html,
|
|
47
|
+
body {
|
|
48
|
+
margin: 0;
|
|
49
|
+
width: 1920px;
|
|
50
|
+
height: 1080px;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
background: #000;
|
|
53
|
+
font-family:
|
|
54
|
+
"Inter",
|
|
55
|
+
system-ui,
|
|
56
|
+
-apple-system,
|
|
57
|
+
sans-serif;
|
|
58
|
+
color: var(--text-primary);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* ============================================================
|
|
62
|
+
BACKGROUND (port of <FrostedGlassBackground />)
|
|
63
|
+
============================================================ */
|
|
64
|
+
.bg {
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset: 0;
|
|
67
|
+
background:
|
|
68
|
+
radial-gradient(ellipse at 30% 20%, rgba(0, 230, 118, 0.18), transparent 50%),
|
|
69
|
+
radial-gradient(ellipse at 70% 80%, rgba(120, 60, 220, 0.18), transparent 50%),
|
|
70
|
+
linear-gradient(135deg, var(--bg-grad-from), var(--bg-grad-to));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Camera wrapper — port of <CameraSystem /> */
|
|
74
|
+
.camera {
|
|
75
|
+
position: absolute;
|
|
76
|
+
inset: 0;
|
|
77
|
+
transform-origin: center center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* ============================================================
|
|
81
|
+
PHASES 1–3 (BrandReveal): logo + decode + swap + recenter
|
|
82
|
+
============================================================ */
|
|
83
|
+
.brand-stage {
|
|
84
|
+
position: absolute;
|
|
85
|
+
inset: 0;
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
z-index: 50; /* above cloud SVG (z:1), below logo (z:100) */
|
|
90
|
+
}
|
|
91
|
+
.anchor-shift {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: 35px;
|
|
95
|
+
/* GSAP tweens .x on this element for Phase-2 recenter */
|
|
96
|
+
}
|
|
97
|
+
.anchor-logo {
|
|
98
|
+
position: relative;
|
|
99
|
+
width: 192px;
|
|
100
|
+
height: 192px;
|
|
101
|
+
flex-shrink: 0;
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
z-index: 100; /* highest — sits above lines + avatars */
|
|
106
|
+
opacity: 1;
|
|
107
|
+
/* initial scale(0) set by GSAP fromTo — no CSS transform here */
|
|
108
|
+
}
|
|
109
|
+
.anchor-logo img {
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
object-fit: contain;
|
|
113
|
+
filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
|
|
114
|
+
}
|
|
115
|
+
.anchor-text {
|
|
116
|
+
position: relative;
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
}
|
|
120
|
+
.phase1-text {
|
|
121
|
+
display: flex;
|
|
122
|
+
perspective: 800px; /* required for the per-glyph rotateX */
|
|
123
|
+
white-space: nowrap;
|
|
124
|
+
}
|
|
125
|
+
.flip-glyph {
|
|
126
|
+
position: relative;
|
|
127
|
+
display: inline-block;
|
|
128
|
+
font-size: 163px; /* 1920 × 0.085 — matches the source brandFontSize */
|
|
129
|
+
font-weight: 900;
|
|
130
|
+
letter-spacing: -0.02em;
|
|
131
|
+
}
|
|
132
|
+
.flip-glyph .ghost {
|
|
133
|
+
opacity: 0;
|
|
134
|
+
}
|
|
135
|
+
.flip-glyph .anim {
|
|
136
|
+
position: absolute;
|
|
137
|
+
left: 0;
|
|
138
|
+
top: 0;
|
|
139
|
+
width: 100%;
|
|
140
|
+
color: var(--text-primary);
|
|
141
|
+
opacity: 0;
|
|
142
|
+
transform: perspective(600px) rotateX(90deg);
|
|
143
|
+
transform-origin: bottom;
|
|
144
|
+
backface-visibility: hidden;
|
|
145
|
+
}
|
|
146
|
+
.flip-glyph.space {
|
|
147
|
+
min-width: 0.35em;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.phase2-claim {
|
|
151
|
+
position: absolute;
|
|
152
|
+
left: 0;
|
|
153
|
+
top: 50%;
|
|
154
|
+
transform: translateY(-50%);
|
|
155
|
+
opacity: 0;
|
|
156
|
+
white-space: nowrap;
|
|
157
|
+
display: flex;
|
|
158
|
+
align-items: center;
|
|
159
|
+
gap: 40px;
|
|
160
|
+
}
|
|
161
|
+
.claim-rank {
|
|
162
|
+
color: var(--brand-green);
|
|
163
|
+
font-size: 163px;
|
|
164
|
+
font-weight: 900;
|
|
165
|
+
letter-spacing: -0.02em;
|
|
166
|
+
}
|
|
167
|
+
.claim-ai,
|
|
168
|
+
.claim-video {
|
|
169
|
+
color: var(--text-primary);
|
|
170
|
+
font-size: 163px;
|
|
171
|
+
font-weight: 900;
|
|
172
|
+
letter-spacing: -0.02em;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Vertical ticker — port of <RollingWord /> */
|
|
176
|
+
.ticker-window {
|
|
177
|
+
height: 204px; /* fontSize × 1.25 = 163 × 1.25 ≈ 204 */
|
|
178
|
+
overflow: hidden;
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
flex-direction: column;
|
|
181
|
+
vertical-align: bottom;
|
|
182
|
+
}
|
|
183
|
+
.ticker-stack {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-direction: column;
|
|
186
|
+
will-change: transform;
|
|
187
|
+
}
|
|
188
|
+
.ticker-item {
|
|
189
|
+
height: 204px;
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
color: var(--text-primary);
|
|
193
|
+
font-weight: 900;
|
|
194
|
+
font-size: 163px;
|
|
195
|
+
letter-spacing: -0.02em;
|
|
196
|
+
line-height: 1;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* ============================================================
|
|
200
|
+
PHASE 4 (CreatorCloud): counter + avatar cloud + lines
|
|
201
|
+
============================================================ */
|
|
202
|
+
.cloud-stage {
|
|
203
|
+
position: absolute;
|
|
204
|
+
inset: 0;
|
|
205
|
+
z-index: 10; /* below brand-stage's logo (z:100), below counter */
|
|
206
|
+
opacity: 0; /* GSAP fades it in */
|
|
207
|
+
}
|
|
208
|
+
.counter-pin {
|
|
209
|
+
position: absolute;
|
|
210
|
+
top: 3%;
|
|
211
|
+
left: 50%;
|
|
212
|
+
transform: translateX(-50%);
|
|
213
|
+
text-align: center;
|
|
214
|
+
z-index: 60; /* above brand-stage so it overlays cleanly */
|
|
215
|
+
}
|
|
216
|
+
.count {
|
|
217
|
+
font-variant-numeric: tabular-nums;
|
|
218
|
+
font-weight: 900;
|
|
219
|
+
font-size: 115px; /* 1920 × 0.06 */
|
|
220
|
+
color: var(--brand-green);
|
|
221
|
+
display: inline-block;
|
|
222
|
+
min-width: 200px;
|
|
223
|
+
text-align: right;
|
|
224
|
+
}
|
|
225
|
+
.count-suffix {
|
|
226
|
+
font-weight: 900;
|
|
227
|
+
font-size: 115px;
|
|
228
|
+
color: var(--brand-green);
|
|
229
|
+
opacity: 0; /* GSAP fades in after count */
|
|
230
|
+
}
|
|
231
|
+
.cloud-lines {
|
|
232
|
+
position: absolute;
|
|
233
|
+
inset: 0;
|
|
234
|
+
pointer-events: none;
|
|
235
|
+
z-index: 1;
|
|
236
|
+
}
|
|
237
|
+
.cloud-avatars {
|
|
238
|
+
position: absolute;
|
|
239
|
+
inset: 0;
|
|
240
|
+
z-index: 10;
|
|
241
|
+
}
|
|
242
|
+
.cloud-avatar {
|
|
243
|
+
position: absolute;
|
|
244
|
+
border-radius: 50%;
|
|
245
|
+
overflow: hidden;
|
|
246
|
+
border: 3px solid rgba(255, 255, 255, 0.2);
|
|
247
|
+
opacity: 0;
|
|
248
|
+
/* initial scale(0) set by GSAP fromTo — no CSS transform here */
|
|
249
|
+
background: linear-gradient(135deg, #6b8cff, #a6b3ff);
|
|
250
|
+
display: flex;
|
|
251
|
+
align-items: center;
|
|
252
|
+
justify-content: center;
|
|
253
|
+
color: rgba(255, 255, 255, 0.8);
|
|
254
|
+
font-weight: 700;
|
|
255
|
+
font-size: 32px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* ============================================================
|
|
259
|
+
PHASE 5 (BrandShowcase): label + scrolling brand strip
|
|
260
|
+
============================================================ */
|
|
261
|
+
.brand-strip {
|
|
262
|
+
position: absolute;
|
|
263
|
+
bottom: 8%;
|
|
264
|
+
left: 0;
|
|
265
|
+
right: 0;
|
|
266
|
+
opacity: 0; /* GSAP fades + translateY in via fromTo */
|
|
267
|
+
z-index: 70;
|
|
268
|
+
}
|
|
269
|
+
.brand-label {
|
|
270
|
+
text-align: center;
|
|
271
|
+
margin-bottom: 25px;
|
|
272
|
+
font-size: 27px; /* 1920 × 0.014 */
|
|
273
|
+
font-weight: 500;
|
|
274
|
+
color: var(--text-muted);
|
|
275
|
+
letter-spacing: 0.2em;
|
|
276
|
+
text-transform: uppercase;
|
|
277
|
+
}
|
|
278
|
+
.brand-strip-window {
|
|
279
|
+
display: flex;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
align-items: center;
|
|
282
|
+
gap: 80px;
|
|
283
|
+
overflow: hidden;
|
|
284
|
+
}
|
|
285
|
+
.brand-strip-track {
|
|
286
|
+
display: flex;
|
|
287
|
+
gap: 110px;
|
|
288
|
+
}
|
|
289
|
+
.brand-logo {
|
|
290
|
+
width: 170px;
|
|
291
|
+
height: 52px;
|
|
292
|
+
display: flex;
|
|
293
|
+
align-items: center;
|
|
294
|
+
justify-content: center;
|
|
295
|
+
opacity: 0;
|
|
296
|
+
/* initial scale(0.5) set by GSAP fromTo — no CSS transform here */
|
|
297
|
+
}
|
|
298
|
+
.brand-logo::before {
|
|
299
|
+
content: var(--brand-name);
|
|
300
|
+
font-family: Inter, system-ui, sans-serif;
|
|
301
|
+
font-size: 30px;
|
|
302
|
+
font-weight: 800;
|
|
303
|
+
letter-spacing: 0.08em;
|
|
304
|
+
white-space: nowrap;
|
|
305
|
+
color: rgba(255, 255, 255, 0.72);
|
|
306
|
+
}
|
|
307
|
+
.brand-nvidia {
|
|
308
|
+
--brand-name: "NVIDIA";
|
|
309
|
+
}
|
|
310
|
+
.brand-visa {
|
|
311
|
+
--brand-name: "VISA";
|
|
312
|
+
}
|
|
313
|
+
.brand-zoominfo {
|
|
314
|
+
--brand-name: "ZOOMINFO";
|
|
315
|
+
}
|
|
316
|
+
.brand-github {
|
|
317
|
+
--brand-name: "GITHUB";
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/* Vignette overlay */
|
|
321
|
+
.vignette {
|
|
322
|
+
position: absolute;
|
|
323
|
+
inset: 0;
|
|
324
|
+
background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
|
|
325
|
+
pointer-events: none;
|
|
326
|
+
z-index: 200;
|
|
327
|
+
}
|
|
328
|
+
</style>
|
|
329
|
+
</head>
|
|
330
|
+
<body>
|
|
331
|
+
<div
|
|
332
|
+
id="root"
|
|
333
|
+
data-composition-id="main"
|
|
334
|
+
data-start="0"
|
|
335
|
+
data-duration="8"
|
|
336
|
+
data-width="1920"
|
|
337
|
+
data-height="1080"
|
|
338
|
+
>
|
|
339
|
+
<div class="bg"></div>
|
|
340
|
+
|
|
341
|
+
<div class="camera">
|
|
342
|
+
<!-- =====================================================
|
|
343
|
+
PHASES 1–3: BrandReveal (logo + hacker-flip + swap)
|
|
344
|
+
===================================================== -->
|
|
345
|
+
<div
|
|
346
|
+
id="phase-anchor"
|
|
347
|
+
class="brand-stage clip"
|
|
348
|
+
data-start="0"
|
|
349
|
+
data-duration="8"
|
|
350
|
+
data-track-index="1"
|
|
351
|
+
>
|
|
352
|
+
<div class="anchor-shift" data-layout-allow-overflow>
|
|
353
|
+
<!-- Anchor logo — persists across all phases -->
|
|
354
|
+
<div class="anchor-logo">
|
|
355
|
+
<!-- Inline-SVG placeholder mark — swap for your logo image -->
|
|
356
|
+
<svg
|
|
357
|
+
class="logo-mark"
|
|
358
|
+
viewBox="0 0 100 100"
|
|
359
|
+
width="100%"
|
|
360
|
+
height="100%"
|
|
361
|
+
role="img"
|
|
362
|
+
aria-label="hyperframes logo"
|
|
363
|
+
>
|
|
364
|
+
<defs>
|
|
365
|
+
<linearGradient id="hfMark" x1="0" y1="0" x2="1" y2="1">
|
|
366
|
+
<stop offset="0" stop-color="#8b7bff" />
|
|
367
|
+
<stop offset="1" stop-color="#3ddc97" />
|
|
368
|
+
</linearGradient>
|
|
369
|
+
</defs>
|
|
370
|
+
<rect x="4" y="4" width="92" height="92" rx="22" fill="url(#hfMark)" />
|
|
371
|
+
<text
|
|
372
|
+
x="50"
|
|
373
|
+
y="63"
|
|
374
|
+
text-anchor="middle"
|
|
375
|
+
font-family="Inter, system-ui, sans-serif"
|
|
376
|
+
font-size="40"
|
|
377
|
+
font-weight="800"
|
|
378
|
+
fill="#fff"
|
|
379
|
+
>
|
|
380
|
+
HF
|
|
381
|
+
</text>
|
|
382
|
+
</svg>
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
<!-- Swappable text zone -->
|
|
386
|
+
<div class="anchor-text">
|
|
387
|
+
<!-- Phase 1: 'HyperFrames' decoded character by character -->
|
|
388
|
+
<div class="phase1-text" aria-label="HyperFrames">
|
|
389
|
+
<!-- Spans generated by the script below -->
|
|
390
|
+
</div>
|
|
391
|
+
|
|
392
|
+
<!-- Phase 2: 'HTML video render/ship' claim -->
|
|
393
|
+
<div class="phase2-claim">
|
|
394
|
+
<span class="claim-rank">HTML</span>
|
|
395
|
+
<span class="claim-ai">Video</span>
|
|
396
|
+
<div class="claim-ticker">
|
|
397
|
+
<div class="ticker-window" data-layout-allow-overflow>
|
|
398
|
+
<div class="ticker-stack">
|
|
399
|
+
<div class="ticker-item">render</div>
|
|
400
|
+
<div class="ticker-item">ship</div>
|
|
401
|
+
</div>
|
|
402
|
+
</div>
|
|
403
|
+
</div>
|
|
404
|
+
</div>
|
|
405
|
+
</div>
|
|
406
|
+
</div>
|
|
407
|
+
</div>
|
|
408
|
+
|
|
409
|
+
<!-- =====================================================
|
|
410
|
+
PHASE 4: CreatorCloud (counter + avatar ring + lines)
|
|
411
|
+
===================================================== -->
|
|
412
|
+
<div
|
|
413
|
+
id="phase-cloud"
|
|
414
|
+
class="cloud-stage clip"
|
|
415
|
+
data-start="3.6"
|
|
416
|
+
data-duration="4.4"
|
|
417
|
+
data-track-index="2"
|
|
418
|
+
>
|
|
419
|
+
<div class="counter-pin">
|
|
420
|
+
<span class="count">60</span><span class="count-suffix">FPS</span>
|
|
421
|
+
</div>
|
|
422
|
+
<svg class="cloud-lines" width="1920" height="1080">
|
|
423
|
+
<defs>
|
|
424
|
+
<linearGradient id="lineGradient" x1="0%" y1="0%" x2="100%" y2="0%">
|
|
425
|
+
<stop offset="0%" stop-color="#00e676" stop-opacity="0.8" />
|
|
426
|
+
<stop offset="100%" stop-color="#00e676" stop-opacity="0.2" />
|
|
427
|
+
</linearGradient>
|
|
428
|
+
</defs>
|
|
429
|
+
<!-- <line> elements generated by JS -->
|
|
430
|
+
</svg>
|
|
431
|
+
<div class="cloud-avatars">
|
|
432
|
+
<!-- .cloud-avatar elements generated by JS -->
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
|
|
436
|
+
<!-- =====================================================
|
|
437
|
+
PHASE 5: BrandShowcase (label + scrolling logos)
|
|
438
|
+
===================================================== -->
|
|
439
|
+
<div
|
|
440
|
+
id="phase-brands"
|
|
441
|
+
class="brand-strip clip"
|
|
442
|
+
data-start="6.3"
|
|
443
|
+
data-duration="1.7"
|
|
444
|
+
data-track-index="3"
|
|
445
|
+
>
|
|
446
|
+
<div class="brand-label">Trusted by Leading Brands</div>
|
|
447
|
+
<div class="brand-strip-window" data-layout-allow-overflow>
|
|
448
|
+
<div class="brand-strip-track">
|
|
449
|
+
<div class="brand-logo brand-nvidia" aria-label="NVIDIA"></div>
|
|
450
|
+
<div class="brand-logo brand-visa" aria-label="Visa"></div>
|
|
451
|
+
<div class="brand-logo brand-zoominfo" aria-label="ZoomInfo"></div>
|
|
452
|
+
<div class="brand-logo brand-github" aria-label="GitHub"></div>
|
|
453
|
+
<div class="brand-logo brand-nvidia" aria-label="NVIDIA"></div>
|
|
454
|
+
<div class="brand-logo brand-visa" aria-label="Visa"></div>
|
|
455
|
+
<div class="brand-logo brand-zoominfo" aria-label="ZoomInfo"></div>
|
|
456
|
+
<div class="brand-logo brand-github" aria-label="GitHub"></div>
|
|
457
|
+
<div class="brand-logo brand-nvidia" aria-label="NVIDIA"></div>
|
|
458
|
+
<div class="brand-logo brand-visa" aria-label="Visa"></div>
|
|
459
|
+
<div class="brand-logo brand-zoominfo" aria-label="ZoomInfo"></div>
|
|
460
|
+
<div class="brand-logo brand-github" aria-label="GitHub"></div>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
</div>
|
|
464
|
+
</div>
|
|
465
|
+
<!-- /.camera -->
|
|
466
|
+
|
|
467
|
+
<div class="vignette"></div>
|
|
468
|
+
</div>
|
|
469
|
+
|
|
470
|
+
<script>
|
|
471
|
+
/* ================================================================
|
|
472
|
+
CONSTANTS — all derived once, never recomputed at tween time.
|
|
473
|
+
Composition is 1920 × 1080, total duration 8.0s.
|
|
474
|
+
================================================================ */
|
|
475
|
+
const W = 1920,
|
|
476
|
+
H = 1080;
|
|
477
|
+
const FPS_HASH = 60; // synthetic clock for the hacker-flip flicker hash only
|
|
478
|
+
|
|
479
|
+
// Self-contained placeholder data — swap for real asset paths in production.
|
|
480
|
+
const CREATOR_INITIALS = ["JC", "MK", "AR", "TS", "LP", "DV", "NW", "SB", "KH", "EM"];
|
|
481
|
+
|
|
482
|
+
const TIMING = {
|
|
483
|
+
// Phase 1 — logo pop + HyperFrames decode
|
|
484
|
+
logoPop: 0.32,
|
|
485
|
+
flipStart: 0.4, // logoPop + ~5/60
|
|
486
|
+
flipStagger: 0.033, // 2 frames at 60fps per glyph
|
|
487
|
+
flipDuration: 0.55,
|
|
488
|
+
|
|
489
|
+
// Phase 2 — slide-out + claim slide-in.
|
|
490
|
+
swapTrigger: 1.38,
|
|
491
|
+
swapDuration: 0.55,
|
|
492
|
+
claimFadeIn: 1.65, // swapTrigger + ~8/60
|
|
493
|
+
claimFadeDur: 0.27,
|
|
494
|
+
|
|
495
|
+
// Rolling ticker — render → ship.
|
|
496
|
+
tickerTrigger: 2.35,
|
|
497
|
+
tickerDuration: 0.45,
|
|
498
|
+
|
|
499
|
+
// Phase 3 — logo recenters (anchored ~0.25s before "trusted")
|
|
500
|
+
recenterTrigger: 3.87,
|
|
501
|
+
recenterDuration: 0.9,
|
|
502
|
+
|
|
503
|
+
// Phase 4 — cloud + counter.
|
|
504
|
+
cloudFadeIn: 4.12,
|
|
505
|
+
cloudFadeDur: 0.4,
|
|
506
|
+
avatarEntryStart: 4.3,
|
|
507
|
+
avatarStagger: 0.1,
|
|
508
|
+
avatarEntryDur: 0.55,
|
|
509
|
+
linesDelay: 0.2, // gap after last avatar
|
|
510
|
+
linesDur: 0.45,
|
|
511
|
+
lineStagger: 0.033,
|
|
512
|
+
|
|
513
|
+
counterStart: 4.92,
|
|
514
|
+
counterDuration: 0.85,
|
|
515
|
+
suffixDelay: 0.05,
|
|
516
|
+
|
|
517
|
+
// Phase 5 — brand logos
|
|
518
|
+
brandStripStart: 6.5,
|
|
519
|
+
brandStripFadeDur: 0.35,
|
|
520
|
+
brandLogoStagger: 0.1,
|
|
521
|
+
brandScrollDur: 1.4, // until end (8.0 - 6.5 - 0.1 buffer)
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
// Layout constants — shared center keeps logo, avatars, and lines aligned.
|
|
525
|
+
const RECENTER_OFFSET = -W * 0.12; // = -230.4 px — container shift in Phase 2
|
|
526
|
+
const CENTER_OFFSET = 800; // Phase 3: logo center aligns with cloud center.
|
|
527
|
+
|
|
528
|
+
// Cloud geometry — logo final position and line origins derive from this center.
|
|
529
|
+
const CLOUD_CENTER_X = W / 2;
|
|
530
|
+
const CLOUD_CENTER_Y = H * 0.47; // = 507.6 px
|
|
531
|
+
const VERTICAL_ADJUST = CLOUD_CENTER_Y - H / 2;
|
|
532
|
+
const CLOUD_RADIUS_X = W * 0.25; // = 480 px
|
|
533
|
+
const CLOUD_RADIUS_Y = H * 0.22; // = 237.6 px
|
|
534
|
+
const AVATAR_COUNT = 10;
|
|
535
|
+
|
|
536
|
+
/* ================================================================
|
|
537
|
+
BUILD DOM — flip glyphs, avatars, connection lines.
|
|
538
|
+
Runs synchronously before the timeline registration.
|
|
539
|
+
================================================================ */
|
|
540
|
+
|
|
541
|
+
// ---- Hacker-flip glyphs for "HyperFrames" -------------------------
|
|
542
|
+
const phase1 = document.querySelector(".phase1-text");
|
|
543
|
+
const decodeText = "HyperFrames";
|
|
544
|
+
decodeText.split("").forEach((char, index) => {
|
|
545
|
+
const span = document.createElement("span");
|
|
546
|
+
span.className = "flip-glyph" + (char === " " ? " space" : "");
|
|
547
|
+
span.dataset.char = char;
|
|
548
|
+
span.dataset.index = String(index);
|
|
549
|
+
const ghost = document.createElement("span");
|
|
550
|
+
ghost.className = "ghost";
|
|
551
|
+
ghost.textContent = char === " " ? " " : char;
|
|
552
|
+
const anim = document.createElement("span");
|
|
553
|
+
anim.className = "anim";
|
|
554
|
+
anim.textContent = char === " " ? " " : char;
|
|
555
|
+
span.append(ghost, anim);
|
|
556
|
+
phase1.appendChild(span);
|
|
557
|
+
});
|
|
558
|
+
|
|
559
|
+
// ---- Avatar cloud + connection lines ------------------------------
|
|
560
|
+
const cloudLines = document.querySelector(".cloud-lines");
|
|
561
|
+
const cloudAvatars = document.querySelector(".cloud-avatars");
|
|
562
|
+
const avatarPositions = [];
|
|
563
|
+
const avatars = CREATOR_INITIALS.slice(0, AVATAR_COUNT);
|
|
564
|
+
|
|
565
|
+
for (let i = 0; i < avatars.length; i++) {
|
|
566
|
+
const angle = (i / avatars.length) * Math.PI * 2 - Math.PI / 2;
|
|
567
|
+
const x = CLOUD_CENTER_X + Math.cos(angle) * CLOUD_RADIUS_X;
|
|
568
|
+
const y = CLOUD_CENTER_Y + Math.sin(angle) * CLOUD_RADIUS_Y;
|
|
569
|
+
avatarPositions.push({ x, y });
|
|
570
|
+
|
|
571
|
+
const size = 90 + (i % 3) * 15;
|
|
572
|
+
const av = document.createElement("div");
|
|
573
|
+
av.className = "cloud-avatar";
|
|
574
|
+
av.style.left = x - size / 2 + "px";
|
|
575
|
+
av.style.top = y - size / 2 + "px";
|
|
576
|
+
av.style.width = size + "px";
|
|
577
|
+
av.style.height = size + "px";
|
|
578
|
+
av.dataset.index = String(i);
|
|
579
|
+
// Initials placeholder — deterministic hue from index (no asset files).
|
|
580
|
+
av.textContent = avatars[i];
|
|
581
|
+
av.style.background = `linear-gradient(135deg, hsl(${(220 + i * 36) % 360}, 70%, 62%), hsl(${(260 + i * 36) % 360}, 70%, 46%))`;
|
|
582
|
+
cloudAvatars.appendChild(av);
|
|
583
|
+
|
|
584
|
+
// SVG line — both endpoints start at center; will tween x2/y2 outward.
|
|
585
|
+
const line = document.createElementNS("http://www.w3.org/2000/svg", "line");
|
|
586
|
+
line.setAttribute("x1", CLOUD_CENTER_X);
|
|
587
|
+
line.setAttribute("y1", CLOUD_CENTER_Y);
|
|
588
|
+
line.setAttribute("x2", CLOUD_CENTER_X);
|
|
589
|
+
line.setAttribute("y2", CLOUD_CENTER_Y);
|
|
590
|
+
line.setAttribute("stroke", "#00e676");
|
|
591
|
+
line.setAttribute("stroke-width", "2");
|
|
592
|
+
line.setAttribute("stroke-dasharray", "4 4");
|
|
593
|
+
line.setAttribute("stroke-opacity", "0");
|
|
594
|
+
cloudLines.appendChild(line);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/* ================================================================
|
|
598
|
+
TIMELINE
|
|
599
|
+
================================================================ */
|
|
600
|
+
window.__timelines = window.__timelines || {};
|
|
601
|
+
const tl = gsap.timeline({ paused: true });
|
|
602
|
+
|
|
603
|
+
// ----------------------------------------------------------------
|
|
604
|
+
// Camera: gentle initial zoom + drift. Finite, computed from duration.
|
|
605
|
+
// ----------------------------------------------------------------
|
|
606
|
+
tl.fromTo(".camera", { scale: 0.95 }, { scale: 1.0, duration: 0.95, ease: "power2.out" }, 0);
|
|
607
|
+
|
|
608
|
+
// Subtle drift across the whole 8s. Finite yoyo cycles, not infinite.
|
|
609
|
+
// sin(frame * 0.003) cycle = 2π / 0.003 frames = 2094 frames ≈ 34.9s at 60fps.
|
|
610
|
+
// Over 8s we see roughly a quarter cycle — model as a single slow yoyo.
|
|
611
|
+
tl.fromTo(
|
|
612
|
+
".camera",
|
|
613
|
+
{ x: 0, y: 0 },
|
|
614
|
+
{ x: 3, y: 2, duration: 4, ease: "sine.inOut", yoyo: true, repeat: 1 },
|
|
615
|
+
0,
|
|
616
|
+
);
|
|
617
|
+
|
|
618
|
+
// ----------------------------------------------------------------
|
|
619
|
+
// PHASE 1: Logo pop + HyperFrames decode
|
|
620
|
+
// ----------------------------------------------------------------
|
|
621
|
+
tl.fromTo(
|
|
622
|
+
".anchor-logo",
|
|
623
|
+
{ scale: 0 },
|
|
624
|
+
{
|
|
625
|
+
scale: 1,
|
|
626
|
+
duration: 0.6,
|
|
627
|
+
ease: "back.out(1.4)", // spring(stiffness:180, damping:12)
|
|
628
|
+
},
|
|
629
|
+
TIMING.logoPop,
|
|
630
|
+
);
|
|
631
|
+
|
|
632
|
+
// Hacker-flip per glyph. Each glyph has its own tween with onUpdate
|
|
633
|
+
// that derives the visible character from time.
|
|
634
|
+
const CHAR_POOL = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%&";
|
|
635
|
+
const FLICKER = 3; // frames between glyph reshuffles
|
|
636
|
+
const REVEAL_AT = 0.6; // progress threshold to swap random → real
|
|
637
|
+
|
|
638
|
+
function pseudoHash(i, t) {
|
|
639
|
+
// Cheap deterministic 32-bit mix — no Math.random, no Date.now
|
|
640
|
+
return ((i * 374761393 + t * 668265263) >>> 0) % CHAR_POOL.length;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
document.querySelectorAll(".flip-glyph").forEach((glyph) => {
|
|
644
|
+
const index = Number(glyph.dataset.index);
|
|
645
|
+
const real = glyph.dataset.char === " " ? " " : glyph.dataset.char;
|
|
646
|
+
const anim = glyph.querySelector(".anim");
|
|
647
|
+
const start = TIMING.flipStart + index * TIMING.flipStagger;
|
|
648
|
+
|
|
649
|
+
tl.fromTo(
|
|
650
|
+
anim,
|
|
651
|
+
{ rotationX: 90, opacity: 0, "--p": 0 },
|
|
652
|
+
{
|
|
653
|
+
rotationX: 0,
|
|
654
|
+
opacity: 1,
|
|
655
|
+
"--p": 1,
|
|
656
|
+
duration: TIMING.flipDuration,
|
|
657
|
+
ease: "back.out(1.6)", // spring(stiffness:150, damping:14)
|
|
658
|
+
onUpdate: function () {
|
|
659
|
+
const p = Number(gsap.getProperty(anim, "--p"));
|
|
660
|
+
if (p >= REVEAL_AT) {
|
|
661
|
+
if (anim.textContent !== real) anim.textContent = real;
|
|
662
|
+
} else {
|
|
663
|
+
const localFrame = Math.floor((tl.time() - start) * FPS_HASH);
|
|
664
|
+
const bucket = Math.max(0, Math.floor(localFrame / FLICKER));
|
|
665
|
+
anim.textContent = CHAR_POOL[pseudoHash(index, bucket)];
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
start,
|
|
670
|
+
);
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
// ----------------------------------------------------------------
|
|
674
|
+
// PHASE 2: Swap — old text slides out, container shifts left,
|
|
675
|
+
// claim fades in at the old text's origin.
|
|
676
|
+
// ----------------------------------------------------------------
|
|
677
|
+
tl.to(
|
|
678
|
+
".phase1-text",
|
|
679
|
+
{
|
|
680
|
+
x: 200,
|
|
681
|
+
opacity: 0,
|
|
682
|
+
duration: TIMING.swapDuration * 0.5,
|
|
683
|
+
ease: "power3.out",
|
|
684
|
+
},
|
|
685
|
+
TIMING.swapTrigger,
|
|
686
|
+
);
|
|
687
|
+
tl.set(".phase1-text .anim", { opacity: 0 }, TIMING.swapTrigger + TIMING.swapDuration * 0.5);
|
|
688
|
+
|
|
689
|
+
tl.to(
|
|
690
|
+
".anchor-shift",
|
|
691
|
+
{
|
|
692
|
+
x: RECENTER_OFFSET,
|
|
693
|
+
duration: TIMING.swapDuration,
|
|
694
|
+
ease: "power3.out", // spring(stiffness:80, damping:18)
|
|
695
|
+
},
|
|
696
|
+
TIMING.swapTrigger,
|
|
697
|
+
);
|
|
698
|
+
|
|
699
|
+
tl.to(
|
|
700
|
+
".phase2-claim",
|
|
701
|
+
{
|
|
702
|
+
opacity: 1,
|
|
703
|
+
duration: TIMING.claimFadeDur,
|
|
704
|
+
ease: "power2.out",
|
|
705
|
+
},
|
|
706
|
+
TIMING.claimFadeIn,
|
|
707
|
+
);
|
|
708
|
+
|
|
709
|
+
// Rolling ticker — render → ship.
|
|
710
|
+
tl.to(
|
|
711
|
+
".ticker-stack",
|
|
712
|
+
{
|
|
713
|
+
y: "-=204", // one itemHeight
|
|
714
|
+
duration: TIMING.tickerDuration,
|
|
715
|
+
ease: "back.out(1.4)", // spring(stiffness:120, damping:14)
|
|
716
|
+
},
|
|
717
|
+
TIMING.tickerTrigger,
|
|
718
|
+
);
|
|
719
|
+
|
|
720
|
+
// ----------------------------------------------------------------
|
|
721
|
+
// PHASE 3: Logo recenters + text fades out.
|
|
722
|
+
// ----------------------------------------------------------------
|
|
723
|
+
tl.to(
|
|
724
|
+
".anchor-text",
|
|
725
|
+
{
|
|
726
|
+
opacity: 0,
|
|
727
|
+
duration: 0.3,
|
|
728
|
+
ease: "power2.out",
|
|
729
|
+
},
|
|
730
|
+
TIMING.recenterTrigger,
|
|
731
|
+
);
|
|
732
|
+
|
|
733
|
+
tl.to(
|
|
734
|
+
".anchor-logo",
|
|
735
|
+
{
|
|
736
|
+
x: CENTER_OFFSET,
|
|
737
|
+
y: VERTICAL_ADJUST,
|
|
738
|
+
duration: TIMING.recenterDuration,
|
|
739
|
+
ease: "power2.out", // spring(stiffness:45, damping:22) — gentle
|
|
740
|
+
},
|
|
741
|
+
TIMING.recenterTrigger,
|
|
742
|
+
);
|
|
743
|
+
|
|
744
|
+
// ----------------------------------------------------------------
|
|
745
|
+
// PHASE 4: Avatar cloud + counter.
|
|
746
|
+
// ----------------------------------------------------------------
|
|
747
|
+
tl.to(
|
|
748
|
+
".cloud-stage",
|
|
749
|
+
{
|
|
750
|
+
opacity: 1,
|
|
751
|
+
duration: TIMING.cloudFadeDur,
|
|
752
|
+
ease: "power2.out",
|
|
753
|
+
},
|
|
754
|
+
TIMING.cloudFadeIn,
|
|
755
|
+
);
|
|
756
|
+
|
|
757
|
+
// Avatars cascade in.
|
|
758
|
+
tl.fromTo(
|
|
759
|
+
".cloud-avatar",
|
|
760
|
+
{ scale: 0, opacity: 0 },
|
|
761
|
+
{
|
|
762
|
+
scale: 1,
|
|
763
|
+
opacity: 1,
|
|
764
|
+
duration: TIMING.avatarEntryDur,
|
|
765
|
+
ease: "back.out(1.7)",
|
|
766
|
+
stagger: { each: TIMING.avatarStagger, from: "start" },
|
|
767
|
+
},
|
|
768
|
+
TIMING.avatarEntryStart,
|
|
769
|
+
);
|
|
770
|
+
|
|
771
|
+
// Connection lines draw outward from center after all avatars settle.
|
|
772
|
+
const lastAvatarEnd =
|
|
773
|
+
TIMING.avatarEntryStart + TIMING.avatarStagger * (AVATAR_COUNT - 1) + TIMING.avatarEntryDur;
|
|
774
|
+
const linesStart = lastAvatarEnd + TIMING.linesDelay;
|
|
775
|
+
|
|
776
|
+
document.querySelectorAll(".cloud-lines line").forEach((line, i) => {
|
|
777
|
+
const { x, y } = avatarPositions[i];
|
|
778
|
+
tl.to(
|
|
779
|
+
line,
|
|
780
|
+
{
|
|
781
|
+
attr: { x2: x, y2: y },
|
|
782
|
+
strokeOpacity: 0.6,
|
|
783
|
+
duration: TIMING.linesDur,
|
|
784
|
+
ease: "power2.out",
|
|
785
|
+
},
|
|
786
|
+
linesStart + i * TIMING.lineStagger,
|
|
787
|
+
);
|
|
788
|
+
});
|
|
789
|
+
|
|
790
|
+
const countEl = document.querySelector(".count");
|
|
791
|
+
const suffixEl = document.querySelector(".count-suffix");
|
|
792
|
+
|
|
793
|
+
// Counter pulse — text stays deterministic under timeline seeking.
|
|
794
|
+
tl.fromTo(
|
|
795
|
+
countEl,
|
|
796
|
+
{
|
|
797
|
+
scale: 0.88,
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
scale: 1,
|
|
801
|
+
duration: TIMING.counterDuration,
|
|
802
|
+
ease: "power2.out",
|
|
803
|
+
},
|
|
804
|
+
TIMING.counterStart,
|
|
805
|
+
);
|
|
806
|
+
|
|
807
|
+
tl.to(
|
|
808
|
+
suffixEl,
|
|
809
|
+
{
|
|
810
|
+
opacity: 1,
|
|
811
|
+
duration: 0.3,
|
|
812
|
+
ease: "back.out(1.6)",
|
|
813
|
+
},
|
|
814
|
+
TIMING.counterStart + TIMING.counterDuration + TIMING.suffixDelay,
|
|
815
|
+
);
|
|
816
|
+
|
|
817
|
+
// ----------------------------------------------------------------
|
|
818
|
+
// PHASE 5: Brand strip — label + scrolling partner logos.
|
|
819
|
+
// ----------------------------------------------------------------
|
|
820
|
+
tl.fromTo(
|
|
821
|
+
".brand-strip",
|
|
822
|
+
{ opacity: 0, y: 40 },
|
|
823
|
+
{
|
|
824
|
+
opacity: 1,
|
|
825
|
+
y: 0,
|
|
826
|
+
duration: TIMING.brandStripFadeDur,
|
|
827
|
+
ease: "power2.out",
|
|
828
|
+
},
|
|
829
|
+
TIMING.brandStripStart,
|
|
830
|
+
);
|
|
831
|
+
|
|
832
|
+
tl.fromTo(
|
|
833
|
+
".brand-logo",
|
|
834
|
+
{ scale: 0.5, opacity: 0 },
|
|
835
|
+
{
|
|
836
|
+
scale: 1,
|
|
837
|
+
opacity: 0.7,
|
|
838
|
+
duration: 0.5,
|
|
839
|
+
ease: "back.out(1.4)",
|
|
840
|
+
stagger: { each: TIMING.brandLogoStagger, from: "start" },
|
|
841
|
+
},
|
|
842
|
+
TIMING.brandStripStart,
|
|
843
|
+
);
|
|
844
|
+
|
|
845
|
+
// Finite horizontal scroll. Distance derived from remaining time × speed.
|
|
846
|
+
// Speed in original: 0.8 px/frame at 30fps = 24 px/s. Over 1.4s ≈ 33.6 px.
|
|
847
|
+
// For a more visible scroll, multiply by 4 → ~135 px.
|
|
848
|
+
tl.to(
|
|
849
|
+
".brand-strip-track",
|
|
850
|
+
{
|
|
851
|
+
x: -135,
|
|
852
|
+
duration: TIMING.brandScrollDur,
|
|
853
|
+
ease: "none",
|
|
854
|
+
},
|
|
855
|
+
TIMING.brandStripStart,
|
|
856
|
+
);
|
|
857
|
+
|
|
858
|
+
window.__timelines["main"] = tl;
|
|
859
|
+
</script>
|
|
860
|
+
</body>
|
|
861
|
+
</html>
|