@mkbabb/glass-ui 4.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -159
- package/dist/CardAction-2uUvjMQK.js +285 -0
- package/dist/CollapsibleContent-DiHcB_HH.js +63 -0
- package/dist/CommandShortcut-fmdbsEJL.js +302 -0
- package/dist/ConfiguratorRow-BV6zPjTM.js +151 -0
- package/dist/DataTable-Bxya8nBn.js +518 -0
- package/dist/DialogContent-Bl4v10AC.js +192 -0
- package/dist/DialogFooter-C0v4Hz2F.js +168 -0
- package/dist/FadingScroll-BSRLqQCx.js +76 -0
- package/dist/FocusScope-BzKwhsBn.js +23 -0
- package/dist/IconChip-CwLmBJ_K.js +57 -0
- package/dist/IconTooltip-D9sbK-Mk.js +25 -0
- package/dist/Input-DKf-XwUM.js +57 -0
- package/dist/InstrumentChassis-Dss5Tjcm.js +65 -0
- package/dist/Label-C84TaQiw.js +36 -0
- package/dist/Notification-DQv2cOh9.js +43 -0
- package/dist/NumberFieldContent-BkE7xPS9.js +140 -0
- package/dist/PagerDots-BP6jh7z4.js +279 -0
- package/dist/PaperBackdrop-BYwE8_kg.js +31 -0
- package/dist/PopoverContent-DOtszFWK.js +251 -0
- package/dist/Progress-uWLyXE7J.js +308 -0
- package/dist/SelectGroup-BuEptUsa.js +31 -0
- package/dist/SelectScrollDownButton-CDtwaWkZ.js +261 -0
- package/dist/SelectSeparator-4QGephvr.js +49 -0
- package/dist/Separator-DqJ6PfOd.js +44 -0
- package/dist/Surface-BWRfwyn8.js +59 -0
- package/dist/Switch-BPBfhMU3.js +49 -0
- package/dist/Toaster-C_-WeU9W.js +281 -0
- package/dist/ToggleGroupItem-DNWx2aSW.js +175 -0
- package/dist/TooltipProvider-GtfYdSVf.js +110 -0
- package/dist/accent-tone-solve-CBw3L0cy.js +20 -0
- package/dist/animated-digit.d.ts +1 -1
- package/dist/animated-digit.js +5 -5
- package/dist/aurora.d.ts +1 -1
- package/dist/aurora.js +1395 -398
- package/dist/axes.d.ts +1 -0
- package/dist/axes.js +50 -0
- package/dist/badge-C0C-rTBu.js +80 -0
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/blob-config.d.ts +5 -0
- package/dist/blob-config.js +2 -0
- package/dist/blob.d.ts +1 -0
- package/dist/blob.js +1582 -0
- package/dist/button-BXzhydVB.js +187 -0
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/canvas.js +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +2 -2
- package/dist/carousel.js +165 -248
- package/dist/chip.d.ts +10 -0
- package/dist/chip.js +81 -0
- package/dist/class-names-5jotTFzp.js +97 -0
- package/dist/coalesce-metric-B8o7zT9u.js +13 -0
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color-Bp5jmv4Z.js +86 -0
- package/dist/color-swatch.d.ts +1 -1
- package/dist/color-swatch.js +2 -2
- package/dist/color.js +3 -2
- package/dist/command.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/completion-seal.d.ts +1 -1
- package/dist/completion-seal.js +76 -42
- package/dist/components/_shared/axes.d.ts +21 -0
- package/dist/components/_shared/class-names.d.ts +27 -0
- package/dist/components/_shared/index.d.ts +6 -0
- package/dist/components/_shared/menuItemVariants.d.ts +51 -0
- package/dist/components/_shared/useControlSize.d.ts +46 -0
- package/dist/components/_shared/useMotionAxis.d.ts +41 -0
- package/dist/components/_shared/useSurfaceAxis.d.ts +64 -0
- package/dist/components/alert/Alert.vue.d.ts +19 -0
- package/dist/components/alert/index.d.ts +8 -0
- package/dist/components/aurora/Aurora.vue.d.ts +104 -0
- package/dist/components/aurora/composables/atoms-fields.d.ts +43 -0
- package/dist/components/aurora/composables/atoms.d.ts +198 -0
- package/dist/components/aurora/composables/auroraImageSource.d.ts +44 -0
- package/dist/components/aurora/composables/color.d.ts +111 -0
- package/dist/components/aurora/composables/frameLoop.d.ts +66 -0
- package/dist/components/aurora/composables/glSetup.d.ts +29 -0
- package/dist/components/aurora/composables/runtime.d.ts +140 -0
- package/dist/components/aurora/composables/uniformBridge.d.ts +120 -0
- package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +60 -0
- package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +39 -0
- package/dist/components/aurora/composables/useAurora.d.ts +80 -0
- package/dist/components/aurora/composables/useCursorInteraction.d.ts +25 -0
- package/dist/components/aurora/composables/wgpuSetup.d.ts +50 -0
- package/dist/components/aurora/constants/presets.d.ts +326 -0
- package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +3 -0
- package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +3 -0
- package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
- package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -0
- package/dist/components/aurora/index.d.ts +13 -0
- package/dist/components/avatar/Avatar.vue.d.ts +23 -0
- package/dist/components/avatar/index.d.ts +9 -0
- package/dist/components/badge/Badge.vue.d.ts +41 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/blob/Blob.vue.d.ts +72 -0
- package/dist/components/blob/composables/satelliteKinematics.d.ts +20 -0
- package/dist/components/blob/composables/uploadBlobUniforms.d.ts +51 -0
- package/dist/components/blob/composables/useBlobPointer.d.ts +88 -0
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +100 -0
- package/dist/components/blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/blob/config.d.ts +3 -0
- package/dist/components/blob/constants.d.ts +82 -0
- package/dist/components/blob/index.d.ts +8 -0
- package/dist/components/blob/presets.d.ts +14 -0
- package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/blob/types.d.ts +256 -0
- package/dist/components/button/Button.vue.d.ts +31 -0
- package/dist/components/button/index.d.ts +9 -0
- package/dist/components/card/Card.vue.d.ts +180 -0
- package/dist/components/card/CardHeader.vue.d.ts +58 -0
- package/dist/components/card/ScrollCard.vue.d.ts +33 -0
- package/dist/components/carousel/Carousel.vue.d.ts +44 -0
- package/dist/components/carousel/CarouselContent.vue.d.ts +24 -0
- package/dist/components/carousel/CarouselNext.vue.d.ts +21 -0
- package/dist/components/carousel/CarouselPrevious.vue.d.ts +21 -0
- package/dist/components/carousel/GlassCarouselPager.vue.d.ts +50 -0
- package/dist/components/carousel/useCarousel.d.ts +21 -0
- package/dist/components/chip/Chip.vue.d.ts +20 -0
- package/dist/components/chip/chipVariants.d.ts +43 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/chip/types.d.ts +38 -0
- package/dist/components/combobox/Combobox.vue.d.ts +32 -0
- package/dist/components/combobox/ComboboxList.vue.d.ts +32 -0
- package/dist/components/command/index.d.ts +10 -0
- package/dist/components/completion-seal/CompletionSeal.vue.d.ts +28 -0
- package/dist/components/completion-seal/constants.d.ts +66 -0
- package/dist/components/configurator/Configurator.vue.d.ts +160 -0
- package/dist/components/configurator/ConfiguratorRow.vue.d.ts +96 -0
- package/dist/components/configurator/index.d.ts +6 -0
- package/dist/components/configurator/size.d.ts +26 -0
- package/dist/components/constellation/Constellation.vue.d.ts +34 -0
- package/dist/components/constellation/composables/constellationGLSetup.d.ts +10 -0
- package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +19 -0
- package/dist/components/constellation/composables/useConstellation.d.ts +39 -0
- package/dist/components/constellation/constants.d.ts +97 -0
- package/dist/components/constellation/constellationTypes.d.ts +420 -0
- package/dist/components/dialog/DialogContent.vue.d.ts +115 -0
- package/dist/components/dock/DockBackgroundToggle.vue.d.ts +46 -0
- package/dist/components/dock/DockControl.vue.d.ts +73 -0
- package/dist/components/dock/DockCrossfade.vue.d.ts +50 -0
- package/dist/components/dock/DockLayer.vue.d.ts +33 -0
- package/dist/components/dock/DockLayerGroup.vue.d.ts +65 -0
- package/dist/components/dock/DockStack.vue.d.ts +73 -0
- package/dist/components/dock/DockTrigger.vue.d.ts +27 -0
- package/dist/components/dock/GlassDock.vue.d.ts +33 -0
- package/dist/components/dock/composables/dockContext.d.ts +48 -0
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +57 -0
- package/dist/components/dock/composables/dockMorphContext.d.ts +89 -0
- package/dist/components/dock/composables/index.d.ts +10 -0
- package/dist/components/dock/composables/useDockFisheye.d.ts +24 -0
- package/dist/components/dock/composables/useDockOverflowFit.d.ts +22 -0
- package/dist/components/dock/composables/useDockPopover.d.ts +68 -0
- package/dist/components/dock/composables/useDockSearch.d.ts +85 -0
- package/dist/components/dock/composables/useDockShellProps.d.ts +178 -0
- package/dist/components/dock/composables/useDockSpring.d.ts +71 -0
- package/dist/components/dock/composables/useDockTouchGate.d.ts +51 -0
- package/dist/components/dock/constants.d.ts +107 -0
- package/dist/components/dock/index.d.ts +19 -0
- package/dist/components/drawer/Drawer.vue.d.ts +85 -0
- package/dist/components/drawer/DrawerContent.vue.d.ts +40 -0
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +24 -0
- package/dist/components/drawer/constants.d.ts +50 -0
- package/dist/components/drawer/index.d.ts +35 -0
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/dropdown-menu/index.d.ts +16 -0
- package/dist/components/dropdown-menu/useMenuTrigger.d.ts +14 -0
- package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +71 -0
- package/dist/components/fourier-field/FourierField.vue.d.ts +54 -0
- package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +24 -0
- package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +31 -0
- package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +41 -0
- package/dist/components/fourier-field/composables/useFourierField.d.ts +55 -0
- package/dist/components/fourier-field/constants.d.ts +134 -0
- package/dist/components/fourier-field/index.d.ts +31 -0
- package/dist/components/fourier-field/math.d.ts +111 -0
- package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
- package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
- package/dist/components/fourier-field/shaders/fourier-field.ribbon.d.ts +51 -0
- package/dist/components/handmark/composables/useHandMark.d.ts +99 -0
- package/dist/components/handmark/constants.d.ts +69 -0
- package/dist/components/handmark/geometry.d.ts +65 -0
- package/dist/components/handmark/noise.d.ts +30 -0
- package/dist/components/handmark/types.d.ts +70 -0
- package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
- package/dist/components/header-ribbon/index.d.ts +2 -0
- package/dist/components/header-ribbon/types.d.ts +7 -0
- package/dist/components/index.d.ts +36 -0
- package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +42 -0
- package/dist/components/liquid-grid/composables/liquidGrid.d.ts +113 -0
- package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +18 -0
- package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +21 -0
- package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +16 -0
- package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +31 -0
- package/dist/components/liquid-grid/constants.d.ts +93 -0
- package/dist/components/liquid-grid/index.d.ts +5 -0
- package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +4 -0
- package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -0
- package/dist/components/metric-badge/MetricBadge.vue.d.ts +40 -0
- package/dist/components/metric-cell/MetricCell.vue.d.ts +108 -0
- package/dist/components/metric-stack/MetricRow.vue.d.ts +120 -0
- package/dist/components/notification/Notification.vue.d.ts +16 -0
- package/dist/components/pager-dots/composables/usePagerWorm.d.ts +26 -0
- package/dist/components/pager-dots/constants.d.ts +15 -0
- package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +21 -0
- package/dist/components/popover/Popover.vue.d.ts +54 -0
- package/dist/components/popover/PopoverContent.vue.d.ts +53 -0
- package/dist/components/popover/PopoverTrigger.vue.d.ts +16 -0
- package/dist/components/popover/popoverContext.d.ts +17 -0
- package/dist/components/progress/Progress.vue.d.ts +54 -0
- package/dist/components/progress/ProgressLiquid.vue.d.ts +21 -0
- package/dist/components/progress/index.d.ts +6 -0
- package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +19 -0
- package/dist/components/scroll-progress-rim/index.d.ts +3 -0
- package/dist/components/scroll-progress-rim/types.d.ts +2 -0
- package/dist/components/search/FuzzySearch.vue.d.ts +22 -0
- package/dist/components/search/SearchBar.vue.d.ts +38 -0
- package/dist/components/search/searchVariants.d.ts +19 -0
- package/dist/components/select/SelectContent.vue.d.ts +42 -0
- package/dist/components/slider/Slider.vue.d.ts +40 -0
- package/dist/components/slider/index.d.ts +46 -0
- package/dist/components/sortable-list/SortableHandle.vue.d.ts +19 -0
- package/dist/components/sortable-list/SortableItem.vue.d.ts +22 -0
- package/dist/components/sortable-list/SortableList.vue.d.ts +39 -0
- package/dist/components/sortable-list/composables/dragController.d.ts +29 -0
- package/dist/components/sortable-list/composables/types.d.ts +50 -0
- package/dist/components/sortable-list/composables/useSortable.d.ts +5 -0
- package/dist/components/sortable-list/context.d.ts +11 -0
- package/dist/components/sortable-list/index.d.ts +4 -0
- package/dist/components/split-chars/SplitChars.vue.d.ts +53 -0
- package/dist/components/stacked-icons/types.d.ts +19 -0
- package/dist/components/surface/Surface.vue.d.ts +45 -0
- package/dist/components/surface/index.d.ts +2 -0
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +101 -0
- package/dist/components/tabs/composables/useEyeglassLive.d.ts +17 -0
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/tabs/composables/useTabResponsive.d.ts +43 -0
- package/dist/components/tabs/composables/useTabRovingFocus.d.ts +51 -0
- package/dist/components/tabs/constants.d.ts +1 -0
- package/dist/components/timeline/ContinuousMarkers.vue.d.ts +49 -0
- package/dist/components/timeline/GlassTimeline.vue.d.ts +114 -0
- package/dist/components/toast/Toast.vue.d.ts +107 -0
- package/dist/components/toast/index.d.ts +9 -0
- package/dist/components/toast/use-toast.d.ts +182 -0
- package/dist/components/toggle/Toggle.vue.d.ts +29 -0
- package/dist/components/toggle/index.d.ts +26 -0
- package/dist/components/watercolor-dot/prng.d.ts +5 -0
- package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +31 -0
- package/dist/composables/color/accent-tone-solve.d.ts +11 -0
- package/dist/composables/color/index.d.ts +18 -1
- package/dist/composables/color/useAccentTone.d.ts +6 -8
- package/dist/composables/dom/useUserInvalidAria.d.ts +7 -11
- package/dist/composables/glass/ambientHueHistogram.d.ts +27 -0
- package/dist/composables/glass/backdropLuminanceSample.d.ts +56 -0
- package/dist/composables/glass/backdropSampleMath.d.ts +5 -0
- package/dist/composables/glass/textureUpload.d.ts +91 -0
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +27 -1
- package/dist/composables/glass/useSpecularPointer.d.ts +23 -4
- package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
- package/dist/composables/glass/wave/waveField.d.ts +22 -1
- package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -1
- package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -1
- package/dist/composables/glass/webgl/backingSize.d.ts +44 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +36 -55
- package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +36 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +1 -1
- package/dist/composables/glass/webgl/visibility.d.ts +42 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +5 -4
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +3 -111
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +96 -0
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +30 -0
- package/dist/composables/index.d.ts +1 -2
- package/dist/composables/motion/bloomUpField.d.ts +29 -0
- package/dist/composables/motion/core/index.d.ts +6 -2
- package/dist/composables/motion/gooBarbellGeometry.d.ts +79 -0
- package/dist/composables/motion/index.d.ts +1 -1
- package/dist/composables/motion/morphSignatures.d.ts +88 -0
- package/dist/composables/motion/motionTempo.d.ts +9 -0
- package/dist/composables/motion/pointerFieldMappings.d.ts +161 -0
- package/dist/composables/motion/springPresets.d.ts +17 -23
- package/dist/composables/motion/useDockCtaReceive.d.ts +32 -39
- package/dist/composables/motion/useElementMorph.d.ts +99 -0
- package/dist/composables/motion/useLeadTrail.d.ts +69 -0
- package/dist/composables/motion/useLiquidPress.d.ts +9 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +15 -29
- package/dist/composables/motion/usePointerVelocityField.d.ts +59 -0
- package/dist/composables/motion/useRoutePointer.d.ts +41 -0
- package/dist/composables/motion/useSelectionGroup.d.ts +83 -0
- package/dist/composables/motion/useSelectionIndicator.d.ts +90 -0
- package/dist/composables/motion/useSpringPress.d.ts +5 -5
- package/dist/configurator.d.ts +1 -1
- package/dist/configurator.js +3 -3
- package/dist/constellation.d.ts +1 -1
- package/dist/constellation.js +292 -255
- package/dist/controls.d.ts +1 -1
- package/dist/controls.js +5 -5
- package/dist/createCanvasLifecycle-DlrcvWbb.js +209 -0
- package/dist/dark.js +1 -1
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck.d.ts +1 -1
- package/dist/deck.js +6 -6
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +3 -4
- package/dist/dock.d.ts +1 -1
- package/dist/dock.js +1038 -1591
- package/dist/dockContext-d-WpJN2Z.js +13 -0
- package/dist/dom.js +6 -6
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +169 -161
- package/dist/dropdown-menu-DaGlVdp9.js +421 -0
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.d.ts +10 -1
- package/dist/easing.js +148 -148
- package/dist/expandable-container.d.ts +1 -1
- package/dist/expandable-container.js +85 -66
- package/dist/fading-scroll.d.ts +1 -1
- package/dist/fading-scroll.js +1 -1
- package/dist/focus-scope.d.ts +1 -1
- package/dist/focus-scope.js +2 -23
- package/dist/forms.d.ts +4 -3
- package/dist/forms.js +75 -66
- package/dist/fourier-field.d.ts +1 -1
- package/dist/fourier-field.js +608 -554
- package/dist/fourier-math.d.ts +7 -1
- package/dist/fourier-math.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +192 -340
- package/dist/handmark.d.ts +3 -1
- package/dist/handmark.js +179 -161
- package/dist/header-ribbon.d.ts +1 -1
- package/dist/header-ribbon.js +7 -7
- package/dist/icon-chip.d.ts +1 -1
- package/dist/icon-chip.js +1 -1
- package/dist/icon-tooltip.d.ts +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +42 -45
- package/dist/infinite-scroll.d.ts +2 -2
- package/dist/infinite-scroll.js +2 -2
- package/dist/instrument-chassis.d.ts +1 -1
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.d.ts +1 -1
- package/dist/labeled-field.js +13 -13
- package/dist/liquid-grid.d.ts +1 -0
- package/dist/liquid-grid.js +1064 -0
- package/dist/math-CIEcwsYi.js +112 -0
- package/dist/menuItemVariants-DbO-Fr74.js +36 -0
- package/dist/metric-badge.d.ts +1 -1
- package/dist/metric-badge.js +79 -2
- package/dist/metric-cell.d.ts +1 -1
- package/dist/metric-cell.js +9 -9
- package/dist/metric-stack.d.ts +1 -1
- package/dist/metric-stack.js +23 -23
- package/dist/motion-core.js +48 -42
- package/dist/motion-curves.d.ts +20 -0
- package/dist/motion-curves.js +2 -2
- package/dist/motion.js +94 -210
- package/dist/motionTempo-CMS5b0Vu.js +7 -0
- package/dist/notification.d.ts +1 -1
- package/dist/notification.js +1 -1
- package/dist/number-field.d.ts +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.d.ts +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/pointerFieldMappings-4VtmkOWv.js +65 -0
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +1 -1
- package/dist/presets-B07HzyKd.js +95 -0
- package/dist/prng-B0PLRmR6.js +15 -0
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +2 -2
- package/dist/pulse.d.ts +1 -1
- package/dist/pulse.js +4 -4
- package/dist/reactive.js +2 -2
- package/dist/resolveCanvasColor-B3L-akX0.js +93 -0
- package/dist/scroll-progress-rim.d.ts +1 -0
- package/dist/scroll-progress-rim.js +61 -0
- package/dist/search.d.ts +1 -1
- package/dist/search.js +123 -123
- package/dist/select.d.ts +1 -1
- package/dist/select.js +3 -3
- package/dist/separator.d.ts +1 -1
- package/dist/separator.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/slider-Cxuj_W_H.js +151 -0
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +1 -1
- package/dist/sortable-list.d.ts +1 -1
- package/dist/sortable-list.js +384 -59
- package/dist/spa-view.d.ts +1 -1
- package/dist/spa-view.js +1 -1
- package/dist/springPresets-h5VKJQqG.js +58 -0
- package/dist/stacked-icons.d.ts +1 -1
- package/dist/stacked-icons.js +6 -6
- package/dist/status-dot.d.ts +1 -1
- package/dist/status-dot.js +2 -2
- package/dist/styles/animations.css +1 -409
- package/dist/styles/card-scroll.css +1 -0
- package/dist/styles/cards.css +1 -448
- package/dist/styles/completion-seal.css +1 -131
- package/dist/styles/components.css +1 -45
- package/dist/styles/configurator.css +1 -297
- package/dist/styles/dialog-placement.css +1 -0
- package/dist/styles/dock/adaptive-legibility.css +1 -119
- package/dist/styles/dock/crossfade.css +1 -0
- package/dist/styles/dock/cta-seat.css +1 -87
- package/dist/styles/dock/density.css +1 -455
- package/dist/styles/dock/dock.css +1 -0
- package/dist/styles/dock/fisheye.css +1 -0
- package/dist/styles/dock/layer-group.css +1 -333
- package/dist/styles/dock/layers.css +1 -413
- package/dist/styles/dock/morph.css +1 -430
- package/dist/styles/dock/overflow.css +1 -292
- package/dist/styles/dock/popover.css +1 -0
- package/dist/styles/dock/search.css +1 -68
- package/dist/styles/dock/section.css +1 -59
- package/dist/styles/dock/shape.css +1 -250
- package/dist/styles/dock/shell-regions.css +1 -0
- package/dist/styles/dock/shell.css +1 -498
- package/dist/styles/dock-controls/dark-mode-toggle.css +1 -122
- package/dist/styles/dock-controls/icon-button.css +1 -189
- package/dist/styles/dock-controls/tab-button.css +1 -143
- package/dist/styles/dock-controls/touch-floor.css +1 -94
- package/dist/styles/dock-controls/triggers.css +1 -157
- package/dist/styles/dock-controls.css +1 -92
- package/dist/styles/dock.css +1 -173
- package/dist/styles/draw-in.css +1 -0
- package/dist/styles/drawer.css +1 -406
- package/dist/styles/feedback-tone.css +1 -104
- package/dist/styles/fonts.css +1 -143
- package/dist/styles/glass/a11y-fallback.css +1 -245
- package/dist/styles/glass/accent-tone.css +1 -66
- package/dist/styles/glass/control-surfaces.css +1 -167
- package/dist/styles/glass/deep.css +1 -44
- package/dist/styles/glass/defined.css +1 -0
- package/dist/styles/glass/glass-atom.css +1 -244
- package/dist/styles/glass/glass-capsule.css +1 -143
- package/dist/styles/glass/glass-chip.css +1 -215
- package/dist/styles/glass/grain-overlay.css +1 -0
- package/dist/styles/glass/ladder-undershadow.css +1 -0
- package/dist/styles/glass/ladder.css +1 -489
- package/dist/styles/glass/liquid-enter.css +1 -252
- package/dist/styles/glass/liquid-fill.css +1 -0
- package/dist/styles/glass/material.css +1 -370
- package/dist/styles/glass/progress-rail.css +1 -78
- package/dist/styles/glass/reveal.css +1 -156
- package/dist/styles/glass/rim.css +1 -122
- package/dist/styles/glass/squircle.css +1 -66
- package/dist/styles/glass/surface-axis.css +1 -113
- package/dist/styles/glass/surfaces-pager.css +1 -0
- package/dist/styles/glass/surfaces.css +1 -411
- package/dist/styles/glass-refract.css +1 -114
- package/dist/styles/glass-specular-track.css +1 -74
- package/dist/styles/glass.css +1 -77
- package/dist/styles/icon-chip.css +1 -256
- package/dist/styles/index.css +1 -260
- package/dist/styles/instrument-chassis.css +1 -453
- package/dist/styles/menu.css +1 -127
- package/dist/styles/paper.css +1 -284
- package/dist/styles/scroll-choreography.css +1 -357
- package/dist/styles/scroll-chrome.css +1 -123
- package/dist/styles/scroll-driven.css +1 -110
- package/dist/styles/scroll-progress-rim.css +1 -0
- package/dist/styles/segmented-tabs.css +1 -447
- package/dist/styles/select.css +1 -201
- package/dist/styles/tabs/segmented-tabs-drag.css +1 -0
- package/dist/styles/theme/bridges.css +1 -380
- package/dist/styles/theme/dark.css +1 -7
- package/dist/styles/theme/literals.css +1 -103
- package/dist/styles/theme/radius.css +1 -117
- package/dist/styles/theme.css +1 -33
- package/dist/styles/tokens/color-radius.css +1 -297
- package/dist/styles/tokens/dark-arm-glass.css +1 -0
- package/dist/styles/tokens/dark-arm.css +1 -462
- package/dist/styles/tokens/glass-deep.css +1 -104
- package/dist/styles/tokens/glass-fx.css +1 -454
- package/dist/styles/tokens/glass.css +1 -412
- package/dist/styles/tokens/light-dark.css +1 -200
- package/dist/styles/tokens/motion-registers.css +1 -0
- package/dist/styles/tokens/offsets.css +1 -143
- package/dist/styles/tokens/on-glass-fg.css +1 -39
- package/dist/styles/tokens/property-regs-specular.css +1 -0
- package/dist/styles/tokens/property-regs.css +1 -566
- package/dist/styles/tokens/scale-paper.css +1 -493
- package/dist/styles/tokens/scheme-motion.css +1 -363
- package/dist/styles/tokens/scheme-spring.css +1 -239
- package/dist/styles/tokens/scroll-tokens.css +1 -123
- package/dist/styles/tokens/shadow.css +1 -226
- package/dist/styles/tokens/sizing-config.css +1 -110
- package/dist/styles/tokens/sizing.css +1 -450
- package/dist/styles/tokens.css +1 -52
- package/dist/styles/transitions.css +1 -263
- package/dist/styles/typography/scale.css +1 -153
- package/dist/styles/typography/semantic.css +1 -233
- package/dist/styles/typography/utilities.css +1 -174
- package/dist/styles/typography.css +1 -46
- package/dist/styles/utilities/a11y-overrides.css +1 -184
- package/dist/styles/utilities/animate.css +0 -29
- package/dist/styles/utilities/base-misc.css +1 -307
- package/dist/styles/utilities/base.css +1 -327
- package/dist/styles/utilities/btn.css +1 -301
- package/dist/styles/utilities/components.css +1 -342
- package/dist/styles/utilities/metal.css +1 -215
- package/dist/styles/utilities.css +1 -26
- package/dist/styles/view-transition.css +1 -67
- package/dist/styles/viz-reveal.css +1 -0
- package/dist/surface.d.ts +1 -0
- package/dist/surface.js +3 -0
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +189 -249
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +199 -183
- package/dist/toast.d.ts +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.d.ts +1 -1
- package/dist/typewriter.js +8 -8
- package/dist/useAccentTone-D25DxviG.js +23 -0
- package/dist/useAnimatedNumber-2XC4aRB6.js +40 -0
- package/dist/useConfiguratorState-Dq35N_7t.js +167 -0
- package/dist/useControlSize-DJwe-7ZQ.js +9 -0
- package/dist/useDockCtaReceive-BgMmeINo.js +161 -0
- package/dist/useDocumentVisibility-CpJGUgcJ.js +17 -0
- package/dist/useDragMorph-65ihHePq.js +93 -0
- package/dist/useFuzzySearch-KslRxiJY.js +177 -0
- package/dist/useGooMorph-CU1pwuC6.js +268 -0
- package/dist/useGpuSubstrate-DcY584kE.js +347 -0
- package/dist/useIntersectionPause-Cmt5Tnv9.js +39 -0
- package/dist/useKeyboardShortcuts-ynVmNFo3.js +104 -0
- package/dist/useLeadTrail-DOH4XkL1.js +74 -0
- package/dist/useLiquidPress-BXNHydZh.js +40 -0
- package/dist/useMotionAxis-DCCXMC-i.js +20 -0
- package/dist/usePointerVelocityField-CwXyeW0Z.js +122 -0
- package/dist/useRAFLoop-CvOo_kgb.js +109 -0
- package/dist/useRoutePointer-DL7I0gY4.js +52 -0
- package/dist/useScrollProgress-C-yImzhU.js +35 -0
- package/dist/useSelectionGroup-Btpf24aY.js +215 -0
- package/dist/useSpring-BBSKFx_0.js +41 -0
- package/dist/useSpringMount-CNvvgGiC.js +71 -0
- package/dist/useSpringPress-BypV_KO-.js +36 -0
- package/dist/useSurfaceAxis-DudiZVOR.js +10 -0
- package/dist/useTabRovingFocus-CG1H1k1J.js +143 -0
- package/dist/useTouchGate-BlegwvwL.js +84 -0
- package/dist/useUserInvalidAria-Bkruei7M.js +25 -0
- package/dist/watercolor-dot.d.ts +1 -1
- package/dist/watercolor-dot.js +52 -50
- package/package.json +386 -827
- package/src/styles/animations.css +82 -23
- package/src/styles/card-scroll.css +189 -0
- package/src/styles/cards.css +45 -6
- package/src/styles/completion-seal.css +75 -1
- package/src/styles/configurator.css +63 -1
- package/src/styles/dialog-placement.css +68 -0
- package/src/styles/dock/adaptive-legibility.css +1 -1
- package/src/styles/dock/crossfade.css +139 -0
- package/src/styles/dock/density.css +16 -13
- package/src/styles/dock/dock.css +199 -0
- package/src/styles/dock/fisheye.css +81 -0
- package/src/styles/dock/layer-group.css +37 -41
- package/src/styles/dock/layers.css +46 -21
- package/src/styles/dock/morph.css +41 -16
- package/src/styles/dock/overflow.css +107 -67
- package/src/styles/dock/popover.css +249 -0
- package/src/styles/dock/shape.css +77 -139
- package/src/styles/dock/shell-regions.css +73 -0
- package/src/styles/dock/shell.css +159 -157
- package/src/styles/dock-controls/dark-mode-toggle.css +3 -2
- package/src/styles/dock-controls/icon-button.css +43 -11
- package/src/styles/dock-controls/tab-button.css +2 -2
- package/src/styles/dock-controls/touch-floor.css +25 -0
- package/src/styles/dock.css +60 -14
- package/src/styles/draw-in.css +89 -0
- package/src/styles/drawer.css +77 -41
- package/src/styles/glass/a11y-fallback.css +19 -76
- package/src/styles/glass/control-surfaces.css +20 -16
- package/src/styles/glass/deep.css +74 -4
- package/src/styles/glass/defined.css +88 -0
- package/src/styles/glass/glass-atom.css +23 -20
- package/src/styles/glass/glass-capsule.css +32 -0
- package/src/styles/glass/glass-chip.css +13 -17
- package/src/styles/glass/grain-overlay.css +79 -0
- package/src/styles/glass/ladder-undershadow.css +61 -0
- package/src/styles/glass/ladder.css +96 -133
- package/src/styles/glass/liquid-enter.css +12 -24
- package/src/styles/glass/liquid-fill.css +65 -0
- package/src/styles/glass/material.css +134 -10
- package/src/styles/glass/reveal.css +197 -20
- package/src/styles/glass/squircle.css +18 -26
- package/src/styles/glass/surface-axis.css +24 -1
- package/src/styles/glass/surfaces-pager.css +79 -0
- package/src/styles/glass/surfaces.css +121 -98
- package/src/styles/glass.css +34 -1
- package/src/styles/index.css +54 -26
- package/src/styles/menu.css +66 -6
- package/src/styles/paper.css +105 -202
- package/src/styles/scroll-choreography.css +29 -92
- package/src/styles/scroll-driven.css +18 -5
- package/src/styles/scroll-progress-rim.css +87 -0
- package/src/styles/segmented-tabs.css +67 -88
- package/src/styles/tabs/segmented-tabs-drag.css +200 -0
- package/src/styles/theme/bridges.css +8 -2
- package/src/styles/theme/literals.css +2 -1
- package/src/styles/theme/radius.css +43 -12
- package/src/styles/tokens/color-radius.css +15 -4
- package/src/styles/tokens/dark-arm-glass.css +55 -0
- package/src/styles/tokens/dark-arm.css +62 -69
- package/src/styles/tokens/glass-deep.css +102 -80
- package/src/styles/tokens/glass-fx.css +35 -5
- package/src/styles/tokens/glass.css +144 -78
- package/src/styles/tokens/light-dark.css +20 -4
- package/src/styles/tokens/motion-registers.css +93 -0
- package/src/styles/tokens/property-regs-specular.css +160 -0
- package/src/styles/tokens/property-regs.css +67 -186
- package/src/styles/tokens/scale-paper.css +6 -3
- package/src/styles/tokens/scheme-motion.css +59 -0
- package/src/styles/tokens/scheme-spring.css +146 -93
- package/src/styles/tokens/scroll-tokens.css +25 -11
- package/src/styles/tokens/shadow.css +28 -22
- package/src/styles/tokens/sizing.css +62 -7
- package/src/styles/tokens.css +16 -0
- package/src/styles/transitions.css +108 -143
- package/src/styles/typography/scale.css +10 -0
- package/src/styles/typography/semantic.css +5 -5
- package/src/styles/typography/utilities.css +25 -2
- package/src/styles/utilities/a11y-overrides.css +2 -2
- package/src/styles/utilities/base.css +13 -3
- package/src/styles/utilities/btn.css +29 -3
- package/src/styles/utilities/components.css +16 -21
- package/src/styles/utilities/metal.css +86 -29
- package/src/styles/viz-reveal.css +63 -0
- package/dist/CardAction-DlVP2evz.js +0 -272
- package/dist/CollapsibleContent-D7UNsXQr.js +0 -63
- package/dist/CommandShortcut-By-VQcLO.js +0 -302
- package/dist/ConfiguratorRow-YMXdINHx.js +0 -143
- package/dist/ContextMenuContent-CMWn6huB.js +0 -90
- package/dist/ContextMenuSubContent-DvwWCUc0.js +0 -245
- package/dist/DataTable-C4tG3eIJ.js +0 -512
- package/dist/DialogContent-D8U9ZfWS.js +0 -121
- package/dist/DialogFooter-DoLy0ewI.js +0 -80
- package/dist/DialogScrollContent-BMekN7gq.js +0 -93
- package/dist/FadingScroll-P8B30rAD.js +0 -76
- package/dist/HoverCardContent-DAmGYglo.js +0 -88
- package/dist/HoverPopover-DYpBOzzF.js +0 -96
- package/dist/IconChip-CQa7XZYc.js +0 -57
- package/dist/IconTooltip-_df8M3xm.js +0 -25
- package/dist/Input-CyU4_hIC.js +0 -57
- package/dist/InstrumentChassis-UUJX0-mW.js +0 -65
- package/dist/Label-B_HPqi_q.js +0 -36
- package/dist/MetricBadge-DQt_dGah.js +0 -79
- package/dist/ModalOverlay-DfAf7o15.js +0 -53
- package/dist/Notification-BlSPJhtZ.js +0 -43
- package/dist/NumberFieldContent-Z3VxGu_6.js +0 -140
- package/dist/PagerDots-CYlqVFd4.js +0 -196
- package/dist/PaperBackdrop-DYWgrnh8.js +0 -42
- package/dist/PopoverContent-BuKyHZSz.js +0 -127
- package/dist/Progress-C9SsdwIZ.js +0 -274
- package/dist/ScrollingText-DY3W1Jfh.js +0 -40
- package/dist/SelectGroup-Dcczq44n.js +0 -31
- package/dist/SelectScrollDownButton-3mFHX_R-.js +0 -260
- package/dist/SelectSeparator-CNRGG7Ew.js +0 -49
- package/dist/Separator-Cf9-JFgi.js +0 -44
- package/dist/Switch-uf-UKPA2.js +0 -49
- package/dist/Toaster-ozrsR4mP.js +0 -274
- package/dist/ToggleGroupItem-BpzaVzNm.js +0 -170
- package/dist/TooltipProvider-QQVM_80r.js +0 -109
- package/dist/api/index.d.ts +0 -34
- package/dist/api/types-extra.d.ts +0 -39
- package/dist/api.js +0 -2
- package/dist/badge-Bt14yURi.js +0 -72
- package/dist/border-progress.d.ts +0 -1
- package/dist/border-progress.js +0 -98
- package/dist/button-D1W9PrzI.js +0 -130
- package/dist/chipVariants-BJQ0I2kB.js +0 -18
- package/dist/cn-DJXf4yaB.js +0 -97
- package/dist/coalesceMetric-5qIeZnTx.js +0 -13
- package/dist/color-B9jZdhJX.js +0 -116
- package/dist/components/custom/aurora/Aurora.vue.d.ts +0 -101
- package/dist/components/custom/aurora/composables/atoms-fields.d.ts +0 -39
- package/dist/components/custom/aurora/composables/atoms.d.ts +0 -142
- package/dist/components/custom/aurora/composables/color.d.ts +0 -93
- package/dist/components/custom/aurora/composables/cursorModel.d.ts +0 -78
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +0 -39
- package/dist/components/custom/aurora/composables/glSetup.d.ts +0 -29
- package/dist/components/custom/aurora/composables/runtime.d.ts +0 -127
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -100
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +0 -60
- package/dist/components/custom/aurora/composables/useAurora.d.ts +0 -86
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +0 -33
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +0 -37
- package/dist/components/custom/aurora/constants/presets.d.ts +0 -258
- package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +0 -2
- package/dist/components/custom/aurora/index.d.ts +0 -13
- package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +0 -46
- package/dist/components/custom/border-progress/composables/spectrum-walk.d.ts +0 -25
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +0 -18
- package/dist/components/custom/border-progress/constants.d.ts +0 -59
- package/dist/components/custom/border-progress/index.d.ts +0 -4
- package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +0 -21
- package/dist/components/custom/completion-seal/constants.d.ts +0 -46
- package/dist/components/custom/concentric/Concentric.vue.d.ts +0 -42
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +0 -23
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +0 -26
- package/dist/components/custom/concentric/composables/levelField.d.ts +0 -50
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +0 -17
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +0 -35
- package/dist/components/custom/concentric/constants.d.ts +0 -88
- package/dist/components/custom/concentric/index.d.ts +0 -5
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +0 -4
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +0 -1
- package/dist/components/custom/configurator/Configurator.vue.d.ts +0 -160
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +0 -79
- package/dist/components/custom/configurator/density.d.ts +0 -25
- package/dist/components/custom/configurator/index.d.ts +0 -6
- package/dist/components/custom/confirm-dialog/ConfirmDialog.vue.d.ts +0 -32
- package/dist/components/custom/confirm-dialog/index.d.ts +0 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -33
- package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +0 -10
- package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +0 -19
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +0 -19
- package/dist/components/custom/constellation/constants.d.ts +0 -94
- package/dist/components/custom/constellation/constellationTypes.d.ts +0 -407
- package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +0 -46
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +0 -30
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +0 -72
- package/dist/components/custom/dock/DockLayer.vue.d.ts +0 -34
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +0 -51
- package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +0 -19
- package/dist/components/custom/dock/DockSelectTrigger.vue.d.ts +0 -29
- package/dist/components/custom/dock/DockStack.vue.d.ts +0 -78
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +0 -39
- package/dist/components/custom/dock/GlassDock.vue.d.ts +0 -47
- package/dist/components/custom/dock/composables/dockContext.d.ts +0 -47
- package/dist/components/custom/dock/composables/dockLayerContext.d.ts +0 -36
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -79
- package/dist/components/custom/dock/composables/index.d.ts +0 -14
- package/dist/components/custom/dock/composables/railProjection.d.ts +0 -45
- package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +0 -192
- package/dist/components/custom/dock/composables/useDockFission.d.ts +0 -158
- package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +0 -18
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
- package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +0 -44
- package/dist/components/custom/dock/composables/useDockSearch.d.ts +0 -85
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -214
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -90
- package/dist/components/custom/dock/constants.d.ts +0 -98
- package/dist/components/custom/dock/index.d.ts +0 -24
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +0 -42
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +0 -104
- package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +0 -8
- package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +0 -9
- package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +0 -12
- package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +0 -7
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +0 -65
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +0 -35
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +0 -32
- package/dist/components/custom/dot-flow-field/constants.d.ts +0 -120
- package/dist/components/custom/dot-flow-field/index.d.ts +0 -5
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +0 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +0 -33
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +0 -2
- package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +0 -43
- package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +0 -89
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -61
- package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +0 -34
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +0 -34
- package/dist/components/custom/dot-matrix/constants.d.ts +0 -72
- package/dist/components/custom/dot-matrix/index.d.ts +0 -5
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +0 -4
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +0 -1
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +0 -71
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +0 -58
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +0 -24
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +0 -31
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +0 -56
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +0 -63
- package/dist/components/custom/fourier-field/constants.d.ts +0 -117
- package/dist/components/custom/fourier-field/index.d.ts +0 -31
- package/dist/components/custom/fourier-field/math.d.ts +0 -86
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +0 -4
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +0 -1
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +0 -49
- package/dist/components/custom/glass-panel/index.d.ts +0 -2
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +0 -71
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +0 -62
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +0 -69
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +0 -23
- package/dist/components/custom/goo-blob/constants.d.ts +0 -82
- package/dist/components/custom/goo-blob/index.d.ts +0 -7
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
- package/dist/components/custom/goo-blob/types.d.ts +0 -244
- package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +0 -49
- package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +0 -24
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +0 -79
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -45
- package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +0 -31
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +0 -115
- package/dist/components/custom/goo-dot-matrix/index.d.ts +0 -5
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +0 -13
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +0 -4
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +0 -89
- package/dist/components/custom/handmark/constants.d.ts +0 -59
- package/dist/components/custom/handmark/geometry.d.ts +0 -85
- package/dist/components/custom/handmark/types.d.ts +0 -62
- package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
- package/dist/components/custom/header-ribbon/index.d.ts +0 -2
- package/dist/components/custom/header-ribbon/types.d.ts +0 -7
- package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +0 -132
- package/dist/components/custom/hover-popover/index.d.ts +0 -1
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +0 -40
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +0 -108
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +0 -120
- package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +0 -39
- package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +0 -42
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +0 -105
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +0 -18
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +0 -21
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +0 -16
- package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +0 -31
- package/dist/components/custom/paper-grid/constants.d.ts +0 -95
- package/dist/components/custom/paper-grid/index.d.ts +0 -5
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +0 -4
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +0 -1
- package/dist/components/custom/scrolling-text/ScrollingText.vue.d.ts +0 -20
- package/dist/components/custom/scrolling-text/index.d.ts +0 -1
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +0 -22
- package/dist/components/custom/search/SearchBar.vue.d.ts +0 -38
- package/dist/components/custom/search/searchVariants.d.ts +0 -19
- package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +0 -50
- package/dist/components/custom/selectable-chip/chipVariants.d.ts +0 -39
- package/dist/components/custom/selectable-chip/index.d.ts +0 -2
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +0 -15
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +0 -38
- package/dist/components/custom/sortable-list/SortableItem.vue.d.ts +0 -38
- package/dist/components/custom/sortable-list/SortableList.vue.d.ts +0 -76
- package/dist/components/custom/sortable-list/context.d.ts +0 -25
- package/dist/components/custom/sortable-list/index.d.ts +0 -4
- package/dist/components/custom/split-chars/SplitChars.vue.d.ts +0 -39
- package/dist/components/custom/stacked-icons/types.d.ts +0 -18
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +0 -99
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +0 -42
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +0 -58
- package/dist/components/custom/tabs/constants.d.ts +0 -44
- package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +0 -49
- package/dist/components/custom/timeline/GlassTimeline.vue.d.ts +0 -114
- package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +0 -41
- package/dist/components/custom/toggle-chip/index.d.ts +0 -28
- package/dist/components/custom/watercolor-dot/prng.d.ts +0 -5
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +0 -29
- package/dist/components/ui/_shared/index.d.ts +0 -6
- package/dist/components/ui/_shared/menuItemVariants.d.ts +0 -51
- package/dist/components/ui/_shared/useControlSize.d.ts +0 -46
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +0 -55
- package/dist/components/ui/alert/Alert.vue.d.ts +0 -19
- package/dist/components/ui/alert/index.d.ts +0 -8
- package/dist/components/ui/avatar/Avatar.vue.d.ts +0 -23
- package/dist/components/ui/avatar/index.d.ts +0 -9
- package/dist/components/ui/badge/Badge.vue.d.ts +0 -34
- package/dist/components/ui/badge/index.d.ts +0 -8
- package/dist/components/ui/button/Button.vue.d.ts +0 -29
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/card/Card.vue.d.ts +0 -168
- package/dist/components/ui/card/CardHeader.vue.d.ts +0 -81
- package/dist/components/ui/card/ScrollCard.vue.d.ts +0 -33
- package/dist/components/ui/carousel/Carousel.vue.d.ts +0 -37
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -14
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -22
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -22
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +0 -50
- package/dist/components/ui/carousel/useCarousel.d.ts +0 -20
- package/dist/components/ui/combobox/Combobox.vue.d.ts +0 -29
- package/dist/components/ui/combobox/ComboboxList.vue.d.ts +0 -32
- package/dist/components/ui/command/index.d.ts +0 -9
- package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +0 -18
- package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +0 -24
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -34
- package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +0 -23
- package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +0 -19
- package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +0 -18
- package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +0 -22
- package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +0 -8
- package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +0 -17
- package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +0 -34
- package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +0 -19
- package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +0 -14
- package/dist/components/ui/context-menu/index.d.ts +0 -12
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -93
- package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -86
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -47
- package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +0 -17
- package/dist/components/ui/drawer/constants.d.ts +0 -47
- package/dist/components/ui/drawer/index.d.ts +0 -35
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +0 -18
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +0 -23
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -14
- package/dist/components/ui/hover-card/index.d.ts +0 -3
- package/dist/components/ui/index.d.ts +0 -41
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +0 -46
- package/dist/components/ui/metric-pill/index.d.ts +0 -1
- package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +0 -28
- package/dist/components/ui/multi-select/index.d.ts +0 -7
- package/dist/components/ui/notification/Notification.vue.d.ts +0 -16
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -18
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -42
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -14
- package/dist/components/ui/progress/Progress.vue.d.ts +0 -49
- package/dist/components/ui/progress/index.d.ts +0 -5
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -42
- package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -14
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -59
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -17
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -17
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -14
- package/dist/components/ui/sheet/index.d.ts +0 -13
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -37
- package/dist/components/ui/slider/index.d.ts +0 -46
- package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -19
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -18
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +0 -11
- package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -28
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -18
- package/dist/components/ui/tabs/index.d.ts +0 -5
- package/dist/components/ui/toast/Toast.vue.d.ts +0 -107
- package/dist/components/ui/toast/index.d.ts +0 -9
- package/dist/components/ui/toast/use-toast.d.ts +0 -182
- package/dist/components/ui/toggle/Toggle.vue.d.ts +0 -29
- package/dist/components/ui/toggle/index.d.ts +0 -26
- package/dist/composables/glass/useGlassRenderer.d.ts +0 -44
- package/dist/composables/glass/useVizChoreography.d.ts +0 -123
- package/dist/composables/motion/core/useHaptic.d.ts +0 -48
- package/dist/composables/motion/useCelebrationBurst.d.ts +0 -50
- package/dist/composables/motion/useLiquidMorph.d.ts +0 -108
- package/dist/composables/motion/useMorphField.d.ts +0 -157
- package/dist/composables/sortable/dragController.d.ts +0 -44
- package/dist/composables/sortable/types.d.ts +0 -133
- package/dist/composables/sortable/useSortable.d.ts +0 -34
- package/dist/concentric.d.ts +0 -1
- package/dist/concentric.js +0 -805
- package/dist/confirm-dialog.d.ts +0 -1
- package/dist/confirm-dialog.js +0 -82
- package/dist/context-menu.d.ts +0 -1
- package/dist/context-menu.js +0 -3
- package/dist/createCanvasLifecycle-CuCrGRfq.js +0 -173
- package/dist/dockContext-gFVS2gMg.js +0 -18
- package/dist/dot-flow-field.d.ts +0 -1
- package/dist/dot-flow-field.js +0 -1485
- package/dist/dot-matrix.d.ts +0 -1
- package/dist/dot-matrix.js +0 -774
- package/dist/dotMatrixField-CRO0ZFk4.js +0 -48
- package/dist/dropdown-menu-CCfcCQ68.js +0 -369
- package/dist/glass-panel.d.ts +0 -1
- package/dist/glass-panel.js +0 -113
- package/dist/goo-blob.d.ts +0 -1
- package/dist/goo-blob.js +0 -348
- package/dist/goo-dot-matrix.d.ts +0 -1
- package/dist/goo-dot-matrix.js +0 -811
- package/dist/hover-card.d.ts +0 -1
- package/dist/hover-card.js +0 -2
- package/dist/hover-popover.d.ts +0 -1
- package/dist/hover-popover.js +0 -2
- package/dist/math-5RcIgCB4.js +0 -51
- package/dist/menuItemVariants-DAXquKja.js +0 -36
- package/dist/paper-grid.d.ts +0 -1
- package/dist/paper-grid.js +0 -761
- package/dist/paperGrid-CXCSMbZ1.js +0 -191
- package/dist/presets-QvYgnFIZ.js +0 -85
- package/dist/prng-B5tIXTtj.js +0 -15
- package/dist/resolveCanvasColor-DsSJk06I.js +0 -93
- package/dist/scrolling-text.d.ts +0 -1
- package/dist/scrolling-text.js +0 -2
- package/dist/selectable-chip.d.ts +0 -1
- package/dist/selectable-chip.js +0 -48
- package/dist/sheet-DUCIoOe0.js +0 -218
- package/dist/sheet.d.ts +0 -1
- package/dist/sheet.js +0 -2
- package/dist/slider-CcICPe3u.js +0 -149
- package/dist/spectrum-walk-cBNSx_zm.js +0 -33
- package/dist/springPresets-DfoQ6XRY.js +0 -64
- package/dist/styles/border-progress.css +0 -109
- package/dist/styles/critical-partition.mjs +0 -195
- package/dist/styles/critical.css +0 -12
- package/dist/styles/deferred.css +0 -35
- package/dist/styles/dock/fission-bridge.css +0 -552
- package/dist/styles/dock/morph-bridge.css +0 -172
- package/dist/styles/dock/stack-rail.css +0 -352
- package/dist/styles/floating-panel.css +0 -51
- package/dist/styles/glass/liquid-morph.css +0 -850
- package/dist/styles/hover-popover.css +0 -47
- package/dist/styles/jubilance.css +0 -65
- package/dist/styles/motion/morph-field.css +0 -229
- package/dist/toggle-chip.d.ts +0 -1
- package/dist/toggle-chip.js +0 -46
- package/dist/uniformBridgeWGPU-BCse1SHU.js +0 -1268
- package/dist/useAnimatedNumber-BntskVdQ.js +0 -40
- package/dist/useConfiguratorState-22BcULzF.js +0 -164
- package/dist/useControlSize-DAZ062x7.js +0 -9
- package/dist/useDockCtaReceive-DX7RDb6_.js +0 -88
- package/dist/useDragMorph-DGLSewwB.js +0 -102
- package/dist/useFuzzySearch-0fTYOhS4.js +0 -177
- package/dist/useGooMorph-Cs13NgYL.js +0 -104
- package/dist/useGpuSubstrate-Ceet70xq.js +0 -347
- package/dist/useHaptic-CPz5BT9I.js +0 -134
- package/dist/useIntersectionPause-DO8Vl4gs.js +0 -53
- package/dist/useKeyboardShortcuts-BEut54Tk.js +0 -99
- package/dist/useLiquidPress-CtOQ8Z0_.js +0 -43
- package/dist/useMorphField-ogBM7ubT.js +0 -141
- package/dist/usePointerVelocityField-BrkqZFhj.js +0 -91
- package/dist/useScrollChrome-JuImi1DM.js +0 -258
- package/dist/useScrollProgress-A0M6qRl7.js +0 -35
- package/dist/useSortable-DQV_UNDw.js +0 -246
- package/dist/useSpring-C0jyvEJB.js +0 -40
- package/dist/useSpringMount-DFxtzmkR.js +0 -71
- package/dist/useSpringPress-VM9RgVq3.js +0 -36
- package/dist/useSurfaceAxis-Ci7Dnaw2.js +0 -7
- package/dist/useTouchGate-B1Lf9XqN.js +0 -84
- package/dist/useUserInvalidAria-EmmwWPOl.js +0 -29
- package/dist/utils/cn.d.ts +0 -27
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/moveBefore.d.ts +0 -15
- package/dist/utils/platformSupport.d.ts +0 -8
- package/dist/vendor-B2qOlYY3.js +0 -239
- package/dist/virtual.d.ts +0 -1
- package/dist/virtual.js +0 -225
- package/src/styles/border-progress.css +0 -109
- package/src/styles/critical-partition.mjs +0 -195
- package/src/styles/dock/fission-bridge.css +0 -552
- package/src/styles/dock/morph-bridge.css +0 -172
- package/src/styles/dock/stack-rail.css +0 -352
- package/src/styles/floating-panel.css +0 -49
- package/src/styles/glass/liquid-morph.css +0 -850
- package/src/styles/hover-popover.css +0 -45
- package/src/styles/jubilance.css +0 -65
- package/src/styles/motion/morph-field.css +0 -229
- /package/dist/{_plugin-vue_export-helper-gLzyemvl.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{compile-INR_tPk_.js → compile-C55K3P9g.js} +0 -0
- /package/dist/components/{ui/_shared → _shared}/ModalOverlay.vue.d.ts +0 -0
- /package/dist/components/{ui/_shared → _shared}/useStalePropWarning.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/Accordion.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionContent.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionItem.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/index.d.ts +0 -0
- /package/dist/components/{ui/alert → alert}/AlertDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/alert → alert}/AlertTitle.vue.d.ts +0 -0
- /package/dist/components/{custom/animated-digit → animated-digit}/AnimatedDigit.vue.d.ts +0 -0
- /package/dist/components/{custom/animated-digit → animated-digit}/index.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/composables/auroraFallbackGround.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/composables/configSource.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/budget.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/renderMode.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.frag.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.vert.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/composition.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/oil-modes.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/procedural-color.wgsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/tonemap.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/vangogh-medium.glsl.d.ts +0 -0
- /package/dist/components/{ui/avatar → avatar}/AvatarFallback.vue.d.ts +0 -0
- /package/dist/components/{ui/avatar → avatar}/AvatarImage.vue.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/buildMetaballProgram.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/easing.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/uniformBridgeWGPU.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/useBlobMood.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/useBlobSatellites.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-noise.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-palette.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.frag.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.vert.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/oklch-perturb.glsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/sdf-body.glsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/watercolor-edges.glsl.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardAction.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardContent.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/ScrollCardHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/index.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/CarouselItem.vue.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/CarouselPager.vue.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/index.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/interface.d.ts +0 -0
- /package/dist/components/{ui/checkbox → checkbox}/Checkbox.vue.d.ts +0 -0
- /package/dist/components/{ui/checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/Collapsible.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/CollapsibleContent.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/CollapsibleTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/index.d.ts +0 -0
- /package/dist/components/{custom/color-swatch → color-swatch}/ColorSwatch.vue.d.ts +0 -0
- /package/dist/components/{custom/color-swatch → color-swatch}/index.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxAnchor.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxInput.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxItem.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxItemIndicator.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxViewport.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/index.d.ts +0 -0
- /package/dist/components/{ui/command → command}/Command.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandDialog.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandInput.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandItem.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandList.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandShortcut.vue.d.ts +0 -0
- /package/dist/components/{custom/completion-seal → completion-seal}/composables/useCompletionSeal.d.ts +0 -0
- /package/dist/components/{custom/completion-seal → completion-seal}/index.d.ts +0 -0
- /package/dist/components/{custom/configurator → configurator}/ConfiguratorLayer.vue.d.ts +0 -0
- /package/dist/components/{custom/configurator → configurator}/useConfiguratorState.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/composables/createConstellationField.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/composables/uniformBridgeWGPU.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationField.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationInteraction.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationRender.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationWell.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/index.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.glsl.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.wgsl.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.glsl.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.wgsl.d.ts +0 -0
- /package/dist/components/{custom/controls → controls}/DarkModeToggle.vue.d.ts +0 -0
- /package/dist/components/{custom/controls → controls}/index.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/DataTable.vue.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/DataTablePagination.vue.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/composables/useDataTableResponsive.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/composables/useDataTableRowIdentity.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/index.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/types.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/DeckPager.vue.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeck.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeckKeyboard.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeckSpring.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/constants.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/index.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/Dialog.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogClose.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogScrollContent.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/index.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/DockSection.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/DockSeparator.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/dockMorphMeasure.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/isTeleportedTarget.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockClickIntegrity.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockHold.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockState.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerOverlay.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/composables/drawerSnapContext.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuCheckboxItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuLabel.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuShortcut.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSub.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubContent.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuTrigger.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/EasingConfigurator.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/EasingPicker.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/composables/useEasingPicker.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/constants.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/index.d.ts +0 -0
- /package/dist/components/{custom/expandable-container → expandable-container}/index.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/FadingScroll.vue.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/composables/useFadingScroll.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/constants.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/index.d.ts +0 -0
- /package/dist/components/{ui/focus-scope → focus-scope}/FocusScope.vue.d.ts +0 -0
- /package/dist/components/{ui/focus-scope → focus-scope}/index.d.ts +0 -0
- /package/dist/components/{custom/fourier-field → fourier-field}/presets.d.ts +0 -0
- /package/dist/components/{custom/fourier-field → fourier-field}/shaders/fourier-field.compute.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-filter → goo-filter}/GooFilter.vue.d.ts +0 -0
- /package/dist/components/{custom/goo-filter → goo-filter}/index.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/HandMark.vue.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/brush.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/freehand.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/index.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/ink.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/texture.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/IconChip.vue.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/index.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/types.d.ts +0 -0
- /package/dist/components/{custom/icon-tooltip → icon-tooltip}/IconTooltip.vue.d.ts +0 -0
- /package/dist/components/{custom/icon-tooltip → icon-tooltip}/index.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/InfiniteScroll.vue.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/types.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/useInfiniteScroll.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/index.d.ts +0 -0
- /package/dist/components/{ui/input → input}/Input.vue.d.ts +0 -0
- /package/dist/components/{ui/input → input}/index.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/ChassisDivider.vue.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/InstrumentChassis.vue.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/index.d.ts +0 -0
- /package/dist/components/{ui/label → label}/Label.vue.d.ts +0 -0
- /package/dist/components/{ui/label → label}/index.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledField.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledInput.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSelect.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSlider.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSwitch.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/index.d.ts +0 -0
- /package/dist/{utils/coalesceMetric.d.ts → components/metric/coalesce-metric.d.ts} +0 -0
- /package/dist/components/{custom/metric-badge → metric-badge}/index.d.ts +0 -0
- /package/dist/components/{custom/metric-cell → metric-cell}/index.d.ts +0 -0
- /package/dist/components/{custom/metric-stack → metric-stack}/MetricStack.vue.d.ts +0 -0
- /package/dist/components/{custom/metric-stack → metric-stack}/index.d.ts +0 -0
- /package/dist/components/{ui/notification → notification}/index.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberField.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldContent.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldDecrement.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldIncrement.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldInput.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/index.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/PagerDots.vue.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/index.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/pagerWindow.d.ts +0 -0
- /package/dist/components/{custom/paper-backdrop → paper-backdrop}/index.d.ts +0 -0
- /package/dist/components/{ui/popover → popover}/index.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/ProgressDefault.vue.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/ProgressGradient.vue.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/ProgressSectioned.vue.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/useProgressGeometry.d.ts +0 -0
- /package/dist/components/{custom/pulse → pulse}/Pulse.vue.d.ts +0 -0
- /package/dist/components/{custom/pulse → pulse}/index.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/RadioGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/RadioGroupItem.vue.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/index.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/fuzzySearchIndex.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/types.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/useFuzzySearch.d.ts +0 -0
- /package/dist/components/{custom/search → search}/index.d.ts +0 -0
- /package/dist/components/{ui/section → section}/Section.vue.d.ts +0 -0
- /package/dist/components/{ui/section → section}/index.d.ts +0 -0
- /package/dist/components/{ui/select → select}/Select.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectItem.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectLabel.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectScrollDownButton.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectScrollUpButton.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectValue.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/index.d.ts +0 -0
- /package/dist/components/{ui/separator → separator}/Separator.vue.d.ts +0 -0
- /package/dist/components/{ui/separator → separator}/index.d.ts +0 -0
- /package/dist/components/{ui/skeleton → skeleton}/Skeleton.vue.d.ts +0 -0
- /package/dist/components/{ui/skeleton → skeleton}/index.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/dropResolver.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/ghostRenderer.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/index.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/touchGate.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/transitionTiming.d.ts +0 -0
- /package/dist/components/{custom/spa-view → spa-view}/SpaView.vue.d.ts +0 -0
- /package/dist/components/{custom/spa-view → spa-view}/index.d.ts +0 -0
- /package/dist/components/{custom/split-chars → split-chars}/index.d.ts +0 -0
- /package/dist/components/{custom/stacked-icons → stacked-icons}/StackedIconGroup.vue.d.ts +0 -0
- /package/dist/components/{custom/stacked-icons → stacked-icons}/index.d.ts +0 -0
- /package/dist/components/{custom/status-dot → status-dot}/StatusDot.vue.d.ts +0 -0
- /package/dist/components/{custom/status-dot → status-dot}/index.d.ts +0 -0
- /package/dist/components/{ui/switch → switch}/Switch.vue.d.ts +0 -0
- /package/dist/components/{ui/switch → switch}/index.d.ts +0 -0
- /package/dist/components/{ui/table → table}/Table.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableBody.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableCaption.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableCell.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableHead.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableRow.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/index.d.ts +0 -0
- /package/dist/components/{custom/tabs → tabs}/index.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInput.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputInput.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItem.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemDelete.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemText.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/index.d.ts +0 -0
- /package/dist/components/{ui/textarea → textarea}/Textarea.vue.d.ts +0 -0
- /package/dist/components/{ui/textarea → textarea}/index.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ContinuousRail.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ContinuousTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ScrubberTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/SegmentedTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/geometry.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/index.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/types.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastAction.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastClose.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/Toaster.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroupItem.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/index.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/toggleGroupContext.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/Tooltip.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipContent.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipProvider.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/TypewriterText.vue.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/composables/useTypewriter.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/types.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/keyboard.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/pausePatterns.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/timing.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/typoStateMachine.d.ts +0 -0
- /package/dist/components/{custom/watercolor-dot → watercolor-dot}/WatercolorDot.vue.d.ts +0 -0
- /package/dist/components/{custom/watercolor-dot → watercolor-dot}/index.d.ts +0 -0
- /package/dist/{utils → composables/glass/procedural}/prng.d.ts +0 -0
- /package/dist/{constants-BWj7DkMn.js → constants-D8lSMkOz.js} +0 -0
- /package/dist/{createContext-Cd23P9j0.js → createContext-BQ1Gy_LB.js} +0 -0
- /package/dist/{flow.glsl-DqEGRpl4.js → flow.glsl-CVqPSj8_.js} +0 -0
- /package/dist/{procedural-color.wgsl-C1Y5PkM6.js → procedural-color.wgsl-ByduxnzV.js} +0 -0
- /package/dist/{scrollReader-rc3Ns_NM.js → scrollReader-DzYqPQ6V.js} +0 -0
- /package/dist/{supportsCssTimeline-BWenxvHU.js → supportsCssTimeline-Ie4xJFbD.js} +0 -0
- /package/dist/{useDragVelocity-CjcfX3dA.js → useDragVelocity-BWcNMCux.js} +0 -0
- /package/dist/{useGlobalDark-B4HO9LXG.js → useGlobalDark-DjKMEQE2.js} +0 -0
- /package/dist/{useInterval-BVUI-sez.js → useInterval-ZATRi-1T.js} +0 -0
- /package/dist/{useLiquidFlex-Cc6PjVJD.js → useLiquidFlex-Ch4exNvN.js} +0 -0
- /package/dist/{useResizeObserver-DdEn3v2f.js → useResizeObserver-DDuoBeBo.js} +0 -0
- /package/dist/{useResolveTokenColor-ChOnCckA.js → useResolveTokenColor-DVT5kwv6.js} +0 -0
- /package/dist/{useTextHighlight-Bma3UlKA.js → useTextHighlight-C46Le9u_.js} +0 -0
- /package/dist/{useTimer-BBLGPXR8.js → useTimer-CkDV8SC2.js} +0 -0
- /package/dist/{useViewportReady-C9pYnn7K.js → useViewportReady-c0isoKL8.js} +0 -0
- /package/dist/{vReveal-CT1KtwZA.js → vReveal-DUmiEkX_.js} +0 -0
- /package/dist/{vSpecular-EX7loENl.js → vSpecular-DlYN0UZy.js} +0 -0
- /package/dist/{writeVelocityWeight-Bh83xZfs.js → writeVelocityWeight-D1rvdxJu.js} +0 -0
|
@@ -0,0 +1,1064 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
2
|
+
import { t } from "./usePointerVelocityField-CwXyeW0Z.js";
|
|
3
|
+
import { n, o as r } from "./procedural-color.wgsl-ByduxnzV.js";
|
|
4
|
+
import { t as i } from "./flow.glsl-CVqPSj8_.js";
|
|
5
|
+
import { a, t as o } from "./useGpuSubstrate-DcY584kE.js";
|
|
6
|
+
import { c as s, t as c } from "./color-Bp5jmv4Z.js";
|
|
7
|
+
import { computed as l, createElementBlock as u, createElementVNode as d, defineComponent as f, normalizeStyle as p, onMounted as m, onScopeDispose as h, openBlock as g, reactive as _, useTemplateRef as v, watch as y } from "vue";
|
|
8
|
+
//#region src/composables/glass/wave/waveField.ts
|
|
9
|
+
var b = Math.PI * 2;
|
|
10
|
+
function x(e, t, n, r, i, a) {
|
|
11
|
+
let o = ((e.x * n.x + e.y * n.y) * r - t * i) / b;
|
|
12
|
+
o -= Math.floor(o);
|
|
13
|
+
let s = (o - .5) * 2;
|
|
14
|
+
return Math.exp(-(s * s) / Math.max(a, .001));
|
|
15
|
+
}
|
|
16
|
+
function S(e, t, n, r, i, a, o) {
|
|
17
|
+
return x(e, t, n, r, i, a) * o;
|
|
18
|
+
}
|
|
19
|
+
function C(e, t, n, r, i, a, o, s) {
|
|
20
|
+
let c = Math.max(t, .001) * .5, l = S({
|
|
21
|
+
x: e.x + c,
|
|
22
|
+
y: e.y
|
|
23
|
+
}, n, r, i, a, o, s), u = S({
|
|
24
|
+
x: e.x - c,
|
|
25
|
+
y: e.y
|
|
26
|
+
}, n, r, i, a, o, s), d = S({
|
|
27
|
+
x: e.x,
|
|
28
|
+
y: e.y + c
|
|
29
|
+
}, n, r, i, a, o, s), f = S({
|
|
30
|
+
x: e.x,
|
|
31
|
+
y: e.y - c
|
|
32
|
+
}, n, r, i, a, o, s);
|
|
33
|
+
return {
|
|
34
|
+
x: (l - u) / (2 * c),
|
|
35
|
+
y: (d - f) / (2 * c)
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function w(e, t, n) {
|
|
39
|
+
let r = 1 - Math.abs((e.x - Math.floor(e.x)) * 2 - 1), i = 1 - Math.abs((e.y - Math.floor(e.y)) * 2 - 1), a = Math.min(r, i), o = Math.max(n.x, n.y) * 1.5, s = t, c = t + 2 * o, l = Math.max(c - s, 1e-6), u = Math.min(Math.max((a - s) / l, 0), 1);
|
|
40
|
+
return u * u * (3 - 2 * u);
|
|
41
|
+
}
|
|
42
|
+
function T(e, t, n, r) {
|
|
43
|
+
let i = e.x - t.x, a = e.y - t.y, o = i * i + a * a, s = Math.max(r, 1e-4), c = n * Math.exp(-o / (2 * s * s)), l = Math.cos(c), u = Math.sin(c);
|
|
44
|
+
return {
|
|
45
|
+
x: t.x + (l * i - u * a),
|
|
46
|
+
y: t.y + (u * i + l * a)
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
var E = 1.833333;
|
|
50
|
+
function D(e, t, n, r, i, a, o, s, c, l = .6) {
|
|
51
|
+
let u = x(t, n, r, i, a, o) * c, d = e({
|
|
52
|
+
x: t.x * l + n * .05,
|
|
53
|
+
y: t.y * l - n * .04
|
|
54
|
+
}), f = l * E, p = e({
|
|
55
|
+
x: t.x * f - n * .03,
|
|
56
|
+
y: t.y * f + n * .035
|
|
57
|
+
}), m = s * u;
|
|
58
|
+
return {
|
|
59
|
+
x: t.x + (d.x + p.x * .5) * m,
|
|
60
|
+
y: t.y + (d.y + p.y * .5) * m
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/components/liquid-grid/composables/liquidGrid.ts
|
|
65
|
+
Math.PI * 2;
|
|
66
|
+
var O = .012, k = .03;
|
|
67
|
+
function A(e, t) {
|
|
68
|
+
let n = e * .1031 % 1, r = t * .1031 % 1, i = e * .1031 % 1;
|
|
69
|
+
n < 0 && (n += 1), r < 0 && (r += 1), i < 0 && (i += 1);
|
|
70
|
+
let a = n * (r + 33.33) + r * (i + 33.33) + i * (n + 33.33);
|
|
71
|
+
n += a, r += a, i += a;
|
|
72
|
+
let o = (n + r) * i % 1;
|
|
73
|
+
return o < 0 && (o += 1), o;
|
|
74
|
+
}
|
|
75
|
+
function j(e, t, n) {
|
|
76
|
+
return e + (t - e) * n;
|
|
77
|
+
}
|
|
78
|
+
function M(e, t) {
|
|
79
|
+
let n = Math.floor(e), r = Math.floor(t), i = e - n, a = t - r, o = i * i * i * (i * (i * 6 - 15) + 10), s = a * a * a * (a * (a * 6 - 15) + 10), c = A(n, r), l = A(n + 1, r), u = A(n, r + 1), d = A(n + 1, r + 1);
|
|
80
|
+
return j(j(c, l, o), j(u, d, o), s);
|
|
81
|
+
}
|
|
82
|
+
function N(e) {
|
|
83
|
+
let t = 0, n = .5, r = 1, i = e.x, a = e.y;
|
|
84
|
+
for (let e = 0; e < 3; e++) {
|
|
85
|
+
t += n * M(i * r, a * r);
|
|
86
|
+
let e = .8 * i - .6 * a, o = .6 * i + .8 * a;
|
|
87
|
+
i = e, a = o, r *= 2, n *= .5;
|
|
88
|
+
}
|
|
89
|
+
return t;
|
|
90
|
+
}
|
|
91
|
+
function P(e) {
|
|
92
|
+
let t = N({
|
|
93
|
+
x: e.x + O,
|
|
94
|
+
y: e.y
|
|
95
|
+
}) - N({
|
|
96
|
+
x: e.x - O,
|
|
97
|
+
y: e.y
|
|
98
|
+
}), n = N({
|
|
99
|
+
x: e.x,
|
|
100
|
+
y: e.y + O
|
|
101
|
+
}) - N({
|
|
102
|
+
x: e.x,
|
|
103
|
+
y: e.y - O
|
|
104
|
+
}), r = t / (2 * O);
|
|
105
|
+
return {
|
|
106
|
+
x: n / (2 * O),
|
|
107
|
+
y: -r
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function F(e, t, n) {
|
|
111
|
+
let r = t - e, i = Math.abs(r) < 1e-9 ? r < 0 ? -1e-9 : 1e-9 : r, a = Math.min(Math.max((n - e) / i, 0), 1);
|
|
112
|
+
return a * a * (3 - 2 * a);
|
|
113
|
+
}
|
|
114
|
+
function I(e, t, n) {
|
|
115
|
+
return Math.min(Math.max(e, t), n);
|
|
116
|
+
}
|
|
117
|
+
function L(e, t, n) {
|
|
118
|
+
let r = 1 - Math.abs((e.x - Math.floor(e.x)) * 2 - 1), i = 1 - Math.abs((e.y - Math.floor(e.y)) * 2 - 1), a = I(t, n.x, .5), o = I(t, n.y, .5), s = n.x * 1.5, c = n.y * 1.5, l = F(a + s, a - s, r), u = F(o + c, o - c, i);
|
|
119
|
+
return l *= I(t / Math.max(a, 1e-6), 0, 1), u *= I(t / Math.max(o, 1e-6), 0, 1), l = j(l, t, I(n.x * 2 - 1, 0, 1)), u = j(u, t, I(n.y * 2 - 1, 0, 1)), Math.max(l, u);
|
|
120
|
+
}
|
|
121
|
+
function R(e, t, n) {
|
|
122
|
+
let r = D(P, {
|
|
123
|
+
x: e.x * n.gridScale,
|
|
124
|
+
y: e.y * n.gridScale
|
|
125
|
+
}, t, n.waveDir, n.waveK, n.waveOmega, n.waveSigma, n.twistMax, n.amp, k);
|
|
126
|
+
n.interactive > .5 && (r = T(r, n.cursor, n.bulgeStrength * n.bulgeMode, n.bulgeRadius));
|
|
127
|
+
let i = L(r, n.targetWidth, n.uvDeriv), a = Math.max(n.majorEvery, 1), o = {
|
|
128
|
+
x: r.x / a,
|
|
129
|
+
y: r.y / a
|
|
130
|
+
}, s = {
|
|
131
|
+
x: n.uvDeriv.x / a,
|
|
132
|
+
y: n.uvDeriv.y / a
|
|
133
|
+
}, c = L(o, n.targetWidthMajor, s), l = Math.max(i * n.minorAlpha, c * n.majorAlpha), u = n.faceAlpha ?? 0, d = n.faceReliefGain ?? 0, f = n.squashK ?? 0, p = n.baseInset ?? 0, m = n.lightDir ?? {
|
|
134
|
+
x: .6,
|
|
135
|
+
y: .8
|
|
136
|
+
}, h = {
|
|
137
|
+
x: Math.floor(r.x) + .5,
|
|
138
|
+
y: Math.floor(r.y) + .5
|
|
139
|
+
}, g = S(h, t, n.waveDir, n.waveK, n.waveOmega, n.waveSigma, n.amp), _ = C(h, 1, t, n.waveDir, n.waveK, n.waveOmega, n.waveSigma, n.amp), v = -_.x * d, y = -_.y * d, b = Math.hypot(v, y, 1), x = Math.hypot(m.x, m.y) || 1, E = I(.5 + (v * m.x + y * m.y) / (b * x) * .5, 0, 1), O = p * (1 - f * g), A = w(r, O, n.uvDeriv), j = A * u * n.fieldAlpha, M = I(E * .5 + g * .5, 0, 1);
|
|
140
|
+
return {
|
|
141
|
+
line: l,
|
|
142
|
+
alpha: l * n.fieldAlpha,
|
|
143
|
+
face: {
|
|
144
|
+
env: g,
|
|
145
|
+
h: g,
|
|
146
|
+
shade: E,
|
|
147
|
+
faceCov: A,
|
|
148
|
+
faceA: j,
|
|
149
|
+
rampT: M
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function z(e, t) {
|
|
154
|
+
return e / Math.max(t, 1);
|
|
155
|
+
}
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/components/liquid-grid/shaders/liquid-grid.wgsl.ts
|
|
158
|
+
var B = `
|
|
159
|
+
const TAU: f32 = 6.283185307179586;
|
|
160
|
+
|
|
161
|
+
// ── Paper-grid uniforms (the typed-struct source-of-truth — see uniformBridgeWGPU.ts) ──
|
|
162
|
+
struct LiquidGridUniforms {
|
|
163
|
+
// u0: (uTime, uGridScale, uMinorPitch, uMajorEvery)
|
|
164
|
+
u0: vec4<f32>,
|
|
165
|
+
// face: (uFaceAlpha, uFaceRelief, uSquashK, uBaseInset) — the height-lit FACE (re-points the retired warp lane)
|
|
166
|
+
face: vec4<f32>,
|
|
167
|
+
// warp2: (uAmplitude, uAspect, uLightDirX, uLightDirY) — aspect + the cel key-light
|
|
168
|
+
warp2: vec4<f32>,
|
|
169
|
+
// grid: (uTargetWidth, uTargetWidthMajor, uMinorAlpha, uMajorAlpha)
|
|
170
|
+
grid: vec4<f32>,
|
|
171
|
+
// field: (uFieldAlpha, uHasBackground, _pad, _pad)
|
|
172
|
+
field: vec4<f32>,
|
|
173
|
+
// cursor: (uCursorX, uCursorY, uSwirlStrength, uSwirlRadius)
|
|
174
|
+
cursor: vec4<f32>,
|
|
175
|
+
// cursor2: (uBulgeMode, uInteractive, _pad, _pad)
|
|
176
|
+
cursor2: vec4<f32>,
|
|
177
|
+
// line: (uLineColor.rgb (linear), _pad)
|
|
178
|
+
line: vec4<f32>,
|
|
179
|
+
// bg: (uBg.rgb (linear), _pad)
|
|
180
|
+
bg: vec4<f32>,
|
|
181
|
+
// wave: (waveDirX, waveDirY, waveK, waveOmega) — the traveling-wave crest
|
|
182
|
+
wave: vec4<f32>,
|
|
183
|
+
// wave2: (waveSigma, twistMax, _pad, amp) — the affine sheet-warp envelope (amp: spring-eased)
|
|
184
|
+
wave2: vec4<f32>,
|
|
185
|
+
// faceLo: (rose-umber trough .rgb (linear), _pad) — the warm-divergent ramp (FOLD B, 3-stop)
|
|
186
|
+
faceLo: vec4<f32>,
|
|
187
|
+
// faceMid: (ember-amber mid .rgb (linear), _pad)
|
|
188
|
+
faceMid: vec4<f32>,
|
|
189
|
+
// faceHi: (warm-wheat crest .rgb (linear), _pad)
|
|
190
|
+
faceHi: vec4<f32>,
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
@group(0) @binding(0) var<uniform> u: LiquidGridUniforms;
|
|
194
|
+
|
|
195
|
+
${n}
|
|
196
|
+
|
|
197
|
+
// ── The host noise basis (transcribes liquidGrid.ts hash21/valueNoise/potentialFBM) ──
|
|
198
|
+
// A quintic-faded 2D value-noise fbm potential — the SAME basis the dot-flow-field carries
|
|
199
|
+
// (so the suite speaks ONE noise basis). DECLARED ABOVE the curl splice (WGSL has no forward
|
|
200
|
+
// declaration — a function may only call one declared earlier).
|
|
201
|
+
fn hash21(x: f32, y: f32) -> f32 {
|
|
202
|
+
var px = fract(x * 0.1031);
|
|
203
|
+
var py = fract(y * 0.1031);
|
|
204
|
+
var pz = fract(x * 0.1031);
|
|
205
|
+
let d = px * (py + 33.33) + py * (pz + 33.33) + pz * (px + 33.33);
|
|
206
|
+
px = px + d;
|
|
207
|
+
py = py + d;
|
|
208
|
+
pz = pz + d;
|
|
209
|
+
return fract((px + py) * pz);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
fn valueNoise(x: f32, y: f32) -> f32 {
|
|
213
|
+
let ix = floor(x);
|
|
214
|
+
let iy = floor(y);
|
|
215
|
+
let fx = x - ix;
|
|
216
|
+
let fy = y - iy;
|
|
217
|
+
let ux = fx * fx * fx * (fx * (fx * 6.0 - 15.0) + 10.0);
|
|
218
|
+
let uy = fy * fy * fy * (fy * (fy * 6.0 - 15.0) + 10.0);
|
|
219
|
+
let a = hash21(ix, iy);
|
|
220
|
+
let b = hash21(ix + 1.0, iy);
|
|
221
|
+
let c = hash21(ix, iy + 1.0);
|
|
222
|
+
let d2 = hash21(ix + 1.0, iy + 1.0);
|
|
223
|
+
return mix(mix(a, b, ux), mix(c, d2, ux), uy);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// The 3-octave scalar fbm potential — the host noise basis the curl operator wraps.
|
|
227
|
+
fn potentialFBM(p: vec2f) -> f32 {
|
|
228
|
+
var v = 0.0;
|
|
229
|
+
var amp = 0.5;
|
|
230
|
+
var freq = 1.0;
|
|
231
|
+
var px = p.x;
|
|
232
|
+
var py = p.y;
|
|
233
|
+
for (var i = 0; i < 3; i = i + 1) {
|
|
234
|
+
v = v + amp * valueNoise(px * freq, py * freq);
|
|
235
|
+
// FBM_ROT mat2(0.8, 0.6, -0.6, 0.8) — same rotation as the shared chunk.
|
|
236
|
+
let rx = 0.8 * px - 0.6 * py;
|
|
237
|
+
let ry = 0.6 * px + 0.8 * py;
|
|
238
|
+
px = rx;
|
|
239
|
+
py = ry;
|
|
240
|
+
freq = freq * 2.0;
|
|
241
|
+
amp = amp * 0.5;
|
|
242
|
+
}
|
|
243
|
+
return v;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// The shared divergence-free 2D-curl operator (flow.wgsl.ts — the FIRST WGSL curl consumer).
|
|
247
|
+
|
|
248
|
+
const CURL_EPS: f32 = 0.012;
|
|
249
|
+
|
|
250
|
+
// ∇×ψ in 2D — the divergence-free flow direction. Central finite differences of the
|
|
251
|
+
// scalar potential give the partials; the cross-pairing (∂y, −∂x) is the 2D curl.
|
|
252
|
+
fn curlFBM(p: vec2f) -> vec2f {
|
|
253
|
+
let dx = potentialFBM(p + vec2f(CURL_EPS, 0.0)) - potentialFBM(p - vec2f(CURL_EPS, 0.0));
|
|
254
|
+
let dy = potentialFBM(p + vec2f(0.0, CURL_EPS)) - potentialFBM(p - vec2f(0.0, CURL_EPS));
|
|
255
|
+
// ψ-gradient is (dx, dy)/(2·eps); the curl rotates it 90°: (∂ψ/∂y, −∂ψ/∂x).
|
|
256
|
+
let g = vec2f(dx, dy) / (2.0 * CURL_EPS);
|
|
257
|
+
return vec2f(g.y, -g.x);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
// The shared traveling-wave WARP chunk (waveField.wgsl.ts — waveFlow/cursorSwirl/
|
|
262
|
+
// travelingEnvelope + the FACE leaf; splices AFTER valueNoise + curlFBM are declared). liquid-grid
|
|
263
|
+
// + concentric read the SAME waveFlow continuous affine sheet-warp (the DRY coupling — a leaf
|
|
264
|
+
// tune moves both).
|
|
265
|
+
|
|
266
|
+
const WAVE_FIELD_TAU: f32 = 6.283185307179586;
|
|
267
|
+
|
|
268
|
+
// The traveling-wave envelope — a moving Gaussian crest band sweeping along waveDir.
|
|
269
|
+
fn travelingEnvelope(pivot: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32) -> f32 {
|
|
270
|
+
let coord = dot(pivot, waveDir) * waveK - t * waveOmega;
|
|
271
|
+
let crest = fract(coord / WAVE_FIELD_TAU);
|
|
272
|
+
let z = (crest - 0.5) * 2.0;
|
|
273
|
+
return exp(-(z * z) / max(waveSigma, 1e-3));
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// The curl-direction scalar — the smooth low-freq director the per-cell twist follows.
|
|
277
|
+
fn curlScalar(cc: vec2f, t: f32) -> f32 {
|
|
278
|
+
let f = curlFBM(vec2f(cc.x * 0.5 + t * 0.08, cc.y * 0.5 - t * 0.06));
|
|
279
|
+
return clamp(f.x, -1.0, 1.0);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// The directed-twist FLOOR (the visibility cure): keep the curl SIGN (adjacent cells lean
|
|
283
|
+
// together) but floor the magnitude so a crest-band cell ALWAYS rotates decisively.
|
|
284
|
+
const WAVE_FIELD_TWIST_FLOOR: f32 = 0.62;
|
|
285
|
+
fn directedTwist(s: f32, floorMag: f32) -> f32 {
|
|
286
|
+
let mag = max(floorMag, abs(s));
|
|
287
|
+
let sgn = tanh(s * 6.0);
|
|
288
|
+
return sgn * mag;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// ── The FACE leaf (the structurally-absent RE-INVENT — height-lit filled cell interior) ──
|
|
292
|
+
// DECLARED ABOVE cellTwist (no WGSL forward declaration): cellTwist rides cellHeight via the
|
|
293
|
+
// driver so twist + face read ONE envelope.
|
|
294
|
+
|
|
295
|
+
// The sheet displacement at a cell center = the EXACT traveling-wave scalar the twist rides.
|
|
296
|
+
fn cellHeight(cc: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32, amp: f32) -> f32 {
|
|
297
|
+
return travelingEnvelope(cc, t, waveDir, waveK, waveOmega, waveSigma) * amp;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// The pre-twist driver (FOLD A): the cell pivot cc + the crest envelope env the twist AND the
|
|
301
|
+
// face both ride. The face samples height/relief at THIS pre-twist cc (the crest twist crosses
|
|
302
|
+
// the cell boundary → floor(twisted_g) would light a NEIGHBOUR cell). cc in .xy, env in .z.
|
|
303
|
+
fn cellDriver(g: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,
|
|
304
|
+
waveSigma: f32, amp: f32) -> vec3f {
|
|
305
|
+
let cs = max(cellSize, 1e-3);
|
|
306
|
+
let cc = (floor(g / cs) + 0.5) * cs;
|
|
307
|
+
let env = cellHeight(cc, t, waveDir, waveK, waveOmega, waveSigma, amp);
|
|
308
|
+
return vec3f(cc, env);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// The central-difference slope of cellHeight across a cell (eps = 0.5·cellSize) — derivative-
|
|
312
|
+
// FREE (NO dFdx on the height) → Safari WebGL2-safe. Returns ∇H.
|
|
313
|
+
fn faceRelief(cc: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,
|
|
314
|
+
waveSigma: f32, amp: f32) -> vec2f {
|
|
315
|
+
let eps = max(cellSize, 1e-3) * 0.5;
|
|
316
|
+
let hxp = cellHeight(cc + vec2f(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);
|
|
317
|
+
let hxm = cellHeight(cc - vec2f(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);
|
|
318
|
+
let hyp = cellHeight(cc + vec2f(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);
|
|
319
|
+
let hym = cellHeight(cc - vec2f(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);
|
|
320
|
+
return vec2f((hxp - hxm) / (2.0 * eps), (hyp - hym) / (2.0 * eps));
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
// Soft inset-square coverage inside a (warped) cell — the filled FACE plateau. d is the
|
|
324
|
+
// distance into the cell from the nearest gutter (the Golus triangle-wave); the inset retreats
|
|
325
|
+
// as it grows (the squash). aa = the shader's fwidth(g) (JS passes a fixed uvDeriv).
|
|
326
|
+
fn facePlateau(g: vec2f, inset: f32, uvDeriv: vec2f) -> f32 {
|
|
327
|
+
let tri = 1.0 - abs(fract(g) * 2.0 - 1.0);
|
|
328
|
+
let d = min(tri.x, tri.y);
|
|
329
|
+
let aa = max(uvDeriv.x, uvDeriv.y) * 1.5;
|
|
330
|
+
return smoothstep(inset, inset + 2.0 * aa, d);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
// The cell-local twist about each cell's own center, gated by the traveling wave + directed
|
|
334
|
+
// by the curl flow. amp is the spring-eased envelope amplitude the JS host drives. FOLD C: the
|
|
335
|
+
// TWIST_FLOOR is crest-gated by env so OFF-crest cells relax to flat calm paper (the traveling
|
|
336
|
+
// read, not static foil).
|
|
337
|
+
fn cellTwist(g: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,
|
|
338
|
+
waveSigma: f32, twistMax: f32, shearMax: f32, amp: f32) -> vec2f {
|
|
339
|
+
let drv = cellDriver(g, cellSize, t, waveDir, waveK, waveOmega, waveSigma, amp);
|
|
340
|
+
let cc = drv.xy;
|
|
341
|
+
let env = drv.z;
|
|
342
|
+
let floorMag = WAVE_FIELD_TWIST_FLOOR * env; // FOLD C: crest-gated floor
|
|
343
|
+
let theta = twistMax * env * directedTwist(curlScalar(cc, t), floorMag);
|
|
344
|
+
let shear = shearMax * env * directedTwist(curlScalar(cc + vec2f(17.3, 9.1), t), floorMag);
|
|
345
|
+
let local = g - cc;
|
|
346
|
+
let ct = cos(theta);
|
|
347
|
+
let st = sin(theta);
|
|
348
|
+
var rot = vec2f(ct * local.x - st * local.y, st * local.x + ct * local.y);
|
|
349
|
+
rot.x = rot.x + shear * rot.y; // a small skew so the box MORPHS, not just rotates
|
|
350
|
+
return cc + rot;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
// The CONTINUOUS traveling-wave FLOW warp — the SMOOTH twin of cellTwist (no per-cell seam;
|
|
354
|
+
// for the level-set contours that shatter into a mesh under the cell discontinuity).
|
|
355
|
+
// BG.W-GRID-AFFINE — warpFreq is the HOST-supplied curl-sampling spatial frequency (the caller's
|
|
356
|
+
// own coordinate units): an order of magnitude BELOW its grid frequency so the warp is locally
|
|
357
|
+
// affine (major lines bow as ONE smooth curve, no sub-cell crackle). liquid-grid (cell-scale g0)
|
|
358
|
+
// passes ~0.03; concentric (unit-scale p) passes 0.6. The 1.833333 second-flow ratio transcribes
|
|
359
|
+
// WAVE_FLOW_SECOND_RATIO. Amplitude unchanged — curl magnitude is the intrinsic gradient at the
|
|
360
|
+
// fixed CURL_EPS, independent of warpFreq; the t-drift is host-agnostic.
|
|
361
|
+
fn waveFlow(g: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32,
|
|
362
|
+
twistMax: f32, amp: f32, warpFreq: f32) -> vec2f {
|
|
363
|
+
let env = travelingEnvelope(g, t, waveDir, waveK, waveOmega, waveSigma) * amp;
|
|
364
|
+
let f = curlFBM(vec2f(g.x * warpFreq + t * 0.05, g.y * warpFreq - t * 0.04));
|
|
365
|
+
let wf2 = warpFreq * 1.833333;
|
|
366
|
+
let f2 = curlFBM(vec2f(g.x * wf2 - t * 0.03, g.y * wf2 + t * 0.035));
|
|
367
|
+
let k = twistMax * env;
|
|
368
|
+
return g + (f + f2 * 0.5) * k;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// The local cursor swirl — the finger twists the cells around it (re-aimed cursorBulge).
|
|
372
|
+
fn cursorSwirl(g: vec2f, cursor: vec2f, strength: f32, radius: f32) -> vec2f {
|
|
373
|
+
let to = g - cursor;
|
|
374
|
+
let d2 = dot(to, to);
|
|
375
|
+
let r = max(radius, 1e-4);
|
|
376
|
+
let theta = strength * exp(-d2 / (2.0 * r * r));
|
|
377
|
+
let ct = cos(theta);
|
|
378
|
+
let st = sin(theta);
|
|
379
|
+
return cursor + vec2f(ct * to.x - st * to.y, st * to.x + ct * to.y);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
// The LOW-octave value-noise topography — the scalar field concentric extracts contours of.
|
|
383
|
+
fn heightField(p: vec2f, octavesF: f32, seed: f32) -> f32 {
|
|
384
|
+
var v = 0.0;
|
|
385
|
+
var amp = 0.5;
|
|
386
|
+
var freq = 1.0;
|
|
387
|
+
var px = p.x + seed;
|
|
388
|
+
var py = p.y - seed;
|
|
389
|
+
let n = i32(clamp(octavesF, 1.0, 6.0));
|
|
390
|
+
for (var i = 0; i < 6; i = i + 1) {
|
|
391
|
+
if (i >= n) { break; }
|
|
392
|
+
v = v + amp * valueNoise(px * freq, py * freq);
|
|
393
|
+
let rx = 0.8 * px - 0.6 * py;
|
|
394
|
+
let ry = 0.6 * px + 0.8 * py;
|
|
395
|
+
px = rx;
|
|
396
|
+
py = ry;
|
|
397
|
+
freq = freq * 2.0;
|
|
398
|
+
amp = amp * 0.5;
|
|
399
|
+
}
|
|
400
|
+
return v;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
// The ω=√(g·k) breathing swell — basins inflate/deflate with weight.
|
|
404
|
+
fn waveSwell(t: f32, phase: f32) -> f32 {
|
|
405
|
+
return sin(t * 0.35 + phase) * 0.5 + sin(t * 0.21 + phase * 1.7) * 0.5;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
// ── §1 The crisp line: Ben Golus derivative-AA grid coverage (transcribes gridCoverage) ──
|
|
410
|
+
// targetWidth is the line half-width in GRID UNITS (lineWidthPx / minorPitchPx); uvDeriv is
|
|
411
|
+
// the per-axis screen-space derivative of g (length(vec2(dpdx, dpdy)) per axis). Returns
|
|
412
|
+
// line coverage [0..1] — exactly N device-pixels wide at ANY DPR/zoom (the blur-kill).
|
|
413
|
+
fn gridCoverage(g: vec2f, targetWidth: f32, uvDeriv: vec2f) -> f32 {
|
|
414
|
+
// triangle wave per axis: 0 at a line, 1 at the cell center.
|
|
415
|
+
let gridUV = 1.0 - abs(fract(g) * 2.0 - 1.0);
|
|
416
|
+
let drawWidth = clamp(vec2f(targetWidth), uvDeriv, vec2f(0.5));
|
|
417
|
+
let lineAA = uvDeriv * 1.5;
|
|
418
|
+
// smoothstep with edge0 > edge1 (Golus) → a falling edge.
|
|
419
|
+
var grid2 = smoothstep(drawWidth + lineAA, drawWidth - lineAA, gridUV);
|
|
420
|
+
// preserve thin-line intensity where the line is sub-drawWidth.
|
|
421
|
+
grid2 = grid2 * clamp(vec2f(targetWidth) / max(drawWidth, vec2f(1e-6)), vec2f(0.0), vec2f(1.0));
|
|
422
|
+
// Moiré suppression: fade toward the average where the cell packs tighter than a pixel.
|
|
423
|
+
grid2 = mix(grid2, vec2f(targetWidth), clamp(uvDeriv * 2.0 - 1.0, vec2f(0.0), vec2f(1.0)));
|
|
424
|
+
return max(grid2.x, grid2.y);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
// ── The 3-stop warm-divergent FACE ramp (FOLD B — height-keyed, NOT a 2-point mid-park) ──
|
|
428
|
+
// trough (faceLo) → mid (faceMid) → crest (faceHi), keyed on rampT = mix(shade, h). All stops
|
|
429
|
+
// are warm hue ∈ [20,90] (the teal-navy purge clear by construction). Linear-space stops; the
|
|
430
|
+
// fs_main routes the result through the production OETF (FOLD E).
|
|
431
|
+
fn faceRamp(rampT: f32) -> vec3f {
|
|
432
|
+
let s = clamp(rampT, 0.0, 1.0);
|
|
433
|
+
if (s < 0.5) {
|
|
434
|
+
return mix(u.faceLo.rgb, u.faceMid.rgb, s * 2.0);
|
|
435
|
+
}
|
|
436
|
+
return mix(u.faceMid.rgb, u.faceHi.rgb, (s - 0.5) * 2.0);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// Full-screen-triangle (the pilot idiom): NDC corners (-1,-1),(3,-1),(-1,3) cover the
|
|
440
|
+
// viewport from a single 3-vertex draw — no vertex buffer.
|
|
441
|
+
struct VSOut {
|
|
442
|
+
@builtin(position) pos: vec4f,
|
|
443
|
+
@location(0) uv: vec2f, // domain [-1,1]², aspect-corrected x
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
@vertex
|
|
447
|
+
fn vs_main(@builtin(vertex_index) vi: u32) -> VSOut {
|
|
448
|
+
var corners = array<vec2f, 3>(
|
|
449
|
+
vec2f(-1.0, -1.0), vec2f(3.0, -1.0), vec2f(-1.0, 3.0),
|
|
450
|
+
);
|
|
451
|
+
let c = corners[vi];
|
|
452
|
+
var out: VSOut;
|
|
453
|
+
out.pos = vec4f(c, 0.0, 1.0);
|
|
454
|
+
out.uv = vec2f(c.x, c.y);
|
|
455
|
+
return out;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@fragment
|
|
459
|
+
fn fs_main(in: VSOut) -> @location(0) vec4f {
|
|
460
|
+
let aspect = max(u.warp2.y, 1e-4);
|
|
461
|
+
// aspect-correct the domain x so the cells read square.
|
|
462
|
+
let uv = vec2f(in.uv.x * aspect, in.uv.y);
|
|
463
|
+
let t = u.u0.x;
|
|
464
|
+
let gridScale = u.u0.y;
|
|
465
|
+
|
|
466
|
+
// §5 the per-pixel kernel: AFFINE sheet-warp + cursor-swirl the grid coordinate, then two-tier
|
|
467
|
+
// Golus. waveFlow is the SMOOTH continuous domain transform (the SAME warp concentric reads) —
|
|
468
|
+
// a low-order curl-flow displacement gated by the traveling wave, locally affine at the cell
|
|
469
|
+
// scale, so the sheet bows/shears as ONE coherent transform (major lines a single smooth curve,
|
|
470
|
+
// no per-cell seam); cursorSwirl twists the cells about the finger. The Golus dv reads the FINAL
|
|
471
|
+
// warped coord (the crisp-line fence survives).
|
|
472
|
+
let g0 = uv * gridScale;
|
|
473
|
+
// BG.W-GRID-AFFINE — g0 is CELL-scale, so pass the tiny 0.03 curl-sampling frequency (== the JS
|
|
474
|
+
// LIQUID_GRID_WARP_FREQ) so the warp is locally affine at the cell scale (major lines bow as ONE
|
|
475
|
+
// smooth curve, no sub-cell crackle). Concentric passes 0.6 (its p is unit-scale).
|
|
476
|
+
var g = waveFlow(g0, t, u.wave.xy, u.wave.z, u.wave.w, u.wave2.x, u.wave2.y, u.wave2.w, 0.03);
|
|
477
|
+
if (u.cursor2.y > 0.5) {
|
|
478
|
+
// bulgeMode (cursor2.x: +repel / −attract) signs the swirl direction.
|
|
479
|
+
g = cursorSwirl(g, u.cursor.xy, u.cursor.z * u.cursor2.x, u.cursor.w);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
// The screen-space derivative of g (Golus): length(vec2(dpdx, dpdy)) per axis. fwidth-class
|
|
483
|
+
// derivative reads the ACTUAL backing-store pixel (NOT fwidthFine — Compatibility-Mode safe).
|
|
484
|
+
let dv = vec2f(
|
|
485
|
+
length(vec2f(dpdx(g.x), dpdy(g.x))),
|
|
486
|
+
length(vec2f(dpdx(g.y), dpdy(g.y))),
|
|
487
|
+
);
|
|
488
|
+
|
|
489
|
+
let minor = gridCoverage(g, u.grid.x, dv);
|
|
490
|
+
// The major tier evals at g / majorEvery with its own derivative scaling.
|
|
491
|
+
let me = max(u.u0.w, 1.0);
|
|
492
|
+
let major = gridCoverage(g / me, u.grid.y, dv / me);
|
|
493
|
+
let line = max(minor * u.grid.z, major * u.grid.w);
|
|
494
|
+
|
|
495
|
+
// ── The FACE (BD.W-PAPERGRID-FACE) — height-lit filled cell interior ──────────────────
|
|
496
|
+
// Sample height/relief at the WARPED-space cell center (floor(g)+0.5, the cell the fragment
|
|
497
|
+
// lands in under the affine warp); Lambert the ∇H slope against the fixed cel key-light; squash
|
|
498
|
+
// the inset so the crest face inflates; multi-stop warm-divergent ramp keyed on mix(shade, h)
|
|
499
|
+
// (FOLD B); the ink through the production OETF (FOLD E).
|
|
500
|
+
let cc = floor(g) + vec2f(0.5);
|
|
501
|
+
let h = cellHeight(cc, t, u.wave.xy, u.wave.z, u.wave.w, u.wave2.x, u.wave2.w);
|
|
502
|
+
let grad = faceRelief(cc, 1.0, t, u.wave.xy, u.wave.z, u.wave.w, u.wave2.x, u.wave2.w);
|
|
503
|
+
let n = normalize(vec3f(-grad * u.face.y, 1.0));
|
|
504
|
+
let shade = clamp(0.5 + dot(n, normalize(vec3f(u.warp2.zw, 1.0))) * 0.5, 0.0, 1.0);
|
|
505
|
+
let inset = u.face.w * (1.0 - u.face.z * h); // squash & stretch
|
|
506
|
+
let face = facePlateau(g, inset, dv);
|
|
507
|
+
let rampT = clamp(shade * 0.5 + h * 0.5, 0.0, 1.0); // FOLD B — height-keyed crest
|
|
508
|
+
let faceInk = clamp(linearToSrgb(faceRamp(rampT)), vec3f(0.0), vec3f(1.0));
|
|
509
|
+
let faceA = face * u.face.x * u.field.x; // FOLD D — one field-blend scalar
|
|
510
|
+
|
|
511
|
+
let col = clamp(linearToSrgb(u.line.rgb), vec3f(0.0), vec3f(1.0));
|
|
512
|
+
let hasBg = u.field.y;
|
|
513
|
+
if (hasBg > 0.5) {
|
|
514
|
+
// opaque ground: the face fills the cell, the ink over the themed bg, the line on top.
|
|
515
|
+
let bg = clamp(linearToSrgb(u.bg.rgb), vec3f(0.0), vec3f(1.0));
|
|
516
|
+
let base = mix(bg, faceInk, faceA);
|
|
517
|
+
let a = line * u.field.x;
|
|
518
|
+
let outRgb = mix(base, col, a);
|
|
519
|
+
return vec4f(outRgb, 1.0);
|
|
520
|
+
}
|
|
521
|
+
// transparent ground: the FACE composites UNDER the line, the SOURCE-OVER operator in
|
|
522
|
+
// PREMULTIPLIED space (the page reads through the gutters). faceAlpha:0 → faceA=0 → the face
|
|
523
|
+
// term vanishes → vec4f(col·line, line) = byte-identical to the HEAD line-only render.
|
|
524
|
+
let linePremult = (col * line) * u.field.x; // line layer (the FieldAlpha global subtlety)
|
|
525
|
+
let lineA = line * u.field.x;
|
|
526
|
+
let facePremult = faceInk * faceA; // face layer premultiplied (faceA folds field.x)
|
|
527
|
+
let outPremult = linePremult + facePremult * (1.0 - lineA);
|
|
528
|
+
let a = lineA + faceA * (1.0 - lineA);
|
|
529
|
+
return vec4f(outPremult, a); // premultiplied over transparent
|
|
530
|
+
}
|
|
531
|
+
`, V = {
|
|
532
|
+
u0: 0,
|
|
533
|
+
face: 4,
|
|
534
|
+
warp2: 8,
|
|
535
|
+
grid: 12,
|
|
536
|
+
field: 16,
|
|
537
|
+
cursor: 20,
|
|
538
|
+
cursor2: 24,
|
|
539
|
+
line: 28,
|
|
540
|
+
bg: 32,
|
|
541
|
+
wave: 36,
|
|
542
|
+
wave2: 40,
|
|
543
|
+
faceLo: 44,
|
|
544
|
+
faceMid: 48,
|
|
545
|
+
faceHi: 52
|
|
546
|
+
};
|
|
547
|
+
function H() {
|
|
548
|
+
let e = /* @__PURE__ */ new ArrayBuffer(224);
|
|
549
|
+
return {
|
|
550
|
+
buffer: e,
|
|
551
|
+
f32: new Float32Array(e)
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
function U(e, t, n, r, i, a, o) {
|
|
555
|
+
let { f32: c } = e, l = z(i, t.cellSize);
|
|
556
|
+
c[V.u0 + 0] = n, c[V.u0 + 1] = l, c[V.u0 + 2] = t.cellSize, c[V.u0 + 3] = t.majorEvery, c[V.face + 0] = t.faceAlpha, c[V.face + 1] = t.faceRelief, c[V.face + 2] = t.squashK, c[V.face + 3] = t.baseInset, c[V.warp2 + 0] = 0, c[V.warp2 + 1] = r, c[V.warp2 + 2] = t.lightDir[0], c[V.warp2 + 3] = t.lightDir[1];
|
|
557
|
+
let u = Math.max(t.cellSize, 1), d = t.lineWidth / u, f = t.lineWidth * 1.6 / u;
|
|
558
|
+
c[V.grid + 0] = d, c[V.grid + 1] = f, c[V.grid + 2] = t.minorAlpha, c[V.grid + 3] = t.majorAlpha;
|
|
559
|
+
let p = t.background === "transparent" ? 0 : 1;
|
|
560
|
+
c[V.field + 0] = t.fieldAlpha, c[V.field + 1] = p, c[V.field + 2] = 0, c[V.field + 3] = 0, c[V.cursor + 0] = a.x, c[V.cursor + 1] = a.y, c[V.cursor + 2] = t.bulgeStrength, c[V.cursor + 3] = t.bulgeRadius, c[V.cursor2 + 0] = t.bulgeMode === "attract" ? -1 : 1, c[V.cursor2 + 1] = +!!t.interactive, c[V.cursor2 + 2] = 0, c[V.cursor2 + 3] = 0;
|
|
561
|
+
let m = s(t.lineColor);
|
|
562
|
+
if (c[V.line + 0] = m[0], c[V.line + 1] = m[1], c[V.line + 2] = m[2], c[V.line + 3] = 0, t.background === "transparent") c[V.bg + 0] = 0, c[V.bg + 1] = 0, c[V.bg + 2] = 0, c[V.bg + 3] = 0;
|
|
563
|
+
else {
|
|
564
|
+
let e = s(t.background);
|
|
565
|
+
c[V.bg + 0] = e[0], c[V.bg + 1] = e[1], c[V.bg + 2] = e[2], c[V.bg + 3] = 0;
|
|
566
|
+
}
|
|
567
|
+
c[V.wave + 0] = t.waveDir[0], c[V.wave + 1] = t.waveDir[1], c[V.wave + 2] = t.waveK, c[V.wave + 3] = t.waveOmega, c[V.wave2 + 0] = t.waveSigma, c[V.wave2 + 1] = t.twistMax, c[V.wave2 + 2] = 0, c[V.wave2 + 3] = o;
|
|
568
|
+
let h = s(t.faceWarmLo), g = s(t.faceWarmMid), _ = s(t.faceWarmHi);
|
|
569
|
+
return c[V.faceLo + 0] = h[0], c[V.faceLo + 1] = h[1], c[V.faceLo + 2] = h[2], c[V.faceLo + 3] = 0, c[V.faceMid + 0] = g[0], c[V.faceMid + 1] = g[1], c[V.faceMid + 2] = g[2], c[V.faceMid + 3] = 0, c[V.faceHi + 0] = _[0], c[V.faceHi + 1] = _[1], c[V.faceHi + 2] = _[2], c[V.faceHi + 3] = 0, e;
|
|
570
|
+
}
|
|
571
|
+
//#endregion
|
|
572
|
+
//#region src/components/liquid-grid/composables/liquidGridWGPUSetup.ts
|
|
573
|
+
var W = 64, G = 8, K = 2;
|
|
574
|
+
function ee(e) {
|
|
575
|
+
let { canvas: t, config: n, getCursor: r, getAmp: i, shouldContinue: a, onFrame: o } = e;
|
|
576
|
+
return function(e, s, c) {
|
|
577
|
+
let l = e.createShaderModule({
|
|
578
|
+
label: "[LiquidGrid] liquid-grid.wgsl",
|
|
579
|
+
code: B
|
|
580
|
+
}), u = H(), d = e.createBuffer({
|
|
581
|
+
label: "[LiquidGrid] uniforms",
|
|
582
|
+
size: u.buffer.byteLength,
|
|
583
|
+
usage: W | G
|
|
584
|
+
}), f = e.createBindGroupLayout({
|
|
585
|
+
label: "[LiquidGrid] bgl",
|
|
586
|
+
entries: [{
|
|
587
|
+
binding: 0,
|
|
588
|
+
visibility: K,
|
|
589
|
+
buffer: { type: "uniform" }
|
|
590
|
+
}]
|
|
591
|
+
}), p = e.createRenderPipeline({
|
|
592
|
+
label: "[LiquidGrid] pipeline",
|
|
593
|
+
layout: e.createPipelineLayout({ bindGroupLayouts: [f] }),
|
|
594
|
+
vertex: {
|
|
595
|
+
module: l,
|
|
596
|
+
entryPoint: "vs_main"
|
|
597
|
+
},
|
|
598
|
+
fragment: {
|
|
599
|
+
module: l,
|
|
600
|
+
entryPoint: "fs_main",
|
|
601
|
+
targets: [{
|
|
602
|
+
format: c,
|
|
603
|
+
blend: {
|
|
604
|
+
color: {
|
|
605
|
+
srcFactor: "one",
|
|
606
|
+
dstFactor: "one-minus-src-alpha",
|
|
607
|
+
operation: "add"
|
|
608
|
+
},
|
|
609
|
+
alpha: {
|
|
610
|
+
srcFactor: "one",
|
|
611
|
+
dstFactor: "one-minus-src-alpha",
|
|
612
|
+
operation: "add"
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}]
|
|
616
|
+
},
|
|
617
|
+
primitive: { topology: "triangle-list" }
|
|
618
|
+
}), m = e.createBindGroup({
|
|
619
|
+
label: "[LiquidGrid] bg",
|
|
620
|
+
layout: f,
|
|
621
|
+
entries: [{
|
|
622
|
+
binding: 0,
|
|
623
|
+
resource: { buffer: d }
|
|
624
|
+
}]
|
|
625
|
+
});
|
|
626
|
+
function h(e) {}
|
|
627
|
+
function g(a) {
|
|
628
|
+
o?.(a), U(u, n, a, t.width / Math.max(t.height, 1), t.height || 1, r(), i()), e.queue.writeBuffer(d, 0, u.buffer);
|
|
629
|
+
let c = e.createCommandEncoder({ label: "[LiquidGrid] frame" }), l = s.getCurrentTexture().createView(), f = c.beginRenderPass({ colorAttachments: [{
|
|
630
|
+
view: l,
|
|
631
|
+
clearValue: {
|
|
632
|
+
r: 0,
|
|
633
|
+
g: 0,
|
|
634
|
+
b: 0,
|
|
635
|
+
a: 0
|
|
636
|
+
},
|
|
637
|
+
loadOp: "clear",
|
|
638
|
+
storeOp: "store"
|
|
639
|
+
}] });
|
|
640
|
+
f.setPipeline(p), f.setBindGroup(0, m), f.draw(3, 1, 0, 0), f.end(), e.queue.submit([c.finish()]);
|
|
641
|
+
}
|
|
642
|
+
return {
|
|
643
|
+
frame: g,
|
|
644
|
+
shouldContinue: a,
|
|
645
|
+
resize: h,
|
|
646
|
+
teardown: () => {
|
|
647
|
+
d.destroy();
|
|
648
|
+
}
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
//#endregion
|
|
653
|
+
//#region src/composables/glass/wave/waveField.glsl.ts
|
|
654
|
+
var te = "\n#ifndef WAVE_FIELD_TAU\n#define WAVE_FIELD_TAU 6.283185307179586\n#endif\n\n// The traveling-wave envelope — a moving Gaussian crest band sweeping along waveDir.\nfloat travelingEnvelope(vec2 pivot, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma) {\n float coord = dot(pivot, waveDir) * waveK - t * waveOmega;\n float crest = fract(coord / WAVE_FIELD_TAU);\n float z = (crest - 0.5) * 2.0;\n return exp(-(z * z) / max(waveSigma, 1e-3));\n}\n\n// The curl-direction scalar — the smooth low-freq director the per-cell twist follows.\nfloat curlScalar(vec2 cc, float t) {\n vec2 f = curlFBM(vec2(cc.x * 0.5 + t * 0.08, cc.y * 0.5 - t * 0.06));\n return clamp(f.x, -1.0, 1.0);\n}\n\n// The directed-twist FLOOR (the visibility cure): keep the curl SIGN (adjacent cells lean\n// together) but floor the magnitude so a crest-band cell ALWAYS rotates decisively.\n#ifndef WAVE_FIELD_TWIST_FLOOR\n#define WAVE_FIELD_TWIST_FLOOR 0.62\n#endif\nfloat directedTwist(float s, float floorMag) {\n float mag = max(floorMag, abs(s));\n float sgn = tanh(s * 6.0);\n return sgn * mag;\n}\n\n// ── The FACE leaf (the structurally-absent RE-INVENT — height-lit filled cell interior) ──\n// Defined ABOVE cellTwist: cellTwist rides cellHeight via the driver so twist + face read ONE\n// envelope.\n\n// The sheet displacement at a cell center = the EXACT traveling-wave scalar the twist rides.\nfloat cellHeight(vec2 cc, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma, float amp) {\n return travelingEnvelope(cc, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n}\n\n// The pre-twist driver (FOLD A): the cell pivot cc + the crest envelope env the twist AND the\n// face both ride. The face samples height/relief at THIS pre-twist cc (floor(twisted_g) at the\n// crest lights a NEIGHBOUR cell). cc in .xy, env in .z.\nvec3 cellDriver(vec2 g, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float amp) {\n float cs = max(cellSize, 1e-3);\n vec2 cc = (floor(g / cs) + 0.5) * cs;\n float env = cellHeight(cc, t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec3(cc, env);\n}\n\n// The central-difference slope of cellHeight across a cell (eps = 0.5·cellSize) — derivative-\n// FREE (NO dFdx on the height) → Safari WebGL2-safe. Returns ∇H.\nvec2 faceRelief(vec2 cc, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float amp) {\n float eps = max(cellSize, 1e-3) * 0.5;\n float hxp = cellHeight(cc + vec2(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hxm = cellHeight(cc - vec2(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hyp = cellHeight(cc + vec2(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hym = cellHeight(cc - vec2(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec2((hxp - hxm) / (2.0 * eps), (hyp - hym) / (2.0 * eps));\n}\n\n// Soft inset-square coverage inside a (warped) cell — the filled FACE plateau. d is the distance\n// into the cell from the nearest gutter (the Golus triangle-wave); the inset retreats as it grows\n// (the squash). aa = the shader's fwidth(g) (JS passes a fixed uvDeriv).\nfloat facePlateau(vec2 g, float inset, vec2 uvDeriv) {\n vec2 tri = 1.0 - abs(fract(g) * 2.0 - 1.0);\n float d = min(tri.x, tri.y);\n float aa = max(uvDeriv.x, uvDeriv.y) * 1.5;\n return smoothstep(inset, inset + 2.0 * aa, d);\n}\n\n// The cell-local twist about each cell's own center, gated by the traveling wave + directed\n// by the curl flow. amp is the spring-eased envelope amplitude the JS host drives. FOLD C: the\n// TWIST_FLOOR is crest-gated by env so OFF-crest cells relax to flat calm paper (the traveling\n// read, not static foil).\nvec2 cellTwist(vec2 g, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float twistMax, float shearMax, float amp) {\n vec3 drv = cellDriver(g, cellSize, t, waveDir, waveK, waveOmega, waveSigma, amp);\n vec2 cc = drv.xy;\n float env = drv.z;\n float floorMag = WAVE_FIELD_TWIST_FLOOR * env; // FOLD C: crest-gated floor\n float theta = twistMax * env * directedTwist(curlScalar(cc, t), floorMag);\n float shear = shearMax * env * directedTwist(curlScalar(cc + vec2(17.3, 9.1), t), floorMag);\n vec2 local = g - cc;\n float ct = cos(theta);\n float st = sin(theta);\n vec2 rot = vec2(ct * local.x - st * local.y, st * local.x + ct * local.y);\n rot.x += shear * rot.y; // a small skew so the box MORPHS, not just rotates\n return cc + rot;\n}\n\n// The CONTINUOUS traveling-wave FLOW warp — the SMOOTH twin of cellTwist (no per-cell seam;\n// for the level-set contours that shatter into a mesh under the cell discontinuity).\n// BG.W-GRID-AFFINE — warpFreq is the HOST-supplied curl-sampling spatial frequency (the caller's\n// own coordinate units): an order of magnitude BELOW its grid frequency so the warp is locally\n// affine (major lines bow as ONE smooth curve, no sub-cell crackle). liquid-grid (cell-scale g0)\n// passes ~0.03; concentric (unit-scale p) passes 0.6. The 1.833333 second-flow ratio transcribes\n// WAVE_FLOW_SECOND_RATIO. Amplitude unchanged — curl magnitude is the intrinsic gradient at the\n// fixed CURL_EPS, independent of warpFreq; the t-drift is host-agnostic.\nvec2 waveFlow(vec2 g, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma,\n float twistMax, float amp, float warpFreq) {\n float env = travelingEnvelope(g, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n vec2 f = curlFBM(vec2(g.x * warpFreq + t * 0.05, g.y * warpFreq - t * 0.04));\n float wf2 = warpFreq * 1.833333;\n vec2 f2 = curlFBM(vec2(g.x * wf2 - t * 0.03, g.y * wf2 + t * 0.035));\n float k = twistMax * env;\n return g + (f + f2 * 0.5) * k;\n}\n\n// The local cursor swirl — the finger twists the cells around it (re-aimed cursorBulge).\nvec2 cursorSwirl(vec2 g, vec2 cursor, float strength, float radius) {\n vec2 to = g - cursor;\n float d2 = dot(to, to);\n float r = max(radius, 1e-4);\n float theta = strength * exp(-d2 / (2.0 * r * r));\n float ct = cos(theta);\n float st = sin(theta);\n return cursor + vec2(ct * to.x - st * to.y, st * to.x + ct * to.y);\n}\n\n// The LOW-octave value-noise topography — the scalar field concentric extracts contours of.\nfloat heightField(vec2 p, float octavesF, float seed) {\n float v = 0.0;\n float amp = 0.5;\n float freq = 1.0;\n float px = p.x + seed;\n float py = p.y - seed;\n int n = int(clamp(octavesF, 1.0, 6.0));\n for (int i = 0; i < 6; i++) {\n if (i >= n) break;\n v += amp * valueNoise(px * freq, py * freq);\n float rx = 0.8 * px - 0.6 * py;\n float ry = 0.6 * px + 0.8 * py;\n px = rx;\n py = ry;\n freq *= 2.0;\n amp *= 0.5;\n }\n return v;\n}\n\n// The ω=√(g·k) breathing swell — basins inflate/deflate with weight.\nfloat waveSwell(float t, float phase) {\n return sin(t * 0.35 + phase) * 0.5 + sin(t * 0.21 + phase * 1.7) * 0.5;\n}\n", ne = "#version 300 es\nprecision highp float;\nin vec2 aPosition;\nout vec2 vUv;\nvoid main() {\n vUv = aPosition; // [-1,1]² domain\n gl_Position = vec4(aPosition, 0.0, 1.0);\n}", re = `#version 300 es
|
|
655
|
+
precision highp float;
|
|
656
|
+
|
|
657
|
+
#define TAU 6.283185307179586
|
|
658
|
+
|
|
659
|
+
in vec2 vUv;
|
|
660
|
+
out vec4 fragColor;
|
|
661
|
+
|
|
662
|
+
uniform float uTime;
|
|
663
|
+
uniform float uGridScale;
|
|
664
|
+
uniform float uMajorEvery;
|
|
665
|
+
uniform float uAspect;
|
|
666
|
+
uniform vec4 uWarp; // (warpScale, warpSpeed, warpScale2, warpSpeed2)
|
|
667
|
+
uniform float uAmplitude;
|
|
668
|
+
uniform vec4 uGrid; // (targetWidth, targetWidthMajor, minorAlpha, majorAlpha)
|
|
669
|
+
uniform float uFieldAlpha;
|
|
670
|
+
uniform float uHasBackground;
|
|
671
|
+
uniform vec4 uCursor; // (cursorX, cursorY, swirlStrength, swirlRadius)
|
|
672
|
+
uniform float uBulgeMode; // +1 repel / −1 attract (signs the swirl)
|
|
673
|
+
uniform float uInteractive; // 1 = cursor swirl on
|
|
674
|
+
uniform vec4 uWave; // (waveDirX, waveDirY, waveK, waveOmega)
|
|
675
|
+
uniform vec4 uWave2; // (waveSigma, twistMax, _pad, amp) — affine sheet-warp envelope
|
|
676
|
+
uniform vec3 uLineColor; // linear-sRGB ink
|
|
677
|
+
uniform vec3 uBg; // linear-sRGB themed bg
|
|
678
|
+
// ── The FACE (BD.W-PAPERGRID-FACE) — the height-lit filled cell interior ──
|
|
679
|
+
uniform vec4 uFace; // (faceAlpha, faceRelief, squashK, baseInset)
|
|
680
|
+
uniform vec2 uLightDir; // the cel key-light direction
|
|
681
|
+
uniform vec3 uFaceLo; // linear-sRGB rose-umber trough (FOLD B, 3-stop)
|
|
682
|
+
uniform vec3 uFaceMid; // linear-sRGB ember-amber mid
|
|
683
|
+
uniform vec3 uFaceHi; // linear-sRGB warm-wheat crest
|
|
684
|
+
|
|
685
|
+
${r}
|
|
686
|
+
|
|
687
|
+
// The 3-stop warm-divergent FACE ramp (FOLD B — height-keyed, NOT a 2-point mid-park). All stops
|
|
688
|
+
// warm hue ∈ [20,90]; linear-space (the OETF runs in main, FOLD E).
|
|
689
|
+
vec3 faceRamp(float rampT) {
|
|
690
|
+
float s = clamp(rampT, 0.0, 1.0);
|
|
691
|
+
if (s < 0.5) {
|
|
692
|
+
return mix(uFaceLo, uFaceMid, s * 2.0);
|
|
693
|
+
}
|
|
694
|
+
return mix(uFaceMid, uFaceHi, (s - 0.5) * 2.0);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// The shared divergence-free 2D-curl operator (flow.glsl.ts) — the prototype declares
|
|
698
|
+
// potentialFBM; the host defines its BODY below the splice (GLSL forward-declaration).
|
|
699
|
+
${i}
|
|
700
|
+
|
|
701
|
+
// ── The host noise basis (transcribes liquidGrid.ts hash21/valueNoise/potentialFBM) ──
|
|
702
|
+
float hash21(float x, float y) {
|
|
703
|
+
float px = fract(x * 0.1031);
|
|
704
|
+
float py = fract(y * 0.1031);
|
|
705
|
+
float pz = fract(x * 0.1031);
|
|
706
|
+
float d = px * (py + 33.33) + py * (pz + 33.33) + pz * (px + 33.33);
|
|
707
|
+
px += d;
|
|
708
|
+
py += d;
|
|
709
|
+
pz += d;
|
|
710
|
+
return fract((px + py) * pz);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
float valueNoise(float x, float y) {
|
|
714
|
+
float ix = floor(x);
|
|
715
|
+
float iy = floor(y);
|
|
716
|
+
float fx = x - ix;
|
|
717
|
+
float fy = y - iy;
|
|
718
|
+
float ux = fx * fx * fx * (fx * (fx * 6.0 - 15.0) + 10.0);
|
|
719
|
+
float uy = fy * fy * fy * (fy * (fy * 6.0 - 15.0) + 10.0);
|
|
720
|
+
float a = hash21(ix, iy);
|
|
721
|
+
float b = hash21(ix + 1.0, iy);
|
|
722
|
+
float c = hash21(ix, iy + 1.0);
|
|
723
|
+
float d2 = hash21(ix + 1.0, iy + 1.0);
|
|
724
|
+
return mix(mix(a, b, ux), mix(c, d2, ux), uy);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
// The 3-octave scalar fbm potential — the curl chunk's forward-declared potentialFBM body.
|
|
728
|
+
float potentialFBM(vec2 p) {
|
|
729
|
+
float v = 0.0;
|
|
730
|
+
float amp = 0.5;
|
|
731
|
+
float freq = 1.0;
|
|
732
|
+
float px = p.x;
|
|
733
|
+
float py = p.y;
|
|
734
|
+
for (int i = 0; i < 3; i++) {
|
|
735
|
+
v += amp * valueNoise(px * freq, py * freq);
|
|
736
|
+
// FBM_ROT mat2(0.8, 0.6, -0.6, 0.8) — same rotation as the shared chunk.
|
|
737
|
+
float rx = 0.8 * px - 0.6 * py;
|
|
738
|
+
float ry = 0.6 * px + 0.8 * py;
|
|
739
|
+
px = rx;
|
|
740
|
+
py = ry;
|
|
741
|
+
freq *= 2.0;
|
|
742
|
+
amp *= 0.5;
|
|
743
|
+
}
|
|
744
|
+
return v;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
// The shared traveling-wave WARP chunk (waveField.glsl.ts — waveFlow/cursorSwirl/
|
|
748
|
+
// travelingEnvelope + the FACE leaf; spliced AFTER valueNoise + potentialFBM bodies + the curlFBM
|
|
749
|
+
// chunk). liquid-grid + concentric read the SAME waveFlow continuous affine sheet-warp (the DRY
|
|
750
|
+
// coupling — a leaf tune moves both, never the retired per-cell twist / LINE-warp).
|
|
751
|
+
${te}
|
|
752
|
+
|
|
753
|
+
// ── §1 The Ben Golus derivative-AA grid coverage (transcribes liquidGrid.ts gridCoverage) ──
|
|
754
|
+
float gridCoverage(vec2 g, float targetWidth, vec2 uvDeriv) {
|
|
755
|
+
vec2 gridUV = 1.0 - abs(fract(g) * 2.0 - 1.0);
|
|
756
|
+
vec2 drawWidth = clamp(vec2(targetWidth), uvDeriv, vec2(0.5));
|
|
757
|
+
vec2 lineAA = uvDeriv * 1.5;
|
|
758
|
+
vec2 grid2 = smoothstep(drawWidth + lineAA, drawWidth - lineAA, gridUV);
|
|
759
|
+
grid2 *= clamp(vec2(targetWidth) / max(drawWidth, vec2(1e-6)), vec2(0.0), vec2(1.0));
|
|
760
|
+
grid2 = mix(grid2, vec2(targetWidth), clamp(uvDeriv * 2.0 - 1.0, vec2(0.0), vec2(1.0)));
|
|
761
|
+
return max(grid2.x, grid2.y);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
void main() {
|
|
765
|
+
float aspect = max(uAspect, 1e-4);
|
|
766
|
+
vec2 uv = vec2(vUv.x * aspect, vUv.y);
|
|
767
|
+
|
|
768
|
+
// §5 the per-pixel kernel: AFFINE sheet-warp + cursor-swirl the grid coordinate, then two-tier
|
|
769
|
+
// Golus. waveFlow is the SMOOTH continuous domain transform (the SAME warp concentric reads) —
|
|
770
|
+
// a low-order curl-flow displacement gated by the traveling wave, locally affine at the cell
|
|
771
|
+
// scale, so the sheet bows/shears as ONE coherent transform (major lines a single smooth curve,
|
|
772
|
+
// no per-cell seam); cursorSwirl twists the cells about the finger. The Golus dv reads the FINAL
|
|
773
|
+
// warped coord (the crisp-line fence survives).
|
|
774
|
+
vec2 g0 = uv * uGridScale;
|
|
775
|
+
// BG.W-GRID-AFFINE — g0 is CELL-scale, so pass the tiny 0.03 curl-sampling frequency (== the JS
|
|
776
|
+
// LIQUID_GRID_WARP_FREQ) so the warp is locally affine at the cell scale (major lines bow as ONE
|
|
777
|
+
// smooth curve, no sub-cell crackle). Concentric passes 0.6 (its p is unit-scale).
|
|
778
|
+
vec2 g = waveFlow(g0, uTime, uWave.xy, uWave.z, uWave.w, uWave2.x, uWave2.y, uWave2.w, 0.03);
|
|
779
|
+
if (uInteractive > 0.5) {
|
|
780
|
+
g = cursorSwirl(g, uCursor.xy, uCursor.z * uBulgeMode, uCursor.w);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
// The screen-space derivative of g (Golus): length(vec2(dFdx, dFdy)) per axis (the actual
|
|
784
|
+
// backing-store pixel — NOT a CSS sub-pixel, the blur-kill).
|
|
785
|
+
vec2 dv = vec2(
|
|
786
|
+
length(vec2(dFdx(g.x), dFdy(g.x))),
|
|
787
|
+
length(vec2(dFdx(g.y), dFdy(g.y)))
|
|
788
|
+
);
|
|
789
|
+
|
|
790
|
+
float minor = gridCoverage(g, uGrid.x, dv);
|
|
791
|
+
float me = max(uMajorEvery, 1.0);
|
|
792
|
+
float major = gridCoverage(g / me, uGrid.y, dv / me);
|
|
793
|
+
float line = max(minor * uGrid.z, major * uGrid.w);
|
|
794
|
+
|
|
795
|
+
// ── The FACE (BD.W-PAPERGRID-FACE) — height-lit filled cell interior ──────────────────
|
|
796
|
+
// Sample height/relief at the WARPED-space cell center (floor(g)+0.5, the cell the fragment
|
|
797
|
+
// lands in under the affine warp); Lambert the ∇H slope against the fixed cel key-light; squash
|
|
798
|
+
// the inset so the crest face inflates; multi-stop warm-divergent ramp keyed on mix(shade, h)
|
|
799
|
+
// (FOLD B); the ink through the production OETF (FOLD E).
|
|
800
|
+
vec2 cc = floor(g) + 0.5;
|
|
801
|
+
float h = cellHeight(cc, uTime, uWave.xy, uWave.z, uWave.w, uWave2.x, uWave2.w);
|
|
802
|
+
vec2 grad = faceRelief(cc, 1.0, uTime, uWave.xy, uWave.z, uWave.w, uWave2.x, uWave2.w);
|
|
803
|
+
vec3 n = normalize(vec3(-grad * uFace.y, 1.0));
|
|
804
|
+
float shade = clamp(0.5 + dot(n, normalize(vec3(uLightDir, 1.0))) * 0.5, 0.0, 1.0);
|
|
805
|
+
float inset = uFace.w * (1.0 - uFace.z * h); // squash & stretch
|
|
806
|
+
float face = facePlateau(g, inset, dv);
|
|
807
|
+
float rampT = clamp(shade * 0.5 + h * 0.5, 0.0, 1.0); // FOLD B — height-keyed crest
|
|
808
|
+
vec3 faceInk = clamp(linearToSrgb(faceRamp(rampT)), vec3(0.0), vec3(1.0));
|
|
809
|
+
float faceA = face * uFace.x * uFieldAlpha; // FOLD D — one field-blend scalar
|
|
810
|
+
|
|
811
|
+
vec3 col = clamp(linearToSrgb(uLineColor), vec3(0.0), vec3(1.0));
|
|
812
|
+
if (uHasBackground > 0.5) {
|
|
813
|
+
vec3 bg = clamp(linearToSrgb(uBg), vec3(0.0), vec3(1.0));
|
|
814
|
+
vec3 base = mix(bg, faceInk, faceA);
|
|
815
|
+
float a = line * uFieldAlpha;
|
|
816
|
+
fragColor = vec4(mix(base, col, a), 1.0);
|
|
817
|
+
return;
|
|
818
|
+
}
|
|
819
|
+
// transparent ground: the FACE composites UNDER the line, the SOURCE-OVER operator in
|
|
820
|
+
// PREMULTIPLIED space. faceAlpha:0 → faceA=0 → the face term vanishes → vec4(col·line, line) =
|
|
821
|
+
// byte-identical to the HEAD line-only render.
|
|
822
|
+
vec3 linePremult = (col * line) * uFieldAlpha; // line layer (the FieldAlpha subtlety)
|
|
823
|
+
float lineA = line * uFieldAlpha;
|
|
824
|
+
vec3 facePremult = faceInk * faceA; // face layer premultiplied (faceA folds field)
|
|
825
|
+
vec3 outPremult = linePremult + facePremult * (1.0 - lineA);
|
|
826
|
+
float a = lineA + faceA * (1.0 - lineA);
|
|
827
|
+
fragColor = vec4(outPremult, a); // premultiplied over transparent
|
|
828
|
+
}`;
|
|
829
|
+
//#endregion
|
|
830
|
+
//#region src/components/liquid-grid/composables/liquidGridGLSetup.ts
|
|
831
|
+
function q(e, t, n) {
|
|
832
|
+
let r = e.createShader(t);
|
|
833
|
+
if (e.shaderSource(r, n), e.compileShader(r), !e.getShaderParameter(r, e.COMPILE_STATUS)) {
|
|
834
|
+
let t = e.getShaderInfoLog(r);
|
|
835
|
+
throw e.deleteShader(r), Error(`[LiquidGrid] shader compile failed: ${t}`);
|
|
836
|
+
}
|
|
837
|
+
return r;
|
|
838
|
+
}
|
|
839
|
+
function ie(e) {
|
|
840
|
+
let { canvas: t, config: n, getCursor: r, getAmp: i, shouldContinue: a, onFrame: o } = e;
|
|
841
|
+
return function(e) {
|
|
842
|
+
let c = q(e, e.VERTEX_SHADER, ne), l = q(e, e.FRAGMENT_SHADER, re), u = e.createProgram();
|
|
843
|
+
if (e.attachShader(u, c), e.attachShader(u, l), e.linkProgram(u), !e.getProgramParameter(u, e.LINK_STATUS)) throw Error(`[LiquidGrid] link failed: ${e.getProgramInfoLog(u)}`);
|
|
844
|
+
e.deleteShader(c), e.deleteShader(l);
|
|
845
|
+
let d = e.createVertexArray();
|
|
846
|
+
e.bindVertexArray(d);
|
|
847
|
+
let f = e.createBuffer();
|
|
848
|
+
e.bindBuffer(e.ARRAY_BUFFER, f), e.bufferData(e.ARRAY_BUFFER, new Float32Array([
|
|
849
|
+
-1,
|
|
850
|
+
-1,
|
|
851
|
+
3,
|
|
852
|
+
-1,
|
|
853
|
+
-1,
|
|
854
|
+
3
|
|
855
|
+
]), e.STATIC_DRAW);
|
|
856
|
+
let p = e.getAttribLocation(u, "aPosition");
|
|
857
|
+
e.enableVertexAttribArray(p), e.vertexAttribPointer(p, 2, e.FLOAT, !1, 0, 0), e.bindVertexArray(null);
|
|
858
|
+
let m = (t) => e.getUniformLocation(u, t), h = m("uTime"), g = m("uGridScale"), _ = m("uMajorEvery"), v = m("uAspect"), y = m("uGrid"), b = m("uFieldAlpha"), x = m("uHasBackground"), S = m("uCursor"), C = m("uBulgeMode"), w = m("uInteractive"), T = m("uWave"), E = m("uWave2"), D = m("uLineColor"), O = m("uBg"), k = m("uFace"), A = m("uLightDir"), j = m("uFaceLo"), M = m("uFaceMid"), N = m("uFaceHi");
|
|
859
|
+
function P(n) {
|
|
860
|
+
e.viewport(0, 0, n?.w ?? t.width, n?.h ?? t.height);
|
|
861
|
+
}
|
|
862
|
+
function F(a) {
|
|
863
|
+
o?.(a);
|
|
864
|
+
let c = t.width / Math.max(t.height, 1), l = z(t.height || 1, n.cellSize);
|
|
865
|
+
e.useProgram(u), e.bindVertexArray(d), e.enable(e.BLEND), e.blendFunc(e.ONE, e.ONE_MINUS_SRC_ALPHA), e.clearColor(0, 0, 0, 0), e.clear(e.COLOR_BUFFER_BIT), e.uniform1f(h, a), e.uniform1f(g, l), e.uniform1f(_, n.majorEvery), e.uniform1f(v, c), e.uniform4f(T, n.waveDir[0], n.waveDir[1], n.waveK, n.waveOmega), e.uniform4f(E, n.waveSigma, n.twistMax, 0, i()), e.uniform1f(w, +!!n.interactive);
|
|
866
|
+
let f = Math.max(n.cellSize, 1), p = n.lineWidth / f, m = n.lineWidth * 1.6 / f;
|
|
867
|
+
e.uniform4f(y, p, m, n.minorAlpha, n.majorAlpha), e.uniform1f(b, n.fieldAlpha);
|
|
868
|
+
let P = r();
|
|
869
|
+
e.uniform4f(S, P.x, P.y, n.bulgeStrength, n.bulgeRadius), e.uniform1f(C, n.bulgeMode === "attract" ? -1 : 1);
|
|
870
|
+
let F = s(n.lineColor);
|
|
871
|
+
e.uniform3f(D, F[0], F[1], F[2]), e.uniform4f(k, n.faceAlpha, n.faceRelief, n.squashK, n.baseInset), e.uniform2f(A, n.lightDir[0], n.lightDir[1]);
|
|
872
|
+
let I = s(n.faceWarmLo), L = s(n.faceWarmMid), R = s(n.faceWarmHi);
|
|
873
|
+
if (e.uniform3f(j, I[0], I[1], I[2]), e.uniform3f(M, L[0], L[1], L[2]), e.uniform3f(N, R[0], R[1], R[2]), n.background === "transparent") e.uniform1f(x, 0), e.uniform3f(O, 0, 0, 0);
|
|
874
|
+
else {
|
|
875
|
+
e.uniform1f(x, 1);
|
|
876
|
+
let t = s(n.background);
|
|
877
|
+
e.uniform3f(O, t[0], t[1], t[2]);
|
|
878
|
+
}
|
|
879
|
+
e.drawArrays(e.TRIANGLES, 0, 3), e.bindVertexArray(null);
|
|
880
|
+
}
|
|
881
|
+
return {
|
|
882
|
+
frame: F,
|
|
883
|
+
shouldContinue: a,
|
|
884
|
+
resize: P,
|
|
885
|
+
teardown: () => {
|
|
886
|
+
e.deleteProgram(u), e.deleteVertexArray(d), e.deleteBuffer(f);
|
|
887
|
+
}
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
//#endregion
|
|
892
|
+
//#region src/components/liquid-grid/composables/useLiquidGrid.ts
|
|
893
|
+
function J(e, n) {
|
|
894
|
+
let { config: r } = n, i = n.mode ?? "live", s = t({ respectReducedMotion: r.respectReducedMotion }), c = {
|
|
895
|
+
x: 1e6,
|
|
896
|
+
y: 1e6
|
|
897
|
+
}, l = () => c, u = 0, d = () => u, f = 0, p = null;
|
|
898
|
+
function m(t) {
|
|
899
|
+
let n = f > 0 ? (t - f) * 1e3 : 16.7;
|
|
900
|
+
if (f = t, s.tick(n), p?.reducedMotion ? u = 0 : (u += (1.06 - u) * .04, u > 1 && (u = 1 + (u - 1) * .85)), !r.interactive || !s.active.value) {
|
|
901
|
+
c = {
|
|
902
|
+
x: 1e6,
|
|
903
|
+
y: 1e6
|
|
904
|
+
};
|
|
905
|
+
return;
|
|
906
|
+
}
|
|
907
|
+
let i = e.value, a = (i?.width || 1) / Math.max(i?.height || 1, 1), o = z(i?.height || 320, r.cellSize), l = s.smoothedPosition.value, d = s.velocity.value, m = s.burst.value, h = (l.x * 2 - 1) * a, g = -(l.y * 2 - 1), _ = .12 + Math.min(.4, m);
|
|
908
|
+
c = {
|
|
909
|
+
x: (h + d.x * _) * o,
|
|
910
|
+
y: (g - d.y * _) * o
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
let g = () => {
|
|
914
|
+
s.onPointerEnter(), r.interactive && p?.wake();
|
|
915
|
+
}, _ = (e) => {
|
|
916
|
+
s.onPointerMove(e), r.interactive && p?.wake();
|
|
917
|
+
}, v = (e) => e.parentElement ?? e;
|
|
918
|
+
function y(e) {
|
|
919
|
+
let t = v(e);
|
|
920
|
+
t.addEventListener("pointermove", _), t.addEventListener("pointerenter", g), t.addEventListener("pointerleave", s.onPointerLeave);
|
|
921
|
+
}
|
|
922
|
+
function b(e) {
|
|
923
|
+
let t = v(e);
|
|
924
|
+
t.removeEventListener("pointermove", _), t.removeEventListener("pointerenter", g), t.removeEventListener("pointerleave", s.onPointerLeave);
|
|
925
|
+
}
|
|
926
|
+
let x = () => {
|
|
927
|
+
let t = e.value;
|
|
928
|
+
return t ? (p || (y(t), p = o(t, {
|
|
929
|
+
mode: i,
|
|
930
|
+
respectReducedMotion: r.respectReducedMotion,
|
|
931
|
+
dprPolicy: a,
|
|
932
|
+
revealBloom: !0,
|
|
933
|
+
setupWGPU: ee({
|
|
934
|
+
canvas: t,
|
|
935
|
+
config: r,
|
|
936
|
+
getCursor: l,
|
|
937
|
+
getAmp: d,
|
|
938
|
+
shouldContinue: () => !0,
|
|
939
|
+
onFrame: m
|
|
940
|
+
}),
|
|
941
|
+
setupGL: ie({
|
|
942
|
+
canvas: t,
|
|
943
|
+
config: r,
|
|
944
|
+
getCursor: l,
|
|
945
|
+
getAmp: d,
|
|
946
|
+
shouldContinue: () => !0,
|
|
947
|
+
onFrame: m
|
|
948
|
+
})
|
|
949
|
+
}), p.armAsync()), p) : null;
|
|
950
|
+
};
|
|
951
|
+
queueMicrotask(() => x());
|
|
952
|
+
let S = {
|
|
953
|
+
get backend() {
|
|
954
|
+
return x()?.backend ?? "webgpu";
|
|
955
|
+
},
|
|
956
|
+
pause: () => x()?.suspend("manual"),
|
|
957
|
+
resume: () => x()?.resume("manual"),
|
|
958
|
+
wake: () => x()?.wake(),
|
|
959
|
+
renderAt: (e) => x()?.renderAt(e),
|
|
960
|
+
get reducedMotion() {
|
|
961
|
+
return p?.reducedMotion ?? !1;
|
|
962
|
+
},
|
|
963
|
+
dispose: () => {
|
|
964
|
+
let t = e.value;
|
|
965
|
+
t && b(t), s.dispose(), p?.dispose();
|
|
966
|
+
}
|
|
967
|
+
};
|
|
968
|
+
return h(() => S.dispose()), S;
|
|
969
|
+
}
|
|
970
|
+
//#endregion
|
|
971
|
+
//#region src/components/liquid-grid/constants.ts
|
|
972
|
+
var ae = 16, Y = {
|
|
973
|
+
L: .62,
|
|
974
|
+
C: .05,
|
|
975
|
+
h: 62
|
|
976
|
+
}, X = {
|
|
977
|
+
L: .44,
|
|
978
|
+
C: .07,
|
|
979
|
+
h: 32
|
|
980
|
+
}, Z = {
|
|
981
|
+
L: .66,
|
|
982
|
+
C: .12,
|
|
983
|
+
h: 58
|
|
984
|
+
}, Q = {
|
|
985
|
+
L: .9,
|
|
986
|
+
C: .1,
|
|
987
|
+
h: 84
|
|
988
|
+
}, $ = {
|
|
989
|
+
cellSize: 64,
|
|
990
|
+
majorEvery: 5,
|
|
991
|
+
minorAlpha: .12,
|
|
992
|
+
majorAlpha: .22,
|
|
993
|
+
lineWidth: 1,
|
|
994
|
+
twistMax: .62,
|
|
995
|
+
waveDir: [.92, .39],
|
|
996
|
+
waveK: .62,
|
|
997
|
+
waveOmega: 1.05,
|
|
998
|
+
waveSigma: .42,
|
|
999
|
+
fieldAlpha: 1,
|
|
1000
|
+
bulgeStrength: .9,
|
|
1001
|
+
bulgeRadius: 2.5,
|
|
1002
|
+
bulgeMode: "repel",
|
|
1003
|
+
lineColor: Y,
|
|
1004
|
+
faceAlpha: 0,
|
|
1005
|
+
faceRelief: 2.6,
|
|
1006
|
+
squashK: .42,
|
|
1007
|
+
baseInset: .14,
|
|
1008
|
+
faceWarmLo: X,
|
|
1009
|
+
faceWarmMid: Z,
|
|
1010
|
+
faceWarmHi: Q,
|
|
1011
|
+
lightDir: [.6, .8],
|
|
1012
|
+
background: "transparent",
|
|
1013
|
+
interactive: !0,
|
|
1014
|
+
respectReducedMotion: !0
|
|
1015
|
+
}, oe = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
1016
|
+
__name: "LiquidGrid",
|
|
1017
|
+
props: {
|
|
1018
|
+
config: { default: () => $ },
|
|
1019
|
+
paused: {
|
|
1020
|
+
type: Boolean,
|
|
1021
|
+
default: !1
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
emits: ["update:paused"],
|
|
1025
|
+
setup(e, { expose: t }) {
|
|
1026
|
+
let n = v("wrapperRef"), r = v("canvasRef"), i = _({ ...e.config });
|
|
1027
|
+
y(() => e.config, (e) => Object.assign(i, e), { deep: !0 }), m(() => {
|
|
1028
|
+
if (e.config.lineColor === $.lineColor) {
|
|
1029
|
+
let e = n.value;
|
|
1030
|
+
if (e) {
|
|
1031
|
+
let t = getComputedStyle(e).getPropertyValue("--foreground").trim();
|
|
1032
|
+
if (t) try {
|
|
1033
|
+
i.lineColor = c(t);
|
|
1034
|
+
} catch {}
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
let a = J(r, { config: i });
|
|
1039
|
+
y(() => e.paused, (e) => e ? a.pause() : a.resume(), { immediate: !0 });
|
|
1040
|
+
let o = l(() => {
|
|
1041
|
+
let t = e.config.background;
|
|
1042
|
+
if (t !== "transparent") return `oklch(${t.L} ${t.C} ${t.h})`;
|
|
1043
|
+
});
|
|
1044
|
+
return t({
|
|
1045
|
+
pause: a.pause,
|
|
1046
|
+
resume: a.resume,
|
|
1047
|
+
wake: a.wake,
|
|
1048
|
+
renderAt: a.renderAt
|
|
1049
|
+
}), (e, t) => (g(), u("div", {
|
|
1050
|
+
ref_key: "wrapperRef",
|
|
1051
|
+
ref: n,
|
|
1052
|
+
class: "liquid-grid-wrapper",
|
|
1053
|
+
style: p(o.value ? { background: o.value } : void 0)
|
|
1054
|
+
}, [d("canvas", {
|
|
1055
|
+
ref_key: "canvasRef",
|
|
1056
|
+
ref: r,
|
|
1057
|
+
class: "liquid-grid-canvas",
|
|
1058
|
+
"aria-hidden": "true",
|
|
1059
|
+
"data-testid": "liquid-grid-canvas"
|
|
1060
|
+
}, null, 512)], 4));
|
|
1061
|
+
}
|
|
1062
|
+
}), [["__scopeId", "data-v-fc828b9e"]]);
|
|
1063
|
+
//#endregion
|
|
1064
|
+
export { O as CURL_EPS, $ as DEFAULT_LIQUID_GRID_CONFIG, Q as FACE_WARM_HI, X as FACE_WARM_LO, Z as FACE_WARM_MID, ae as LIQUID_GRID_MAX_MAJOR_EVERY, oe as LiquidGrid, Y as WARM_IDENTITY_INK, P as curlFBM, L as gridCoverage, z as gridScaleFor, N as potentialFBM, R as sampleLiquidGrid, J as useLiquidGrid };
|