popost 4.6.0 → 4.6.6
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/LICENSE +59 -3
- package/README.md +25 -10
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- package/assets/canvas/assets/{dist-Ag5yM9-G.js → dist-BmD8AP0A.js} +1 -1
- package/assets/canvas/assets/{es-DzkTYs_E.js → es-CC29Cabv.js} +1 -1
- package/assets/canvas/assets/{index-DjfLTPyx.js → index-DhwyFpu2.js} +6 -6
- package/assets/canvas/assets/{jszip.min-Cw2BF2G0.js → jszip.min-Bwf_yCrF.js} +1 -1
- package/assets/canvas/build-info.json +5 -5
- package/assets/canvas/index.html +1 -1
- package/assets/video/examples/audio-bars.html +125 -0
- package/assets/video/examples/bouncing-ball.html +182 -0
- package/assets/video/examples/card-flip.html +92 -0
- package/assets/video/examples/catalogue.json +16221 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/dist/cli.js +38185 -3485
- package/dist/index.js +37910 -3428
- package/dist/types/args.d.ts +2 -0
- package/dist/types/broken-pipe.d.ts +13 -0
- package/dist/types/cloud/service.d.ts +13 -0
- package/dist/types/commands/usage.d.ts +2 -0
- package/dist/types/commands/video.d.ts +10 -0
- package/dist/types/core/error-text.d.ts +26 -0
- package/dist/types/core/errors.d.ts +5 -3
- package/dist/types/core/image-info.d.ts +1 -1
- package/dist/types/core/image.d.ts +3 -5
- package/dist/types/core/project.d.ts +8 -7
- package/dist/types/core/util.d.ts +1 -2
- package/dist/types/cpu-budget.d.ts +43 -0
- package/dist/types/credentials.d.ts +0 -10
- package/dist/types/editor/http-types.d.ts +1 -0
- package/dist/types/i18n.d.ts +11 -0
- package/dist/types/images/batch-jobs.d.ts +2 -0
- package/dist/types/images/batch-run.d.ts +2 -1
- package/dist/types/images/jobs.d.ts +7 -0
- package/dist/types/images/pending.d.ts +40 -0
- package/dist/types/images/retry.d.ts +4 -1
- package/dist/types/images/run.d.ts +9 -1
- package/dist/types/main.d.ts +4 -1
- package/dist/types/node-runtime.d.ts +6 -1
- package/dist/types/profile.d.ts +2 -0
- package/dist/types/providers/api-errors.d.ts +2 -2
- package/dist/types/providers/api.d.ts +13 -5
- package/dist/types/providers/base.d.ts +2 -0
- package/dist/types/providers/cli-generate.d.ts +5 -1
- package/dist/types/providers/cli-pending.d.ts +24 -0
- package/dist/types/providers/errors.d.ts +7 -2
- package/dist/types/providers/ledger.d.ts +10 -6
- package/dist/types/providers/popost-async.d.ts +35 -0
- package/dist/types/providers/popost-tasks.d.ts +16 -5
- package/dist/types/providers/popost-validate.d.ts +0 -1
- package/dist/types/providers/popost.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -0
- package/dist/types/render/audit-script.d.ts +2 -1
- package/dist/types/render/audit.d.ts +2 -0
- package/dist/types/render/browser.d.ts +16 -2
- package/dist/types/runtime.d.ts +73 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/align/index.d.ts +43 -0
- package/dist/types/video/capture/director.d.ts +70 -0
- package/dist/types/video/capture/index.d.ts +141 -0
- package/dist/types/video/capture/stage.d.ts +99 -0
- package/dist/types/video/capture/steps.d.ts +138 -0
- package/dist/types/video/commands/cast.d.ts +3 -0
- package/dist/types/video/commands/clips.d.ts +2 -0
- package/dist/types/video/commands/compare-scope.d.ts +7 -0
- package/dist/types/video/commands/credits.d.ts +19 -0
- package/dist/types/video/commands/elements.d.ts +22 -0
- package/dist/types/video/commands/eval.d.ts +2 -0
- package/dist/types/video/commands/example.d.ts +1 -0
- package/dist/types/video/commands/generate.d.ts +14 -0
- package/dist/types/video/commands/loop-shared.d.ts +12 -0
- package/dist/types/video/commands/loop.d.ts +4 -0
- package/dist/types/video/commands/make.d.ts +9 -0
- package/dist/types/video/commands/materials.d.ts +1 -0
- package/dist/types/video/commands/measure.d.ts +2 -0
- package/dist/types/video/commands/media.d.ts +2 -0
- package/dist/types/video/commands/music-plan.d.ts +1 -0
- package/dist/types/video/commands/music.d.ts +2 -0
- package/dist/types/video/commands/read.d.ts +19 -0
- package/dist/types/video/commands/replication.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +50 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-run.d.ts +54 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +56 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +150 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +51 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +40 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +54 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/encode.d.ts +49 -0
- package/dist/types/video/render/index.d.ts +90 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +64 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +163 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +7 -0
- package/dist/types/video/retarget/index.d.ts +248 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +41 -0
- package/dist/types/video/retarget/tempo.d.ts +40 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +41 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +51 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +52 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +81 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +36 -0
- package/dist/types/video/voice/index.d.ts +61 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +38 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/build.d.ts +1 -1
- package/dist/types/workflow/errors.d.ts +1 -1
- package/dist/types/workflow/io.d.ts +1 -1
- package/dist/types/workflow/post-bundle.d.ts +8 -3
- package/dist/types/workflow/series-plan.d.ts +5 -2
- package/dist/types/workflow/template-plugins.d.ts +0 -8
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +2 -2
- package/references/providers.md +6 -3
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +605 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +86 -0
- package/references/video-project.md +63 -0
- package/references/video-replication.md +276 -0
- package/references/video-scenes.md +366 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +207 -0
- package/references/video-templates.md +177 -0
- package/references/video-tools.md +560 -0
- package/references/video.md +756 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1,757 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!--
|
|
3
|
+
Adapted from HyperFrames (https://github.com/heygen-com/hyperframes), registry/blocks/extruded-logo, commit a8332860c396e9224d42b7ea2a9cc8f42918c961.
|
|
4
|
+
Copyright 2026 HeyGen, Inc. Licensed under the Apache License, Version 2.0; the licence text is in the popost
|
|
5
|
+
Skill's THIRD_PARTY_NOTICES. Changed for the popost Skill (tools/video/port-hyperframes.mjs): its comments removed; its fonts drawn by roles of the Skill's font library, linked from the project (../css/<role>.css); three.js modules replaced by the project's three.js (../lib/three.min.js, r147), set up as later releases are; three.js addons (loaders/FontLoader, geometries/TextGeometry) put into the page from three.js r147 (MIT); the runtime's asset address helper reduced to the plain path (the scene's files are beside it); the typeface it loads (Geist-Bold.typeface.json, a font's outlines as JSON) parsed from the page; GSAP loaded from the project (../lib/gsap.min.js) instead of a CDN; the 1920x1080 composition scaled into the scene's canvas (parameter "fit"); HyperFrames variables declared as parameters; its root-level clips laid out as HyperFrames lays them out; its clips shown and hidden from the scene's time; sound cues derived from its tweens.
|
|
6
|
+
-->
|
|
7
|
+
|
|
8
|
+
<html
|
|
9
|
+
lang="en"
|
|
10
|
+
data-composition-variables='[
|
|
11
|
+
{ "id": "text", "type": "string", "role": "content", "label": "Word or lettermark", "description": "Basic Latin letters, digits and punctuation only; other characters render as ?", "default": "NOVA", "maxLength": 8 },
|
|
12
|
+
{ "id": "tagline", "type": "string", "role": "content", "label": "Tagline", "default": "Ships Thursday", "maxLength": 40 },
|
|
13
|
+
{ "id": "finish", "type": "enum", "role": "style", "label": "Finish", "default": "chrome", "options": [ { "value": "chrome", "label": "Chrome" }, { "value": "gold", "label": "Gold" }, { "value": "matte", "label": "Matte clay" } ] },
|
|
14
|
+
{ "id": "rim_color", "type": "color", "role": "style", "label": "Rim light", "default": "#fff4e6" },
|
|
15
|
+
{ "id": "background", "type": "color", "role": "style", "label": "Backdrop", "default": "#0c0d12" }
|
|
16
|
+
]'
|
|
17
|
+
>
|
|
18
|
+
<head>
|
|
19
|
+
<meta charset="UTF-8" />
|
|
20
|
+
<meta name="viewport" content="width=1920, height=1080" />
|
|
21
|
+
<title>Extruded Logo</title>
|
|
22
|
+
<script src="../lib/gsap.min.js"></script>
|
|
23
|
+
<style>
|
|
24
|
+
|
|
25
|
+
html,
|
|
26
|
+
body {
|
|
27
|
+
margin: 0;
|
|
28
|
+
width: 1920px;
|
|
29
|
+
height: 1080px;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
background: #0c0d12;
|
|
32
|
+
}
|
|
33
|
+
#el-root {
|
|
34
|
+
position: relative;
|
|
35
|
+
width: 1920px;
|
|
36
|
+
height: 1080px;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
background:
|
|
39
|
+
radial-gradient(900px 560px at 50% 46%, rgba(255, 255, 255, 0.09), transparent 70%),
|
|
40
|
+
var(--el-bg, #0c0d12);
|
|
41
|
+
}
|
|
42
|
+
#el-canvas {
|
|
43
|
+
position: absolute;
|
|
44
|
+
inset: 0;
|
|
45
|
+
width: 1920px;
|
|
46
|
+
height: 1080px;
|
|
47
|
+
display: block;
|
|
48
|
+
}
|
|
49
|
+
#el-tagline {
|
|
50
|
+
position: absolute;
|
|
51
|
+
left: 0;
|
|
52
|
+
right: 0;
|
|
53
|
+
top: 790px;
|
|
54
|
+
text-align: center;
|
|
55
|
+
font:
|
|
56
|
+
500 38px/1.2 "EL Inter",
|
|
57
|
+
system-ui,
|
|
58
|
+
sans-serif;
|
|
59
|
+
letter-spacing: 0.02em;
|
|
60
|
+
color: rgba(236, 238, 245, 0.72);
|
|
61
|
+
opacity: 0;
|
|
62
|
+
}
|
|
63
|
+
</style>
|
|
64
|
+
<link rel="stylesheet" href="../css/latin-inter.css" />
|
|
65
|
+
<style id="popost-fonts">
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: "EL Inter";
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-display: swap;
|
|
70
|
+
font-weight: 100 900;
|
|
71
|
+
src: url("../fonts/latin-inter/inter-latin-ext-wght-normal.woff2") format('woff2-variations');
|
|
72
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
73
|
+
}
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: "EL Inter";
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-display: swap;
|
|
78
|
+
font-weight: 100 900;
|
|
79
|
+
src: url("../fonts/latin-inter/inter-latin-wght-normal.woff2") format('woff2-variations');
|
|
80
|
+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
81
|
+
}
|
|
82
|
+
@font-face {
|
|
83
|
+
font-family: "EL Inter";
|
|
84
|
+
font-style: italic;
|
|
85
|
+
font-display: swap;
|
|
86
|
+
font-weight: 100 900;
|
|
87
|
+
src: url("../fonts/latin-inter/inter-latin-ext-wght-italic.woff2") format('woff2-variations');
|
|
88
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
89
|
+
}
|
|
90
|
+
@font-face {
|
|
91
|
+
font-family: "EL Inter";
|
|
92
|
+
font-style: italic;
|
|
93
|
+
font-display: swap;
|
|
94
|
+
font-weight: 100 900;
|
|
95
|
+
src: url("../fonts/latin-inter/inter-latin-wght-italic.woff2") format('woff2-variations');
|
|
96
|
+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
97
|
+
}
|
|
98
|
+
</style>
|
|
99
|
+
<script src="../lib/three.min.js"></script>
|
|
100
|
+
<script>
|
|
101
|
+
/* popost: three.js r147 set up as later releases are by default (sRGB output, colour management, physical lights). */
|
|
102
|
+
(function () {
|
|
103
|
+
if (!window.THREE || THREE.__popostCompat) return;
|
|
104
|
+
THREE.__popostCompat = true;
|
|
105
|
+
THREE.SRGBColorSpace = THREE.SRGBColorSpace || 'srgb';
|
|
106
|
+
THREE.LinearSRGBColorSpace = THREE.LinearSRGBColorSpace || 'srgb-linear';
|
|
107
|
+
THREE.NoColorSpace = THREE.NoColorSpace || '';
|
|
108
|
+
if (THREE.ColorManagement) THREE.ColorManagement.legacyMode = false;
|
|
109
|
+
var R = THREE.WebGLRenderer;
|
|
110
|
+
THREE.WebGLRenderer = function (p) { R.call(this, Object.assign({ preserveDrawingBuffer: true }, p || {})); this.outputEncoding = THREE.sRGBEncoding; this.physicallyCorrectLights = true; };
|
|
111
|
+
THREE.WebGLRenderer.prototype = R.prototype;
|
|
112
|
+
Object.defineProperty(R.prototype, 'outputColorSpace', { configurable: true, get: function () { return this.outputEncoding === THREE.sRGBEncoding ? 'srgb' : 'srgb-linear'; }, set: function (v) { this.outputEncoding = v === 'srgb' ? THREE.sRGBEncoding : THREE.LinearEncoding; } });
|
|
113
|
+
Object.defineProperty(THREE.Texture.prototype, 'colorSpace', { configurable: true, get: function () { return this.encoding === THREE.sRGBEncoding ? 'srgb' : ''; }, set: function (v) { this.encoding = v === 'srgb' ? THREE.sRGBEncoding : THREE.LinearEncoding; } });
|
|
114
|
+
R.prototype.compileAsync = R.prototype.compileAsync || function (scene, camera) { this.compile(scene, camera); return Promise.resolve(); };
|
|
115
|
+
/* the texture coordinates of later releases' shader chunks (vMapUv, ...), for code that onBeforeCompile adds */
|
|
116
|
+
THREE.ShaderChunk.common = ['Map', 'AlphaMap', 'NormalMap', 'BumpMap', 'RoughnessMap', 'MetalnessMap', 'EmissiveMap', 'SpecularMap', 'ClearcoatMap', 'ClearcoatNormalMap', 'ClearcoatRoughnessMap', 'SheenColorMap', 'SheenRoughnessMap', 'TransmissionMap', 'ThicknessMap', 'DisplacementMap'].map(function (k) { return '#define v' + k + 'Uv vUv\n'; }).join('') + '#define vAoMapUv vUv2\n#define vLightMapUv vUv2\n' + THREE.ShaderChunk.common;
|
|
117
|
+
/* scene.environmentIntensity (later releases) as every material's envMapIntensity */
|
|
118
|
+
var render = R.prototype.render;
|
|
119
|
+
R.prototype.render = function (scene, camera) {
|
|
120
|
+
if (scene && typeof scene.environmentIntensity === 'number') scene.traverse(function (o) { [].concat(o.material || []).forEach(function (m) { if ('envMapIntensity' in m) m.envMapIntensity = scene.environmentIntensity; }); });
|
|
121
|
+
return render.apply(this, arguments);
|
|
122
|
+
};
|
|
123
|
+
/* point and spot lights fall off with the square of the distance (decay 2), as later releases default to */
|
|
124
|
+
var P = THREE.PointLight, S = THREE.SpotLight;
|
|
125
|
+
THREE.PointLight = function (color, intensity, distance, decay) { return new P(color, intensity, distance, decay === undefined ? 2 : decay); };
|
|
126
|
+
THREE.PointLight.prototype = P.prototype;
|
|
127
|
+
THREE.SpotLight = function (color, intensity, distance, angle, penumbra, decay) { return new S(color, intensity, distance, angle, penumbra, decay === undefined ? 2 : decay); };
|
|
128
|
+
THREE.SpotLight.prototype = S.prototype;
|
|
129
|
+
})();
|
|
130
|
+
</script>
|
|
131
|
+
<style id="popost-fit">
|
|
132
|
+
html, body { margin: 0 !important; width: 1280px; height: 720px; overflow: hidden !important; }
|
|
133
|
+
:where(html, body) { background: #000000; }
|
|
134
|
+
#popost-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; }
|
|
135
|
+
</style>
|
|
136
|
+
<script type="application/json" id="popost-params">
|
|
137
|
+
{
|
|
138
|
+
"about": "Beveled 3D letters flip up one by one, the word swings so light runs across the bevels, then settles for a readable hold. Chrome, gold or matte.",
|
|
139
|
+
"class": "3d",
|
|
140
|
+
"tags": [
|
|
141
|
+
"3d-object",
|
|
142
|
+
"three-js",
|
|
143
|
+
"webgl",
|
|
144
|
+
"logo",
|
|
145
|
+
"text",
|
|
146
|
+
"extruded",
|
|
147
|
+
"title-card"
|
|
148
|
+
],
|
|
149
|
+
"seconds": 5,
|
|
150
|
+
"params": [
|
|
151
|
+
{
|
|
152
|
+
"name": "fit",
|
|
153
|
+
"type": "choice",
|
|
154
|
+
"default": "contain",
|
|
155
|
+
"options": [
|
|
156
|
+
"contain",
|
|
157
|
+
"cover"
|
|
158
|
+
],
|
|
159
|
+
"what": "how the 1920x1080 composition is fitted into the canvas: whole with bars, or filling it and cropped"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"values": {}
|
|
163
|
+
}
|
|
164
|
+
</script>
|
|
165
|
+
<script>
|
|
166
|
+
/* popost: the scene's parameters stand in for HyperFrames variables; random numbers are seeded; the composition is
|
|
167
|
+
scaled into the canvas; clips are shown and hidden from the scene's time. */
|
|
168
|
+
(function () {
|
|
169
|
+
var block = document.getElementById('popost-params');
|
|
170
|
+
var values = block ? (JSON.parse(block.textContent).values || {}) : {};
|
|
171
|
+
var vars = {};
|
|
172
|
+
Object.keys(values).forEach(function (k) { if (k !== 'fit') vars[k] = values[k] === 'true' ? true : values[k] === 'false' ? false : values[k]; });
|
|
173
|
+
window.__hyperframes = { getVariables: function () { return vars; } };
|
|
174
|
+
var seed = 20240229;
|
|
175
|
+
window.__popostRandom = function () { seed = (seed + 0x6d2b79f5) >>> 0; var t = seed; t = Math.imul(t ^ (t >>> 15), t | 1); t ^= t + Math.imul(t ^ (t >>> 7), t | 61); return ((t ^ (t >>> 14)) >>> 0) / 4294967296; };
|
|
176
|
+
// HyperFrames variables as CSS custom properties (runtime/getVariables.ts, compositionLoader.ts). A mounted
|
|
177
|
+
// composition's host lists its variables (data-popost-variables, written by the port): before the composition's
|
|
178
|
+
// scripts run it gets those no rule gives it yet (an inherited value counts), and after them the rest; a value given
|
|
179
|
+
// by a parameter always wins.
|
|
180
|
+
var cssName = function (id) { return '--' + (String(id).toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '') || 'node'); };
|
|
181
|
+
var givenId = function (n) { return Object.keys(values).filter(function (id) { return id !== 'fit' && cssName(id) === n; })[0]; };
|
|
182
|
+
var hostVars = function (h, early) {
|
|
183
|
+
(h.getAttribute('data-popost-variables') || '').split(';').forEach(function (d) {
|
|
184
|
+
var i = d.indexOf(':'), n = d.slice(0, i).trim(), k = givenId(n);
|
|
185
|
+
if (i < 0 || !n) return;
|
|
186
|
+
if (k !== undefined) h.style.setProperty(n, String(vars[k]));
|
|
187
|
+
else if (!(h.style.getPropertyValue(n) || (early ? getComputedStyle(h).getPropertyValue(n) : '')).trim()) h.style.setProperty(n, d.slice(i + 1).trim());
|
|
188
|
+
});
|
|
189
|
+
};
|
|
190
|
+
// Root-level clips laid out as HyperFrames lays them out (runtime/init.ts, applyCompositionSizing and applyClipLayout):
|
|
191
|
+
// its root composition (one marked data-root="true", else the first element with a data-composition-id, which is the
|
|
192
|
+
// page's <html> when that has one) gets its declared size, a position and overflow hidden; each child of it with a
|
|
193
|
+
// data-start is placed absolute unless it is absolute or fixed already, and given its declared size, or 100% where it
|
|
194
|
+
// measures 0. A composition box deeper in the page keeps the position its page gives it.
|
|
195
|
+
var layout = function () {
|
|
196
|
+
var hroot = document.querySelector('[data-composition-id][data-root="true"]') || document.querySelector('[data-composition-id]');
|
|
197
|
+
if (!hroot) return;
|
|
198
|
+
var px = function (v) { var n = parseFloat(v); return isFinite(n) && n > 0 ? n + 'px' : null; };
|
|
199
|
+
var rw = px(hroot.getAttribute('data-width')), rh = px(hroot.getAttribute('data-height'));
|
|
200
|
+
if (rw) { hroot.style.width = rw; hroot.style.setProperty('--comp-width', rw); }
|
|
201
|
+
if (rh) { hroot.style.height = rh; hroot.style.setProperty('--comp-height', rh); }
|
|
202
|
+
if (!hroot.style.position) hroot.style.position = 'relative';
|
|
203
|
+
hroot.style.overflow = 'hidden';
|
|
204
|
+
Array.prototype.forEach.call(hroot.children, function (el) {
|
|
205
|
+
if (/^(SCRIPT|STYLE|LINK|META)$/.test(el.tagName) || !el.hasAttribute('data-start')) return;
|
|
206
|
+
var none = el.style.getPropertyValue('display') === 'none', priority = el.style.getPropertyPriority('display');
|
|
207
|
+
if (none) el.style.removeProperty('display');
|
|
208
|
+
var cs = getComputedStyle(el);
|
|
209
|
+
if (cs.position !== 'absolute' && cs.position !== 'fixed') el.style.position = 'absolute';
|
|
210
|
+
if (el.tagName !== 'AUDIO') {
|
|
211
|
+
var byFile = /^(IMG|VIDEO)$/.test(el.tagName), fw = px(el.getAttribute('data-width')), fh = px(el.getAttribute('data-height'));
|
|
212
|
+
if (fw) { if (!el.style.width && (cs.width === '0px' || cs.width === 'auto')) el.style.width = fw; } else if (!byFile && !el.style.width && cs.width === '0px') el.style.width = '100%';
|
|
213
|
+
if (fh) { if (!el.style.height && (cs.height === '0px' || cs.height === 'auto')) el.style.height = fh; } else if (!byFile && !el.style.height && cs.height === '0px') el.style.height = '100%';
|
|
214
|
+
}
|
|
215
|
+
if (none) el.style.setProperty('display', 'none', priority);
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
// HyperFrames loads a mounted composition after it has laid out the page, so its scripts see the host placed: each
|
|
219
|
+
// script of a mounted composition calls this first (the port puts the call there).
|
|
220
|
+
window.__popostMount = function (script) {
|
|
221
|
+
var h = script && script.closest ? script.closest('[data-popost-host]') : null;
|
|
222
|
+
if (!h || h.__popostMounted) return;
|
|
223
|
+
h.__popostMounted = true;
|
|
224
|
+
layout();
|
|
225
|
+
hostVars(h, true);
|
|
226
|
+
};
|
|
227
|
+
window.__popostFit = function () {
|
|
228
|
+
// The canvas, from the size this file declares: a scene of a later shot loads in a layer that is not displayed, where the page measures 0.
|
|
229
|
+
var size = /width: (\d+)px; height: (\d+)px;/.exec(document.getElementById('popost-fit').textContent);
|
|
230
|
+
var W = 1920, H = 1080, s = document.getElementById('popost-stage'), cw = Number(size[1]), ch = Number(size[2]);
|
|
231
|
+
var k = (values.fit === 'cover' ? Math.max : Math.min)(cw / W, ch / H);
|
|
232
|
+
s.style.transform = 'translate(' + (cw - W * k) / 2 + 'px,' + (ch - H * k) / 2 + 'px) scale(' + k + ')';
|
|
233
|
+
// The page's own declared variables on its root element (runtime/getVariables.ts, injectCompositionCssVariables):
|
|
234
|
+
// each default where no rule defines its property, a value given by a parameter always.
|
|
235
|
+
var de = document.documentElement, declared = [];
|
|
236
|
+
try { declared = JSON.parse(de.getAttribute('data-composition-variables') || '[]'); } catch (e) {}
|
|
237
|
+
declared.forEach(function (d) {
|
|
238
|
+
var n = cssName(d.id), given = Object.prototype.hasOwnProperty.call(values, d.id), v = given ? vars[d.id] : d.default;
|
|
239
|
+
if (!((typeof v === 'string' && v !== '') || typeof v === 'number')) return;
|
|
240
|
+
if (!given && (de.style.getPropertyValue(n) || getComputedStyle(de).getPropertyValue(n)).trim()) return;
|
|
241
|
+
de.style.setProperty(n, String(v));
|
|
242
|
+
});
|
|
243
|
+
Array.prototype.forEach.call(document.querySelectorAll('[data-popost-host]'), function (h) { hostVars(h, false); });
|
|
244
|
+
layout();
|
|
245
|
+
// Timed elements as HyperFrames has them (runtime/clipTree.ts, clipWindow.ts): every element with a data-start but the
|
|
246
|
+
// root composition, from its start plus the starts of the compositions it sits in, for its data-duration (a
|
|
247
|
+
// composition without one: its timeline's length); one that runs to the end of the root keeps its last frame.
|
|
248
|
+
var root = s.querySelector('[data-composition-id]');
|
|
249
|
+
var clips = Array.prototype.slice.call(s.querySelectorAll('[data-start]')).filter(function (c) { return (root ? c !== root : c.parentNode !== s) && !/^(SCRIPT|STYLE|LINK|META|TEMPLATE|NOSCRIPT)$/.test(c.tagName) && isFinite(parseFloat(c.getAttribute('data-start'))); });
|
|
250
|
+
var windows = clips.map(function (c) {
|
|
251
|
+
var a = parseFloat(c.getAttribute('data-start')), d = parseFloat(c.getAttribute('data-duration')), id = c.getAttribute('data-composition-id');
|
|
252
|
+
for (var p = c.parentElement; p && p !== s; p = p.parentElement) if (p !== root && p.hasAttribute('data-composition-id') && isFinite(parseFloat(p.getAttribute('data-start')))) a += parseFloat(p.getAttribute('data-start'));
|
|
253
|
+
var tl = !(d > 0) && id && window.__timelines && window.__timelines[id];
|
|
254
|
+
return [a, d > 0 ? d : tl && tl.duration ? tl.duration() : Infinity];
|
|
255
|
+
});
|
|
256
|
+
var rootLength = parseFloat(root && root.getAttribute('data-duration'));
|
|
257
|
+
// A mounted composition that starts later in its host runs on its own time.
|
|
258
|
+
[].forEach(function (m) {
|
|
259
|
+
var tl = window.__timelines && window.__timelines[m.id];
|
|
260
|
+
if (tl) window.__timelines[m.id] = { pause: function () { tl.pause(); }, seek: function (t) { tl.seek(Math.max(0, t - m.start)); }, duration: function () { return tl.duration() + m.start; } };
|
|
261
|
+
});
|
|
262
|
+
var scene = (window.__popostScene = window.__popostScene || {}), before = scene.render;
|
|
263
|
+
scene.render = function (seconds, fps) {
|
|
264
|
+
if (before) before(seconds, fps);
|
|
265
|
+
for (var i = 0; i < clips.length; i++) {
|
|
266
|
+
var a = windows[i][0], end = a + windows[i][1];
|
|
267
|
+
clips[i].style.visibility = seconds >= a - 1e-6 && (seconds < end - 1e-6 || end >= rootLength - 1e-6) ? 'visible' : 'hidden';
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
})();
|
|
272
|
+
</script>
|
|
273
|
+
<script type="application/json" id="popost-cues">[{"at":1.7,"cue":"tick","gain":0.3}]</script>
|
|
274
|
+
</head>
|
|
275
|
+
<body>
|
|
276
|
+
<div id="popost-stage">
|
|
277
|
+
<div
|
|
278
|
+
id="el-root"
|
|
279
|
+
data-composition-id="extruded-logo"
|
|
280
|
+
data-start="0"
|
|
281
|
+
data-duration="5"
|
|
282
|
+
data-width="1920"
|
|
283
|
+
data-height="1080"
|
|
284
|
+
>
|
|
285
|
+
<canvas
|
|
286
|
+
id="el-canvas"
|
|
287
|
+
class="clip"
|
|
288
|
+
data-start="0"
|
|
289
|
+
data-duration="5"
|
|
290
|
+
data-track-index="1"
|
|
291
|
+
></canvas>
|
|
292
|
+
<div id="el-tagline"></div>
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
<script>
|
|
296
|
+
(function () {
|
|
297
|
+
var html = document.documentElement;
|
|
298
|
+
var defaults = {};
|
|
299
|
+
try {
|
|
300
|
+
JSON.parse(html.getAttribute("data-composition-variables") || "[]").forEach(function (v) {
|
|
301
|
+
defaults[v.id] = v.default;
|
|
302
|
+
});
|
|
303
|
+
} catch (error) {
|
|
304
|
+
/* malformed declaration: the scene module falls back to its own defaults */
|
|
305
|
+
}
|
|
306
|
+
var scoped =
|
|
307
|
+
(window.__hyperframes &&
|
|
308
|
+
window.__hyperframes.getVariables &&
|
|
309
|
+
window.__hyperframes.getVariables()) ||
|
|
310
|
+
{};
|
|
311
|
+
var vars = Object.assign({}, defaults, window.__hfVariables || {}, scoped);
|
|
312
|
+
var root = document.getElementById("el-root");
|
|
313
|
+
var duration = Math.max(0.001, parseFloat(root.dataset.duration) || 5);
|
|
314
|
+
if (/^#[0-9a-f]{6}$/i.test(String(vars.background)))
|
|
315
|
+
root.style.setProperty("--el-bg", vars.background);
|
|
316
|
+
var tagline = document.getElementById("el-tagline");
|
|
317
|
+
tagline.textContent = vars.tagline || "";
|
|
318
|
+
|
|
319
|
+
var clock = { t: 0 };
|
|
320
|
+
var scene = { vars: vars, duration: duration, clock: clock, render: null };
|
|
321
|
+
window.__extrudedLogo = scene;
|
|
322
|
+
window.__hf = window.__hf || {};
|
|
323
|
+
window.__hf.buildReady = window.__hf.buildReady || {};
|
|
324
|
+
window.__hf.buildReady["extruded-logo"] = new Promise(function (resolve) {
|
|
325
|
+
scene.ready = resolve;
|
|
326
|
+
});
|
|
327
|
+
|
|
328
|
+
var tl = gsap.timeline({ paused: true });
|
|
329
|
+
tl.to(clock, {
|
|
330
|
+
t: duration,
|
|
331
|
+
duration: duration,
|
|
332
|
+
ease: "none",
|
|
333
|
+
onUpdate: function () {
|
|
334
|
+
if (scene.render) scene.render(clock.t);
|
|
335
|
+
},
|
|
336
|
+
});
|
|
337
|
+
tl.fromTo(
|
|
338
|
+
tagline,
|
|
339
|
+
{ opacity: 0, y: 16 },
|
|
340
|
+
{ opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
|
|
341
|
+
Math.min(1.7, duration * 0.34),
|
|
342
|
+
);
|
|
343
|
+
window.__timelines = window.__timelines || {};
|
|
344
|
+
window.__timelines["extruded-logo"] = tl;
|
|
345
|
+
})();
|
|
346
|
+
</script>
|
|
347
|
+
|
|
348
|
+
<script>
|
|
349
|
+
( function () {
|
|
350
|
+
|
|
351
|
+
class FontLoader extends THREE.Loader {
|
|
352
|
+
|
|
353
|
+
constructor( manager ) {
|
|
354
|
+
|
|
355
|
+
super( manager );
|
|
356
|
+
|
|
357
|
+
}
|
|
358
|
+
load( url, onLoad, onProgress, onError ) {
|
|
359
|
+
|
|
360
|
+
const scope = this;
|
|
361
|
+
const loader = new THREE.FileLoader( this.manager );
|
|
362
|
+
loader.setPath( this.path );
|
|
363
|
+
loader.setRequestHeader( this.requestHeader );
|
|
364
|
+
loader.setWithCredentials( this.withCredentials );
|
|
365
|
+
loader.load( url, function ( text ) {
|
|
366
|
+
|
|
367
|
+
const font = scope.parse( JSON.parse( text ) );
|
|
368
|
+
if ( onLoad ) onLoad( font );
|
|
369
|
+
|
|
370
|
+
}, onProgress, onError );
|
|
371
|
+
|
|
372
|
+
}
|
|
373
|
+
parse( json ) {
|
|
374
|
+
|
|
375
|
+
return new Font( json );
|
|
376
|
+
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
//
|
|
382
|
+
|
|
383
|
+
class Font {
|
|
384
|
+
|
|
385
|
+
constructor( data ) {
|
|
386
|
+
|
|
387
|
+
this.isFont = true;
|
|
388
|
+
this.type = 'Font';
|
|
389
|
+
this.data = data;
|
|
390
|
+
|
|
391
|
+
}
|
|
392
|
+
generateShapes( text, size = 100 ) {
|
|
393
|
+
|
|
394
|
+
const shapes = [];
|
|
395
|
+
const paths = createPaths( text, size, this.data );
|
|
396
|
+
for ( let p = 0, pl = paths.length; p < pl; p ++ ) {
|
|
397
|
+
|
|
398
|
+
shapes.push( ...paths[ p ].toShapes() );
|
|
399
|
+
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
return shapes;
|
|
403
|
+
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
}
|
|
407
|
+
function createPaths( text, size, data ) {
|
|
408
|
+
|
|
409
|
+
const chars = Array.from( text );
|
|
410
|
+
const scale = size / data.resolution;
|
|
411
|
+
const line_height = ( data.boundingBox.yMax - data.boundingBox.yMin + data.underlineThickness ) * scale;
|
|
412
|
+
const paths = [];
|
|
413
|
+
let offsetX = 0,
|
|
414
|
+
offsetY = 0;
|
|
415
|
+
for ( let i = 0; i < chars.length; i ++ ) {
|
|
416
|
+
|
|
417
|
+
const char = chars[ i ];
|
|
418
|
+
if ( char === '\n' ) {
|
|
419
|
+
|
|
420
|
+
offsetX = 0;
|
|
421
|
+
offsetY -= line_height;
|
|
422
|
+
|
|
423
|
+
} else {
|
|
424
|
+
|
|
425
|
+
const ret = createPath( char, scale, offsetX, offsetY, data );
|
|
426
|
+
offsetX += ret.offsetX;
|
|
427
|
+
paths.push( ret.path );
|
|
428
|
+
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
return paths;
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
function createPath( char, scale, offsetX, offsetY, data ) {
|
|
438
|
+
|
|
439
|
+
const glyph = data.glyphs[ char ] || data.glyphs[ '?' ];
|
|
440
|
+
if ( ! glyph ) {
|
|
441
|
+
|
|
442
|
+
console.error( 'THREE.Font: character "' + char + '" does not exists in font family ' + data.familyName + '.' );
|
|
443
|
+
return;
|
|
444
|
+
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
const path = new THREE.ShapePath();
|
|
448
|
+
let x, y, cpx, cpy, cpx1, cpy1, cpx2, cpy2;
|
|
449
|
+
if ( glyph.o ) {
|
|
450
|
+
|
|
451
|
+
const outline = glyph._cachedOutline || ( glyph._cachedOutline = glyph.o.split( ' ' ) );
|
|
452
|
+
for ( let i = 0, l = outline.length; i < l; ) {
|
|
453
|
+
|
|
454
|
+
const action = outline[ i ++ ];
|
|
455
|
+
switch ( action ) {
|
|
456
|
+
|
|
457
|
+
case 'm':
|
|
458
|
+
// moveTo
|
|
459
|
+
|
|
460
|
+
x = outline[ i ++ ] * scale + offsetX;
|
|
461
|
+
y = outline[ i ++ ] * scale + offsetY;
|
|
462
|
+
path.moveTo( x, y );
|
|
463
|
+
break;
|
|
464
|
+
case 'l':
|
|
465
|
+
// lineTo
|
|
466
|
+
|
|
467
|
+
x = outline[ i ++ ] * scale + offsetX;
|
|
468
|
+
y = outline[ i ++ ] * scale + offsetY;
|
|
469
|
+
path.lineTo( x, y );
|
|
470
|
+
break;
|
|
471
|
+
case 'q':
|
|
472
|
+
// quadraticCurveTo
|
|
473
|
+
|
|
474
|
+
cpx = outline[ i ++ ] * scale + offsetX;
|
|
475
|
+
cpy = outline[ i ++ ] * scale + offsetY;
|
|
476
|
+
cpx1 = outline[ i ++ ] * scale + offsetX;
|
|
477
|
+
cpy1 = outline[ i ++ ] * scale + offsetY;
|
|
478
|
+
path.quadraticCurveTo( cpx1, cpy1, cpx, cpy );
|
|
479
|
+
break;
|
|
480
|
+
case 'b':
|
|
481
|
+
// bezierCurveTo
|
|
482
|
+
|
|
483
|
+
cpx = outline[ i ++ ] * scale + offsetX;
|
|
484
|
+
cpy = outline[ i ++ ] * scale + offsetY;
|
|
485
|
+
cpx1 = outline[ i ++ ] * scale + offsetX;
|
|
486
|
+
cpy1 = outline[ i ++ ] * scale + offsetY;
|
|
487
|
+
cpx2 = outline[ i ++ ] * scale + offsetX;
|
|
488
|
+
cpy2 = outline[ i ++ ] * scale + offsetY;
|
|
489
|
+
path.bezierCurveTo( cpx1, cpy1, cpx2, cpy2, cpx, cpy );
|
|
490
|
+
break;
|
|
491
|
+
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
return {
|
|
499
|
+
offsetX: glyph.ha * scale,
|
|
500
|
+
path: path
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
THREE.Font = Font;
|
|
506
|
+
THREE.FontLoader = FontLoader;
|
|
507
|
+
|
|
508
|
+
} )();
|
|
509
|
+
|
|
510
|
+
</script><script>
|
|
511
|
+
( function () {
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Text = 3D Text
|
|
515
|
+
*
|
|
516
|
+
* parameters = {
|
|
517
|
+
* font: <THREE.Font>, // font
|
|
518
|
+
*
|
|
519
|
+
* size: <float>, // size of the text
|
|
520
|
+
* height: <float>, // thickness to extrude text
|
|
521
|
+
* curveSegments: <int>, // number of points on the curves
|
|
522
|
+
*
|
|
523
|
+
* bevelEnabled: <bool>, // turn on bevel
|
|
524
|
+
* bevelThickness: <float>, // how deep into text bevel goes
|
|
525
|
+
* bevelSize: <float>, // how far from text outline (including bevelOffset) is bevel
|
|
526
|
+
* bevelOffset: <float> // how far from text outline does bevel start
|
|
527
|
+
* }
|
|
528
|
+
*/
|
|
529
|
+
class TextGeometry extends THREE.ExtrudeGeometry {
|
|
530
|
+
|
|
531
|
+
constructor( text, parameters = {} ) {
|
|
532
|
+
|
|
533
|
+
const font = parameters.font;
|
|
534
|
+
if ( font === undefined ) {
|
|
535
|
+
|
|
536
|
+
super(); // generate default extrude geometry
|
|
537
|
+
|
|
538
|
+
} else {
|
|
539
|
+
|
|
540
|
+
const shapes = font.generateShapes( text, parameters.size );
|
|
541
|
+
|
|
542
|
+
// translate parameters to THREE.ExtrudeGeometry API
|
|
543
|
+
|
|
544
|
+
parameters.depth = parameters.height !== undefined ? parameters.height : 50;
|
|
545
|
+
|
|
546
|
+
// defaults
|
|
547
|
+
|
|
548
|
+
if ( parameters.bevelThickness === undefined ) parameters.bevelThickness = 10;
|
|
549
|
+
if ( parameters.bevelSize === undefined ) parameters.bevelSize = 8;
|
|
550
|
+
if ( parameters.bevelEnabled === undefined ) parameters.bevelEnabled = false;
|
|
551
|
+
super( shapes, parameters );
|
|
552
|
+
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
this.type = 'TextGeometry';
|
|
556
|
+
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
THREE.TextGeometry = TextGeometry;
|
|
562
|
+
|
|
563
|
+
} )();
|
|
564
|
+
|
|
565
|
+
THREE.TextGeometry = (function (T) { return class extends T { constructor(text, p) { p = p || {}; super(text, p.depth !== undefined && p.height === undefined ? Object.assign({}, p, { height: p.depth }) : p); } }; })(THREE.TextGeometry);
|
|
566
|
+
</script><script>
|
|
567
|
+
(async function () {
|
|
568
|
+
|
|
569
|
+
var FontLoader = THREE.FontLoader;
|
|
570
|
+
var TextGeometry = THREE.TextGeometry;
|
|
571
|
+
|
|
572
|
+
const host = window.__extrudedLogo;
|
|
573
|
+
const V = host.vars;
|
|
574
|
+
const hex = (v, fallback) => (/^#[0-9a-f]{6}$/i.test(String(v)) ? String(v) : fallback);
|
|
575
|
+
|
|
576
|
+
const renderer = new THREE.WebGLRenderer({
|
|
577
|
+
canvas: document.getElementById("el-canvas"),
|
|
578
|
+
antialias: true,
|
|
579
|
+
alpha: true,
|
|
580
|
+
preserveDrawingBuffer: true,
|
|
581
|
+
});
|
|
582
|
+
renderer.setPixelRatio(1);
|
|
583
|
+
renderer.setSize(1920, 1080, false);
|
|
584
|
+
renderer.outputColorSpace = THREE.SRGBColorSpace;
|
|
585
|
+
renderer.toneMapping = THREE.ACESFilmicToneMapping;
|
|
586
|
+
|
|
587
|
+
const scene = new THREE.Scene();
|
|
588
|
+
// Softbox studio: bright strips on black, so chrome shows crisp bands instead of grey.
|
|
589
|
+
const studio = new THREE.Scene();
|
|
590
|
+
studio.background = new THREE.Color(0x040406);
|
|
591
|
+
const softbox = (w, h, x, y, z, color, power) => {
|
|
592
|
+
const mat = new THREE.MeshBasicMaterial({
|
|
593
|
+
color: new THREE.Color(color).multiplyScalar(power),
|
|
594
|
+
side: THREE.DoubleSide,
|
|
595
|
+
});
|
|
596
|
+
const panel = new THREE.Mesh(new THREE.PlaneGeometry(w, h), mat);
|
|
597
|
+
panel.position.set(x, y, z);
|
|
598
|
+
panel.lookAt(0, 0, 0);
|
|
599
|
+
studio.add(panel);
|
|
600
|
+
};
|
|
601
|
+
softbox(10, 2.2, 0, 7, 1, 0xffffff, 3);
|
|
602
|
+
softbox(1.2, 7, -7, 1, 2, 0xffffff, 2.2);
|
|
603
|
+
softbox(1.2, 7, 7, 1, -1, 0xffffff, 1.6);
|
|
604
|
+
// Behind the camera: the panel the letter faces mirror. Vertical bars sweep across
|
|
605
|
+
// the faces as the word swings.
|
|
606
|
+
const bars = document.createElement("canvas");
|
|
607
|
+
bars.width = 1024;
|
|
608
|
+
bars.height = 256;
|
|
609
|
+
const bg = bars.getContext("2d");
|
|
610
|
+
const fade = bg.createLinearGradient(0, 0, 0, 256);
|
|
611
|
+
fade.addColorStop(0, "#9a9ca3");
|
|
612
|
+
fade.addColorStop(1, "#15161a");
|
|
613
|
+
bg.fillStyle = fade;
|
|
614
|
+
bg.fillRect(0, 0, 1024, 256);
|
|
615
|
+
bg.fillStyle = "#ffffff";
|
|
616
|
+
for (const [x, w] of [
|
|
617
|
+
[150, 60],
|
|
618
|
+
[430, 140],
|
|
619
|
+
[760, 36],
|
|
620
|
+
])
|
|
621
|
+
bg.fillRect(x, 0, w, 256);
|
|
622
|
+
const mirror = new THREE.Mesh(
|
|
623
|
+
new THREE.PlaneGeometry(22, 8),
|
|
624
|
+
new THREE.MeshBasicMaterial({
|
|
625
|
+
map: new THREE.CanvasTexture(bars),
|
|
626
|
+
color: new THREE.Color(2.2, 2.2, 2.2),
|
|
627
|
+
side: THREE.DoubleSide,
|
|
628
|
+
}),
|
|
629
|
+
);
|
|
630
|
+
mirror.position.set(0, 1, 9);
|
|
631
|
+
mirror.lookAt(0, 1, 0);
|
|
632
|
+
studio.add(mirror);
|
|
633
|
+
softbox(9, 1.4, 0, 0.5, -7, hex(V.rim_color, "#fff4e6"), 2);
|
|
634
|
+
const pmrem = new THREE.PMREMGenerator(renderer);
|
|
635
|
+
scene.environment = pmrem.fromScene(studio, 0.01).texture;
|
|
636
|
+
|
|
637
|
+
const camera = new THREE.PerspectiveCamera(26, 1920 / 1080, 0.1, 100);
|
|
638
|
+
camera.position.set(0, 0.9, 11);
|
|
639
|
+
camera.lookAt(0, 0.35, 0);
|
|
640
|
+
|
|
641
|
+
const rim = new THREE.DirectionalLight(new THREE.Color(hex(V.rim_color, "#fff4e6")), 5);
|
|
642
|
+
rim.position.set(0, 3, -6);
|
|
643
|
+
scene.add(rim);
|
|
644
|
+
const key = new THREE.DirectionalLight(0xffffff, 1.4);
|
|
645
|
+
key.position.set(-5, 4, 6);
|
|
646
|
+
scene.add(key);
|
|
647
|
+
|
|
648
|
+
const finishes = {
|
|
649
|
+
chrome: { color: 0xe9ecf2, metalness: 1, roughness: 0.16 },
|
|
650
|
+
gold: { color: 0xe7bf6a, metalness: 1, roughness: 0.2 },
|
|
651
|
+
matte: { color: 0xe8e2d8, metalness: 0, roughness: 0.62 },
|
|
652
|
+
};
|
|
653
|
+
const material = new THREE.MeshStandardMaterial(finishes[V.finish] || finishes.chrome);
|
|
654
|
+
|
|
655
|
+
// Beside this file when mounted; a runtime without assetUrl keeps the plain path.
|
|
656
|
+
const assetUrl = (path) =>
|
|
657
|
+
path;
|
|
658
|
+
// Geist Bold (OFL), basic Latin only, converted to three.js typeface JSON.
|
|
659
|
+
const font = await Promise.resolve(new FontLoader().parse({"glyphs":{"0":{"ha":971,"x_min":65,"x_max":906,"o":"m 486 -22 q 261 40 356 -22 q 116 217 167 101 q 65 492 65 332 q 117 767 65 651 q 262 946 168 883 q 486 1008 356 1008 q 709 946 615 1008 q 854 767 803 883 q 906 492 906 651 q 855 218 906 333 q 710 40 804 103 q 486 -22 615 -22 m 486 156 q 635 240 583 156 q 688 492 688 325 q 665 679 688 604 q 597 792 642 754 q 486 831 551 831 q 374 792 419 831 q 306 679 329 754 q 283 492 283 604 q 335 240 283 325 q 486 156 388 156"},"1":{"ha":624,"x_min":53,"x_max":478,"o":"m 267 0 l 267 649 l 53 649 l 53 803 l 138 803 q 237 820 199 803 q 292 877 275 838 q 310 986 310 917 l 478 986 l 478 0"},"2":{"ha":907,"x_min":81,"x_max":828,"o":"m 81 0 q 115 219 81 126 q 226 386 149 312 q 431 526 303 460 q 538 588 499 561 q 594 643 578 615 q 611 708 611 671 q 595 772 611 744 q 549 815 579 799 q 472 831 518 831 q 353 787 397 831 q 299 660 310 743 l 82 672 q 197 919 96 829 q 469 1008 297 1008 q 663 971 583 1008 q 785 867 743 933 q 828 711 828 800 q 802 581 828 633 q 719 483 776 528 q 569 389 662 439 q 393 272 450 325 q 332 178 336 218 l 828 178 l 828 0"},"3":{"ha":903,"x_min":61,"x_max":842,"o":"m 450 -22 q 167 62 267 -22 q 61 289 68 146 l 276 297 q 328 190 283 224 q 450 156 374 156 q 539 170 500 156 q 601 215 578 185 q 624 292 624 246 q 575 398 624 362 q 443 433 526 433 l 356 433 l 356 590 l 443 590 q 549 617 507 590 q 592 710 592 644 q 557 798 592 765 q 447 831 522 831 q 335 800 372 831 q 289 721 297 769 l 76 732 q 187 933 90 857 q 447 1008 283 1008 q 644 975 564 1008 q 767 879 725 942 q 808 732 808 817 q 751 588 808 644 q 585 510 693 531 l 585 533 q 775 449 708 515 q 842 276 842 382 q 793 116 842 183 q 657 13 744 49 q 450 -22 569 -22"},"4":{"ha":911,"x_min":33,"x_max":850,"o":"m 524 0 l 524 188 l 33 188 l 33 356 l 483 986 l 735 986 l 735 365 l 850 365 l 850 188 l 735 188 l 735 0 m 257 365 l 524 365 l 524 726"},"5":{"ha":932,"x_min":78,"x_max":854,"o":"m 464 -22 q 260 14 343 -22 q 131 117 176 50 q 78 272 85 183 l 292 282 q 348 187 304 218 q 464 156 392 156 q 591 201 544 156 q 638 328 638 247 q 616 419 638 381 q 556 481 594 458 q 462 503 517 503 q 360 476 403 503 q 300 410 317 450 l 89 410 l 157 986 l 786 986 l 786 808 l 336 808 l 300 521 l 276 542 q 335 603 300 578 q 418 644 371 629 q 522 658 465 658 q 699 615 625 658 q 814 497 774 572 q 854 328 854 422 q 806 142 854 221 q 669 20 757 62 q 464 -22 582 -22"},"6":{"ha":918,"x_min":78,"x_max":839,"o":"m 461 -22 q 249 32 335 -22 q 121 188 164 86 q 78 435 78 290 q 103 663 78 558 q 178 845 128 768 q 308 965 229 922 q 494 1008 388 1008 q 723 939 639 1008 q 835 750 807 869 l 639 736 q 590 808 622 782 q 494 835 558 835 q 342 750 397 835 q 279 489 286 665 l 250 494 q 299 569 265 535 q 384 626 332 604 q 506 647 436 647 q 681 607 606 647 q 798 494 757 567 q 839 325 839 422 q 792 137 839 214 q 660 19 744 60 q 461 -22 575 -22 m 460 146 q 583 194 536 146 q 629 322 629 242 q 609 414 629 375 q 552 475 589 453 q 467 497 515 497 q 375 475 415 497 q 312 414 335 453 q 290 322 290 375 q 311 231 290 271 q 370 168 332 190 q 460 146 408 146"},"7":{"ha":756,"x_min":28,"x_max":756,"o":"m 228 0 q 267 296 228 153 q 376 568 306 439 q 542 808 447 697 l 28 808 l 28 986 l 756 986 l 756 821 q 583 581 653 704 q 477 317 512 458 q 442 0 442 175"},"8":{"ha":928,"x_min":50,"x_max":878,"o":"m 464 -22 q 244 10 338 -22 q 101 108 151 43 q 50 268 50 174 q 119 451 50 379 q 304 542 189 522 l 307 514 q 154 590 211 532 q 97 738 97 649 q 140 879 97 818 q 265 974 183 940 q 464 1008 346 1008 q 662 974 581 1008 q 787 879 744 940 q 829 738 829 818 q 773 591 829 649 q 619 514 717 533 l 622 542 q 808 450 739 521 q 878 268 878 379 q 827 108 878 174 q 683 10 776 43 q 464 -22 590 -22 m 464 156 q 606 194 553 156 q 660 300 660 232 q 609 409 660 368 q 464 450 558 450 q 318 409 369 450 q 267 300 267 368 q 321 194 267 232 q 464 156 375 156 m 464 599 q 574 627 535 599 q 614 715 614 656 q 576 800 614 768 q 464 832 538 832 q 351 800 390 832 q 312 715 312 768 q 353 627 312 656 q 464 599 393 599"},"9":{"ha":924,"x_min":78,"x_max":846,"o":"m 436 -22 q 215 41 300 -22 q 94 222 131 104 l 297 235 q 347 173 312 194 q 436 151 382 151 q 590 228 540 151 q 639 482 639 304 l 667 469 q 565 358 629 396 q 406 321 500 321 q 235 362 308 321 q 119 478 161 403 q 78 651 78 553 q 124 841 78 761 q 253 965 169 921 q 447 1008 336 1008 q 670 952 582 1008 q 802 789 758 896 q 846 528 846 682 q 821 297 846 399 q 747 124 796 194 q 620 15 697 53 q 436 -22 543 -22 m 451 472 q 542 494 504 472 q 601 557 581 517 q 622 654 622 597 q 602 752 622 710 q 544 817 582 794 q 454 840 507 840 q 367 817 404 840 q 309 753 329 794 q 289 656 289 711 q 310 558 289 599 q 367 495 331 518 q 451 472 403 472"}," ":{"ha":317,"x_min":0,"x_max":0,"o":""},"!":{"ha":357,"x_min":65,"x_max":292,"o":"m 111 315 q 96 429 104 362 q 82 565 88 496 q 76 689 76 633 l 76 986 l 286 986 l 286 689 q 281 565 286 633 q 267 429 275 496 q 253 315 260 362 m 65 0 l 65 212 l 292 212 l 292 0"},"\"":{"ha":542,"x_min":58,"x_max":483,"o":"m 88 599 l 58 869 l 58 986 l 224 986 l 214 599 m 328 599 l 318 986 l 483 986 l 483 869 l 454 599"},"#":{"ha":818,"x_min":4,"x_max":810,"o":"m 403 0 l 554 986 l 744 986 l 593 0 m 4 226 l 28 393 l 758 393 l 735 226 m 69 0 l 222 986 l 412 986 l 260 0 m 57 585 l 81 750 l 810 750 l 786 585"},"$":{"ha":931,"x_min":72,"x_max":858,"o":"m 415 -125 l 415 1111 l 529 1111 l 529 -125 m 485 -15 q 270 27 360 -15 q 130 146 181 69 q 72 324 79 222 l 281 335 q 314 238 289 278 q 381 177 339 197 q 488 157 424 157 q 575 169 539 157 q 630 206 611 181 q 649 268 649 231 q 633 327 649 301 q 570 374 617 353 q 433 415 524 396 q 235 478 310 443 q 126 568 160 514 q 92 704 92 622 q 135 856 92 790 q 259 958 178 921 q 453 994 340 994 q 656 953 572 994 q 785 838 739 911 q 843 667 832 764 l 636 658 q 608 744 631 707 q 545 803 585 782 q 450 824 506 824 q 340 792 381 824 q 300 711 300 761 q 317 651 300 675 q 378 609 335 626 q 500 575 422 592 q 713 507 635 549 q 825 408 792 465 q 858 278 858 351 q 812 122 858 188 q 683 20 767 56 q 485 -15 599 -15"},"%":{"ha":1146,"x_min":51,"x_max":1096,"o":"m 282 508 q 117 569 182 508 q 51 753 51 629 q 117 938 51 878 q 282 997 182 997 q 447 938 382 997 q 511 753 511 878 q 447 569 511 629 q 282 508 382 508 m 282 614 q 349 649 326 614 q 371 753 371 683 q 349 857 371 822 q 282 892 326 892 q 216 857 239 892 q 193 753 193 822 q 216 649 193 683 q 282 614 239 614 m 865 -11 q 700 49 765 -11 q 635 233 635 110 q 700 418 635 358 q 865 478 765 478 q 1031 418 965 478 q 1096 233 1096 358 q 1031 49 1096 110 q 865 -11 965 -11 m 865 94 q 932 129 910 94 q 954 233 954 164 q 932 338 954 303 q 865 372 910 372 q 799 338 822 372 q 776 233 776 303 q 799 129 776 164 q 865 94 822 94 m 182 0 l 838 986 l 965 986 l 310 0"},"&":{"ha":985,"x_min":50,"x_max":964,"o":"m 403 -22 q 140 47 231 -22 q 50 243 50 115 q 70 357 50 307 q 136 451 90 407 q 256 540 182 496 q 201 609 224 575 q 165 678 178 643 q 153 757 153 714 q 230 940 153 872 q 451 1008 307 1008 q 617 978 550 1008 q 717 894 683 947 q 750 772 750 840 q 698 624 750 685 q 538 503 646 564 l 693 308 q 729 456 728 360 l 940 435 q 906 282 935 356 q 829 156 876 208 l 964 0 l 718 0 l 682 43 q 565 -4 638 14 q 403 -22 492 -22 m 419 158 q 497 168 465 158 q 546 192 528 178 l 365 414 q 290 346 314 381 q 267 267 267 311 q 306 188 267 218 q 419 158 346 158 m 431 625 q 491 666 468 646 q 525 707 514 686 q 536 754 536 728 q 515 810 536 790 q 456 831 493 831 q 391 808 414 831 q 368 749 368 786 q 374 710 368 729 q 394 671 379 692 q 431 625 408 650"},"'":{"ha":282,"x_min":58,"x_max":224,"o":"m 79 599 l 58 869 l 58 986 l 224 986 l 224 869 l 203 599"},"(":{"ha":449,"x_min":58,"x_max":432,"o":"m 246 -153 q 58 444 58 143 q 246 1042 58 747 l 432 1042 q 264 444 264 743 q 306 147 264 296 q 432 -153 349 -3"},")":{"ha":449,"x_min":17,"x_max":390,"o":"m 201 -153 l 17 -153 q 143 147 101 -3 q 185 444 185 296 q 17 1042 185 743 l 201 1042 q 390 444 390 747 q 201 -153 390 143"},"*":{"ha":586,"x_min":51,"x_max":535,"o":"m 222 504 l 114 567 l 193 688 l 51 685 l 51 824 l 193 822 l 114 943 l 222 1004 l 293 879 l 365 1004 l 474 943 l 393 822 l 535 824 l 535 685 l 393 688 l 474 567 l 365 504 l 293 631"},"+":{"ha":792,"x_min":56,"x_max":736,"o":"m 311 58 l 311 739 l 481 739 l 481 58 m 56 314 l 56 482 l 736 482 l 736 314"},",":{"ha":328,"x_min":51,"x_max":278,"o":"m 67 -219 l 142 0 l 51 0 l 51 212 l 278 212 l 278 22 l 181 -219"},"-":{"ha":579,"x_min":51,"x_max":528,"o":"m 51 319 l 51 490 l 528 490 l 528 319"},".":{"ha":328,"x_min":51,"x_max":278,"o":"m 51 0 l 51 212 l 278 212 l 278 0"},"/":{"ha":725,"x_min":44,"x_max":661,"o":"m 44 -153 l 456 1042 l 661 1042 l 250 -153"},":":{"ha":432,"x_min":103,"x_max":329,"o":"m 103 0 l 103 212 l 329 212 l 329 0 m 103 494 l 103 707 l 329 707 l 329 494"},";":{"ha":432,"x_min":103,"x_max":329,"o":"m 103 494 l 103 707 l 329 707 l 329 494 m 118 -219 l 193 0 l 103 0 l 103 212 l 329 212 l 329 22 l 232 -219"},"<":{"ha":764,"x_min":56,"x_max":694,"o":"m 694 31 l 56 301 l 56 510 l 694 781 l 694 600 l 140 367 l 140 444 l 694 211"},"=":{"ha":767,"x_min":56,"x_max":711,"o":"m 56 482 l 56 651 l 711 651 l 711 482 m 56 162 l 56 331 l 711 331 l 711 162"},">":{"ha":764,"x_min":69,"x_max":708,"o":"m 69 31 l 69 211 l 624 444 l 624 367 l 69 600 l 69 781 l 708 510 l 708 301"},"?":{"ha":821,"x_min":51,"x_max":771,"o":"m 301 311 q 333 483 301 424 q 438 578 364 542 q 515 624 489 604 q 549 667 540 644 q 557 719 557 689 q 523 803 557 771 q 426 836 489 836 q 316 798 356 836 q 268 685 276 760 l 51 696 q 106 857 60 786 q 232 968 151 928 q 426 1008 312 1008 q 615 971 539 1008 q 731 868 692 933 q 771 719 771 803 q 753 618 771 660 q 699 543 736 576 q 599 475 661 510 q 528 411 549 444 q 508 311 508 378 m 289 0 l 289 212 l 515 212 l 515 0"},"@":{"ha":1336,"x_min":58,"x_max":1278,"o":"m 946 -101 q 780 -151 862 -135 q 608 -168 697 -168 q 312 -108 435 -168 q 124 66 189 -49 q 58 342 58 181 q 106 604 58 486 q 240 808 153 722 q 447 940 326 894 q 714 986 567 986 q 1010 925 883 986 q 1208 753 1138 864 q 1278 494 1278 643 q 1240 290 1278 376 q 1137 156 1203 203 q 983 108 1071 108 q 855 151 903 108 q 801 264 807 194 l 838 269 q 788 185 825 224 q 701 124 750 146 q 600 101 651 101 q 464 133 521 101 q 378 224 407 165 q 349 361 349 282 q 385 534 349 458 q 485 654 421 610 q 635 699 550 699 q 768 662 712 699 q 835 569 824 626 l 807 568 l 817 689 l 974 689 l 949 415 q 943 349 946 383 q 940 292 940 314 q 958 248 940 264 q 1006 232 975 232 q 1109 297 1071 232 q 1147 478 1147 361 q 1098 692 1147 606 q 951 821 1049 778 q 707 864 854 864 q 497 827 592 864 q 333 722 403 790 q 227 560 264 654 q 190 350 190 465 q 240 137 190 225 q 383 1 289 49 q 612 -46 478 -46 q 768 -32 696 -46 q 914 14 840 -18 m 643 239 q 723 264 690 239 q 773 331 756 289 q 790 422 790 372 q 778 495 790 464 q 739 544 765 526 q 671 561 712 561 q 594 537 626 561 q 545 470 562 512 q 528 375 528 428 q 556 276 528 314 q 643 239 583 239"},"A":{"ha":1014,"x_min":26,"x_max":988,"o":"m 26 0 l 382 986 l 632 986 l 988 0 l 768 0 l 696 210 l 317 210 l 244 0 m 376 383 l 638 383 l 507 764"},"B":{"ha":976,"x_min":103,"x_max":906,"o":"m 103 0 l 103 986 l 486 986 q 767 922 669 986 q 864 718 864 857 q 839 612 864 657 q 766 540 814 567 q 650 508 718 514 l 650 511 q 840 440 774 503 q 906 272 906 376 q 809 67 906 135 q 533 0 712 0 m 314 172 l 524 172 q 647 203 600 172 q 693 297 693 235 q 647 392 693 360 q 524 425 600 425 l 314 425 m 314 578 l 481 578 q 605 608 558 578 q 651 696 651 639 q 606 785 651 757 q 481 814 561 814 l 314 814"},"C":{"ha":1019,"x_min":58,"x_max":968,"o":"m 521 -22 q 281 39 386 -22 q 117 215 176 100 q 58 492 58 331 q 115 765 58 649 q 278 944 172 881 q 525 1008 383 1008 q 826 913 718 1008 q 964 642 933 818 l 744 633 q 672 778 728 726 q 525 831 617 831 q 390 789 446 831 q 306 671 335 747 q 276 492 276 594 q 306 312 276 388 q 392 196 336 236 q 524 156 447 156 q 678 212 624 156 q 747 368 733 268 l 968 360 q 892 154 949 239 q 742 24 835 69 q 521 -22 650 -22"},"D":{"ha":1000,"x_min":103,"x_max":942,"o":"m 103 0 l 103 986 l 443 986 q 812 858 683 986 q 942 492 942 729 q 815 128 942 256 q 451 0 688 0 m 314 178 l 443 178 q 655 255 586 178 q 724 493 724 332 q 655 731 724 654 q 443 808 586 808 l 314 808"},"E":{"ha":864,"x_min":103,"x_max":800,"o":"m 103 0 l 103 986 l 789 986 l 789 808 l 314 808 l 314 582 l 772 582 l 772 407 l 314 407 l 314 178 l 800 178 l 800 0"},"F":{"ha":839,"x_min":103,"x_max":783,"o":"m 103 0 l 103 986 l 783 986 l 783 808 l 197 808 l 314 929 l 314 478 l 197 569 l 758 569 l 758 394 l 197 394 l 314 486 l 314 0"},"G":{"ha":1025,"x_min":58,"x_max":960,"o":"m 514 -22 q 269 43 371 -22 q 113 224 168 108 q 58 492 58 340 q 114 757 58 640 q 274 941 169 874 q 526 1008 379 1008 q 742 966 654 1008 q 883 846 831 924 q 957 662 936 768 l 739 653 q 674 783 724 735 q 528 831 625 831 q 387 786 443 831 q 303 665 331 742 q 276 492 276 589 q 303 317 276 393 q 387 199 331 242 q 532 156 443 156 q 645 182 597 156 q 720 254 693 208 q 753 358 747 300 l 528 358 l 528 512 l 960 512 l 960 0 l 829 0 l 818 211 l 843 200 q 782 85 829 135 q 666 6 735 35 q 514 -22 597 -22"},"H":{"ha":1001,"x_min":103,"x_max":899,"o":"m 103 0 l 103 986 l 314 986 l 314 518 l 221 585 l 782 585 l 688 518 l 688 986 l 899 986 l 899 0 l 688 0 l 688 474 l 782 407 l 221 407 l 314 474 l 314 0"},"I":{"ha":417,"x_min":103,"x_max":314,"o":"m 103 0 l 103 986 l 314 986 l 314 0"},"J":{"ha":871,"x_min":68,"x_max":789,"o":"m 429 -22 q 234 26 314 -22 q 112 159 154 75 q 68 351 69 243 l 281 361 q 321 206 282 256 q 429 156 360 156 q 539 204 500 156 q 578 354 578 253 l 578 986 l 789 986 l 789 354 q 744 154 789 239 q 618 24 699 69 q 429 -22 538 -22"},"K":{"ha":957,"x_min":103,"x_max":940,"o":"m 103 0 l 103 986 l 314 986 l 314 556 l 672 986 l 918 986 l 556 551 l 940 0 l 700 0 l 417 410 l 314 290 l 314 0"},"L":{"ha":818,"x_min":103,"x_max":768,"o":"m 103 0 l 103 986 l 314 986 l 314 57 l 197 178 l 768 178 l 768 0"},"M":{"ha":1271,"x_min":103,"x_max":1168,"o":"m 103 0 l 103 986 l 385 986 l 636 268 l 886 986 l 1168 986 l 1168 0 l 957 0 l 957 639 l 725 3 l 544 3 l 314 639 l 314 0"},"N":{"ha":1042,"x_min":103,"x_max":939,"o":"m 103 0 l 103 986 l 336 986 l 728 306 l 728 986 l 939 986 l 939 0 l 703 0 l 314 657 l 314 0"},"O":{"ha":1078,"x_min":58,"x_max":1019,"o":"m 539 -22 q 281 40 389 -22 q 116 218 174 103 q 58 492 58 333 q 116 766 58 650 q 281 945 174 882 q 539 1008 389 1008 q 797 945 689 1008 q 962 766 904 882 q 1019 492 1019 650 q 962 218 1019 333 q 797 40 904 103 q 539 -22 689 -22 m 538 156 q 680 195 621 156 q 770 310 739 235 q 801 492 801 385 q 770 674 801 599 q 680 790 739 750 q 538 831 621 831 q 397 790 456 831 q 308 674 339 750 q 276 492 276 599 q 308 310 276 385 q 398 195 339 235 q 538 156 457 156"},"P":{"ha":933,"x_min":103,"x_max":876,"o":"m 103 0 l 103 986 l 497 986 q 776 900 675 986 q 876 664 876 814 q 831 492 876 565 q 701 380 786 419 q 497 340 615 340 l 314 340 l 314 0 m 314 518 l 485 518 q 614 555 568 518 q 660 664 660 592 q 615 772 660 735 q 485 808 569 808 l 314 808"},"Q":{"ha":1068,"x_min":58,"x_max":1010,"o":"m 788 -86 l 711 10 q 634 -14 679 -6 q 535 -22 589 -22 q 282 44 389 -22 q 117 226 175 110 q 58 492 58 342 q 113 756 58 639 q 274 940 168 872 q 535 1008 381 1008 q 795 940 689 1008 q 956 756 901 872 q 1010 492 1010 639 q 963 250 1010 354 q 831 76 917 146 l 961 -86 m 535 156 q 568 158 553 156 q 597 165 583 160 l 460 333 l 635 333 l 707 238 q 770 338 749 276 q 792 492 792 400 q 765 659 792 582 q 681 783 738 736 q 535 831 624 831 q 388 783 444 831 q 303 659 331 736 q 276 492 276 582 q 303 326 276 403 q 388 202 331 249 q 535 156 446 156"},"R":{"ha":968,"x_min":103,"x_max":899,"o":"m 103 0 l 103 986 l 535 986 q 723 950 643 986 q 846 848 803 914 q 889 692 889 782 q 860 571 889 624 q 783 485 832 518 q 669 443 733 451 l 665 456 q 815 413 764 456 q 874 283 867 371 l 899 0 l 683 0 l 665 250 q 630 334 661 307 q 524 361 599 361 l 314 361 l 314 0 m 314 538 l 511 538 q 630 573 588 538 q 672 674 672 608 q 629 774 672 740 q 504 808 586 808 l 314 808"},"S":{"ha":946,"x_min":72,"x_max":874,"o":"m 493 -22 q 274 21 365 -22 q 131 142 182 64 q 72 325 79 219 l 285 335 q 319 235 293 276 q 388 174 344 194 q 496 153 432 153 q 585 165 549 153 q 642 203 622 178 q 661 267 661 229 q 644 327 661 301 q 581 374 628 353 q 442 417 533 396 q 238 482 315 446 q 126 573 161 518 q 92 711 92 628 q 135 867 92 800 q 262 971 179 933 q 461 1008 346 1008 q 668 965 583 1008 q 801 847 753 922 q 858 675 849 772 l 647 664 q 619 753 643 715 q 556 812 596 792 q 458 833 515 833 q 345 801 386 833 q 304 718 304 769 q 323 658 304 682 q 385 615 342 633 q 510 581 429 597 q 727 510 647 553 q 840 410 807 468 q 874 276 874 351 q 827 117 874 185 q 695 14 781 50 q 493 -22 610 -22"},"T":{"ha":832,"x_min":15,"x_max":818,"o":"m 310 0 l 310 808 l 15 808 l 15 986 l 818 986 l 818 808 l 522 808 l 522 0"},"U":{"ha":976,"x_min":82,"x_max":894,"o":"m 489 -22 q 273 24 364 -22 q 132 155 182 69 q 82 356 82 240 l 82 988 l 293 988 l 293 356 q 344 208 293 260 q 489 156 394 156 q 633 208 583 156 q 683 356 683 260 l 683 988 l 894 988 l 894 356 q 845 155 894 240 q 704 24 796 69 q 489 -22 612 -22"},"V":{"ha":1014,"x_min":26,"x_max":988,"o":"m 382 0 l 26 986 l 244 986 l 507 238 l 769 986 l 988 986 l 631 0"},"W":{"ha":1410,"x_min":51,"x_max":1358,"o":"m 318 0 l 51 986 l 272 986 l 442 292 l 612 986 l 797 986 l 969 292 l 1138 986 l 1358 986 l 1093 0 l 865 0 l 704 631 l 543 0"},"X":{"ha":956,"x_min":17,"x_max":939,"o":"m 17 0 l 351 494 l 19 986 l 264 986 l 479 654 l 689 986 l 935 986 l 603 497 l 939 0 l 693 0 l 476 338 l 262 0"},"Y":{"ha":876,"x_min":-10,"x_max":886,"o":"m 333 0 l 333 383 l -10 986 l 224 986 l 439 589 l 653 986 l 886 986 l 544 383 l 544 0"},"Z":{"ha":825,"x_min":38,"x_max":788,"o":"m 38 0 l 38 172 l 507 808 l 60 808 l 60 986 l 769 986 l 769 814 l 290 178 l 788 178 l 788 0"},"[":{"ha":542,"x_min":103,"x_max":525,"o":"m 525 -153 l 103 -153 l 103 1042 l 525 1042 l 525 878 l 303 878 l 303 11 l 525 11"},"\\":{"ha":696,"x_min":39,"x_max":657,"o":"m 657 -153 l 450 -153 l 39 1042 l 244 1042"},"]":{"ha":542,"x_min":17,"x_max":439,"o":"m 17 -153 l 17 11 l 239 11 l 239 878 l 17 878 l 17 1042 l 439 1042 l 439 -153"},"^":{"ha":640,"x_min":56,"x_max":585,"o":"m 56 532 l 222 935 l 418 935 l 585 532 l 435 532 l 300 849 l 340 849 l 207 532"},"_":{"ha":779,"x_min":51,"x_max":728,"o":"m 51 -168 l 51 0 l 728 0 l 728 -168"},"`":{"ha":386,"x_min":51,"x_max":335,"o":"m 176 831 l 51 1035 l 253 1035 l 335 831"},"a":{"ha":825,"x_min":51,"x_max":807,"o":"m 312 -17 q 124 37 197 -17 q 51 186 51 90 q 113 338 51 285 q 296 417 175 392 l 536 464 q 503 573 536 536 q 410 610 471 610 q 317 583 350 610 q 274 503 283 556 l 64 512 q 174 698 85 635 q 410 761 264 761 q 660 682 576 761 q 744 450 744 603 l 744 196 q 755 153 744 164 q 786 143 765 143 l 807 143 l 807 0 q 776 -6 797 -3 q 733 -8 754 -8 q 651 7 689 -8 q 589 59 612 22 q 565 164 565 96 l 583 150 q 534 62 569 100 q 442 4 499 25 q 312 -17 386 -17 m 362 126 q 453 147 414 126 q 514 206 492 167 q 536 297 536 244 l 536 333 l 367 297 q 291 265 317 288 q 265 206 265 242 q 290 147 265 168 q 362 126 315 126"},"b":{"ha":881,"x_min":92,"x_max":829,"o":"m 519 -17 q 384 17 442 -17 q 294 110 326 50 l 290 0 l 92 0 l 92 986 l 300 986 l 300 639 q 386 726 329 690 q 519 761 443 761 q 683 713 614 761 q 791 578 753 665 q 829 372 829 490 q 791 167 829 254 q 683 31 753 79 q 519 -17 614 -17 m 461 143 q 573 203 531 143 q 615 372 615 264 q 574 541 615 481 q 462 601 532 601 q 374 574 411 601 q 319 496 338 547 q 300 372 300 444 q 319 250 300 301 q 374 171 338 199 q 461 143 411 143"},"c":{"ha":831,"x_min":51,"x_max":793,"o":"m 429 -17 q 231 31 315 -17 q 99 167 146 79 q 51 372 51 254 q 99 577 51 490 q 231 712 146 664 q 429 761 315 761 q 606 726 528 761 q 733 626 685 692 q 793 469 782 561 l 578 460 q 528 565 568 529 q 429 600 489 600 q 308 540 351 600 q 265 372 265 481 q 308 203 265 264 q 429 143 351 143 q 529 180 489 143 q 578 292 569 217 l 793 283 q 735 124 783 192 q 609 20 688 57 q 429 -17 531 -17"},"d":{"ha":881,"x_min":51,"x_max":789,"o":"m 357 -17 q 194 31 262 -17 q 88 166 125 79 q 51 372 51 253 q 89 578 51 492 q 195 713 126 665 q 357 761 264 761 q 494 728 436 761 q 581 639 551 696 l 581 986 l 789 986 l 789 0 l 590 0 l 586 110 q 495 17 556 50 q 357 -17 435 -17 m 425 143 q 510 169 475 143 q 562 247 544 196 q 581 372 581 297 q 562 499 581 449 q 510 576 544 550 q 425 601 475 601 q 308 540 351 601 q 265 372 265 478 q 309 206 265 268 q 425 143 353 143"},"e":{"ha":840,"x_min":51,"x_max":790,"o":"m 426 -17 q 228 31 312 -17 q 98 167 144 79 q 51 372 51 254 q 98 577 51 490 q 228 712 144 664 q 425 761 311 761 q 618 712 536 761 q 745 574 700 664 q 790 358 790 483 l 790 317 l 267 317 q 315 185 271 228 q 431 142 358 142 q 519 164 483 142 q 569 232 554 186 l 779 219 q 656 46 750 108 q 426 -17 561 -17 m 267 444 l 576 444 q 531 567 572 526 q 425 607 490 607 q 317 565 360 607 q 267 444 275 522"},"f":{"ha":621,"x_min":64,"x_max":576,"o":"m 172 0 l 172 754 q 232 926 172 865 q 418 986 292 986 l 576 986 l 576 831 l 462 831 q 400 809 419 831 q 381 744 381 788 l 381 0 m 64 561 l 64 717 l 565 717 l 565 561"},"g":{"ha":881,"x_min":51,"x_max":789,"o":"m 425 -225 q 247 -199 318 -225 q 133 -125 175 -172 q 74 -17 90 -78 l 288 -1 q 330 -58 299 -38 q 425 -79 361 -79 q 540 -44 500 -79 q 579 69 579 -8 l 579 149 q 494 66 553 97 q 364 35 436 35 q 201 80 272 35 q 91 206 131 125 q 51 397 51 288 q 91 586 51 504 q 201 715 131 668 q 361 761 271 761 q 499 725 443 761 q 585 629 556 689 l 585 744 l 789 744 l 789 74 q 743 -92 789 -26 q 615 -192 697 -158 q 425 -225 533 -225 m 424 189 q 538 244 496 189 q 581 399 581 300 q 562 511 581 464 q 508 583 543 558 q 424 608 472 608 q 307 551 349 608 q 265 399 265 494 q 308 245 265 301 q 424 189 351 189"},"h":{"ha":849,"x_min":92,"x_max":757,"o":"m 92 0 l 92 986 l 300 986 l 300 571 l 272 571 q 316 678 283 636 q 398 740 349 719 q 506 761 447 761 q 644 725 589 761 q 728 625 700 689 q 757 479 757 561 l 757 0 l 549 0 l 549 429 q 523 554 549 512 q 436 596 497 596 q 336 553 372 596 q 300 424 300 510 l 300 0"},"i":{"ha":390,"x_min":88,"x_max":303,"o":"m 92 0 l 92 744 l 300 744 l 300 0 m 88 836 l 88 1003 l 303 1003 l 303 836"},"j":{"ha":460,"x_min":-4,"x_max":372,"o":"m -4 -208 l -4 -53 l 78 -53 q 140 -36 119 -53 q 160 31 160 -19 l 160 744 l 369 744 l 369 25 q 313 -154 369 -100 q 121 -208 257 -208 m 157 836 l 157 1003 l 372 1003 l 372 836"},"k":{"ha":899,"x_min":92,"x_max":835,"o":"m 92 0 l 92 986 l 300 986 l 300 439 l 576 744 l 826 744 l 538 438 l 835 0 l 607 0 l 403 319 l 300 210 l 300 0"},"l":{"ha":435,"x_min":92,"x_max":410,"o":"m 286 0 q 143 46 194 0 q 92 194 92 92 l 92 986 l 300 986 l 300 217 q 315 169 300 183 q 360 156 331 156 l 410 156 l 410 0"},"m":{"ha":1250,"x_min":92,"x_max":1158,"o":"m 92 0 l 92 744 l 279 744 l 286 565 l 267 574 q 313 675 282 633 q 389 739 344 717 q 486 761 433 761 q 637 707 579 761 q 711 561 694 653 l 685 560 q 728 670 697 625 q 806 738 760 715 q 908 761 851 761 q 1042 729 986 761 q 1128 634 1097 697 q 1158 479 1158 571 l 1158 0 l 950 0 l 950 421 q 924 552 950 508 q 838 596 897 596 q 774 575 800 596 q 733 515 747 554 q 718 418 718 475 l 718 0 l 531 0 l 531 418 q 506 550 531 504 q 419 596 481 596 q 355 575 382 596 q 314 514 328 554 q 300 418 300 474 l 300 0"},"n":{"ha":849,"x_min":92,"x_max":757,"o":"m 92 0 l 92 744 l 279 744 l 288 526 l 261 533 q 306 667 272 617 q 392 739 340 717 q 504 761 443 761 q 641 726 585 761 q 727 628 697 692 q 757 479 757 565 l 757 0 l 549 0 l 549 410 q 539 511 549 469 q 504 574 529 553 q 435 596 479 596 q 335 548 369 596 q 300 410 300 500 l 300 0"},"o":{"ha":858,"x_min":51,"x_max":807,"o":"m 429 -17 q 231 31 315 -17 q 99 167 146 79 q 51 372 51 254 q 99 577 51 490 q 231 712 146 664 q 429 761 315 761 q 628 712 543 761 q 760 577 712 664 q 807 372 807 490 q 760 167 807 254 q 628 31 712 79 q 429 -17 543 -17 m 429 143 q 550 203 507 143 q 593 372 593 264 q 550 541 593 481 q 429 601 507 601 q 308 541 351 601 q 265 372 265 481 q 308 203 265 264 q 429 143 351 143"},"p":{"ha":881,"x_min":92,"x_max":829,"o":"m 92 -208 l 92 744 l 292 744 l 296 588 l 279 594 q 369 718 307 675 q 515 761 432 761 q 689 710 619 761 q 794 570 758 658 q 829 372 829 482 q 794 175 829 264 q 688 35 758 86 q 514 -17 618 -17 q 412 3 460 -17 q 331 60 365 24 q 282 146 297 96 l 300 157 l 300 -208 m 457 143 q 573 204 531 143 q 615 372 615 265 q 573 540 615 479 q 457 601 531 601 q 373 576 408 601 q 319 499 338 550 q 300 372 300 447 q 319 246 300 297 q 373 169 338 194 q 457 143 408 143"},"q":{"ha":881,"x_min":51,"x_max":789,"o":"m 789 -208 l 581 -208 l 581 157 l 599 146 q 549 60 583 96 q 468 3 515 24 q 367 -17 421 -17 q 192 35 262 -17 q 87 175 122 86 q 51 372 51 264 q 87 570 51 482 q 192 710 122 658 q 365 761 261 761 q 512 718 450 761 q 601 594 575 675 l 585 588 l 589 744 l 789 744 m 424 143 q 508 169 474 143 q 562 246 543 194 q 581 372 581 297 q 562 499 581 447 q 508 576 543 550 q 424 601 472 601 q 308 540 350 601 q 265 372 265 479 q 308 204 265 265 q 424 143 350 143"},"r":{"ha":590,"x_min":92,"x_max":539,"o":"m 92 0 l 92 744 l 289 744 l 296 528 l 281 532 q 344 694 299 644 q 471 744 390 744 l 539 744 l 539 572 l 471 572 q 375 557 412 572 q 319 508 338 542 q 300 418 300 475 l 300 0"},"s":{"ha":793,"x_min":51,"x_max":743,"o":"m 410 -17 q 217 16 294 -17 q 98 105 139 49 q 51 235 57 161 l 262 242 q 307 160 272 189 q 410 131 342 131 q 497 149 465 131 q 528 204 528 167 q 517 244 528 228 q 473 272 506 260 q 376 293 440 283 q 192 342 258 314 q 97 414 125 369 q 69 522 69 458 q 152 695 69 629 q 400 761 235 761 q 577 728 506 761 q 688 637 649 694 q 738 506 728 579 l 528 497 q 506 559 524 533 q 462 599 489 585 q 399 614 436 614 q 313 591 343 614 q 283 531 283 568 q 297 485 283 503 q 340 457 310 468 q 422 439 371 446 q 612 392 542 422 q 712 318 682 362 q 743 208 743 274 q 701 86 743 136 q 585 10 660 36 q 410 -17 511 -17"},"t":{"ha":618,"x_min":57,"x_max":581,"o":"m 400 0 q 231 53 285 0 q 176 224 176 107 l 176 919 l 385 919 l 385 249 q 408 175 385 194 q 476 156 431 156 l 581 156 l 581 0 m 57 589 l 57 744 l 581 744 l 581 589"},"u":{"ha":843,"x_min":92,"x_max":753,"o":"m 336 -17 q 156 58 221 -17 q 92 265 92 132 l 92 744 l 300 744 l 300 314 q 326 188 300 228 q 410 149 353 149 q 509 192 474 149 q 544 324 544 236 l 544 744 l 753 744 l 753 0 l 562 0 l 557 214 l 583 208 q 504 40 567 97 q 336 -17 442 -17"},"v":{"ha":846,"x_min":29,"x_max":817,"o":"m 301 0 l 29 744 l 247 744 l 424 210 l 599 744 l 817 744 l 543 0"},"w":{"ha":1179,"x_min":29,"x_max":1150,"o":"m 250 0 l 29 744 l 239 744 l 367 240 l 504 744 l 674 744 l 811 240 l 940 744 l 1150 744 l 929 0 l 726 0 l 589 465 l 451 0"},"x":{"ha":903,"x_min":64,"x_max":839,"o":"m 64 0 l 329 378 l 71 744 l 292 744 l 451 506 l 606 744 l 832 744 l 575 376 l 839 0 l 618 0 l 454 253 l 289 0"},"y":{"ha":814,"x_min":29,"x_max":785,"o":"m 153 -208 l 153 -53 l 251 -53 q 305 -42 288 -53 q 332 -6 322 -32 l 347 38 l 290 38 l 29 744 l 242 744 l 412 232 l 572 744 l 785 744 l 499 -71 q 426 -176 474 -144 q 294 -208 379 -208"},"z":{"ha":826,"x_min":78,"x_max":749,"o":"m 78 0 l 78 164 l 488 589 l 94 589 l 94 744 l 738 744 l 738 581 l 321 156 l 749 156 l 749 0"},"{":{"ha":567,"x_min":58,"x_max":550,"o":"m 462 -174 q 257 -100 331 -174 q 183 89 183 -26 l 183 204 q 170 296 183 262 q 129 344 157 329 q 58 358 101 358 l 58 522 q 129 536 101 522 q 170 584 157 550 q 183 676 183 618 l 183 792 q 257 980 183 907 q 462 1053 331 1053 l 550 1053 l 550 874 q 422 850 462 878 q 382 758 382 822 l 382 662 q 334 508 382 564 q 222 444 286 453 l 222 436 q 335 373 288 429 q 382 218 382 317 l 382 121 q 422 27 382 57 q 550 0 462 -3 l 550 -174"},"|":{"ha":408,"x_min":103,"x_max":306,"o":"m 103 -153 l 103 1042 l 306 1042 l 306 -153"},"}":{"ha":567,"x_min":17,"x_max":508,"o":"m 104 -174 l 17 -174 l 17 0 q 144 27 104 -3 q 183 121 183 57 l 183 218 q 231 373 183 317 q 344 436 279 429 l 344 444 q 232 508 281 453 q 183 662 183 564 l 183 758 q 144 850 183 822 q 17 874 104 878 l 17 1053 l 104 1053 q 310 980 238 1053 q 382 792 382 907 l 382 676 q 395 584 382 618 q 436 536 408 550 q 508 522 464 522 l 508 358 q 436 344 464 358 q 395 296 408 329 q 382 204 382 262 l 382 89 q 310 -100 382 -26 q 104 -174 238 -174"},"~":{"ha":726,"x_min":56,"x_max":671,"o":"m 478 333 q 404 348 435 333 q 340 399 374 362 q 305 435 318 424 q 283 451 292 447 q 261 454 274 454 q 219 426 233 454 q 204 340 204 397 l 56 340 q 108 524 56 457 q 250 592 160 592 q 326 575 294 592 q 389 524 357 558 q 433 481 418 490 q 467 471 447 471 q 509 499 496 471 q 522 585 522 528 l 671 585 q 619 401 671 468 q 478 333 567 333"}},"familyName":"Geist Bold","ascender":1396,"descender":-410,"underlinePosition":-100,"underlineThickness":50,"boundingBox":{"xMin":-200,"xMax":2338,"yMin":-253,"yMax":958},"resolution":1000,"original_font_information":{"copyright":"Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)","licence_url":"https://openfontlicense.org"},"cssFontWeight":"bold","cssFontStyle":"normal"}));
|
|
660
|
+
const text = String(V.text || "NOVA")
|
|
661
|
+
.toUpperCase()
|
|
662
|
+
.slice(0, 8)
|
|
663
|
+
.split("");
|
|
664
|
+
const SIZE = 1.5;
|
|
665
|
+
const scale = SIZE / font.data.resolution;
|
|
666
|
+
const tracking = 0.08;
|
|
667
|
+
const word = new THREE.Group();
|
|
668
|
+
scene.add(word);
|
|
669
|
+
|
|
670
|
+
// One mesh per letter, pivoting on its baseline so each can flip up on its own beat.
|
|
671
|
+
const letters = [];
|
|
672
|
+
let cursor = 0;
|
|
673
|
+
for (const ch of text) {
|
|
674
|
+
const advance = ((font.data.glyphs[ch] || font.data.glyphs["?"]).ha || 600) * scale;
|
|
675
|
+
if (ch.trim()) {
|
|
676
|
+
const geometry = new TextGeometry(ch, {
|
|
677
|
+
font,
|
|
678
|
+
size: SIZE,
|
|
679
|
+
depth: 0.42,
|
|
680
|
+
curveSegments: 10,
|
|
681
|
+
bevelEnabled: true,
|
|
682
|
+
bevelThickness: 0.06,
|
|
683
|
+
bevelSize: 0.035,
|
|
684
|
+
bevelSegments: 5,
|
|
685
|
+
});
|
|
686
|
+
geometry.computeBoundingBox();
|
|
687
|
+
const b = geometry.boundingBox;
|
|
688
|
+
geometry.translate(-(b.min.x + b.max.x) / 2, 0, -0.21);
|
|
689
|
+
const pivot = new THREE.Group();
|
|
690
|
+
pivot.position.x = cursor + advance / 2;
|
|
691
|
+
pivot.add(new THREE.Mesh(geometry, material));
|
|
692
|
+
word.add(pivot);
|
|
693
|
+
letters.push(pivot);
|
|
694
|
+
}
|
|
695
|
+
cursor += advance + tracking;
|
|
696
|
+
}
|
|
697
|
+
const width = cursor - tracking;
|
|
698
|
+
for (const p of letters) p.position.x -= width / 2;
|
|
699
|
+
// Longer words shrink to keep a margin either side.
|
|
700
|
+
word.scale.setScalar(Math.min(1, 7.4 / width));
|
|
701
|
+
|
|
702
|
+
const shadowCanvas = document.createElement("canvas");
|
|
703
|
+
shadowCanvas.width = 512;
|
|
704
|
+
shadowCanvas.height = 128;
|
|
705
|
+
const sg = shadowCanvas.getContext("2d");
|
|
706
|
+
const grad = sg.createRadialGradient(256, 64, 0, 256, 64, 256);
|
|
707
|
+
grad.addColorStop(0, "rgba(0,0,0,0.6)");
|
|
708
|
+
grad.addColorStop(1, "rgba(0,0,0,0)");
|
|
709
|
+
sg.setTransform(1, 0, 0, 0.25, 0, 48);
|
|
710
|
+
sg.fillStyle = grad;
|
|
711
|
+
sg.fillRect(0, 0, 512, 512);
|
|
712
|
+
const shadow = new THREE.Mesh(
|
|
713
|
+
new THREE.PlaneGeometry(Math.min(width, 7.4) * 1.25, 1.4),
|
|
714
|
+
new THREE.MeshBasicMaterial({
|
|
715
|
+
map: new THREE.CanvasTexture(shadowCanvas),
|
|
716
|
+
transparent: true,
|
|
717
|
+
depthWrite: false,
|
|
718
|
+
}),
|
|
719
|
+
);
|
|
720
|
+
shadow.rotation.x = -Math.PI / 2;
|
|
721
|
+
shadow.position.y = -0.02;
|
|
722
|
+
scene.add(shadow);
|
|
723
|
+
|
|
724
|
+
const clamp01 = (x) => Math.min(1, Math.max(0, x));
|
|
725
|
+
const easeOutBack = (x) => {
|
|
726
|
+
const u = clamp01(x) - 1;
|
|
727
|
+
return 1 + 2.2 * u * u * u + 1.2 * u * u;
|
|
728
|
+
};
|
|
729
|
+
const easeInOut = (x) => {
|
|
730
|
+
const u = clamp01(x);
|
|
731
|
+
return u < 0.5 ? 4 * u * u * u : 1 - Math.pow(-2 * u + 2, 3) / 2;
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
host.render = (t) => {
|
|
735
|
+
const D = host.duration;
|
|
736
|
+
const k = Math.min(1, D / 5);
|
|
737
|
+
letters.forEach((p, i) => {
|
|
738
|
+
const u = easeOutBack((t - 0.1 * k - i * 0.13 * k) / (0.9 * k));
|
|
739
|
+
// Lying face-down behind the baseline at 0, standing at 1.
|
|
740
|
+
p.rotation.x = (1 - u) * (-Math.PI / 2);
|
|
741
|
+
p.position.y = (1 - clamp01(u)) * -0.2;
|
|
742
|
+
p.visible = t >= 0.1 * k + i * 0.13 * k;
|
|
743
|
+
});
|
|
744
|
+
const swing = easeInOut((t - 0.9 * k) / (D - 0.9 * k - 0.7 * k));
|
|
745
|
+
word.rotation.y = -0.42 + swing * 0.42;
|
|
746
|
+
word.rotation.x = 0.04 - swing * 0.04;
|
|
747
|
+
renderer.render(scene, camera);
|
|
748
|
+
};
|
|
749
|
+
host.render(host.clock.t);
|
|
750
|
+
host.ready();
|
|
751
|
+
|
|
752
|
+
})();
|
|
753
|
+
</script>
|
|
754
|
+
</div>
|
|
755
|
+
<script>window.__popostFit();</script>
|
|
756
|
+
</body>
|
|
757
|
+
</html>
|