@motionscript/core 0.1.0-alpha.7 → 0.1.0-alpha.9
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/CHANGELOG.md +12 -0
- package/LICENSE +201 -201
- package/NOTICE +49 -48
- package/README.md +91 -91
- package/dist/assets/asset-index.js.map +1 -1
- package/dist/assets/catalog.js.map +1 -1
- package/dist/assets/errors.js.map +1 -1
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/manager.d.ts.map +1 -1
- package/dist/assets/manager.js +7 -5
- package/dist/assets/manager.js.map +1 -1
- package/dist/assets/manifest.js.map +1 -1
- package/dist/assets/record.js.map +1 -1
- package/dist/assets/scope.js.map +1 -1
- package/dist/attributes/audio/effects/chain.d.ts +73 -0
- package/dist/attributes/audio/effects/chain.d.ts.map +1 -0
- package/dist/attributes/audio/effects/chain.js +67 -0
- package/dist/attributes/audio/effects/chain.js.map +1 -0
- package/dist/attributes/audio/effects/implementations/echo.d.ts +14 -0
- package/dist/attributes/audio/effects/implementations/echo.d.ts.map +1 -0
- package/dist/attributes/audio/{filters → effects}/implementations/echo.js +2 -2
- package/dist/attributes/audio/effects/implementations/echo.js.map +1 -0
- package/dist/attributes/audio/effects/implementations/gain.d.ts +10 -0
- package/dist/attributes/audio/effects/implementations/gain.d.ts.map +1 -0
- package/dist/attributes/audio/{filters → effects}/implementations/gain.js +2 -2
- package/dist/attributes/audio/effects/implementations/gain.js.map +1 -0
- package/dist/attributes/audio/effects/implementations/highpass.d.ts +12 -0
- package/dist/attributes/audio/effects/implementations/highpass.d.ts.map +1 -0
- package/dist/attributes/audio/{filters → effects}/implementations/highpass.js +2 -2
- package/dist/attributes/audio/effects/implementations/highpass.js.map +1 -0
- package/dist/attributes/audio/effects/implementations/lowpass.d.ts +12 -0
- package/dist/attributes/audio/effects/implementations/lowpass.d.ts.map +1 -0
- package/dist/attributes/audio/{filters → effects}/implementations/lowpass.js +2 -2
- package/dist/attributes/audio/effects/implementations/lowpass.js.map +1 -0
- package/dist/attributes/audio/effects/implementations/tremolo.d.ts +12 -0
- package/dist/attributes/audio/effects/implementations/tremolo.d.ts.map +1 -0
- package/dist/attributes/audio/{filters → effects}/implementations/tremolo.js +2 -2
- package/dist/attributes/audio/effects/implementations/tremolo.js.map +1 -0
- package/dist/attributes/audio/effects/index.d.ts +12 -0
- package/dist/attributes/audio/effects/index.d.ts.map +1 -0
- package/dist/attributes/audio/effects/index.js +4 -0
- package/dist/attributes/audio/effects/index.js.map +1 -0
- package/dist/attributes/audio/effects/registry.d.ts +36 -0
- package/dist/attributes/audio/effects/registry.d.ts.map +1 -0
- package/dist/attributes/audio/effects/registry.js +80 -0
- package/dist/attributes/audio/effects/registry.js.map +1 -0
- package/dist/attributes/audio/effects/union.d.ts +14 -0
- package/dist/attributes/audio/effects/union.d.ts.map +1 -0
- package/dist/attributes/audio/effects/union.js +24 -0
- package/dist/attributes/audio/effects/union.js.map +1 -0
- package/dist/attributes/audio/ramp.d.ts +103 -0
- package/dist/attributes/audio/ramp.d.ts.map +1 -0
- package/dist/attributes/audio/ramp.js +246 -0
- package/dist/attributes/audio/ramp.js.map +1 -0
- package/dist/attributes/audio/request.d.ts +24 -13
- package/dist/attributes/audio/request.d.ts.map +1 -1
- package/dist/attributes/audio/request.js +4 -3
- package/dist/attributes/audio/request.js.map +1 -1
- package/dist/attributes/audio/schedule.d.ts +21 -13
- package/dist/attributes/audio/schedule.d.ts.map +1 -1
- package/dist/attributes/audio/schedule.js +42 -28
- package/dist/attributes/audio/schedule.js.map +1 -1
- package/dist/attributes/audio/sound.d.ts +15 -12
- package/dist/attributes/audio/sound.d.ts.map +1 -1
- package/dist/attributes/audio/sound.js +8 -10
- package/dist/attributes/audio/sound.js.map +1 -1
- package/dist/attributes/audio/transition.d.ts +33 -0
- package/dist/attributes/audio/transition.d.ts.map +1 -0
- package/dist/attributes/audio/transition.js +48 -0
- package/dist/attributes/audio/transition.js.map +1 -0
- package/dist/attributes/index.d.ts +4 -3
- package/dist/attributes/index.d.ts.map +1 -1
- package/dist/attributes/index.js +4 -7
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/layout/alignment.js.map +1 -1
- package/dist/attributes/layout/index.js.map +1 -1
- package/dist/attributes/layout/insets.js.map +1 -1
- package/dist/attributes/layout/matrix2d.d.ts +2 -2
- package/dist/attributes/layout/matrix2d.js.map +1 -1
- package/dist/attributes/layout/size.js.map +1 -1
- package/dist/attributes/layout/space3d.js +1 -1
- package/dist/attributes/layout/space3d.js.map +1 -1
- package/dist/attributes/layout/transform3d.js.map +1 -1
- package/dist/attributes/layout/vector2.js.map +1 -1
- package/dist/attributes/layout/world-transform.js.map +1 -1
- package/dist/attributes/mask/boolean.js.map +1 -1
- package/dist/attributes/mask/mask.js.map +1 -1
- package/dist/attributes/properties/decorator.js.map +1 -1
- package/dist/attributes/properties/inputs.js.map +1 -1
- package/dist/attributes/properties/typed.d.ts +7 -7
- package/dist/attributes/properties/typed.d.ts.map +1 -1
- package/dist/attributes/properties/typed.js +6 -6
- package/dist/attributes/properties/typed.js.map +1 -1
- package/dist/attributes/render3d/orbit.js.map +1 -1
- package/dist/attributes/shape/corners/corner-radius.d.ts +1 -2
- package/dist/attributes/shape/corners/corner-radius.d.ts.map +1 -1
- package/dist/attributes/shape/corners/corner-radius.js +1 -2
- package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
- package/dist/attributes/shape/corners/corner-style.js.map +1 -1
- package/dist/attributes/shape/corners/corners.js.map +1 -1
- package/dist/attributes/shape/corners/index.js.map +1 -1
- package/dist/attributes/shape/effects/backdrop.js.map +1 -1
- package/dist/attributes/shape/effects/chain.d.ts +96 -409
- package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
- package/dist/attributes/shape/effects/chain.js +93 -283
- package/dist/attributes/shape/effects/chain.js.map +1 -1
- package/dist/attributes/shape/effects/effect-data.d.ts +1 -1
- package/dist/attributes/shape/effects/effect-data.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/ascii.d.ts +45 -13
- package/dist/attributes/shape/effects/implementations/ascii.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/ascii.js +29 -23
- package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.d.ts +32 -7
- package/dist/attributes/shape/effects/implementations/bit-crush.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.js +17 -15
- package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/block-displace.d.ts +46 -10
- package/dist/attributes/shape/effects/implementations/block-displace.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/block-displace.js +21 -19
- package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bloom.d.ts +32 -7
- package/dist/attributes/shape/effects/implementations/bloom.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/bloom.js +17 -11
- package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/blur.d.ts +16 -3
- package/dist/attributes/shape/effects/implementations/blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/blur.js +13 -5
- package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bulge.d.ts +28 -9
- package/dist/attributes/shape/effects/implementations/bulge.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/bulge.js +15 -14
- package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts +21 -5
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.js +15 -10
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +96 -26
- package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.js +29 -26
- package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/curves.d.ts +20 -6
- package/dist/attributes/shape/effects/implementations/curves.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/curves.js +26 -23
- package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.d.ts +26 -5
- package/dist/attributes/shape/effects/implementations/directional-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.js +15 -10
- package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/dither.d.ts +58 -11
- package/dist/attributes/shape/effects/implementations/dither.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/dither.js +26 -20
- package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts +46 -14
- package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.js +24 -29
- package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/duotone.d.ts +26 -7
- package/dist/attributes/shape/effects/implementations/duotone.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/duotone.js +17 -16
- package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/edges.d.ts +29 -7
- package/dist/attributes/shape/effects/implementations/edges.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/edges.js +17 -14
- package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.d.ts +76 -19
- package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.js +28 -22
- package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glow.d.ts +149 -42
- package/dist/attributes/shape/effects/implementations/glow.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/glow.js +74 -72
- package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grain.d.ts +43 -11
- package/dist/attributes/shape/effects/implementations/grain.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/grain.js +21 -18
- package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grayscale.d.ts +17 -3
- package/dist/attributes/shape/effects/implementations/grayscale.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/grayscale.js +13 -5
- package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/halftone.d.ts +40 -9
- package/dist/attributes/shape/effects/implementations/halftone.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/halftone.js +20 -16
- package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/invert.d.ts +23 -5
- package/dist/attributes/shape/effects/implementations/invert.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/invert.js +15 -10
- package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts +57 -18
- package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/kaleidoscope.js +25 -22
- package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/lut.d.ts +34 -7
- package/dist/attributes/shape/effects/implementations/lut.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/lut.js +20 -16
- package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/magnify.d.ts +27 -9
- package/dist/attributes/shape/effects/implementations/magnify.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/magnify.js +17 -14
- package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/motion-blur.d.ts +54 -19
- package/dist/attributes/shape/effects/implementations/motion-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/motion-blur.js +42 -20
- package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.d.ts +17 -3
- package/dist/attributes/shape/effects/implementations/oil-paint.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.js +13 -9
- package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/outline.d.ts +28 -8
- package/dist/attributes/shape/effects/implementations/outline.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/outline.js +18 -17
- package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/pixelate.d.ts +25 -6
- package/dist/attributes/shape/effects/implementations/pixelate.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/pixelate.js +16 -14
- package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/posterize.d.ts +14 -3
- package/dist/attributes/shape/effects/implementations/posterize.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/posterize.js +13 -9
- package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts +91 -26
- package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/progressive-blur.js +27 -28
- package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.d.ts +49 -10
- package/dist/attributes/shape/effects/implementations/radial-blur.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.js +19 -20
- package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts +36 -6
- package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.js +16 -15
- package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scanlines.d.ts +52 -11
- package/dist/attributes/shape/effects/implementations/scanlines.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/scanlines.js +21 -18
- package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scatter.d.ts +23 -9
- package/dist/attributes/shape/effects/implementations/scatter.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/scatter.js +15 -12
- package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.d.ts +90 -34
- package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.js +42 -26
- package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/sharpen.d.ts +23 -5
- package/dist/attributes/shape/effects/implementations/sharpen.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/sharpen.js +16 -11
- package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/streak.d.ts +40 -9
- package/dist/attributes/shape/effects/implementations/streak.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/streak.js +19 -16
- package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/threshold.d.ts +24 -5
- package/dist/attributes/shape/effects/implementations/threshold.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/threshold.js +17 -11
- package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/twirl.d.ts +35 -8
- package/dist/attributes/shape/effects/implementations/twirl.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/twirl.js +17 -16
- package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vignette.d.ts +37 -7
- package/dist/attributes/shape/effects/implementations/vignette.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/vignette.js +19 -18
- package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vintage.d.ts +24 -5
- package/dist/attributes/shape/effects/implementations/vintage.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/vintage.js +15 -10
- package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/wave.d.ts +61 -14
- package/dist/attributes/shape/effects/implementations/wave.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/wave.js +26 -23
- package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
- package/dist/attributes/shape/effects/index.d.ts +4 -2
- package/dist/attributes/shape/effects/index.d.ts.map +1 -1
- package/dist/attributes/shape/effects/index.js +1 -1
- package/dist/attributes/shape/effects/index.js.map +1 -1
- package/dist/attributes/shape/effects/registry.d.ts +11 -0
- package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
- package/dist/attributes/shape/effects/registry.js +113 -102
- package/dist/attributes/shape/effects/registry.js.map +1 -1
- package/dist/attributes/shape/effects/spec.d.ts +229 -0
- package/dist/attributes/shape/effects/spec.d.ts.map +1 -0
- package/dist/attributes/shape/effects/spec.js +178 -0
- package/dist/attributes/shape/effects/spec.js.map +1 -0
- package/dist/attributes/shape/effects/union.js.map +1 -1
- package/dist/attributes/shape/fill/blend.js.map +1 -1
- package/dist/attributes/shape/fill/chain.d.ts +7 -9
- package/dist/attributes/shape/fill/chain.d.ts.map +1 -1
- package/dist/attributes/shape/fill/chain.js +9 -11
- package/dist/attributes/shape/fill/chain.js.map +1 -1
- package/dist/attributes/shape/fill/coerce.js.map +1 -1
- package/dist/attributes/shape/fill/color/constants.js.map +1 -1
- package/dist/attributes/shape/fill/color/parser.js.map +1 -1
- package/dist/attributes/shape/fill/gradient-stops.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/canvas3d.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/color.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/conic-gradient.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/dot-grid.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/fractal-noise.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/grid.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/image.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/linear-gradient.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/noise.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/radial-gradient.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/shader.d.ts +27 -26
- package/dist/attributes/shape/fill/implementations/shader.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/shader.js +20 -14
- package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/stripe.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/video.js.map +1 -1
- package/dist/attributes/shape/fill/index.d.ts +1 -1
- package/dist/attributes/shape/fill/index.d.ts.map +1 -1
- package/dist/attributes/shape/fill/index.js.map +1 -1
- package/dist/attributes/shape/fill/lerp.js.map +1 -1
- package/dist/attributes/shape/fill/media-preset.js.map +1 -1
- package/dist/attributes/shape/fill/registry.d.ts +1 -2
- package/dist/attributes/shape/fill/registry.d.ts.map +1 -1
- package/dist/attributes/shape/fill/registry.js +1 -2
- package/dist/attributes/shape/fill/registry.js.map +1 -1
- package/dist/attributes/shape/fill/union.js.map +1 -1
- package/dist/attributes/shape/filters/chain.d.ts +2 -6
- package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
- package/dist/attributes/shape/filters/chain.js +1 -5
- package/dist/attributes/shape/filters/chain.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/alpha.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/blur.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-adjustment.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-matrix.d.ts +2 -2
- package/dist/attributes/shape/filters/implementations/color-matrix.d.ts.map +1 -1
- package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/echo.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/exposure.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/grayscale.js.map +1 -1
- package/dist/attributes/shape/filters/implementations/posterize-time.js.map +1 -1
- package/dist/attributes/shape/filters/index.js.map +1 -1
- package/dist/attributes/shape/filters/registry.d.ts +1 -1
- package/dist/attributes/shape/filters/registry.d.ts.map +1 -1
- package/dist/attributes/shape/filters/registry.js +3 -3
- package/dist/attributes/shape/filters/registry.js.map +1 -1
- package/dist/attributes/shape/filters/union.d.ts +2 -3
- package/dist/attributes/shape/filters/union.d.ts.map +1 -1
- package/dist/attributes/shape/filters/union.js.map +1 -1
- package/dist/attributes/shape/path/anchors.js.map +1 -1
- package/dist/attributes/shape/path/bezier.js.map +1 -1
- package/dist/attributes/shape/path/index.js.map +1 -1
- package/dist/attributes/shape/path/measure.js.map +1 -1
- package/dist/attributes/shape/path/morph.js.map +1 -1
- package/dist/attributes/shape/path/ops.js.map +1 -1
- package/dist/attributes/shape/path/types.js.map +1 -1
- package/dist/attributes/shape/path/walk.js.map +1 -1
- package/dist/attributes/shape/shaders/index.d.ts +2 -0
- package/dist/attributes/shape/shaders/index.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/index.js +2 -0
- package/dist/attributes/shape/shaders/index.js.map +1 -1
- package/dist/attributes/shape/shaders/language.d.ts +26 -0
- package/dist/attributes/shape/shaders/language.d.ts.map +1 -0
- package/dist/attributes/shape/shaders/language.js +20 -0
- package/dist/attributes/shape/shaders/language.js.map +1 -0
- package/dist/attributes/shape/shaders/pack.d.ts +25 -11
- package/dist/attributes/shape/shaders/pack.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/pack.js +9 -4
- package/dist/attributes/shape/shaders/pack.js.map +1 -1
- package/dist/attributes/shape/shaders/resolve.d.ts +4 -5
- package/dist/attributes/shape/shaders/resolve.d.ts.map +1 -1
- package/dist/attributes/shape/shaders/resolve.js +3 -6
- package/dist/attributes/shape/shaders/resolve.js.map +1 -1
- package/dist/attributes/shape/shaders/uniforms.d.ts +41 -0
- package/dist/attributes/shape/shaders/uniforms.d.ts.map +1 -0
- package/dist/attributes/shape/shaders/uniforms.js +0 -0
- package/dist/attributes/shape/shaders/uniforms.js.map +1 -0
- package/dist/attributes/shape/shadow/index.js.map +1 -1
- package/dist/attributes/shape/shadow/shadow.js.map +1 -1
- package/dist/attributes/shape/stroke/index.js.map +1 -1
- package/dist/attributes/shape/stroke/stroke.js.map +1 -1
- package/dist/attributes/shared/operators.js.map +1 -1
- package/dist/attributes/text/index.js.map +1 -1
- package/dist/attributes/text/ops.js.map +1 -1
- package/dist/attributes/text/types.js.map +1 -1
- package/dist/browser/chunks/{chunk-LKUYVFU3.js → chunk-4BDLFEOC.js} +1 -1
- package/dist/browser/chunks/chunk-4BDLFEOC.js.map +7 -0
- package/dist/browser/chunks/chunk-7DB6BI27.js +6 -0
- package/dist/browser/chunks/chunk-7DB6BI27.js.map +7 -0
- package/dist/browser/chunks/chunk-IX53IFBD.js +13 -0
- package/dist/browser/chunks/chunk-IX53IFBD.js.map +7 -0
- package/dist/browser/chunks/{chunk-ZRPZPWZU.js → chunk-Q55UPA3E.js} +1 -1
- package/dist/browser/chunks/chunk-Q55UPA3E.js.map +7 -0
- package/dist/browser/component.js +1 -1
- package/dist/browser/experimental.js +1 -1
- package/dist/browser/experimental.js.map +4 -4
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +2 -2
- package/dist/browser/manifest.json +1 -1
- package/dist/browser/sdk.js +1 -1
- package/dist/component.js.map +1 -1
- package/dist/components/builtins/audio/audio.d.ts +14 -5
- package/dist/components/builtins/audio/audio.d.ts.map +1 -1
- package/dist/components/builtins/audio/audio.js +10 -13
- package/dist/components/builtins/audio/audio.js.map +1 -1
- package/dist/components/builtins/geometry/composite.d.ts +3 -3
- package/dist/components/builtins/geometry/composite.js.map +1 -1
- package/dist/components/builtins/geometry/geometry.js.map +1 -1
- package/dist/components/builtins/geometry/shape-outline.js.map +1 -1
- package/dist/components/builtins/layout/layout.js.map +1 -1
- package/dist/components/builtins/media/media.d.ts +7 -7
- package/dist/components/builtins/media/media.d.ts.map +1 -1
- package/dist/components/builtins/media/media.js +4 -10
- package/dist/components/builtins/media/media.js.map +1 -1
- package/dist/components/builtins/providers/providers.js.map +1 -1
- package/dist/components/builtins/text/number-format.js.map +1 -1
- package/dist/components/builtins/text/number-pattern.js.map +1 -1
- package/dist/components/builtins/text/text-defaults.js.map +1 -1
- package/dist/components/builtins/text/text-layout.js.map +1 -1
- package/dist/components/builtins/text/text.d.ts +9 -9
- package/dist/components/builtins/text/text.d.ts.map +1 -1
- package/dist/components/builtins/text/text.js +3 -0
- package/dist/components/builtins/text/text.js.map +1 -1
- package/dist/components/builtins/three/canvas3d.js.map +1 -1
- package/dist/components/builtins/three/grid-geometry3d.js.map +1 -1
- package/dist/components/builtins/three/three.js.map +1 -1
- package/dist/components/factory/api.d.ts +38 -11
- package/dist/components/factory/api.d.ts.map +1 -1
- package/dist/components/factory/api.js.map +1 -1
- package/dist/components/factory/clip-of.js.map +1 -1
- package/dist/components/factory/commands-for.js.map +1 -1
- package/dist/components/factory/component-audio.js.map +1 -1
- package/dist/components/factory/component2d.js.map +1 -1
- package/dist/components/factory/component3d.d.ts.map +1 -1
- package/dist/components/factory/component3d.js +11 -3
- package/dist/components/factory/component3d.js.map +1 -1
- package/dist/components/factory/factory.d.ts +3 -0
- package/dist/components/factory/factory.d.ts.map +1 -1
- package/dist/components/factory/factory.js +39 -5
- package/dist/components/factory/factory.js.map +1 -1
- package/dist/components/factory/timeline.js.map +1 -1
- package/dist/components/factory/type-def.js.map +1 -1
- package/dist/components/factory/types.js.map +1 -1
- package/dist/components/factory/views.js.map +1 -1
- package/dist/components/modules/aim.js.map +1 -1
- package/dist/components/modules/corners.js.map +1 -1
- package/dist/components/modules/flow.js.map +1 -1
- package/dist/components/modules/material.js.map +1 -1
- package/dist/components/modules/paint.js.map +1 -1
- package/dist/components/modules/shapes.js.map +1 -1
- package/dist/components/modules/text-layout.js.map +1 -1
- package/dist/components/modules/text-style.js.map +1 -1
- package/dist/components/modules/three-entries.js.map +1 -1
- package/dist/components/modules/view3d.js.map +1 -1
- package/dist/components/trees/2d/group-bounds.js.map +1 -1
- package/dist/components/trees/2d/node-lifecycle.js.map +1 -1
- package/dist/components/trees/2d/node-motion.js.map +1 -1
- package/dist/components/trees/2d/node-render.d.ts +1 -1
- package/dist/components/trees/2d/node-render.js +1 -1
- package/dist/components/trees/2d/node-render.js.map +1 -1
- package/dist/components/trees/2d/node-space.js.map +1 -1
- package/dist/components/trees/2d/node-transform.js.map +1 -1
- package/dist/components/trees/2d/node2d.d.ts +1 -1
- package/dist/components/trees/2d/node2d.js +1 -1
- package/dist/components/trees/2d/node2d.js.map +1 -1
- package/dist/components/trees/audio/index.js.map +1 -1
- package/dist/components/trees/audio/node-audio.d.ts +16 -9
- package/dist/components/trees/audio/node-audio.d.ts.map +1 -1
- package/dist/components/trees/audio/node-audio.js +15 -11
- package/dist/components/trees/audio/node-audio.js.map +1 -1
- package/dist/components/trees/index.js.map +1 -1
- package/dist/components/trees/node/node-editor-state.js.map +1 -1
- package/dist/components/trees/node/node-reactive.js.map +1 -1
- package/dist/components/trees/node/node-time.js.map +1 -1
- package/dist/components/trees/node/node-walk.js.map +1 -1
- package/dist/components/trees/node/node.js.map +1 -1
- package/dist/components/trees/root/canvas2d-node.js.map +1 -1
- package/dist/components/trees/three/node3d.js.map +1 -1
- package/dist/document/audio.js.map +1 -1
- package/dist/document/builtins.js.map +1 -1
- package/dist/document/command-traits.d.ts +12 -2
- package/dist/document/command-traits.d.ts.map +1 -1
- package/dist/document/command-traits.js +34 -6
- package/dist/document/command-traits.js.map +1 -1
- package/dist/document/deny-globals.js.map +1 -1
- package/dist/document/diff.js.map +1 -1
- package/dist/document/doc-index.js.map +1 -1
- package/dist/document/expression/compile.js.map +1 -1
- package/dist/document/expression/index.js.map +1 -1
- package/dist/document/expression/ops.js.map +1 -1
- package/dist/document/expression/parse.js.map +1 -1
- package/dist/document/expression/refs.js.map +1 -1
- package/dist/document/expression/types.js.map +1 -1
- package/dist/document/expression/walk.js.map +1 -1
- package/dist/document/index.d.ts +8 -0
- package/dist/document/index.d.ts.map +1 -1
- package/dist/document/index.js +4 -0
- package/dist/document/index.js.map +1 -1
- package/dist/document/migrate.d.ts +70 -0
- package/dist/document/migrate.d.ts.map +1 -0
- package/dist/document/migrate.js +202 -0
- package/dist/document/migrate.js.map +1 -0
- package/dist/document/missing-node.d.ts +27 -0
- package/dist/document/missing-node.d.ts.map +1 -0
- package/dist/document/missing-node.js +48 -0
- package/dist/document/missing-node.js.map +1 -0
- package/dist/document/node-decorator.js.map +1 -1
- package/dist/document/node-descriptor.d.ts +4 -0
- package/dist/document/node-descriptor.d.ts.map +1 -1
- package/dist/document/node-descriptor.js.map +1 -1
- package/dist/document/placement.d.ts +2 -1
- package/dist/document/placement.d.ts.map +1 -1
- package/dist/document/placement.js.map +1 -1
- package/dist/document/project.d.ts +2 -0
- package/dist/document/project.d.ts.map +1 -1
- package/dist/document/project.js +1 -0
- package/dist/document/project.js.map +1 -1
- package/dist/document/prop-evolution.d.ts +51 -0
- package/dist/document/prop-evolution.d.ts.map +1 -0
- package/dist/document/prop-evolution.js +83 -0
- package/dist/document/prop-evolution.js.map +1 -0
- package/dist/document/registry.d.ts +16 -0
- package/dist/document/registry.d.ts.map +1 -1
- package/dist/document/registry.js +30 -4
- package/dist/document/registry.js.map +1 -1
- package/dist/document/settled-index.d.ts +2 -0
- package/dist/document/settled-index.d.ts.map +1 -1
- package/dist/document/settled-index.js +5 -5
- package/dist/document/settled-index.js.map +1 -1
- package/dist/document/timeline-patch.d.ts +4 -0
- package/dist/document/timeline-patch.d.ts.map +1 -1
- package/dist/document/timeline-patch.js +28 -3
- package/dist/document/timeline-patch.js.map +1 -1
- package/dist/document/timeline.d.ts +45 -1
- package/dist/document/timeline.d.ts.map +1 -1
- package/dist/document/timeline.js +172 -42
- package/dist/document/timeline.js.map +1 -1
- package/dist/document/types.d.ts +14 -28
- package/dist/document/types.d.ts.map +1 -1
- package/dist/document/types.js.map +1 -1
- package/dist/document/validate.d.ts +17 -5
- package/dist/document/validate.d.ts.map +1 -1
- package/dist/document/validate.js +158 -21
- package/dist/document/validate.js.map +1 -1
- package/dist/document/vocabulary.d.ts +28 -0
- package/dist/document/vocabulary.d.ts.map +1 -0
- package/dist/document/vocabulary.js +42 -0
- package/dist/document/vocabulary.js.map +1 -0
- package/dist/experimental.d.ts +68 -8
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +22 -8
- package/dist/experimental.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/layout/bounds.js.map +1 -1
- package/dist/layout/constraints.js.map +1 -1
- package/dist/layout/flex.js.map +1 -1
- package/dist/layout/freeform.js.map +1 -1
- package/dist/layout/grid.js.map +1 -1
- package/dist/layout/index.js.map +1 -1
- package/dist/layout/item.js.map +1 -1
- package/dist/layout/ops.js.map +1 -1
- package/dist/layout/types.js.map +1 -1
- package/dist/platform/audio-sink.js.map +1 -1
- package/dist/platform/exporter.d.ts +13 -0
- package/dist/platform/exporter.d.ts.map +1 -1
- package/dist/platform/exporter.js.map +1 -1
- package/dist/platform/index.js.map +1 -1
- package/dist/platform/stepped-clock.js.map +1 -1
- package/dist/platform/storage-adapter.js.map +1 -1
- package/dist/platform/ticker.js.map +1 -1
- package/dist/project/config.js.map +1 -1
- package/dist/project/index.js.map +1 -1
- package/dist/project/tree.js.map +1 -1
- package/dist/props/host.js.map +1 -1
- package/dist/props/index.js.map +1 -1
- package/dist/props/observer.js.map +1 -1
- package/dist/props/slot.js.map +1 -1
- package/dist/renamed-scene-names.d.ts +1 -1
- package/dist/renamed-scene-names.d.ts.map +1 -1
- package/dist/renamed-scene-names.js +1 -1
- package/dist/renamed-scene-names.js.map +1 -1
- package/dist/render/canvas-render-context2d.d.ts +9 -0
- package/dist/render/canvas-render-context2d.d.ts.map +1 -1
- package/dist/render/canvas-render-context2d.js +10 -0
- package/dist/render/canvas-render-context2d.js.map +1 -1
- package/dist/render/clip-contains.js +1 -1
- package/dist/render/clip-contains.js.map +1 -1
- package/dist/render/clip.js.map +1 -1
- package/dist/render/descriptors/ellipse.js.map +1 -1
- package/dist/render/descriptors/line.js.map +1 -1
- package/dist/render/descriptors/path-builder.js.map +1 -1
- package/dist/render/descriptors/path.js.map +1 -1
- package/dist/render/descriptors/polygon.js.map +1 -1
- package/dist/render/descriptors/polygram.js.map +1 -1
- package/dist/render/descriptors/rect.js.map +1 -1
- package/dist/render/descriptors/richtext.js.map +1 -1
- package/dist/render/descriptors/shape.js.map +1 -1
- package/dist/render/descriptors/text.d.ts +2 -2
- package/dist/render/descriptors/text.js +2 -2
- package/dist/render/descriptors/text.js.map +1 -1
- package/dist/render/descriptors/transform.js.map +1 -1
- package/dist/render/graphics2d.js.map +1 -1
- package/dist/render/index.d.ts +2 -0
- package/dist/render/index.d.ts.map +1 -1
- package/dist/render/index.js +1 -0
- package/dist/render/index.js.map +1 -1
- package/dist/render/measure-context.js.map +1 -1
- package/dist/render/null-render-context.js.map +1 -1
- package/dist/render/render-context2d.d.ts +1 -1
- package/dist/render/render-context2d.js.map +1 -1
- package/dist/render/render-issue.d.ts +39 -0
- package/dist/render/render-issue.d.ts.map +1 -0
- package/dist/render/render-issue.js +29 -0
- package/dist/render/render-issue.js.map +1 -0
- package/dist/render/surface.d.ts +2 -2
- package/dist/render/surface.js.map +1 -1
- package/dist/render/text-defaults.js.map +1 -1
- package/dist/render/text-layout.js.map +1 -1
- package/dist/render3d/bounds3d.js.map +1 -1
- package/dist/render3d/builders.js.map +1 -1
- package/dist/render3d/camera.js.map +1 -1
- package/dist/render3d/fill3d.js.map +1 -1
- package/dist/render3d/geometry.js.map +1 -1
- package/dist/render3d/graphics3d.d.ts.map +1 -1
- package/dist/render3d/graphics3d.js +54 -5
- package/dist/render3d/graphics3d.js.map +1 -1
- package/dist/render3d/index.js.map +1 -1
- package/dist/render3d/inert.js.map +1 -1
- package/dist/render3d/light.js.map +1 -1
- package/dist/render3d/material.js.map +1 -1
- package/dist/render3d/matrix4.js.map +1 -1
- package/dist/render3d/render-context3d.js.map +1 -1
- package/dist/render3d/resources.js.map +1 -1
- package/dist/render3d/rounded-box.js.map +1 -1
- package/dist/render3d/scene-settings.js.map +1 -1
- package/dist/render3d/scene3d.js.map +1 -1
- package/dist/render3d/segments.js.map +1 -1
- package/dist/render3d/texture.js.map +1 -1
- package/dist/render3d/tracking.js.map +1 -1
- package/dist/render3d/transform.js.map +1 -1
- package/dist/render3d/vector3.js.map +1 -1
- package/dist/render3d/walk.js.map +1 -1
- package/dist/runtime/asset-refine.js +2 -1
- package/dist/runtime/asset-refine.js.map +1 -1
- package/dist/runtime/asset-timeline.d.ts +10 -0
- package/dist/runtime/asset-timeline.d.ts.map +1 -1
- package/dist/runtime/asset-timeline.js.map +1 -1
- package/dist/runtime/asset-update.d.ts.map +1 -1
- package/dist/runtime/asset-update.js +7 -0
- package/dist/runtime/asset-update.js.map +1 -1
- package/dist/runtime/audio-index.js.map +1 -1
- package/dist/runtime/builtin-context.js.map +1 -1
- package/dist/runtime/clip-instance.d.ts +3 -1
- package/dist/runtime/clip-instance.d.ts.map +1 -1
- package/dist/runtime/clip-instance.js +4 -0
- package/dist/runtime/clip-instance.js.map +1 -1
- package/dist/runtime/clip-store.d.ts.map +1 -1
- package/dist/runtime/clip-store.js +17 -2
- package/dist/runtime/clip-store.js.map +1 -1
- package/dist/runtime/engine.d.ts +5 -3
- package/dist/runtime/engine.d.ts.map +1 -1
- package/dist/runtime/engine.js +2 -1
- package/dist/runtime/engine.js.map +1 -1
- package/dist/runtime/frame-time.js.map +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/node-picking.js.map +1 -1
- package/dist/runtime/node-picking3d.js.map +1 -1
- package/dist/runtime/placement.js.map +1 -1
- package/dist/runtime/playback-controller.d.ts.map +1 -1
- package/dist/runtime/playback-controller.js +14 -4
- package/dist/runtime/playback-controller.js.map +1 -1
- package/dist/runtime/playback.js.map +1 -1
- package/dist/runtime/precompisition.js.map +1 -1
- package/dist/runtime/project-assets.js.map +1 -1
- package/dist/runtime/session.d.ts +7 -3
- package/dist/runtime/session.d.ts.map +1 -1
- package/dist/runtime/session.js +11 -4
- package/dist/runtime/session.js.map +1 -1
- package/dist/runtime/settle.js.map +1 -1
- package/dist/runtime/state-evaluator.js.map +1 -1
- package/dist/runtime/text-geometry.d.ts +1 -1
- package/dist/runtime/text-geometry.js.map +1 -1
- package/dist/sdk/index.d.ts +8 -6
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +10 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/tween/command-decorator.d.ts +7 -0
- package/dist/tween/command-decorator.d.ts.map +1 -1
- package/dist/tween/command-decorator.js +1 -0
- package/dist/tween/command-decorator.js.map +1 -1
- package/dist/tween/command.js.map +1 -1
- package/dist/tween/ease/constants.js.map +1 -1
- package/dist/tween/ease/curve.js.map +1 -1
- package/dist/tween/ease/describe.d.ts +2 -0
- package/dist/tween/ease/describe.d.ts.map +1 -1
- package/dist/tween/ease/describe.js +4 -0
- package/dist/tween/ease/describe.js.map +1 -1
- package/dist/tween/ease/spec.d.ts +31 -0
- package/dist/tween/ease/spec.d.ts.map +1 -0
- package/dist/tween/ease/spec.js +51 -0
- package/dist/tween/ease/spec.js.map +1 -0
- package/dist/tween/ease/type.js.map +1 -1
- package/dist/tween/index.d.ts +1 -0
- package/dist/tween/index.d.ts.map +1 -1
- package/dist/tween/index.js +1 -0
- package/dist/tween/index.js.map +1 -1
- package/dist/tween/inert.js.map +1 -1
- package/dist/tween/lerp.js.map +1 -1
- package/dist/tween/loop.js.map +1 -1
- package/dist/tween/prepare.js.map +1 -1
- package/dist/tween/stepper.js.map +1 -1
- package/dist/tween/to-command.js.map +1 -1
- package/dist/util/clamp.js.map +1 -1
- package/dist/util/context.js.map +1 -1
- package/dist/util/csv.js.map +1 -1
- package/dist/util/generateList.js.map +1 -1
- package/dist/util/index.js.map +1 -1
- package/dist/util/metrics.js.map +1 -1
- package/dist/util/random.js.map +1 -1
- package/dist/util/reference.js.map +1 -1
- package/dist/util/scheduler.js.map +1 -1
- package/package.json +2 -2
- package/dist/attributes/audio/filters/chain.d.ts +0 -113
- package/dist/attributes/audio/filters/chain.d.ts.map +0 -1
- package/dist/attributes/audio/filters/chain.js +0 -104
- package/dist/attributes/audio/filters/chain.js.map +0 -1
- package/dist/attributes/audio/filters/curve.d.ts +0 -152
- package/dist/attributes/audio/filters/curve.d.ts.map +0 -1
- package/dist/attributes/audio/filters/curve.js +0 -250
- package/dist/attributes/audio/filters/curve.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/echo.d.ts +0 -14
- package/dist/attributes/audio/filters/implementations/echo.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/echo.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/gain.d.ts +0 -10
- package/dist/attributes/audio/filters/implementations/gain.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/gain.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/highpass.d.ts +0 -12
- package/dist/attributes/audio/filters/implementations/highpass.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/highpass.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/lowpass.d.ts +0 -12
- package/dist/attributes/audio/filters/implementations/lowpass.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/lowpass.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/speed.d.ts +0 -18
- package/dist/attributes/audio/filters/implementations/speed.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/speed.js +0 -6
- package/dist/attributes/audio/filters/implementations/speed.js.map +0 -1
- package/dist/attributes/audio/filters/implementations/tremolo.d.ts +0 -12
- package/dist/attributes/audio/filters/implementations/tremolo.d.ts.map +0 -1
- package/dist/attributes/audio/filters/implementations/tremolo.js.map +0 -1
- package/dist/attributes/audio/filters/index.d.ts +0 -22
- package/dist/attributes/audio/filters/index.d.ts.map +0 -1
- package/dist/attributes/audio/filters/index.js +0 -8
- package/dist/attributes/audio/filters/index.js.map +0 -1
- package/dist/attributes/audio/filters/registry.d.ts +0 -36
- package/dist/attributes/audio/filters/registry.d.ts.map +0 -1
- package/dist/attributes/audio/filters/registry.js +0 -82
- package/dist/attributes/audio/filters/registry.js.map +0 -1
- package/dist/attributes/audio/filters/union.d.ts +0 -18
- package/dist/attributes/audio/filters/union.d.ts.map +0 -1
- package/dist/attributes/audio/filters/union.js +0 -28
- package/dist/attributes/audio/filters/union.js.map +0 -1
- package/dist/attributes/shape/sksl-uniforms.d.ts +0 -146
- package/dist/attributes/shape/sksl-uniforms.d.ts.map +0 -1
- package/dist/attributes/shape/sksl-uniforms.js +0 -0
- package/dist/attributes/shape/sksl-uniforms.js.map +0 -1
- package/dist/browser/chunks/chunk-D4FSTPML.js +0 -14
- package/dist/browser/chunks/chunk-D4FSTPML.js.map +0 -7
- package/dist/browser/chunks/chunk-LKUYVFU3.js.map +0 -7
- package/dist/browser/chunks/chunk-RTNATFWX.js +0 -5
- package/dist/browser/chunks/chunk-RTNATFWX.js.map +0 -7
- package/dist/browser/chunks/chunk-ZRPZPWZU.js.map +0 -7
- package/dist/component/api.d.ts +0 -508
- package/dist/component/api.d.ts.map +0 -1
- package/dist/component/api.js +0 -4
- package/dist/component/api.js.map +0 -1
- package/dist/component/builtins/audio.d.ts +0 -26
- package/dist/component/builtins/audio.d.ts.map +0 -1
- package/dist/component/builtins/audio.js +0 -41
- package/dist/component/builtins/audio.js.map +0 -1
- package/dist/component/builtins/canvas3d.d.ts +0 -98
- package/dist/component/builtins/canvas3d.d.ts.map +0 -1
- package/dist/component/builtins/canvas3d.js +0 -21
- package/dist/component/builtins/canvas3d.js.map +0 -1
- package/dist/component/builtins/composite.d.ts +0 -56
- package/dist/component/builtins/composite.d.ts.map +0 -1
- package/dist/component/builtins/composite.js +0 -25
- package/dist/component/builtins/composite.js.map +0 -1
- package/dist/component/builtins/geometry.d.ts +0 -505
- package/dist/component/builtins/geometry.d.ts.map +0 -1
- package/dist/component/builtins/geometry.js +0 -107
- package/dist/component/builtins/geometry.js.map +0 -1
- package/dist/component/builtins/layout.d.ts +0 -88
- package/dist/component/builtins/layout.d.ts.map +0 -1
- package/dist/component/builtins/layout.js +0 -84
- package/dist/component/builtins/layout.js.map +0 -1
- package/dist/component/builtins/media.d.ts +0 -95
- package/dist/component/builtins/media.d.ts.map +0 -1
- package/dist/component/builtins/media.js +0 -149
- package/dist/component/builtins/media.js.map +0 -1
- package/dist/component/builtins/providers.d.ts +0 -23
- package/dist/component/builtins/providers.d.ts.map +0 -1
- package/dist/component/builtins/providers.js +0 -30
- package/dist/component/builtins/providers.js.map +0 -1
- package/dist/component/builtins/text.d.ts +0 -193
- package/dist/component/builtins/text.d.ts.map +0 -1
- package/dist/component/builtins/text.js +0 -113
- package/dist/component/builtins/text.js.map +0 -1
- package/dist/component/builtins/three.d.ts +0 -1085
- package/dist/component/builtins/three.d.ts.map +0 -1
- package/dist/component/builtins/three.js +0 -265
- package/dist/component/builtins/three.js.map +0 -1
- package/dist/component/clip-of.d.ts +0 -5
- package/dist/component/clip-of.d.ts.map +0 -1
- package/dist/component/clip-of.js +0 -33
- package/dist/component/clip-of.js.map +0 -1
- package/dist/component/commands-for.d.ts +0 -19
- package/dist/component/commands-for.d.ts.map +0 -1
- package/dist/component/commands-for.js +0 -5
- package/dist/component/commands-for.js.map +0 -1
- package/dist/component/component-audio.d.ts +0 -9
- package/dist/component/component-audio.d.ts.map +0 -1
- package/dist/component/component-audio.js +0 -18
- package/dist/component/component-audio.js.map +0 -1
- package/dist/component/component2d.d.ts +0 -9
- package/dist/component/component2d.d.ts.map +0 -1
- package/dist/component/component2d.js +0 -239
- package/dist/component/component2d.js.map +0 -1
- package/dist/component/component3d.d.ts +0 -9
- package/dist/component/component3d.d.ts.map +0 -1
- package/dist/component/component3d.js +0 -99
- package/dist/component/component3d.js.map +0 -1
- package/dist/component/factory.d.ts +0 -63
- package/dist/component/factory.d.ts.map +0 -1
- package/dist/component/factory.js +0 -313
- package/dist/component/factory.js.map +0 -1
- package/dist/component/modules/aim.d.ts +0 -30
- package/dist/component/modules/aim.d.ts.map +0 -1
- package/dist/component/modules/aim.js +0 -39
- package/dist/component/modules/aim.js.map +0 -1
- package/dist/component/modules/corners.d.ts +0 -13
- package/dist/component/modules/corners.d.ts.map +0 -1
- package/dist/component/modules/corners.js +0 -12
- package/dist/component/modules/corners.js.map +0 -1
- package/dist/component/modules/flow.d.ts +0 -26
- package/dist/component/modules/flow.d.ts.map +0 -1
- package/dist/component/modules/flow.js +0 -55
- package/dist/component/modules/flow.js.map +0 -1
- package/dist/component/modules/material.d.ts +0 -40
- package/dist/component/modules/material.d.ts.map +0 -1
- package/dist/component/modules/material.js +0 -75
- package/dist/component/modules/material.js.map +0 -1
- package/dist/component/modules/paint.d.ts +0 -71
- package/dist/component/modules/paint.d.ts.map +0 -1
- package/dist/component/modules/paint.js +0 -106
- package/dist/component/modules/paint.js.map +0 -1
- package/dist/component/modules/shapes.d.ts +0 -31
- package/dist/component/modules/shapes.d.ts.map +0 -1
- package/dist/component/modules/shapes.js +0 -43
- package/dist/component/modules/shapes.js.map +0 -1
- package/dist/component/modules/text-layout.d.ts +0 -26
- package/dist/component/modules/text-layout.d.ts.map +0 -1
- package/dist/component/modules/text-layout.js +0 -57
- package/dist/component/modules/text-layout.js.map +0 -1
- package/dist/component/modules/text-style.d.ts +0 -48
- package/dist/component/modules/text-style.d.ts.map +0 -1
- package/dist/component/modules/text-style.js +0 -63
- package/dist/component/modules/text-style.js.map +0 -1
- package/dist/component/modules/three-entries.d.ts +0 -23
- package/dist/component/modules/three-entries.d.ts.map +0 -1
- package/dist/component/modules/three-entries.js +0 -41
- package/dist/component/modules/three-entries.js.map +0 -1
- package/dist/component/modules/view3d.d.ts +0 -55
- package/dist/component/modules/view3d.d.ts.map +0 -1
- package/dist/component/modules/view3d.js +0 -160
- package/dist/component/modules/view3d.js.map +0 -1
- package/dist/component/timeline.d.ts +0 -22
- package/dist/component/timeline.d.ts.map +0 -1
- package/dist/component/timeline.js +0 -128
- package/dist/component/timeline.js.map +0 -1
- package/dist/component/type-def.d.ts +0 -26
- package/dist/component/type-def.d.ts.map +0 -1
- package/dist/component/type-def.js +0 -16
- package/dist/component/type-def.js.map +0 -1
- package/dist/component/types.d.ts +0 -91
- package/dist/component/types.d.ts.map +0 -1
- package/dist/component/types.js +0 -88
- package/dist/component/types.js.map +0 -1
- package/dist/component/views.d.ts +0 -121
- package/dist/component/views.d.ts.map +0 -1
- package/dist/component/views.js +0 -413
- package/dist/component/views.js.map +0 -1
- package/dist/document/withdraw.d.ts +0 -28
- package/dist/document/withdraw.d.ts.map +0 -1
- package/dist/document/withdraw.js +0 -61
- package/dist/document/withdraw.js.map +0 -1
- package/dist/jsx/jsx-dev-runtime.d.ts +0 -3
- package/dist/jsx/jsx-dev-runtime.d.ts.map +0 -1
- package/dist/jsx/jsx-dev-runtime.js +0 -3
- package/dist/jsx/jsx-dev-runtime.js.map +0 -1
- package/dist/jsx/jsx-runtime.d.ts +0 -27
- package/dist/jsx/jsx-runtime.d.ts.map +0 -1
- package/dist/jsx/jsx-runtime.js +0 -26
- package/dist/jsx/jsx-runtime.js.map +0 -1
- package/dist/nodes/2d/node-lifecycle.d.ts +0 -46
- package/dist/nodes/2d/node-lifecycle.d.ts.map +0 -1
- package/dist/nodes/2d/node-lifecycle.js +0 -264
- package/dist/nodes/2d/node-lifecycle.js.map +0 -1
- package/dist/nodes/2d/node-motion.d.ts +0 -56
- package/dist/nodes/2d/node-motion.d.ts.map +0 -1
- package/dist/nodes/2d/node-motion.js +0 -86
- package/dist/nodes/2d/node-motion.js.map +0 -1
- package/dist/nodes/2d/node-render.d.ts +0 -44
- package/dist/nodes/2d/node-render.d.ts.map +0 -1
- package/dist/nodes/2d/node-render.js +0 -80
- package/dist/nodes/2d/node-render.js.map +0 -1
- package/dist/nodes/2d/node-space.d.ts +0 -63
- package/dist/nodes/2d/node-space.d.ts.map +0 -1
- package/dist/nodes/2d/node-space.js +0 -131
- package/dist/nodes/2d/node-space.js.map +0 -1
- package/dist/nodes/2d/node-transform.d.ts +0 -55
- package/dist/nodes/2d/node-transform.d.ts.map +0 -1
- package/dist/nodes/2d/node-transform.js +0 -73
- package/dist/nodes/2d/node-transform.js.map +0 -1
- package/dist/nodes/2d/node2d.d.ts +0 -1111
- package/dist/nodes/2d/node2d.d.ts.map +0 -1
- package/dist/nodes/2d/node2d.js +0 -1665
- package/dist/nodes/2d/node2d.js.map +0 -1
- package/dist/nodes/2d/paint-node.d.ts +0 -142
- package/dist/nodes/2d/paint-node.d.ts.map +0 -1
- package/dist/nodes/2d/paint-node.js +0 -232
- package/dist/nodes/2d/paint-node.js.map +0 -1
- package/dist/nodes/audio/audio-bus.d.ts +0 -28
- package/dist/nodes/audio/audio-bus.d.ts.map +0 -1
- package/dist/nodes/audio/audio-bus.js +0 -33
- package/dist/nodes/audio/audio-bus.js.map +0 -1
- package/dist/nodes/audio/index.d.ts +0 -4
- package/dist/nodes/audio/index.d.ts.map +0 -1
- package/dist/nodes/audio/index.js +0 -2
- package/dist/nodes/audio/index.js.map +0 -1
- package/dist/nodes/audio/node-audio.d.ts +0 -107
- package/dist/nodes/audio/node-audio.d.ts.map +0 -1
- package/dist/nodes/audio/node-audio.js +0 -179
- package/dist/nodes/audio/node-audio.js.map +0 -1
- package/dist/nodes/audio/sound-node.d.ts +0 -41
- package/dist/nodes/audio/sound-node.d.ts.map +0 -1
- package/dist/nodes/audio/sound-node.js +0 -71
- package/dist/nodes/audio/sound-node.js.map +0 -1
- package/dist/nodes/geometry/boolean-node.d.ts +0 -28
- package/dist/nodes/geometry/boolean-node.d.ts.map +0 -1
- package/dist/nodes/geometry/boolean-node.js +0 -81
- package/dist/nodes/geometry/boolean-node.js.map +0 -1
- package/dist/nodes/geometry/bounds-shape-node.d.ts +0 -149
- package/dist/nodes/geometry/bounds-shape-node.d.ts.map +0 -1
- package/dist/nodes/geometry/bounds-shape-node.js +0 -181
- package/dist/nodes/geometry/bounds-shape-node.js.map +0 -1
- package/dist/nodes/geometry/box-path-node.d.ts +0 -89
- package/dist/nodes/geometry/box-path-node.d.ts.map +0 -1
- package/dist/nodes/geometry/box-path-node.js +0 -116
- package/dist/nodes/geometry/box-path-node.js.map +0 -1
- package/dist/nodes/geometry/ellipse-node.d.ts +0 -18
- package/dist/nodes/geometry/ellipse-node.d.ts.map +0 -1
- package/dist/nodes/geometry/ellipse-node.js +0 -45
- package/dist/nodes/geometry/ellipse-node.js.map +0 -1
- package/dist/nodes/geometry/group-bounds.d.ts +0 -56
- package/dist/nodes/geometry/group-bounds.d.ts.map +0 -1
- package/dist/nodes/geometry/group-bounds.js +0 -87
- package/dist/nodes/geometry/group-bounds.js.map +0 -1
- package/dist/nodes/geometry/mask-node.d.ts +0 -33
- package/dist/nodes/geometry/mask-node.d.ts.map +0 -1
- package/dist/nodes/geometry/mask-node.js +0 -66
- package/dist/nodes/geometry/mask-node.js.map +0 -1
- package/dist/nodes/geometry/path-node.d.ts +0 -26
- package/dist/nodes/geometry/path-node.d.ts.map +0 -1
- package/dist/nodes/geometry/path-node.js +0 -58
- package/dist/nodes/geometry/path-node.js.map +0 -1
- package/dist/nodes/geometry/polygon-node.d.ts +0 -26
- package/dist/nodes/geometry/polygon-node.d.ts.map +0 -1
- package/dist/nodes/geometry/polygon-node.js +0 -47
- package/dist/nodes/geometry/polygon-node.js.map +0 -1
- package/dist/nodes/geometry/polygram-node.d.ts +0 -33
- package/dist/nodes/geometry/polygram-node.d.ts.map +0 -1
- package/dist/nodes/geometry/polygram-node.js +0 -52
- package/dist/nodes/geometry/polygram-node.js.map +0 -1
- package/dist/nodes/geometry/rect-node.d.ts +0 -38
- package/dist/nodes/geometry/rect-node.d.ts.map +0 -1
- package/dist/nodes/geometry/rect-node.js +0 -56
- package/dist/nodes/geometry/rect-node.js.map +0 -1
- package/dist/nodes/geometry/shape-node.d.ts +0 -71
- package/dist/nodes/geometry/shape-node.d.ts.map +0 -1
- package/dist/nodes/geometry/shape-node.js +0 -140
- package/dist/nodes/geometry/shape-node.js.map +0 -1
- package/dist/nodes/geometry/shape-outline.d.ts +0 -93
- package/dist/nodes/geometry/shape-outline.d.ts.map +0 -1
- package/dist/nodes/geometry/shape-outline.js +0 -470
- package/dist/nodes/geometry/shape-outline.js.map +0 -1
- package/dist/nodes/index.d.ts +0 -53
- package/dist/nodes/index.d.ts.map +0 -1
- package/dist/nodes/index.js +0 -35
- package/dist/nodes/index.js.map +0 -1
- package/dist/nodes/layout/camera-node.d.ts +0 -80
- package/dist/nodes/layout/camera-node.d.ts.map +0 -1
- package/dist/nodes/layout/camera-node.js +0 -153
- package/dist/nodes/layout/camera-node.js.map +0 -1
- package/dist/nodes/layout/orbit-camera-node.d.ts +0 -80
- package/dist/nodes/layout/orbit-camera-node.d.ts.map +0 -1
- package/dist/nodes/layout/orbit-camera-node.js +0 -118
- package/dist/nodes/layout/orbit-camera-node.js.map +0 -1
- package/dist/nodes/layout/rotated-box.d.ts +0 -20
- package/dist/nodes/layout/rotated-box.d.ts.map +0 -1
- package/dist/nodes/layout/rotated-box.js +0 -76
- package/dist/nodes/layout/rotated-box.js.map +0 -1
- package/dist/nodes/media/video-node.d.ts +0 -229
- package/dist/nodes/media/video-node.d.ts.map +0 -1
- package/dist/nodes/media/video-node.js +0 -350
- package/dist/nodes/media/video-node.js.map +0 -1
- package/dist/nodes/node/declare-paints.d.ts +0 -19
- package/dist/nodes/node/declare-paints.d.ts.map +0 -1
- package/dist/nodes/node/declare-paints.js +0 -27
- package/dist/nodes/node/declare-paints.js.map +0 -1
- package/dist/nodes/node/node-editor-state.d.ts +0 -53
- package/dist/nodes/node/node-editor-state.d.ts.map +0 -1
- package/dist/nodes/node/node-editor-state.js +0 -23
- package/dist/nodes/node/node-editor-state.js.map +0 -1
- package/dist/nodes/node/node-reactive.d.ts +0 -89
- package/dist/nodes/node/node-reactive.d.ts.map +0 -1
- package/dist/nodes/node/node-reactive.js +0 -135
- package/dist/nodes/node/node-reactive.js.map +0 -1
- package/dist/nodes/node/node-time.d.ts +0 -39
- package/dist/nodes/node/node-time.d.ts.map +0 -1
- package/dist/nodes/node/node-time.js +0 -14
- package/dist/nodes/node/node-time.js.map +0 -1
- package/dist/nodes/node/node-walk.d.ts +0 -46
- package/dist/nodes/node/node-walk.d.ts.map +0 -1
- package/dist/nodes/node/node-walk.js +0 -74
- package/dist/nodes/node/node-walk.js.map +0 -1
- package/dist/nodes/node/node.d.ts +0 -445
- package/dist/nodes/node/node.d.ts.map +0 -1
- package/dist/nodes/node/node.js +0 -745
- package/dist/nodes/node/node.js.map +0 -1
- package/dist/nodes/node/text-defaults.d.ts +0 -32
- package/dist/nodes/node/text-defaults.d.ts.map +0 -1
- package/dist/nodes/node/text-defaults.js +0 -37
- package/dist/nodes/node/text-defaults.js.map +0 -1
- package/dist/nodes/root/canvas2d-node.d.ts +0 -163
- package/dist/nodes/root/canvas2d-node.d.ts.map +0 -1
- package/dist/nodes/root/canvas2d-node.js +0 -264
- package/dist/nodes/root/canvas2d-node.js.map +0 -1
- package/dist/nodes/root/provider-node.d.ts +0 -47
- package/dist/nodes/root/provider-node.d.ts.map +0 -1
- package/dist/nodes/root/provider-node.js +0 -63
- package/dist/nodes/root/provider-node.js.map +0 -1
- package/dist/nodes/root/theme-provider-node.d.ts +0 -29
- package/dist/nodes/root/theme-provider-node.d.ts.map +0 -1
- package/dist/nodes/root/theme-provider-node.js +0 -43
- package/dist/nodes/root/theme-provider-node.js.map +0 -1
- package/dist/nodes/text/default-text-style-node.d.ts +0 -103
- package/dist/nodes/text/default-text-style-node.d.ts.map +0 -1
- package/dist/nodes/text/default-text-style-node.js +0 -146
- package/dist/nodes/text/default-text-style-node.js.map +0 -1
- package/dist/nodes/text/number-format.d.ts +0 -66
- package/dist/nodes/text/number-format.d.ts.map +0 -1
- package/dist/nodes/text/number-format.js +0 -227
- package/dist/nodes/text/number-format.js.map +0 -1
- package/dist/nodes/text/number-node.d.ts +0 -94
- package/dist/nodes/text/number-node.d.ts.map +0 -1
- package/dist/nodes/text/number-node.js +0 -86
- package/dist/nodes/text/number-node.js.map +0 -1
- package/dist/nodes/text/number-pattern.d.ts +0 -51
- package/dist/nodes/text/number-pattern.d.ts.map +0 -1
- package/dist/nodes/text/number-pattern.js +0 -77
- package/dist/nodes/text/number-pattern.js.map +0 -1
- package/dist/nodes/text/richtext-node.d.ts +0 -68
- package/dist/nodes/text/richtext-node.d.ts.map +0 -1
- package/dist/nodes/text/richtext-node.js +0 -78
- package/dist/nodes/text/richtext-node.js.map +0 -1
- package/dist/nodes/text/text-base.d.ts +0 -118
- package/dist/nodes/text/text-base.d.ts.map +0 -1
- package/dist/nodes/text/text-base.js +0 -153
- package/dist/nodes/text/text-base.js.map +0 -1
- package/dist/nodes/text/text-layout.d.ts +0 -87
- package/dist/nodes/text/text-layout.d.ts.map +0 -1
- package/dist/nodes/text/text-layout.js +0 -368
- package/dist/nodes/text/text-layout.js.map +0 -1
- package/dist/nodes/text/text-node.d.ts +0 -84
- package/dist/nodes/text/text-node.d.ts.map +0 -1
- package/dist/nodes/text/text-node.js +0 -188
- package/dist/nodes/text/text-node.js.map +0 -1
- package/dist/nodes/text/text-selection.d.ts +0 -125
- package/dist/nodes/text/text-selection.d.ts.map +0 -1
- package/dist/nodes/text/text-selection.js +0 -209
- package/dist/nodes/text/text-selection.js.map +0 -1
- package/dist/nodes/three/camera-nodes.d.ts +0 -109
- package/dist/nodes/three/camera-nodes.d.ts.map +0 -1
- package/dist/nodes/three/camera-nodes.js +0 -112
- package/dist/nodes/three/camera-nodes.js.map +0 -1
- package/dist/nodes/three/canvas3d-node.d.ts +0 -295
- package/dist/nodes/three/canvas3d-node.d.ts.map +0 -1
- package/dist/nodes/three/canvas3d-node.js +0 -486
- package/dist/nodes/three/canvas3d-node.js.map +0 -1
- package/dist/nodes/three/drawable-nodes.d.ts +0 -173
- package/dist/nodes/three/drawable-nodes.d.ts.map +0 -1
- package/dist/nodes/three/drawable-nodes.js +0 -284
- package/dist/nodes/three/drawable-nodes.js.map +0 -1
- package/dist/nodes/three/environment-nodes.d.ts +0 -106
- package/dist/nodes/three/environment-nodes.d.ts.map +0 -1
- package/dist/nodes/three/environment-nodes.js +0 -134
- package/dist/nodes/three/environment-nodes.js.map +0 -1
- package/dist/nodes/three/geometry-nodes.d.ts +0 -197
- package/dist/nodes/three/geometry-nodes.d.ts.map +0 -1
- package/dist/nodes/three/geometry-nodes.js +0 -322
- package/dist/nodes/three/geometry-nodes.js.map +0 -1
- package/dist/nodes/three/grid-geometry3d.d.ts +0 -62
- package/dist/nodes/three/grid-geometry3d.d.ts.map +0 -1
- package/dist/nodes/three/grid-geometry3d.js +0 -114
- package/dist/nodes/three/grid-geometry3d.js.map +0 -1
- package/dist/nodes/three/group3d.d.ts +0 -23
- package/dist/nodes/three/group3d.d.ts.map +0 -1
- package/dist/nodes/three/group3d.js +0 -21
- package/dist/nodes/three/group3d.js.map +0 -1
- package/dist/nodes/three/light-nodes.d.ts +0 -120
- package/dist/nodes/three/light-nodes.d.ts.map +0 -1
- package/dist/nodes/three/light-nodes.js +0 -173
- package/dist/nodes/three/light-nodes.js.map +0 -1
- package/dist/nodes/three/mesh3d.d.ts +0 -117
- package/dist/nodes/three/mesh3d.d.ts.map +0 -1
- package/dist/nodes/three/mesh3d.js +0 -147
- package/dist/nodes/three/mesh3d.js.map +0 -1
- package/dist/nodes/three/node3d.d.ts +0 -230
- package/dist/nodes/three/node3d.d.ts.map +0 -1
- package/dist/nodes/three/node3d.js +0 -337
- package/dist/nodes/three/node3d.js.map +0 -1
- package/dist/render/descriptors/latex.d.ts +0 -6
- package/dist/render/descriptors/latex.d.ts.map +0 -1
- package/dist/render/descriptors/latex.js +0 -2
- package/dist/render/descriptors/latex.js.map +0 -1
- package/dist/tween/seekable.d.ts +0 -81
- package/dist/tween/seekable.d.ts.map +0 -1
- package/dist/tween/seekable.js +0 -137
- package/dist/tween/seekable.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shader.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/shader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"shader.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/shader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAIH,KAAK,aAAa,EAClB,KAAK,mBAAmB,EAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG/E;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC7C,IAAI,EAAE,QAAQ,CAAC;IACf;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,QAAQ,EAAE,mBAAmB,GAAG,aAAa,EAAE,CAAC;IAChD;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACzB;AAOD;;;;GAIG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDrB,CAAC;AAEH,eAAO,MAAM,YAAY,EAA0C,UAAU,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,22 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { BlendModes } from "../../fill/blend.js";
|
|
2
|
+
import { lerpUniformRecord, normalizeUniforms, uniformRecordsEqual, } from "../../shaders/uniforms.js";
|
|
3
|
+
import { shaderContractOf } from "../../shaders/language.js";
|
|
4
|
+
import { defineEffect, effectDataOf, param } from "../spec.js";
|
|
5
|
+
const _specAgrees = [true, true];
|
|
6
|
+
/**
|
|
7
|
+
* The {@link ShaderEffect} spec. Its fields are described for a host; its
|
|
8
|
+
* interpolation, equality and surface stay hand-written, since they are about a
|
|
9
|
+
* program and its uniform record rather than a set of parameters.
|
|
10
|
+
*/
|
|
11
|
+
export const shaderSpec = defineEffect({
|
|
12
|
+
type: "shader",
|
|
13
|
+
group: "stylize",
|
|
14
|
+
// An arbitrary user shader: neutrality is the author's to define.
|
|
15
|
+
neutral: null,
|
|
16
|
+
params: {
|
|
17
|
+
source: param.text({ required: true, hidden: true }),
|
|
18
|
+
language: {
|
|
19
|
+
...param.choice(["wgsl"], { optional: true, hidden: true }),
|
|
20
|
+
// "sksl" is the retired value documents from before WGSL carry: it draws nothing and is reported.
|
|
21
|
+
options: ["wgsl", "sksl"],
|
|
22
|
+
},
|
|
23
|
+
reach: param.number({ optional: true, min: 0, unit: "px", hidden: true }),
|
|
24
|
+
uniforms: param.of()({ kind: "uniforms", default: {}, hidden: true }),
|
|
25
|
+
shaderId: param.text({ optional: true, hidden: true }),
|
|
26
|
+
blendMode: param.choice(BlendModes, { optional: true, optionsLabel: "blendMode" }),
|
|
27
|
+
},
|
|
28
|
+
// Returns the effect untouched when it already states its contract, which
|
|
29
|
+
// is what keeps `resolveChainEffects` from copying an array per write.
|
|
13
30
|
resolve: (effect) => {
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
if (!stale)
|
|
17
|
-
return effect;
|
|
18
|
-
const { shader, ...rest } = legacy;
|
|
19
|
-
return { ...rest, type: "shader", source: effect.source ?? shader ?? "" };
|
|
31
|
+
const contract = effect.contract ?? shaderContractOf(effect);
|
|
32
|
+
return contract === effect.contract ? effect : { ...effect, contract };
|
|
20
33
|
},
|
|
21
34
|
// The program and what it is blended with snap at the midpoint, as the
|
|
22
35
|
// `shader` fill's source does: the source is the compile-cache key, so there
|
|
@@ -27,23 +40,26 @@ export const shaderEffect = {
|
|
|
27
40
|
return {
|
|
28
41
|
type: "shader",
|
|
29
42
|
source: near.source,
|
|
43
|
+
...(near.language !== undefined ? { language: near.language } : {}),
|
|
44
|
+
...(near.contract !== undefined ? { contract: near.contract } : {}),
|
|
45
|
+
...(from.reach !== undefined || to.reach !== undefined
|
|
46
|
+
? { reach: (from.reach ?? 0) + ((to.reach ?? 0) - (from.reach ?? 0)) * t }
|
|
47
|
+
: {}),
|
|
30
48
|
...(near.shaderId !== undefined ? { shaderId: near.shaderId } : {}),
|
|
31
49
|
mode: near.mode,
|
|
32
50
|
blendMode: near.blendMode,
|
|
33
51
|
uniforms: lerpUniformRecord(normalizeUniforms(from.uniforms), normalizeUniforms(to.uniforms), t),
|
|
34
52
|
};
|
|
35
53
|
},
|
|
36
|
-
// By name, matching how the values are bound. Two sets agreeing on every
|
|
37
|
-
// name and value are the same binding — which they were not while the float
|
|
38
|
-
// buffer was filled in array order.
|
|
39
54
|
equals: (a, b) => a.source === b.source &&
|
|
55
|
+
a.language === b.language &&
|
|
56
|
+
a.contract === b.contract &&
|
|
57
|
+
(a.reach ?? 0) === (b.reach ?? 0) &&
|
|
40
58
|
a.mode === b.mode &&
|
|
41
59
|
a.blendMode === b.blendMode &&
|
|
42
60
|
uniformRecordsEqual(normalizeUniforms(a.uniforms), normalizeUniforms(b.uniforms)),
|
|
43
|
-
// A backdrop shader resamples
|
|
44
|
-
// foreground variant is an overlay composed via ImageFilter.MakeShader.
|
|
61
|
+
// A backdrop shader resamples what is beneath the node, so it needs a redraw scope.
|
|
45
62
|
surface: (effect) => (effect.mode === "backdrop" ? "shader" : "filter"),
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export const skslEffect = shaderEffect;
|
|
63
|
+
});
|
|
64
|
+
export const shaderEffect = effectDataOf(shaderSpec);
|
|
49
65
|
//# sourceMappingURL=shader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shader.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/shader.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GAItB,MAAM,qBAAqB,CAAC;AA8E7B,MAAM,CAAC,MAAM,YAAY,GAA6B;IAClD;;;;;;;;;OASG;IACH,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;QAChB,MAAM,MAAM,GAAG,MAA4B,CAAC;QAC5C,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC;QACtE,IAAI,CAAC,KAAK;YAAE,OAAO,MAAM,CAAC;QAC1B,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACnC,OAAO,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;IAC9E,CAAC;IACD,uEAAuE;IACvE,6EAA6E;IAC7E,yEAAyE;IACzE,sEAAsE;IACtE,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE;QAClB,MAAM,IAAI,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QACjC,OAAO;YACH,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,GAAG,CAAC,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACnE,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,iBAAiB,CACvB,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAChC,iBAAiB,CAAC,EAAE,CAAC,QAAQ,CAAC,EAC9B,CAAC,CACJ;SACJ,CAAC;IACN,CAAC;IACD,yEAAyE;IACzE,4EAA4E;IAC5E,oCAAoC;IACpC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACb,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;QACrB,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;QACjB,CAAC,CAAC,SAAS,KAAK,CAAC,CAAC,SAAS;QAC3B,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;IACrF,4EAA4E;IAC5E,wEAAwE;IACxE,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC;CAC1E,CAAC;AAEF,4CAA4C;AAC5C,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC","sourcesContent":["import type { BlendMode } from \"../../fill/blend\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport {\r\n lerpUniformRecord,\r\n normalizeUniforms,\r\n uniformRecordsEqual,\r\n type SkSLUniform,\r\n type SkSLUniformRecord,\r\n type SkSLUniformValue,\r\n} from \"../../sksl-uniforms\";\r\n\r\n// The uniform vocabulary is shared with the `shader` fill — the same values,\r\n// marshalled by name in both places. Re-exported here so the specifier\r\n// consumers already use keeps resolving.\r\nexport type { SkSLUniform, SkSLUniformRecord, SkSLUniformValue };\r\n\r\n/**\r\n * A custom shader, classified by the shared {@link EffectMode}:\r\n *\r\n * - `'backdrop'`: the shader receives `uniform shader u_backdrop` — a snapshot of\r\n * the canvas content beneath the node. For magnification, distortion, ripple.\r\n * The result replaces the backdrop within the node's silhouette clip.\r\n *\r\n * - `'foreground'` (the default): the shader is applied as an overlay on the\r\n * node's own layer via `ImageFilter.MakeShader`, generating a colour from\r\n * uniforms and position and compositing with {@link blendMode}. For procedural\r\n * overlays — noise, gradients, glows.\r\n *\r\n * Named for the paint it is the sibling of rather than for the dialect it is\r\n * written in: this is the same act as a `shader` **fill**, on a layer instead of\r\n * inside a path, and one word for both is what lets a source move between them.\r\n * It answered to `sksl` before, which is still accepted — see {@link resolve}.\r\n */\r\nexport interface ShaderEffect extends ModedEffect {\r\n type: \"shader\";\r\n /** SkSL source. */\r\n source: string;\r\n /**\r\n * Uniform values, by name. Values lerp component-wise.\r\n *\r\n * The positional `[{ name, value }]` array every document written before\r\n * this is still accepted and normalised on the way in — binding used to be\r\n * by *position*, so the array's order was the contract. It is not any more:\r\n * the program's own reflection says which float offset each name occupies,\r\n * which is what makes a padded value, a mistyped name and a forgotten one\r\n * behave instead of silently corrupting every uniform after them.\r\n */\r\n uniforms: SkSLUniformRecord | SkSLUniform[];\r\n /**\r\n * The shader pack this was built from, when it was built from one.\r\n *\r\n * **Reserved, and carried rather than read.** A pack resolves to a plain\r\n * uniform record before it reaches here, so nothing in the render path needs\r\n * this — the frame is identical with or without it. What it exists for is the\r\n * trip back: a document stores resolved uniforms, and without a reference to\r\n * the pack a host reopening a saved scene has a set of numbers and no way to\r\n * know which of them were `twist` and `ink`, so the property panel it drew\r\n * when the shader was applied cannot be drawn again.\r\n *\r\n * An id naming a pack that is not registered is **not** an error: the shader\r\n * still renders, because the uniforms it needs are already in the document.\r\n * The host simply cannot offer the panel, which is the honest degradation —\r\n * refusing to render a scene because an editor cannot edit it would be the\r\n * wrong way round.\r\n */\r\n shaderId?: string;\r\n /**\r\n * Blend mode used when `mode` is `'foreground'`. Defaults to `'screen'` so the\r\n * generated overlay composites additively onto the layer. Ignored for\r\n * `'backdrop'`, where the shader's output replaces the backdrop.\r\n */\r\n blendMode?: BlendMode;\r\n}\r\n\r\n/**\r\n * What this effect was called before, and the field its source sat in.\r\n *\r\n * @deprecated Use {@link ShaderEffect}. Documents naming `sksl` keep working.\r\n */\r\nexport type SkSLEffect = Omit<ShaderEffect, \"type\" | \"source\"> & {\r\n type: \"sksl\";\r\n shader: string;\r\n};\r\n\r\n/** The shape a document written against the old spelling has. */\r\ntype LegacyShaderEffect = ShaderEffect & { shader?: string };\r\n\r\nexport const shaderEffect: EffectData<ShaderEffect> = {\r\n /**\r\n * Migrate the two older spellings forward: the type key `sksl`, and the\r\n * source field `shader`.\r\n *\r\n * Both are rewritten here rather than understood separately by `lerp`,\r\n * `equals`, the surface predicate and the backend — one place that knows the\r\n * document is old, and nothing below it that has to. Returns the effect\r\n * untouched when it is already current, which is what keeps\r\n * `resolveChainEffects` from copying an array per write.\r\n */\r\n resolve: (effect) => {\r\n const legacy = effect as LegacyShaderEffect;\r\n const stale = effect.type !== \"shader\" || legacy.shader !== undefined;\r\n if (!stale) return effect;\r\n const { shader, ...rest } = legacy;\r\n return { ...rest, type: \"shader\", source: effect.source ?? shader ?? \"\" };\r\n },\r\n // The program and what it is blended with snap at the midpoint, as the\r\n // `shader` fill's source does: the source is the compile-cache key, so there\r\n // is no program halfway between two. Only the uniform values interpolate\r\n // (over the union of names), which keeps a same-program tween smooth.\r\n lerp: (from, to, t) => {\r\n const near = t < 0.5 ? from : to;\r\n return {\r\n type: \"shader\",\r\n source: near.source,\r\n ...(near.shaderId !== undefined ? { shaderId: near.shaderId } : {}),\r\n mode: near.mode,\r\n blendMode: near.blendMode,\r\n uniforms: lerpUniformRecord(\r\n normalizeUniforms(from.uniforms),\r\n normalizeUniforms(to.uniforms),\r\n t,\r\n ),\r\n };\r\n },\r\n // By name, matching how the values are bound. Two sets agreeing on every\r\n // name and value are the same binding — which they were not while the float\r\n // buffer was filled in array order.\r\n equals: (a, b) =>\r\n a.source === b.source &&\r\n a.mode === b.mode &&\r\n a.blendMode === b.blendMode &&\r\n uniformRecordsEqual(normalizeUniforms(a.uniforms), normalizeUniforms(b.uniforms)),\r\n // A backdrop shader resamples `u_backdrop`, so it needs a redraw scope; the\r\n // foreground variant is an overlay composed via ImageFilter.MakeShader.\r\n surface: (effect) => (effect.mode === \"backdrop\" ? \"shader\" : \"filter\"),\r\n};\r\n\r\n/** @deprecated Use {@link shaderEffect}. */\r\nexport const skslEffect = shaderEffect;\r\n"]}
|
|
1
|
+
{"version":3,"file":"shader.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/shader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkB,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EACH,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GAGtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAuB,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAoE/E,MAAM,WAAW,GAAqG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAEnI;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC;IACnC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,SAAS;IAChB,kEAAkE;IAClE,OAAO,EAAE,IAAI;IACb,MAAM,EAAE;QACJ,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACpD,QAAQ,EAAE;YACN,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAA4B,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;YACtF,kGAAkG;YAClG,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;SAC5B;QACD,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACzE,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAyC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAC5G,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACtD,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;KACrF;IACD,0EAA0E;IAC1E,uEAAuE;IACvE,OAAO,EAAE,CAAC,MAAoB,EAAE,EAAE;QAC9B,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;QAC7D,OAAO,QAAQ,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC3E,CAAC;IACD,uEAAuE;IACvE,6EAA6E;IAC7E,yEAAyE;IACzE,sEAAsE;IACtE,IAAI,EAAE,CAAC,IAAkB,EAAE,EAAgB,EAAE,CAAS,EAAgB,EAAE;QACpE,MAAM,IAAI,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QACjC,OAAO;YACH,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,GAAG,CAAC,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACnE,GAAG,CAAC,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACnE,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,SAAS,IAAI,EAAE,CAAC,KAAK,KAAK,SAAS;gBAClD,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE;gBAC1E,CAAC,CAAC,EAAE,CAAC;YACT,GAAG,CAAC,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACnE,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,iBAAiB,CACvB,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAChC,iBAAiB,CAAC,EAAE,CAAC,QAAQ,CAAC,EAC9B,CAAC,CACJ;SACJ,CAAC;IACN,CAAC;IACD,MAAM,EAAE,CAAC,CAAe,EAAE,CAAe,EAAE,EAAE,CACzC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM;QACrB,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,QAAQ;QACzB,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,QAAQ;QACzB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;QACjB,CAAC,CAAC,SAAS,KAAK,CAAC,CAAC,SAAS;QAC3B,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;IACrF,oFAAoF;IACpF,OAAO,EAAE,CAAC,MAAoB,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC;CACxF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,UAAU,CAAwC,CAAC","sourcesContent":["import { BlendModes, type BlendMode } from \"../../fill/blend\";\nimport type { ModedEffect, EffectData } from \"../effect-data\";\nimport {\n lerpUniformRecord,\n normalizeUniforms,\n uniformRecordsEqual,\n type ShaderUniform,\n type ShaderUniformRecord,\n} from \"../../shaders/uniforms\";\nimport { shaderContractOf, type ShaderLanguage } from \"../../shaders/language\";\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\n\n/**\n * A custom shader, classified by the shared {@link EffectMode}:\n *\n * - `'backdrop'`: `sample_src` reads a snapshot of the canvas content beneath\n * the node. For magnification, distortion, ripple. The result replaces the\n * backdrop within the node's silhouette clip.\n *\n * - `'foreground'` (the default): `sample_src` reads the node's own layer, and\n * the output replaces it, or composites onto it with {@link blendMode}.\n *\n * Named for the paint it is the sibling of: this is the same act as a `shader`\n * **fill**, on a layer instead of inside a path.\n */\nexport interface ShaderEffect extends ModedEffect {\n type: \"shader\";\n /**\n * The program. In WGSL it defines `fn effect(in: EffectIn) -> vec4f`\n * (premultiplied), reads its input with `sample_src(uv)` /\n * `sample_src_px(px)` — the node's layer, or in `'backdrop'` mode what lies\n * beneath it — and its uniforms as `u`, the `struct Params` it declares.\n */\n source: string;\n /** The language `source` is written in; WGSL when absent. */\n language?: ShaderLanguage;\n /** WGSL only: the contract version it is written against; `resolve` stamps `WGSL_CONTRACT` when absent. */\n contract?: number;\n /**\n * How far past the node's box (logical px) a WGSL effect may draw — a glow,\n * a ripple that spills. The layer it runs over grows by it. Default 0.\n */\n reach?: number;\n /**\n * Uniform values, by name. Values lerp component-wise.\n *\n * The positional `[{ name, value }]` array older documents carry is still\n * accepted and normalised on the way in; both are bound by name.\n */\n uniforms: ShaderUniformRecord | ShaderUniform[];\n /**\n * The shader pack this was built from, when it was built from one.\n *\n * **Reserved, and carried rather than read.** A pack resolves to a plain\n * uniform record before it reaches here, so nothing in the render path needs\n * this — the frame is identical with or without it. What it exists for is the\n * trip back: a document stores resolved uniforms, and without a reference to\n * the pack a host reopening a saved scene has a set of numbers and no way to\n * know which of them were `twist` and `ink`, so the property panel it drew\n * when the shader was applied cannot be drawn again.\n *\n * An id naming a pack that is not registered is **not** an error: the shader\n * still renders, because the uniforms it needs are already in the document.\n * The host simply cannot offer the panel, which is the honest degradation —\n * refusing to render a scene because an editor cannot edit it would be the\n * wrong way round.\n */\n shaderId?: string;\n /**\n * Blend mode used when `mode` is `'foreground'`; the output replaces the\n * layer when absent. Ignored for `'backdrop'`.\n */\n blendMode?: BlendMode;\n}\n\n// The hand-written interface and the spec describe the same fields.\ntype ShaderFields = Omit<ShaderEffect, \"type\" | keyof ModedEffect>;\ntype SpecFields = EffectFields<typeof shaderSpec.params>;\nconst _specAgrees: [ShaderFields extends SpecFields ? true : false, SpecFields extends ShaderFields ? true : false] = [true, true];\n\n/**\n * The {@link ShaderEffect} spec. Its fields are described for a host; its\n * interpolation, equality and surface stay hand-written, since they are about a\n * program and its uniform record rather than a set of parameters.\n */\nexport const shaderSpec = defineEffect({\n type: \"shader\",\n group: \"stylize\",\n // An arbitrary user shader: neutrality is the author's to define.\n neutral: null,\n params: {\n source: param.text({ required: true, hidden: true }),\n language: {\n ...param.choice([\"wgsl\"] satisfies ShaderLanguage[], { optional: true, hidden: true }),\n // \"sksl\" is the retired value documents from before WGSL carry: it draws nothing and is reported.\n options: [\"wgsl\", \"sksl\"],\n },\n reach: param.number({ optional: true, min: 0, unit: \"px\", hidden: true }),\n uniforms: param.of<ShaderUniformRecord | ShaderUniform[]>()({ kind: \"uniforms\", default: {}, hidden: true }),\n shaderId: param.text({ optional: true, hidden: true }),\n blendMode: param.choice(BlendModes, { optional: true, optionsLabel: \"blendMode\" }),\n },\n // Returns the effect untouched when it already states its contract, which\n // is what keeps `resolveChainEffects` from copying an array per write.\n resolve: (effect: ShaderEffect) => {\n const contract = effect.contract ?? shaderContractOf(effect);\n return contract === effect.contract ? effect : { ...effect, contract };\n },\n // The program and what it is blended with snap at the midpoint, as the\n // `shader` fill's source does: the source is the compile-cache key, so there\n // is no program halfway between two. Only the uniform values interpolate\n // (over the union of names), which keeps a same-program tween smooth.\n lerp: (from: ShaderEffect, to: ShaderEffect, t: number): ShaderEffect => {\n const near = t < 0.5 ? from : to;\n return {\n type: \"shader\",\n source: near.source,\n ...(near.language !== undefined ? { language: near.language } : {}),\n ...(near.contract !== undefined ? { contract: near.contract } : {}),\n ...(from.reach !== undefined || to.reach !== undefined\n ? { reach: (from.reach ?? 0) + ((to.reach ?? 0) - (from.reach ?? 0)) * t }\n : {}),\n ...(near.shaderId !== undefined ? { shaderId: near.shaderId } : {}),\n mode: near.mode,\n blendMode: near.blendMode,\n uniforms: lerpUniformRecord(\n normalizeUniforms(from.uniforms),\n normalizeUniforms(to.uniforms),\n t,\n ),\n };\n },\n equals: (a: ShaderEffect, b: ShaderEffect) =>\n a.source === b.source &&\n a.language === b.language &&\n a.contract === b.contract &&\n (a.reach ?? 0) === (b.reach ?? 0) &&\n a.mode === b.mode &&\n a.blendMode === b.blendMode &&\n uniformRecordsEqual(normalizeUniforms(a.uniforms), normalizeUniforms(b.uniforms)),\n // A backdrop shader resamples what is beneath the node, so it needs a redraw scope.\n surface: (effect: ShaderEffect) => (effect.mode === \"backdrop\" ? \"shader\" : \"filter\"),\n});\n\nexport const shaderEffect = effectDataOf(shaderSpec) as unknown as EffectData<ShaderEffect>;\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
2
|
+
import { type EffectFields } from "../spec.js";
|
|
2
3
|
/**
|
|
3
4
|
* Unsharp mask — the standard sharpen: subtract a blurred copy of the content
|
|
4
5
|
* from itself and add the difference back, which exaggerates local contrast at
|
|
@@ -10,12 +11,29 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
|
10
11
|
* a large one adds "clarity" to broad shapes); `amount` sets how hard. Past
|
|
11
12
|
* ~2 the classic halo artefact shows up, which is sometimes the point.
|
|
12
13
|
*/
|
|
13
|
-
export interface SharpenEffect extends ModedEffect {
|
|
14
|
+
export interface SharpenEffect extends ModedEffect, EffectFields<typeof sharpenSpec.params> {
|
|
14
15
|
type: "sharpen";
|
|
15
|
-
/** Edge-contrast boost. 0 = off, 1 = a firm sharpen, >2 haloes. */
|
|
16
|
-
amount: number;
|
|
17
|
-
/** Radius of the blurred reference, in px. */
|
|
18
|
-
radius: number;
|
|
19
16
|
}
|
|
17
|
+
/** The {@link SharpenEffect} spec: its parameters, defaults and ranges. */
|
|
18
|
+
export declare const sharpenSpec: import("../spec.js").EffectSpec<"sharpen", {
|
|
19
|
+
/** Edge-contrast boost. */
|
|
20
|
+
readonly amount: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
21
|
+
readonly default: 1;
|
|
22
|
+
readonly min: 0;
|
|
23
|
+
readonly max: 4;
|
|
24
|
+
readonly control: "slider";
|
|
25
|
+
readonly inline: true;
|
|
26
|
+
}> & {
|
|
27
|
+
kind: "number";
|
|
28
|
+
};
|
|
29
|
+
/** Radius of the blurred reference, in pixels. */
|
|
30
|
+
readonly radius: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
31
|
+
readonly default: 1;
|
|
32
|
+
readonly min: 0;
|
|
33
|
+
readonly unit: "px";
|
|
34
|
+
}> & {
|
|
35
|
+
kind: "number";
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
20
38
|
export declare const sharpenEffect: EffectData<SharpenEffect>;
|
|
21
39
|
//# sourceMappingURL=sharpen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharpen.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/sharpen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sharpen.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/sharpen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;;;;;GAUG;AACH,MAAM,WAAW,aAAc,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC;IACvF,IAAI,EAAE,SAAS,CAAC;CACnB;AAED,2EAA2E;AAC3E,eAAO,MAAM,WAAW;IAQhB,2BAA2B;;;;;;;;;;IAE3B,kDAAkD;;;;;;;;EAGxD,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,aAAa,CAA6B,CAAC"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
mode: t < 0.5 ? from.mode : to.mode,
|
|
8
|
-
}),
|
|
9
|
-
equals: (a, b) => a.amount === b.amount && a.radius === b.radius && a.mode === b.mode,
|
|
10
|
-
// Convolves a neighbourhood — this CanvasKit build has no MatrixConvolution.
|
|
1
|
+
import { defineEffect, effectDataOf, param } from "../spec.js";
|
|
2
|
+
/** The {@link SharpenEffect} spec: its parameters, defaults and ranges. */
|
|
3
|
+
export const sharpenSpec = defineEffect({
|
|
4
|
+
type: "sharpen",
|
|
5
|
+
group: "blur",
|
|
6
|
+
// Convolves a neighbourhood, so it resamples.
|
|
11
7
|
surface: "shader",
|
|
12
|
-
|
|
8
|
+
scalar: "amount",
|
|
9
|
+
neutral: { amount: 0 },
|
|
10
|
+
params: {
|
|
11
|
+
/** Edge-contrast boost. */
|
|
12
|
+
amount: param.number({ default: 1, min: 0, max: 4, control: "slider", inline: true }),
|
|
13
|
+
/** Radius of the blurred reference, in pixels. */
|
|
14
|
+
radius: param.number({ default: 1, min: 0, unit: "px" }),
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
export const sharpenEffect = effectDataOf(sharpenSpec);
|
|
13
18
|
//# sourceMappingURL=sharpen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharpen.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/sharpen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sharpen.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/sharpen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAiB/E,2EAA2E;AAC3E,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;IACpC,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,MAAM;IACb,8CAA8C;IAC9C,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;IACtB,MAAM,EAAE;QACJ,2BAA2B;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACrF,kDAAkD;QAClD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;KAC3D;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAA8B,YAAY,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\n\n/**\n * Unsharp mask — the standard sharpen: subtract a blurred copy of the content\n * from itself and add the difference back, which exaggerates local contrast at\n * edges.\n *\n * out = c + amount · (c − blur(c, radius))\n *\n * `radius` sets the scale of detail affected (a small radius crisps fine texture,\n * a large one adds \"clarity\" to broad shapes); `amount` sets how hard. Past\n * ~2 the classic halo artefact shows up, which is sometimes the point.\n */\nexport interface SharpenEffect extends ModedEffect, EffectFields<typeof sharpenSpec.params> {\n type: \"sharpen\";\n}\n\n/** The {@link SharpenEffect} spec: its parameters, defaults and ranges. */\nexport const sharpenSpec = defineEffect({\n type: \"sharpen\",\n group: \"blur\",\n // Convolves a neighbourhood, so it resamples.\n surface: \"shader\",\n scalar: \"amount\",\n neutral: { amount: 0 },\n params: {\n /** Edge-contrast boost. */\n amount: param.number({ default: 1, min: 0, max: 4, control: \"slider\", inline: true }),\n /** Radius of the blurred reference, in pixels. */\n radius: param.number({ default: 1, min: 0, unit: \"px\" }),\n },\n});\n\nexport const sharpenEffect: EffectData<SharpenEffect> = effectDataOf(sharpenSpec);\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
2
|
+
import { type EffectFields } from "../spec.js";
|
|
2
3
|
/**
|
|
3
4
|
* Anamorphic glare — a bright pass smeared along one axis and screened back on.
|
|
4
5
|
*
|
|
@@ -6,16 +7,46 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
|
6
7
|
* `angle` only. That asymmetry is the entire anamorphic look: the horizontal
|
|
7
8
|
* flare a wide lens throws off a highlight, rather than a halo around it.
|
|
8
9
|
*/
|
|
9
|
-
export interface StreakEffect extends ModedEffect {
|
|
10
|
+
export interface StreakEffect extends ModedEffect, EffectFields<typeof streakSpec.params> {
|
|
10
11
|
type: "streak";
|
|
11
|
-
/** Additive multiplier for the streak pass. 0 = off. */
|
|
12
|
-
intensity: number;
|
|
13
|
-
/** 0–1 luminance cutoff — only pixels brighter than this streak. */
|
|
14
|
-
threshold: number;
|
|
15
|
-
/** Smear length in px along `angle`. */
|
|
16
|
-
length: number;
|
|
17
|
-
/** Smear axis in degrees; 0 = horizontal. */
|
|
18
|
-
angle: number;
|
|
19
12
|
}
|
|
13
|
+
/** The {@link StreakEffect} spec: its parameters, defaults and ranges. */
|
|
14
|
+
export declare const streakSpec: import("../spec.js").EffectSpec<"streak", {
|
|
15
|
+
/** Additive multiplier for the streak pass. */
|
|
16
|
+
readonly intensity: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
17
|
+
readonly default: 1;
|
|
18
|
+
readonly min: 0;
|
|
19
|
+
readonly max: 3;
|
|
20
|
+
readonly control: "slider";
|
|
21
|
+
readonly inline: true;
|
|
22
|
+
}> & {
|
|
23
|
+
kind: "number";
|
|
24
|
+
};
|
|
25
|
+
/** 0–1 luminance cutoff. */
|
|
26
|
+
readonly threshold: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
27
|
+
readonly default: 0.7;
|
|
28
|
+
readonly min: 0;
|
|
29
|
+
readonly max: 1;
|
|
30
|
+
readonly control: "slider";
|
|
31
|
+
}> & {
|
|
32
|
+
kind: "number";
|
|
33
|
+
};
|
|
34
|
+
/** Smear length in pixels. */
|
|
35
|
+
readonly length: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
36
|
+
readonly default: 120;
|
|
37
|
+
readonly min: 0;
|
|
38
|
+
readonly unit: "px";
|
|
39
|
+
}> & {
|
|
40
|
+
kind: "number";
|
|
41
|
+
};
|
|
42
|
+
/** Smear axis in degrees; 0 = horizontal. */
|
|
43
|
+
readonly angle: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
44
|
+
readonly default: 0;
|
|
45
|
+
readonly unit: "deg";
|
|
46
|
+
readonly control: "angle";
|
|
47
|
+
}> & {
|
|
48
|
+
kind: "number";
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
20
51
|
export declare const streakEffect: EffectData<StreakEffect>;
|
|
21
52
|
//# sourceMappingURL=streak.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streak.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/streak.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"streak.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/streak.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;GAMG;AACH,MAAM,WAAW,YAAa,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,UAAU,CAAC,MAAM,CAAC;IACrF,IAAI,EAAE,QAAQ,CAAC;CAClB;AAED,0EAA0E;AAC1E,eAAO,MAAM,UAAU;IAOf,+CAA+C;;;;;;;;;;IAE/C,4BAA4B;;;;;;;;;IAE5B,8BAA8B;;;;;;;;IAE9B,6CAA6C;;;;;;;;EAGnD,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,YAAY,CAA4B,CAAC"}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
threshold: lerpNumber(from.threshold, to.threshold, t),
|
|
7
|
-
length: lerpNumber(from.length, to.length, t),
|
|
8
|
-
angle: lerpNumber(from.angle, to.angle, t),
|
|
9
|
-
mode: t < 0.5 ? from.mode : to.mode,
|
|
10
|
-
}),
|
|
11
|
-
equals: (a, b) => a.intensity === b.intensity &&
|
|
12
|
-
a.threshold === b.threshold &&
|
|
13
|
-
a.length === b.length &&
|
|
14
|
-
a.angle === b.angle &&
|
|
15
|
-
a.mode === b.mode,
|
|
1
|
+
import { defineEffect, effectDataOf, param } from "../spec.js";
|
|
2
|
+
/** The {@link StreakEffect} spec: its parameters, defaults and ranges. */
|
|
3
|
+
export const streakSpec = defineEffect({
|
|
4
|
+
type: "streak",
|
|
5
|
+
group: "light",
|
|
16
6
|
// An anisotropic blur of a colour-matrix bright pass — all ImageFilter work.
|
|
17
|
-
|
|
7
|
+
scalar: "intensity",
|
|
8
|
+
neutral: { intensity: 0 },
|
|
9
|
+
params: {
|
|
10
|
+
/** Additive multiplier for the streak pass. */
|
|
11
|
+
intensity: param.number({ default: 1, min: 0, max: 3, control: "slider", inline: true }),
|
|
12
|
+
/** 0–1 luminance cutoff. */
|
|
13
|
+
threshold: param.number({ default: 0.7, min: 0, max: 1, control: "slider" }),
|
|
14
|
+
/** Smear length in pixels. */
|
|
15
|
+
length: param.number({ default: 120, min: 0, unit: "px" }),
|
|
16
|
+
/** Smear axis in degrees; 0 = horizontal. */
|
|
17
|
+
angle: param.number({ default: 0, unit: "deg", control: "angle" }),
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export const streakEffect = effectDataOf(streakSpec);
|
|
18
21
|
//# sourceMappingURL=streak.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streak.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/streak.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"streak.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/streak.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAa/E,0EAA0E;AAC1E,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC;IACnC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,OAAO;IACd,6EAA6E;IAC7E,MAAM,EAAE,WAAW;IACnB,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;IACzB,MAAM,EAAE;QACJ,+CAA+C;QAC/C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACxF,4BAA4B;QAC5B,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;QAC5E,8BAA8B;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QAC1D,6CAA6C;QAC7C,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;KACrE;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAA6B,YAAY,CAAC,UAAU,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\n\n/**\n * Anamorphic glare — a bright pass smeared along one axis and screened back on.\n *\n * Where `bloom` spreads light equally in all directions, this spreads it along\n * `angle` only. That asymmetry is the entire anamorphic look: the horizontal\n * flare a wide lens throws off a highlight, rather than a halo around it.\n */\nexport interface StreakEffect extends ModedEffect, EffectFields<typeof streakSpec.params> {\n type: \"streak\";\n}\n\n/** The {@link StreakEffect} spec: its parameters, defaults and ranges. */\nexport const streakSpec = defineEffect({\n type: \"streak\",\n group: \"light\",\n // An anisotropic blur of a colour-matrix bright pass — all ImageFilter work.\n scalar: \"intensity\",\n neutral: { intensity: 0 },\n params: {\n /** Additive multiplier for the streak pass. */\n intensity: param.number({ default: 1, min: 0, max: 3, control: \"slider\", inline: true }),\n /** 0–1 luminance cutoff. */\n threshold: param.number({ default: 0.7, min: 0, max: 1, control: \"slider\" }),\n /** Smear length in pixels. */\n length: param.number({ default: 120, min: 0, unit: \"px\" }),\n /** Smear axis in degrees; 0 = horizontal. */\n angle: param.number({ default: 0, unit: \"deg\", control: \"angle\" }),\n },\n});\n\nexport const streakEffect: EffectData<StreakEffect> = effectDataOf(streakSpec);\n"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
2
|
+
import { type EffectFields } from "../spec.js";
|
|
2
3
|
/**
|
|
3
4
|
* Two-tone cut: every pixel brighter than `level` becomes white, everything
|
|
4
5
|
* else black — the stencil / high-contrast look.
|
|
@@ -7,12 +8,30 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
|
7
8
|
* anti-aliases the boundary and, at higher values, keeps some midtone
|
|
8
9
|
* modelling instead of a pure stencil.
|
|
9
10
|
*/
|
|
10
|
-
export interface ThresholdEffect extends ModedEffect {
|
|
11
|
+
export interface ThresholdEffect extends ModedEffect, EffectFields<typeof thresholdSpec.params> {
|
|
11
12
|
type: "threshold";
|
|
12
|
-
/** 0–1 luminance cut point. */
|
|
13
|
-
level: number;
|
|
14
|
-
/** 0–1 width of the ramp around the cut; 0 is a hard, aliased edge. */
|
|
15
|
-
smoothness: number;
|
|
16
13
|
}
|
|
14
|
+
/** The {@link ThresholdEffect} spec: its parameters, defaults and ranges. */
|
|
15
|
+
export declare const thresholdSpec: import("../spec.js").EffectSpec<"threshold", {
|
|
16
|
+
/** 0–1 cut point. */
|
|
17
|
+
readonly level: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
18
|
+
readonly default: 0.5;
|
|
19
|
+
readonly min: 0;
|
|
20
|
+
readonly max: 1;
|
|
21
|
+
readonly control: "slider";
|
|
22
|
+
readonly inline: true;
|
|
23
|
+
}> & {
|
|
24
|
+
kind: "number";
|
|
25
|
+
};
|
|
26
|
+
/** 0–1 ramp width around the cut (just enough to anti-alias by default). */
|
|
27
|
+
readonly smoothness: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
28
|
+
readonly default: 0.05;
|
|
29
|
+
readonly min: 0;
|
|
30
|
+
readonly max: 1;
|
|
31
|
+
readonly control: "slider";
|
|
32
|
+
}> & {
|
|
33
|
+
kind: "number";
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
17
36
|
export declare const thresholdEffect: EffectData<ThresholdEffect>;
|
|
18
37
|
//# sourceMappingURL=threshold.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threshold.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/threshold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"threshold.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/threshold.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,WAAW,eAAgB,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC,MAAM,CAAC;IAC3F,IAAI,EAAE,WAAW,CAAC;CACrB;AAED,6EAA6E;AAC7E,eAAO,MAAM,aAAa;IASlB,qBAAqB;;;;;;;;;;IAErB,4EAA4E;;;;;;;;;EAGlF,CAAC;AAEH,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAAe,CAA+B,CAAC"}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
mode: t < 0.5 ? from.mode : to.mode,
|
|
8
|
-
}),
|
|
9
|
-
equals: (a, b) => a.level === b.level && a.smoothness === b.smoothness && a.mode === b.mode,
|
|
10
|
-
// A non-linear per-pixel remap; no LUT colour filter in this CanvasKit build.
|
|
1
|
+
import { defineEffect, effectDataOf, param } from "../spec.js";
|
|
2
|
+
/** The {@link ThresholdEffect} spec: its parameters, defaults and ranges. */
|
|
3
|
+
export const thresholdSpec = defineEffect({
|
|
4
|
+
type: "threshold",
|
|
5
|
+
group: "color",
|
|
6
|
+
// A non-linear per-pixel remap, drawn as its own pass.
|
|
11
7
|
surface: "shader",
|
|
12
|
-
|
|
8
|
+
scalar: "level",
|
|
9
|
+
// Flattens colour to two tones at every level and smoothness.
|
|
10
|
+
neutral: null,
|
|
11
|
+
params: {
|
|
12
|
+
/** 0–1 cut point. */
|
|
13
|
+
level: param.number({ default: 0.5, min: 0, max: 1, control: "slider", inline: true }),
|
|
14
|
+
/** 0–1 ramp width around the cut (just enough to anti-alias by default). */
|
|
15
|
+
smoothness: param.number({ default: 0.05, min: 0, max: 1, control: "slider" }),
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
export const thresholdEffect = effectDataOf(thresholdSpec);
|
|
13
19
|
//# sourceMappingURL=threshold.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threshold.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/threshold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"threshold.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/threshold.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAc/E,6EAA6E;AAC7E,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAC;IACtC,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,OAAO;IACd,uDAAuD;IACvD,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,OAAO;IACf,8DAA8D;IAC9D,OAAO,EAAE,IAAI;IACb,MAAM,EAAE;QACJ,qBAAqB;QACrB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACtF,4EAA4E;QAC5E,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;KACjF;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,eAAe,GAAgC,YAAY,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\n\n/**\n * Two-tone cut: every pixel brighter than `level` becomes white, everything\n * else black — the stencil / high-contrast look.\n *\n * `smoothness` widens the cut into a ramp centred on `level`, which both\n * anti-aliases the boundary and, at higher values, keeps some midtone\n * modelling instead of a pure stencil.\n */\nexport interface ThresholdEffect extends ModedEffect, EffectFields<typeof thresholdSpec.params> {\n type: \"threshold\";\n}\n\n/** The {@link ThresholdEffect} spec: its parameters, defaults and ranges. */\nexport const thresholdSpec = defineEffect({\n type: \"threshold\",\n group: \"color\",\n // A non-linear per-pixel remap, drawn as its own pass.\n surface: \"shader\",\n scalar: \"level\",\n // Flattens colour to two tones at every level and smoothness.\n neutral: null,\n params: {\n /** 0–1 cut point. */\n level: param.number({ default: 0.5, min: 0, max: 1, control: \"slider\", inline: true }),\n /** 0–1 ramp width around the cut (just enough to anti-alias by default). */\n smoothness: param.number({ default: 0.05, min: 0, max: 1, control: \"slider\" }),\n },\n});\n\nexport const thresholdEffect: EffectData<ThresholdEffect> = effectDataOf(thresholdSpec);\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Vector2 } from "../../../../attributes/layout/vector2.js";
|
|
2
1
|
import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
2
|
+
import { type EffectFields } from "../spec.js";
|
|
3
3
|
/**
|
|
4
4
|
* Twirl / swirl — the content is rotated about `center` by an amount that falls
|
|
5
5
|
* off with distance, so the middle spins and the rim stays put.
|
|
@@ -12,14 +12,41 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
|
|
|
12
12
|
* Animating `angle` past a full turn keeps winding — there is no wrap point, so
|
|
13
13
|
* a long tween produces an ever-tightening spiral.
|
|
14
14
|
*/
|
|
15
|
-
export interface TwirlEffect extends ModedEffect {
|
|
15
|
+
export interface TwirlEffect extends ModedEffect, EffectFields<typeof twirlSpec.params> {
|
|
16
16
|
type: "twirl";
|
|
17
|
-
/** Rotation at the centre in degrees. Negative twirls the other way. 0 = off. */
|
|
18
|
-
angle: number;
|
|
19
|
-
/** 0–1 radius of influence, as a fraction of the node's half-extent. */
|
|
20
|
-
radius: number;
|
|
21
|
-
/** Vortex centre in 0–1 layer coords. */
|
|
22
|
-
center: Vector2;
|
|
23
17
|
}
|
|
18
|
+
/** The {@link TwirlEffect} spec: its parameters, defaults and ranges. */
|
|
19
|
+
export declare const twirlSpec: import("../spec.js").EffectSpec<"twirl", {
|
|
20
|
+
/** Rotation at the centre in degrees. */
|
|
21
|
+
readonly angle: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
22
|
+
readonly default: 180;
|
|
23
|
+
readonly unit: "deg";
|
|
24
|
+
readonly label: "twist";
|
|
25
|
+
readonly inline: true;
|
|
26
|
+
}> & {
|
|
27
|
+
kind: "number";
|
|
28
|
+
};
|
|
29
|
+
/** 0–1 radius of influence (1 = the whole node). */
|
|
30
|
+
readonly radius: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
|
|
31
|
+
readonly default: 1;
|
|
32
|
+
readonly min: 0;
|
|
33
|
+
readonly max: 1;
|
|
34
|
+
readonly control: "slider";
|
|
35
|
+
readonly label: "reach";
|
|
36
|
+
}> & {
|
|
37
|
+
kind: "number";
|
|
38
|
+
};
|
|
39
|
+
/** Vortex centre in 0–1 layer coords. */
|
|
40
|
+
readonly center: import("../spec.js").EffectParamDef<import("../../../index.js").Vector2, import("../../../index.js").Vector2> & NoInfer<{
|
|
41
|
+
readonly default: import("../../../index.js").Vector2;
|
|
42
|
+
readonly min: 0;
|
|
43
|
+
readonly max: 1;
|
|
44
|
+
readonly step: 0.01;
|
|
45
|
+
readonly unit: "normalized";
|
|
46
|
+
readonly label: "vortexCenter";
|
|
47
|
+
}> & {
|
|
48
|
+
kind: "vec2";
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
24
51
|
export declare const twirlEffect: EffectData<TwirlEffect>;
|
|
25
52
|
//# sourceMappingURL=twirl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twirl.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/twirl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"twirl.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/twirl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvF;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,WAAY,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,SAAS,CAAC,MAAM,CAAC;IACnF,IAAI,EAAE,OAAO,CAAC;CACjB;AAED,yEAAyE;AACzE,eAAO,MAAM,SAAS;IAQd,yCAAyC;;;;;;;;;IAEzC,oDAAoD;;;;;;;;;;IAEpD,yCAAyC;;;;;;;;;;;EAG/C,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,WAAW,CAA2B,CAAC"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
angle: lerpNumber(from.angle, to.angle, t),
|
|
7
|
-
radius: lerpNumber(from.radius, to.radius, t),
|
|
8
|
-
center: lerpVector2(from.center, to.center, t),
|
|
9
|
-
mode: t < 0.5 ? from.mode : to.mode,
|
|
10
|
-
}),
|
|
11
|
-
equals: (a, b) => a.angle === b.angle &&
|
|
12
|
-
a.radius === b.radius &&
|
|
13
|
-
a.center.x === b.center.x &&
|
|
14
|
-
a.center.y === b.center.y &&
|
|
15
|
-
a.mode === b.mode,
|
|
1
|
+
import { CENTER, defineEffect, effectDataOf, param } from "../spec.js";
|
|
2
|
+
/** The {@link TwirlEffect} spec: its parameters, defaults and ranges. */
|
|
3
|
+
export const twirlSpec = defineEffect({
|
|
4
|
+
type: "twirl",
|
|
5
|
+
group: "distort",
|
|
16
6
|
// Resamples the source at a rotated position.
|
|
17
7
|
surface: "shader",
|
|
18
|
-
|
|
8
|
+
scalar: "angle",
|
|
9
|
+
neutral: { angle: 0 },
|
|
10
|
+
params: {
|
|
11
|
+
/** Rotation at the centre in degrees. */
|
|
12
|
+
angle: param.number({ default: 180, unit: "deg", label: "twist", inline: true }),
|
|
13
|
+
/** 0–1 radius of influence (1 = the whole node). */
|
|
14
|
+
radius: param.number({ default: 1, min: 0, max: 1, control: "slider", label: "reach" }),
|
|
15
|
+
/** Vortex centre in 0–1 layer coords. */
|
|
16
|
+
center: param.vec2({ default: CENTER, min: 0, max: 1, step: 0.01, unit: "normalized", label: "vortexCenter" }),
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
export const twirlEffect = effectDataOf(twirlSpec);
|
|
19
20
|
//# sourceMappingURL=twirl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"twirl.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/twirl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"twirl.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/twirl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAkBvF,yEAAyE;AACzE,MAAM,CAAC,MAAM,SAAS,GAAG,YAAY,CAAC;IAClC,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,SAAS;IAChB,8CAA8C;IAC9C,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;IACrB,MAAM,EAAE;QACJ,yCAAyC;QACzC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAChF,oDAAoD;QACpD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;QACvF,yCAAyC;QACzC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;KACjH;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAA4B,YAAY,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\nimport { CENTER, defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\n\n/**\n * Twirl / swirl — the content is rotated about `center` by an amount that falls\n * off with distance, so the middle spins and the rim stays put.\n *\n * The falloff is what separates this from simply rotating the node: rotation is\n * rigid, this shears. Everything inside `radius` twists by a fraction of `angle`\n * that reaches full strength at the centre and zero at the rim, which is what\n * makes it read as a vortex rather than a transform.\n *\n * Animating `angle` past a full turn keeps winding — there is no wrap point, so\n * a long tween produces an ever-tightening spiral.\n */\nexport interface TwirlEffect extends ModedEffect, EffectFields<typeof twirlSpec.params> {\n type: \"twirl\";\n}\n\n/** The {@link TwirlEffect} spec: its parameters, defaults and ranges. */\nexport const twirlSpec = defineEffect({\n type: \"twirl\",\n group: \"distort\",\n // Resamples the source at a rotated position.\n surface: \"shader\",\n scalar: \"angle\",\n neutral: { angle: 0 },\n params: {\n /** Rotation at the centre in degrees. */\n angle: param.number({ default: 180, unit: \"deg\", label: \"twist\", inline: true }),\n /** 0–1 radius of influence (1 = the whole node). */\n radius: param.number({ default: 1, min: 0, max: 1, control: \"slider\", label: \"reach\" }),\n /** Vortex centre in 0–1 layer coords. */\n center: param.vec2({ default: CENTER, min: 0, max: 1, step: 0.01, unit: \"normalized\", label: \"vortexCenter\" }),\n },\n});\n\nexport const twirlEffect: EffectData<TwirlEffect> = effectDataOf(twirlSpec);\n"]}
|