@motionscript/core 0.1.0-alpha.0 → 0.1.0-alpha.5
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 +282 -0
- package/LICENSE +201 -201
- package/NOTICE +48 -0
- package/README.md +93 -72
- package/dist/assets/asset-index.js.map +1 -1
- package/dist/assets/catalog.d.ts +9 -0
- package/dist/assets/catalog.d.ts.map +1 -1
- package/dist/assets/catalog.js +11 -0
- package/dist/assets/catalog.js.map +1 -1
- package/dist/assets/errors.d.ts.map +1 -1
- package/dist/assets/errors.js +8 -3
- package/dist/assets/errors.js.map +1 -1
- package/dist/assets/index.js.map +1 -1
- package/dist/assets/manager.d.ts +26 -1
- package/dist/assets/manager.d.ts.map +1 -1
- package/dist/assets/manager.js +93 -11
- 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.d.ts +3 -3
- package/dist/assets/scope.d.ts.map +1 -1
- package/dist/assets/scope.js.map +1 -1
- package/dist/attributes/audio/filters/chain.d.ts +1 -1
- package/dist/attributes/audio/filters/chain.js.map +1 -1
- package/dist/attributes/audio/filters/curve.d.ts +8 -8
- package/dist/attributes/audio/filters/curve.d.ts.map +1 -1
- package/dist/attributes/audio/filters/curve.js +20 -19
- package/dist/attributes/audio/filters/curve.js.map +1 -1
- package/dist/attributes/audio/filters/implementations/echo.js.map +1 -1
- package/dist/attributes/audio/filters/implementations/gain.js.map +1 -1
- package/dist/attributes/audio/filters/implementations/highpass.js.map +1 -1
- package/dist/attributes/audio/filters/implementations/lowpass.js.map +1 -1
- package/dist/attributes/audio/filters/implementations/speed.d.ts +2 -2
- package/dist/attributes/audio/filters/implementations/speed.js.map +1 -1
- package/dist/attributes/audio/filters/implementations/tremolo.js.map +1 -1
- package/dist/attributes/audio/filters/index.d.ts +1 -1
- package/dist/attributes/audio/filters/index.d.ts.map +1 -1
- package/dist/attributes/audio/filters/index.js +1 -1
- package/dist/attributes/audio/filters/index.js.map +1 -1
- package/dist/attributes/audio/filters/registry.js.map +1 -1
- package/dist/attributes/audio/filters/union.js.map +1 -1
- package/dist/attributes/audio/request.d.ts +32 -4
- package/dist/attributes/audio/request.d.ts.map +1 -1
- package/dist/attributes/audio/request.js +9 -1
- package/dist/attributes/audio/request.js.map +1 -1
- package/dist/attributes/audio/schedule.d.ts +11 -2
- package/dist/attributes/audio/schedule.d.ts.map +1 -1
- package/dist/attributes/audio/schedule.js +15 -8
- package/dist/attributes/audio/schedule.js.map +1 -1
- package/dist/attributes/audio/sound.d.ts +4 -2
- package/dist/attributes/audio/sound.d.ts.map +1 -1
- package/dist/attributes/audio/sound.js +8 -4
- package/dist/attributes/audio/sound.js.map +1 -1
- package/dist/attributes/index.d.ts +1 -0
- package/dist/attributes/index.d.ts.map +1 -1
- package/dist/attributes/index.js +1 -0
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/layout/alignment.js +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.js.map +1 -1
- package/dist/attributes/layout/size.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.d.ts +17 -6
- package/dist/attributes/properties/decorator.d.ts.map +1 -1
- package/dist/attributes/properties/decorator.js +26 -14
- 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 +9 -2
- package/dist/attributes/properties/typed.d.ts.map +1 -1
- package/dist/attributes/properties/typed.js +15 -1
- package/dist/attributes/properties/typed.js.map +1 -1
- package/dist/attributes/render3d/orbit.d.ts +8 -8
- package/dist/attributes/render3d/orbit.js +7 -7
- package/dist/attributes/render3d/orbit.js.map +1 -1
- 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.d.ts +4 -4
- package/dist/attributes/shape/effects/backdrop.d.ts.map +1 -1
- package/dist/attributes/shape/effects/backdrop.js.map +1 -1
- package/dist/attributes/shape/effects/chain.d.ts +28 -120
- package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
- package/dist/attributes/shape/effects/chain.js +16 -88
- package/dist/attributes/shape/effects/chain.js.map +1 -1
- package/dist/attributes/shape/effects/effect-data.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +2 -2
- package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/curves.d.ts +1 -1
- package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.d.ts +15 -24
- package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/lut.d.ts +1 -1
- package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
- package/dist/attributes/shape/effects/implementations/shader.js +15 -8
- package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
- package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
- package/dist/attributes/shape/effects/index.d.ts +2 -6
- package/dist/attributes/shape/effects/index.d.ts.map +1 -1
- package/dist/attributes/shape/effects/index.js.map +1 -1
- package/dist/attributes/shape/effects/registry.d.ts +23 -6
- package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
- package/dist/attributes/shape/effects/registry.js +44 -10
- package/dist/attributes/shape/effects/registry.js.map +1 -1
- package/dist/attributes/shape/effects/union.d.ts +2 -6
- package/dist/attributes/shape/effects/union.d.ts.map +1 -1
- 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.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.d.ts.map +1 -1
- package/dist/attributes/shape/fill/color/parser.js +81 -44
- package/dist/attributes/shape/fill/color/parser.js.map +1 -1
- package/dist/attributes/shape/fill/gradient-stops.d.ts +16 -0
- package/dist/attributes/shape/fill/gradient-stops.d.ts.map +1 -0
- package/dist/attributes/shape/fill/gradient-stops.js +65 -0
- package/dist/attributes/shape/fill/gradient-stops.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/conic-gradient.js +2 -5
- 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.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/fractal-noise.js +2 -10
- 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.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/image.js +5 -4
- package/dist/attributes/shape/fill/implementations/image.js.map +1 -1
- package/dist/attributes/shape/fill/implementations/linear-gradient.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/linear-gradient.js +2 -6
- 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.d.ts.map +1 -1
- package/dist/attributes/shape/fill/implementations/radial-gradient.js +2 -5
- package/dist/attributes/shape/fill/implementations/radial-gradient.js.map +1 -1
- 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 +1 -1
- package/dist/attributes/shape/fill/implementations/video.js.map +1 -1
- package/dist/attributes/shape/fill/index.js.map +1 -1
- package/dist/attributes/shape/fill/lerp.d.ts +9 -1
- package/dist/attributes/shape/fill/lerp.d.ts.map +1 -1
- package/dist/attributes/shape/fill/lerp.js +12 -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.js.map +1 -1
- package/dist/attributes/shape/fill/union.js.map +1 -1
- package/dist/attributes/shape/filters/chain.d.ts +4 -10
- package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
- package/dist/attributes/shape/filters/chain.js +1 -13
- 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.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.d.ts +1 -1
- package/dist/attributes/shape/filters/index.js.map +1 -1
- package/dist/attributes/shape/filters/registry.d.ts +2 -2
- 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 +6 -7
- 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.d.ts.map +1 -1
- package/dist/attributes/shape/path/anchors.js +12 -5
- 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.d.ts.map +1 -1
- package/dist/attributes/shape/path/morph.js +16 -4
- 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.js.map +1 -1
- package/dist/attributes/shape/shaders/pack.js.map +1 -1
- package/dist/attributes/shape/shaders/resolve.js.map +1 -1
- 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.d.ts +2 -2
- package/dist/attributes/shape/stroke/index.d.ts.map +1 -1
- package/dist/attributes/shape/stroke/index.js +1 -1
- package/dist/attributes/shape/stroke/index.js.map +1 -1
- package/dist/attributes/shape/stroke/stroke.d.ts +27 -6
- package/dist/attributes/shape/stroke/stroke.d.ts.map +1 -1
- package/dist/attributes/shape/stroke/stroke.js +22 -2
- 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.d.ts +6 -0
- package/dist/attributes/text/ops.d.ts.map +1 -1
- package/dist/attributes/text/ops.js +1 -0
- package/dist/attributes/text/ops.js.map +1 -1
- package/dist/attributes/text/types.js.map +1 -1
- package/dist/browser/chunks/chunk-FUZVFT3W.js +18 -0
- package/dist/browser/chunks/chunk-FUZVFT3W.js.map +7 -0
- package/dist/browser/chunks/chunk-QG6C23IJ.js +3 -0
- package/dist/browser/chunks/chunk-QG6C23IJ.js.map +7 -0
- package/dist/browser/chunks/chunk-SFNJRPBV.js +2 -0
- package/dist/browser/chunks/chunk-SFNJRPBV.js.map +7 -0
- package/dist/browser/component.js +1 -1
- package/dist/browser/component.js.map +3 -3
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/browser/jsx-jsx-dev-runtime.js +1 -1
- package/dist/browser/jsx-jsx-runtime.js +1 -1
- package/dist/browser/manifest.json +3 -2
- package/dist/browser/sdk.js +1 -1
- package/dist/component.js.map +1 -1
- package/dist/document/audio.d.ts +1 -1
- package/dist/document/audio.js +4 -4
- package/dist/document/audio.js.map +1 -1
- package/dist/document/builtins.d.ts.map +1 -1
- package/dist/document/builtins.js +8 -14
- package/dist/document/builtins.js.map +1 -1
- package/dist/document/command-traits.d.ts +1 -1
- package/dist/document/command-traits.d.ts.map +1 -1
- package/dist/document/command-traits.js +17 -3
- 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.d.ts +2 -2
- package/dist/document/doc-index.d.ts.map +1 -1
- package/dist/document/doc-index.js.map +1 -1
- package/dist/document/expression/compile.d.ts.map +1 -1
- package/dist/document/expression/compile.js +8 -5
- package/dist/document/expression/compile.js.map +1 -1
- package/dist/document/expression/index.js.map +1 -1
- package/dist/document/expression/ops.js +1 -1
- package/dist/document/expression/ops.js.map +1 -1
- package/dist/document/expression/parse.d.ts.map +1 -1
- package/dist/document/expression/parse.js +15 -6
- package/dist/document/expression/parse.js.map +1 -1
- package/dist/document/expression/refs.d.ts +1 -1
- package/dist/document/expression/refs.js +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.d.ts.map +1 -1
- package/dist/document/expression/walk.js +2 -1
- package/dist/document/expression/walk.js.map +1 -1
- package/dist/document/index.d.ts +2 -0
- package/dist/document/index.d.ts.map +1 -1
- package/dist/document/index.js +2 -0
- package/dist/document/index.js.map +1 -1
- package/dist/document/node-decorator.js.map +1 -1
- package/dist/document/node-descriptor.d.ts +19 -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 +70 -0
- package/dist/document/placement.d.ts.map +1 -0
- package/dist/document/placement.js +83 -0
- package/dist/document/placement.js.map +1 -0
- package/dist/document/project.d.ts +2 -2
- package/dist/document/project.d.ts.map +1 -1
- package/dist/document/project.js.map +1 -1
- package/dist/document/registry.d.ts +34 -16
- package/dist/document/registry.d.ts.map +1 -1
- package/dist/document/registry.js +51 -12
- package/dist/document/registry.js.map +1 -1
- package/dist/document/timeline-patch.js.map +1 -1
- package/dist/document/timeline.d.ts +73 -18
- package/dist/document/timeline.d.ts.map +1 -1
- package/dist/document/timeline.js +192 -40
- package/dist/document/timeline.js.map +1 -1
- package/dist/document/types.d.ts +12 -12
- package/dist/document/types.d.ts.map +1 -1
- package/dist/document/types.js +2 -2
- package/dist/document/types.js.map +1 -1
- package/dist/document/validate.d.ts +2 -2
- package/dist/document/validate.d.ts.map +1 -1
- package/dist/document/validate.js +37 -31
- package/dist/document/validate.js.map +1 -1
- package/dist/document/withdraw.d.ts +28 -0
- package/dist/document/withdraw.d.ts.map +1 -0
- package/dist/document/withdraw.js +61 -0
- package/dist/document/withdraw.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/jsx/jsx-dev-runtime.js.map +1 -1
- package/dist/jsx/jsx-runtime.d.ts +9 -1
- package/dist/jsx/jsx-runtime.d.ts.map +1 -1
- package/dist/jsx/jsx-runtime.js +13 -3
- package/dist/jsx/jsx-runtime.js.map +1 -1
- package/dist/layout/bounds.d.ts +0 -1
- package/dist/layout/bounds.d.ts.map +1 -1
- package/dist/layout/bounds.js.map +1 -1
- package/dist/layout/constraints.js.map +1 -1
- package/dist/layout/flex.d.ts +4 -2
- package/dist/layout/flex.d.ts.map +1 -1
- package/dist/layout/flex.js +27 -11
- 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.d.ts +6 -0
- package/dist/layout/ops.d.ts.map +1 -1
- package/dist/layout/ops.js +6 -0
- package/dist/layout/ops.js.map +1 -1
- package/dist/layout/types.js.map +1 -1
- package/dist/nodes/2d/node-lifecycle.js.map +1 -1
- package/dist/nodes/2d/node-motion.js.map +1 -1
- package/dist/nodes/2d/node-render.d.ts +3 -3
- package/dist/nodes/2d/node-render.d.ts.map +1 -1
- package/dist/nodes/2d/node-render.js.map +1 -1
- package/dist/nodes/2d/node-transform.js.map +1 -1
- package/dist/nodes/2d/node2d.d.ts +115 -3
- package/dist/nodes/2d/node2d.d.ts.map +1 -1
- package/dist/nodes/2d/node2d.js +188 -32
- package/dist/nodes/2d/node2d.js.map +1 -1
- package/dist/nodes/2d/paint-node.d.ts +27 -0
- package/dist/nodes/2d/paint-node.d.ts.map +1 -1
- package/dist/nodes/2d/paint-node.js +42 -0
- package/dist/nodes/2d/paint-node.js.map +1 -1
- package/dist/nodes/audio/audio-bus.js.map +1 -1
- package/dist/nodes/audio/index.js.map +1 -1
- package/dist/nodes/audio/node-audio.d.ts +3 -2
- package/dist/nodes/audio/node-audio.d.ts.map +1 -1
- package/dist/nodes/audio/node-audio.js +8 -5
- package/dist/nodes/audio/node-audio.js.map +1 -1
- package/dist/nodes/audio/sound-node.d.ts +2 -2
- package/dist/nodes/audio/sound-node.d.ts.map +1 -1
- package/dist/nodes/audio/sound-node.js +2 -2
- package/dist/nodes/audio/sound-node.js.map +1 -1
- package/dist/nodes/geometry/bounds-shape-node.d.ts +4 -4
- package/dist/nodes/geometry/bounds-shape-node.js +2 -2
- package/dist/nodes/geometry/bounds-shape-node.js.map +1 -1
- package/dist/nodes/geometry/box-path-node.d.ts +3 -3
- package/dist/nodes/geometry/box-path-node.js +2 -2
- package/dist/nodes/geometry/box-path-node.js.map +1 -1
- package/dist/nodes/geometry/ellipse-node.js.map +1 -1
- package/dist/nodes/geometry/group-bounds.d.ts +2 -2
- package/dist/nodes/geometry/group-bounds.d.ts.map +1 -1
- package/dist/nodes/geometry/group-bounds.js +1 -2
- package/dist/nodes/geometry/group-bounds.js.map +1 -1
- package/dist/nodes/geometry/path-node.d.ts.map +1 -1
- package/dist/nodes/geometry/path-node.js +6 -0
- package/dist/nodes/geometry/path-node.js.map +1 -1
- package/dist/nodes/geometry/polygon-node.js.map +1 -1
- package/dist/nodes/geometry/polygram-node.js.map +1 -1
- package/dist/nodes/geometry/rect-node.js.map +1 -1
- package/dist/nodes/geometry/shape-node.js.map +1 -1
- package/dist/nodes/geometry/shape-outline.d.ts +2 -2
- package/dist/nodes/geometry/shape-outline.d.ts.map +1 -1
- package/dist/nodes/geometry/shape-outline.js +2 -13
- package/dist/nodes/geometry/shape-outline.js.map +1 -1
- package/dist/nodes/index.d.ts +3 -8
- package/dist/nodes/index.d.ts.map +1 -1
- package/dist/nodes/index.js +3 -8
- package/dist/nodes/index.js.map +1 -1
- package/dist/nodes/layout/camera-node.d.ts +9 -0
- package/dist/nodes/layout/camera-node.d.ts.map +1 -1
- package/dist/nodes/layout/camera-node.js +38 -3
- package/dist/nodes/layout/camera-node.js.map +1 -1
- package/dist/nodes/layout/orbit-camera-node.d.ts +1 -1
- package/dist/nodes/layout/orbit-camera-node.js +1 -1
- package/dist/nodes/layout/orbit-camera-node.js.map +1 -1
- package/dist/nodes/layout/rotated-box.js.map +1 -1
- package/dist/nodes/media/video-node.d.ts.map +1 -1
- package/dist/nodes/media/video-node.js +5 -3
- package/dist/nodes/media/video-node.js.map +1 -1
- package/dist/nodes/node/declare-paints.js.map +1 -1
- package/dist/nodes/node/node-editor-state.js.map +1 -1
- package/dist/nodes/node/node-reactive.js.map +1 -1
- package/dist/nodes/node/node-time.d.ts +3 -3
- package/dist/nodes/node/node-time.d.ts.map +1 -1
- package/dist/nodes/node/node-time.js +1 -1
- package/dist/nodes/node/node-time.js.map +1 -1
- package/dist/nodes/node/node-walk.js.map +1 -1
- package/dist/nodes/node/node.d.ts +5 -3
- package/dist/nodes/node/node.d.ts.map +1 -1
- package/dist/nodes/node/node.js +44 -19
- package/dist/nodes/node/node.js.map +1 -1
- package/dist/nodes/node/text-defaults.d.ts +10 -12
- package/dist/nodes/node/text-defaults.d.ts.map +1 -1
- package/dist/nodes/node/text-defaults.js +10 -12
- package/dist/nodes/node/text-defaults.js.map +1 -1
- package/dist/nodes/{scene → root}/canvas2d-node.d.ts +2 -2
- package/dist/nodes/root/canvas2d-node.d.ts.map +1 -0
- package/dist/nodes/{scene → root}/canvas2d-node.js +2 -2
- package/dist/nodes/root/canvas2d-node.js.map +1 -0
- package/dist/nodes/root/provider-node.d.ts.map +1 -0
- package/dist/nodes/root/provider-node.js.map +1 -0
- package/dist/nodes/root/theme-provider-node.d.ts.map +1 -0
- package/dist/nodes/root/theme-provider-node.js.map +1 -0
- package/dist/nodes/text/default-text-style-node.d.ts +5 -2
- package/dist/nodes/text/default-text-style-node.d.ts.map +1 -1
- package/dist/nodes/text/default-text-style-node.js +10 -4
- package/dist/nodes/text/default-text-style-node.js.map +1 -1
- package/dist/nodes/text/number-format.d.ts +1 -1
- package/dist/nodes/text/number-format.js +1 -1
- package/dist/nodes/text/number-format.js.map +1 -1
- package/dist/nodes/text/number-node.js.map +1 -1
- package/dist/nodes/text/number-pattern.js.map +1 -1
- package/dist/nodes/text/richtext-node.js +1 -1
- package/dist/nodes/text/richtext-node.js.map +1 -1
- package/dist/nodes/text/text-base.d.ts.map +1 -1
- package/dist/nodes/text/text-base.js +1 -1
- package/dist/nodes/text/text-base.js.map +1 -1
- package/dist/nodes/text/text-node.js.map +1 -1
- package/dist/nodes/text/text-selection.js.map +1 -1
- package/dist/nodes/three/camera-nodes.d.ts +21 -3
- package/dist/nodes/three/camera-nodes.d.ts.map +1 -1
- package/dist/nodes/three/camera-nodes.js +42 -1
- package/dist/nodes/three/camera-nodes.js.map +1 -1
- package/dist/nodes/three/canvas3d-node.d.ts +29 -6
- package/dist/nodes/three/canvas3d-node.d.ts.map +1 -1
- package/dist/nodes/three/canvas3d-node.js +44 -2
- package/dist/nodes/three/canvas3d-node.js.map +1 -1
- package/dist/nodes/three/drawable-nodes.d.ts +25 -11
- package/dist/nodes/three/drawable-nodes.d.ts.map +1 -1
- package/dist/nodes/three/drawable-nodes.js +43 -13
- package/dist/nodes/three/drawable-nodes.js.map +1 -1
- package/dist/nodes/three/environment-nodes.d.ts +9 -3
- package/dist/nodes/three/environment-nodes.d.ts.map +1 -1
- package/dist/nodes/three/environment-nodes.js.map +1 -1
- package/dist/nodes/three/geometry-nodes.d.ts +2 -2
- package/dist/nodes/three/geometry-nodes.js +2 -2
- package/dist/nodes/three/geometry-nodes.js.map +1 -1
- package/dist/nodes/three/grid-geometry3d.js.map +1 -1
- package/dist/nodes/three/group3d.js.map +1 -1
- package/dist/nodes/three/light-nodes.d.ts.map +1 -1
- package/dist/nodes/three/light-nodes.js +3 -3
- package/dist/nodes/three/light-nodes.js.map +1 -1
- package/dist/nodes/three/mesh3d.js.map +1 -1
- package/dist/nodes/three/node3d.d.ts +48 -0
- package/dist/nodes/three/node3d.d.ts.map +1 -1
- package/dist/nodes/three/node3d.js +53 -3
- package/dist/nodes/three/node3d.js.map +1 -1
- package/dist/platform/audio-sink.d.ts +2 -2
- package/dist/platform/audio-sink.d.ts.map +1 -1
- package/dist/platform/audio-sink.js.map +1 -1
- package/dist/platform/exporter.d.ts +13 -8
- package/dist/platform/exporter.d.ts.map +1 -1
- package/dist/platform/exporter.js.map +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.d.ts.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.d.ts +12 -6
- package/dist/platform/storage-adapter.d.ts.map +1 -1
- package/dist/platform/storage-adapter.js +4 -0
- package/dist/platform/storage-adapter.js.map +1 -1
- package/dist/platform/ticker.d.ts +6 -0
- package/dist/platform/ticker.d.ts.map +1 -1
- package/dist/platform/ticker.js +6 -0
- 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.d.ts +3 -3
- package/dist/project/tree.d.ts.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 +17 -0
- package/dist/renamed-scene-names.d.ts.map +1 -0
- package/dist/renamed-scene-names.js +9 -0
- package/dist/renamed-scene-names.js.map +1 -0
- package/dist/render/canvas-render-context2d.d.ts +10 -3
- 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.map +1 -1
- package/dist/render/clip.js.map +1 -1
- package/dist/render/descriptors/ellipse.js.map +1 -1
- package/dist/render/descriptors/latex.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.d.ts +12 -0
- package/dist/render/descriptors/shape.d.ts.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.d.ts +2 -2
- package/dist/render/descriptors/transform.d.ts.map +1 -1
- package/dist/render/descriptors/transform.js.map +1 -1
- package/dist/render/graphics2d.d.ts +3 -3
- package/dist/render/graphics2d.d.ts.map +1 -1
- package/dist/render/graphics2d.js +1 -1
- package/dist/render/graphics2d.js.map +1 -1
- 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 +5 -5
- package/dist/render/render-context2d.d.ts.map +1 -1
- package/dist/render/render-context2d.js.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/render3d/bounds3d.js +4 -2
- package/dist/render3d/bounds3d.js.map +1 -1
- package/dist/render3d/builders.js.map +1 -1
- package/dist/render3d/camera.d.ts +6 -0
- package/dist/render3d/camera.d.ts.map +1 -1
- package/dist/render3d/camera.js +5 -3
- package/dist/render3d/camera.js.map +1 -1
- package/dist/render3d/fill3d.d.ts +2 -9
- package/dist/render3d/fill3d.d.ts.map +1 -1
- package/dist/render3d/fill3d.js +2 -13
- package/dist/render3d/fill3d.js.map +1 -1
- package/dist/render3d/geometry.d.ts +8 -1
- package/dist/render3d/geometry.d.ts.map +1 -1
- package/dist/render3d/geometry.js.map +1 -1
- package/dist/render3d/graphics3d.d.ts +8 -4
- package/dist/render3d/graphics3d.d.ts.map +1 -1
- package/dist/render3d/graphics3d.js +18 -10
- package/dist/render3d/graphics3d.js.map +1 -1
- package/dist/render3d/index.d.ts +1 -1
- package/dist/render3d/index.js +1 -1
- package/dist/render3d/index.js.map +1 -1
- package/dist/render3d/inert.d.ts +14 -0
- package/dist/render3d/inert.d.ts.map +1 -0
- package/dist/render3d/inert.js +62 -0
- package/dist/render3d/inert.js.map +1 -0
- package/dist/render3d/light.js.map +1 -1
- package/dist/render3d/material.d.ts +10 -5
- package/dist/render3d/material.d.ts.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.d.ts +2 -2
- package/dist/render3d/resources.js +2 -2
- package/dist/render3d/resources.js.map +1 -1
- package/dist/render3d/rounded-box.js.map +1 -1
- package/dist/render3d/scene-settings.d.ts +23 -4
- package/dist/render3d/scene-settings.d.ts.map +1 -1
- package/dist/render3d/scene-settings.js.map +1 -1
- package/dist/render3d/scene3d.d.ts +11 -0
- package/dist/render3d/scene3d.d.ts.map +1 -1
- package/dist/render3d/scene3d.js +39 -6
- package/dist/render3d/scene3d.js.map +1 -1
- package/dist/render3d/segments.js.map +1 -1
- package/dist/render3d/texture.d.ts +9 -0
- package/dist/render3d/texture.d.ts.map +1 -1
- package/dist/render3d/texture.js +13 -0
- package/dist/render3d/texture.js.map +1 -1
- package/dist/render3d/tracking.js.map +1 -1
- package/dist/render3d/transform.d.ts +1 -1
- package/dist/render3d/transform.js.map +1 -1
- package/dist/render3d/vector3.d.ts +18 -1
- package/dist/render3d/vector3.d.ts.map +1 -1
- package/dist/render3d/vector3.js +27 -0
- package/dist/render3d/vector3.js.map +1 -1
- package/dist/render3d/walk.d.ts +1 -1
- package/dist/render3d/walk.d.ts.map +1 -1
- package/dist/render3d/walk.js +5 -1
- package/dist/render3d/walk.js.map +1 -1
- package/dist/runtime/asset-refine.js.map +1 -1
- package/dist/runtime/asset-timeline.js.map +1 -1
- package/dist/runtime/asset-update.js.map +1 -1
- package/dist/runtime/audio-index.d.ts +2 -2
- package/dist/runtime/audio-index.d.ts.map +1 -1
- package/dist/runtime/audio-index.js +8 -2
- 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 +5 -3
- package/dist/runtime/clip-instance.d.ts.map +1 -1
- package/dist/runtime/clip-instance.js +10 -6
- package/dist/runtime/clip-instance.js.map +1 -1
- package/dist/runtime/clip-store.d.ts +9 -0
- package/dist/runtime/clip-store.d.ts.map +1 -1
- package/dist/runtime/clip-store.js +33 -3
- package/dist/runtime/clip-store.js.map +1 -1
- package/dist/runtime/engine.d.ts +5 -0
- package/dist/runtime/engine.d.ts.map +1 -1
- package/dist/runtime/engine.js +2 -0
- package/dist/runtime/engine.js.map +1 -1
- package/dist/runtime/frame-time.d.ts +31 -0
- package/dist/runtime/frame-time.d.ts.map +1 -0
- package/dist/runtime/frame-time.js +29 -0
- package/dist/runtime/frame-time.js.map +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/node-picking.d.ts +44 -3
- package/dist/runtime/node-picking.d.ts.map +1 -1
- package/dist/runtime/node-picking.js +118 -3
- package/dist/runtime/node-picking.js.map +1 -1
- package/dist/runtime/node-picking3d.d.ts +2 -1
- package/dist/runtime/node-picking3d.d.ts.map +1 -1
- package/dist/runtime/node-picking3d.js +5 -2
- package/dist/runtime/node-picking3d.js.map +1 -1
- package/dist/runtime/placement.d.ts.map +1 -1
- package/dist/runtime/placement.js +4 -5
- package/dist/runtime/placement.js.map +1 -1
- package/dist/runtime/playback-controller.d.ts +31 -2
- package/dist/runtime/playback-controller.d.ts.map +1 -1
- package/dist/runtime/playback-controller.js +63 -6
- 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 +9 -7
- package/dist/runtime/session.d.ts.map +1 -1
- package/dist/runtime/session.js +12 -4
- package/dist/runtime/session.js.map +1 -1
- package/dist/runtime/settle.js.map +1 -1
- package/dist/runtime/state-evaluator.d.ts +1 -1
- package/dist/runtime/state-evaluator.d.ts.map +1 -1
- package/dist/runtime/state-evaluator.js +4 -3
- package/dist/runtime/state-evaluator.js.map +1 -1
- package/dist/runtime/text-geometry.js.map +1 -1
- package/dist/sdk/index.d.ts +27 -22
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +23 -9
- package/dist/sdk/index.js.map +1 -1
- package/dist/tween/command-decorator.d.ts +12 -4
- package/dist/tween/command-decorator.d.ts.map +1 -1
- package/dist/tween/command-decorator.js +10 -22
- package/dist/tween/command-decorator.js.map +1 -1
- package/dist/tween/command.js.map +1 -1
- package/dist/tween/ease/constants.d.ts.map +1 -1
- package/dist/tween/ease/constants.js +8 -5
- package/dist/tween/ease/constants.js.map +1 -1
- package/dist/tween/ease/curve.d.ts.map +1 -1
- package/dist/tween/ease/curve.js +4 -3
- package/dist/tween/ease/curve.js.map +1 -1
- package/dist/tween/ease/describe.d.ts +15 -0
- package/dist/tween/ease/describe.d.ts.map +1 -0
- package/dist/tween/ease/describe.js +37 -0
- package/dist/tween/ease/describe.js.map +1 -0
- package/dist/tween/ease/type.js.map +1 -1
- 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.d.ts +3 -3
- package/dist/tween/prepare.js +3 -3
- package/dist/tween/prepare.js.map +1 -1
- package/dist/tween/seekable.d.ts +12 -1
- package/dist/tween/seekable.d.ts.map +1 -1
- package/dist/tween/seekable.js +15 -0
- package/dist/tween/seekable.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.d.ts +1 -1
- package/dist/util/metrics.js +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 -1
- package/dist/attributes/shape/effects/implementations/displace.d.ts +0 -48
- package/dist/attributes/shape/effects/implementations/displace.d.ts.map +0 -1
- package/dist/attributes/shape/effects/implementations/displace.js +0 -30
- package/dist/attributes/shape/effects/implementations/displace.js.map +0 -1
- package/dist/attributes/shape/effects/implementations/god-rays.d.ts +0 -28
- package/dist/attributes/shape/effects/implementations/god-rays.d.ts.map +0 -1
- package/dist/attributes/shape/effects/implementations/god-rays.js +0 -26
- package/dist/attributes/shape/effects/implementations/god-rays.js.map +0 -1
- package/dist/attributes/shape/effects/implementations/texture.d.ts +0 -28
- package/dist/attributes/shape/effects/implementations/texture.d.ts.map +0 -1
- package/dist/attributes/shape/effects/implementations/texture.js +0 -25
- package/dist/attributes/shape/effects/implementations/texture.js.map +0 -1
- package/dist/attributes/shape/effects/implementations/trails.d.ts +0 -41
- package/dist/attributes/shape/effects/implementations/trails.d.ts.map +0 -1
- package/dist/attributes/shape/effects/implementations/trails.js +0 -22
- package/dist/attributes/shape/effects/implementations/trails.js.map +0 -1
- package/dist/browser/chunks/chunk-2T3HXSC2.js +0 -2
- package/dist/browser/chunks/chunk-2T3HXSC2.js.map +0 -7
- package/dist/browser/chunks/chunk-P3XQCHDW.js +0 -16
- package/dist/browser/chunks/chunk-P3XQCHDW.js.map +0 -7
- package/dist/browser/chunks/chunk-VJQMKHGQ.js +0 -3
- package/dist/browser/chunks/chunk-VJQMKHGQ.js.map +0 -7
- package/dist/nodes/geometry/dot-grid-node.d.ts +0 -105
- package/dist/nodes/geometry/dot-grid-node.d.ts.map +0 -1
- package/dist/nodes/geometry/dot-grid-node.js +0 -142
- package/dist/nodes/geometry/dot-grid-node.js.map +0 -1
- package/dist/nodes/geometry/grid-lines.d.ts +0 -101
- package/dist/nodes/geometry/grid-lines.d.ts.map +0 -1
- package/dist/nodes/geometry/grid-lines.js +0 -128
- package/dist/nodes/geometry/grid-lines.js.map +0 -1
- package/dist/nodes/geometry/grid-pattern-node.d.ts +0 -58
- package/dist/nodes/geometry/grid-pattern-node.d.ts.map +0 -1
- package/dist/nodes/geometry/grid-pattern-node.js +0 -172
- package/dist/nodes/geometry/grid-pattern-node.js.map +0 -1
- package/dist/nodes/geometry/line-grid-node.d.ts +0 -62
- package/dist/nodes/geometry/line-grid-node.d.ts.map +0 -1
- package/dist/nodes/geometry/line-grid-node.js +0 -127
- package/dist/nodes/geometry/line-grid-node.js.map +0 -1
- package/dist/nodes/geometry/line-node.d.ts +0 -58
- package/dist/nodes/geometry/line-node.d.ts.map +0 -1
- package/dist/nodes/geometry/line-node.js +0 -123
- package/dist/nodes/geometry/line-node.js.map +0 -1
- package/dist/nodes/geometry/viewport-pattern-node.d.ts +0 -39
- package/dist/nodes/geometry/viewport-pattern-node.d.ts.map +0 -1
- package/dist/nodes/geometry/viewport-pattern-node.js +0 -79
- package/dist/nodes/geometry/viewport-pattern-node.js.map +0 -1
- package/dist/nodes/scene/canvas2d-node.d.ts.map +0 -1
- package/dist/nodes/scene/canvas2d-node.js.map +0 -1
- package/dist/nodes/scene/provider-node.d.ts.map +0 -1
- package/dist/nodes/scene/provider-node.js.map +0 -1
- package/dist/nodes/scene/theme-provider-node.d.ts.map +0 -1
- package/dist/nodes/scene/theme-provider-node.js.map +0 -1
- /package/dist/nodes/{scene → root}/provider-node.d.ts +0 -0
- /package/dist/nodes/{scene → root}/provider-node.js +0 -0
- /package/dist/nodes/{scene → root}/theme-provider-node.d.ts +0 -0
- /package/dist/nodes/{scene → root}/theme-provider-node.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-motion.js","sourceRoot":"","sources":["../../../src/nodes/2d/node-motion.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH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AAC;IAChC,OAAO,CAAC,SAAS,GAAG,KAAK,CAAC;AAC9B,CAAC","sourcesContent":["import { NodeRenderState } from \"@/render/render-context2d\";\nimport { Vector2 } from \"@/attributes/layout/vector2\";\n\n/**\n * Companion for {@link Node2D}'s clock advance and per-frame motion sampling. The\n * reactive prop reads (x/y/rotation/scale) stay in Node2D's thin `_sampleMotion`\n * wrapper; the backward-difference math lives here as a pure function over the\n * reused scratch state — no per-frame allocation (the {@link MotionHistory}\n * holder is created once per node at construction).\n */\n\n/** Largest frame delta we trust for a velocity estimate (seconds). Larger gaps (scrub/seek) read as \"unknown\". */\n/** @internal */\nexport const MAX_MOTION_DT = 0.2;\n\n/**\n * Per-node rolling history for the backward-difference velocity estimate.\n * Allocated once with the node (mirrors the reused `_renderState` scratch), then\n * mutated in place by {@link sampleMotion} each frame.\n */\n/** @internal */\nexport interface MotionHistory {\n prevPos: Vector2 | null;\n prevTime: number;\n prevRotation: number;\n prevScale: number;\n}\n\n/**\n * Record the current position as the history's previous frame, **without**\n * deriving a velocity from it.\n *\n * The seam a driven scene primes through. A generator scene walks time forward\n * one `dt` at a time, so its history is always the frame before and\n * {@link sampleMotion}'s backward difference is a property of the timeline. A\n * driven scene doesn't walk at all — it jumps straight to whatever frame is\n * asked for — so differencing against \"wherever the playhead last was\" makes\n * velocity a property of *how the viewer got here*: scrub quickly and a static\n * node smears, hold still on the same frame and it doesn't, step backward and it\n * reads zero. Priming with the position one frame earlier is what makes the\n * answer depend on the frame alone.\n */\n/** @internal */\nexport function primeMotion(\n history: MotionHistory,\n x: number,\n y: number,\n rotation: number,\n scale: number,\n at: number,\n): void {\n if (!history.prevPos) history.prevPos = { x, y };\n else { history.prevPos.x = x; history.prevPos.y = y; }\n history.prevTime = at;\n history.prevRotation = rotation;\n history.prevScale = scale;\n}\n\n/** Create the zeroed history holder a node keeps for its lifetime. */\n/** @internal */\nexport function createMotionHistory(): MotionHistory {\n return { prevPos: null, prevTime: 0, prevRotation: 0, prevScale: 1 };\n}\n\n/**\n * Compute this frame's motion (velocity/direction/speed/angular/scale) into the\n * reused `state` as a backward difference against `history`, then roll the\n * history forward. Velocity is `0`/`{0,0}` when no trustworthy delta exists —\n * the first frame, or after a non-monotonic time jump (only `0 < dt <= MAX` is\n * trusted, so a scrub that resets the clock reads as \"unknown\" rather than a\n * spurious huge velocity). `x`/`y` are the world position (y-down) the caller\n * resolved from `layoutBounds + x` / `layoutBounds - y`. Layout-dependent fields\n * (`rects`/`elapsed`) are filled in later by `beforeRender`.\n */\n/** @internal */\nexport function sampleMotion(\n state: NodeRenderState,\n history: MotionHistory,\n x: number,\n y: number,\n rotation: number,\n scale: number,\n now: number,\n): void {\n const dt = now - history.prevTime;\n const prev = history.prevPos;\n if (prev && dt > 0 && dt <= MAX_MOTION_DT) {\n const vx = (x - prev.x) / dt;\n const vy = (y - prev.y) / dt;\n state.dt = dt;\n state.velocity.x = vx;\n state.velocity.y = vy;\n state.speed = Math.hypot(vx, vy);\n state.direction = (Math.atan2(vy, vx) * 180) / Math.PI;\n state.angularVelocity = (rotation - history.prevRotation) / dt;\n state.scaleVelocity = (scale - history.prevScale) / dt;\n } else {\n state.dt = 0;\n state.velocity.x = 0;\n state.velocity.y = 0;\n state.speed = 0;\n state.direction = 0;\n state.angularVelocity = 0;\n state.scaleVelocity = 0;\n }\n\n if (!prev) history.prevPos = { x, y };\n else { prev.x = x; prev.y = y; }\n history.prevTime = now;\n history.prevRotation = rotation;\n history.prevScale = scale;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"node-motion.js","sourceRoot":"","sources":["../../../src/nodes/2d/node-motion.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH,kHAAkH;AAClH,gBAAgB;AAChB,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAC;AAejC;;;;;;;;;;;;;GAaG;AACH,gBAAgB;AAChB,MAAM,UAAU,WAAW,CACvB,OAAsB,EACtB,CAAS,EACT,CAAS,EACT,QAAgB,EAChB,KAAa,EACb,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AAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACjC,KAAK,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;QACvD,KAAK,CAAC,eAAe,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;QAC/D,KAAK,CAAC,aAAa,GAAG,CAAC,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;IAC3D,CAAC;SAAM,CAAC;QACJ,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC;QACb,KAAK,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC;QACrB,KAAK,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC;QACrB,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC;QAChB,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC;QACpB,KAAK,CAAC,eAAe,GAAG,CAAC,CAAC;QAC1B,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,CAAC,IAAI;QAAE,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;SACjC,CAAC;QAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IAAC,CAAC;IAChC,OAAO,CAAC,QAAQ,GAAG,GAAG,CAAC;IACvB,OAAO,CAAC,YAAY,GAAG,QAAQ,CAAC;IAChC,OAAO,CAAC,SAAS,GAAG,KAAK,CAAC;AAC9B,CAAC","sourcesContent":["import { NodeRenderState } from \"@/render/render-context2d\";\r\nimport { Vector2 } from \"@/attributes/layout/vector2\";\r\n\r\n/**\r\n * Companion for {@link Node2D}'s clock advance and per-frame motion sampling. The\r\n * reactive prop reads (x/y/rotation/scale) stay in Node2D's thin `_sampleMotion`\r\n * wrapper; the backward-difference math lives here as a pure function over the\r\n * reused scratch state — no per-frame allocation (the {@link MotionHistory}\r\n * holder is created once per node at construction).\r\n */\r\n\r\n/** Largest frame delta we trust for a velocity estimate (seconds). Larger gaps (scrub/seek) read as \"unknown\". */\r\n/** @internal */\r\nexport const MAX_MOTION_DT = 0.2;\r\n\r\n/**\r\n * Per-node rolling history for the backward-difference velocity estimate.\r\n * Allocated once with the node (mirrors the reused `_renderState` scratch), then\r\n * mutated in place by {@link sampleMotion} each frame.\r\n */\r\n/** @internal */\r\nexport interface MotionHistory {\r\n prevPos: Vector2 | null;\r\n prevTime: number;\r\n prevRotation: number;\r\n prevScale: number;\r\n}\r\n\r\n/**\r\n * Record the current position as the history's previous frame, **without**\r\n * deriving a velocity from it.\r\n *\r\n * The seam a driven scene primes through. A generator scene walks time forward\r\n * one `dt` at a time, so its history is always the frame before and\r\n * {@link sampleMotion}'s backward difference is a property of the timeline. A\r\n * driven scene doesn't walk at all — it jumps straight to whatever frame is\r\n * asked for — so differencing against \"wherever the playhead last was\" makes\r\n * velocity a property of *how the viewer got here*: scrub quickly and a static\r\n * node smears, hold still on the same frame and it doesn't, step backward and it\r\n * reads zero. Priming with the position one frame earlier is what makes the\r\n * answer depend on the frame alone.\r\n */\r\n/** @internal */\r\nexport function primeMotion(\r\n history: MotionHistory,\r\n x: number,\r\n y: number,\r\n rotation: number,\r\n scale: number,\r\n at: number,\r\n): void {\r\n if (!history.prevPos) history.prevPos = { x, y };\r\n else { history.prevPos.x = x; history.prevPos.y = y; }\r\n history.prevTime = at;\r\n history.prevRotation = rotation;\r\n history.prevScale = scale;\r\n}\r\n\r\n/** Create the zeroed history holder a node keeps for its lifetime. */\r\n/** @internal */\r\nexport function createMotionHistory(): MotionHistory {\r\n return { prevPos: null, prevTime: 0, prevRotation: 0, prevScale: 1 };\r\n}\r\n\r\n/**\r\n * Compute this frame's motion (velocity/direction/speed/angular/scale) into the\r\n * reused `state` as a backward difference against `history`, then roll the\r\n * history forward. Velocity is `0`/`{0,0}` when no trustworthy delta exists —\r\n * the first frame, or after a non-monotonic time jump (only `0 < dt <= MAX` is\r\n * trusted, so a scrub that resets the clock reads as \"unknown\" rather than a\r\n * spurious huge velocity). `x`/`y` are the world position (y-down) the caller\r\n * resolved from `layoutBounds + x` / `layoutBounds - y`. Layout-dependent fields\r\n * (`rects`/`elapsed`) are filled in later by `beforeRender`.\r\n */\r\n/** @internal */\r\nexport function sampleMotion(\r\n state: NodeRenderState,\r\n history: MotionHistory,\r\n x: number,\r\n y: number,\r\n rotation: number,\r\n scale: number,\r\n now: number,\r\n): void {\r\n const dt = now - history.prevTime;\r\n const prev = history.prevPos;\r\n if (prev && dt > 0 && dt <= MAX_MOTION_DT) {\r\n const vx = (x - prev.x) / dt;\r\n const vy = (y - prev.y) / dt;\r\n state.dt = dt;\r\n state.velocity.x = vx;\r\n state.velocity.y = vy;\r\n state.speed = Math.hypot(vx, vy);\r\n state.direction = (Math.atan2(vy, vx) * 180) / Math.PI;\r\n state.angularVelocity = (rotation - history.prevRotation) / dt;\r\n state.scaleVelocity = (scale - history.prevScale) / dt;\r\n } else {\r\n state.dt = 0;\r\n state.velocity.x = 0;\r\n state.velocity.y = 0;\r\n state.speed = 0;\r\n state.direction = 0;\r\n state.angularVelocity = 0;\r\n state.scaleVelocity = 0;\r\n }\r\n\r\n if (!prev) history.prevPos = { x, y };\r\n else { prev.x = x; prev.y = y; }\r\n history.prevTime = now;\r\n history.prevRotation = rotation;\r\n history.prevScale = scale;\r\n}\r\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderContext2D, SpaceRects } from "../../render/render-context2d.js";
|
|
2
2
|
import { Clip } from "../../render/clip.js";
|
|
3
3
|
import { BoxBounds } from "../../layout/bounds.js";
|
|
4
|
-
import {
|
|
4
|
+
import { NodeEffect } from "../../attributes/shape/effects/union.js";
|
|
5
5
|
/**
|
|
6
6
|
* Companion for {@link Node2D}'s render pipeline. The orchestration that weaves the
|
|
7
7
|
* `protected` override seams (`renderContent`, `renderContentWithEffects`,
|
|
@@ -29,7 +29,7 @@ export declare function computeSpaceRects(parentRect: BoxBounds | undefined, thi
|
|
|
29
29
|
* no backdrop effects or no silhouette `clip` to confine them to.
|
|
30
30
|
*/
|
|
31
31
|
/** @internal */
|
|
32
|
-
export declare function applyBackdropEffects(ctx: RenderContext2D, effects:
|
|
32
|
+
export declare function applyBackdropEffects(ctx: RenderContext2D, effects: NodeEffect[], clip: Clip | null, width: number, height: number): void;
|
|
33
33
|
/**
|
|
34
34
|
* Run `body` inside the node's foreground effect scope and clip-path scope — the
|
|
35
35
|
* inner half of `renderContentWithEffects` (the backdrop pass is applied
|
|
@@ -40,5 +40,5 @@ export declare function applyBackdropEffects(ctx: RenderContext2D, effects: Scen
|
|
|
40
40
|
* Both scopes are balanced and skipped when empty so the begin/end calls match.
|
|
41
41
|
*/
|
|
42
42
|
/** @internal */
|
|
43
|
-
export declare function applyContentEffectScope(ctx: RenderContext2D, effects:
|
|
43
|
+
export declare function applyContentEffectScope(ctx: RenderContext2D, effects: NodeEffect[], clipPath: Clip | null, width: number, height: number, body: () => void): void;
|
|
44
44
|
//# sourceMappingURL=node-render.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-render.d.ts","sourceRoot":"","sources":["../../../src/nodes/2d/node-render.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"node-render.d.ts","sourceRoot":"","sources":["../../../src/nodes/2d/node-render.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACx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render-context2d\";\r\nimport { Clip } from \"@/render/clip\";\r\nimport { BoxBounds } from \"@/layout/bounds\";\r\nimport { NodeEffect } from \"@/attributes/shape/effects/union\";\r\nimport { backdropEffects, foregroundShaderEffects } from \"@/attributes/shape/effects/backdrop\";\r\n\r\n/**\r\n * Companion for {@link Node2D}'s render pipeline. The orchestration that weaves the\r\n * `protected` override seams (`renderContent`, `renderContentWithEffects`,\r\n * `renderSelf`/`renderOverlay`/`renderStroke`/`renderChildren`) stays on the\r\n * class so subclass overrides and `super.*` dispatch correctly, and\r\n * `applyTransform` stays inline (it mutates the reused `_transformScratch` per\r\n * frame). What lives here are the **pure, leaf** pieces of the pipeline that\r\n * take resolved inputs + the `ctx` — no callbacks into protected seams — so the\r\n * hot orchestration reads cleanly without the scope-bookkeeping noise.\r\n */\r\n\r\n/**\r\n * Reference rect for fills with `space:'parent'`, expressed in this node's local\r\n * space (origin = this node's positioned centre, y-down). The viewport\r\n * (`space:'global'`) is resolved by the renderer. Rotation/scale of this node\r\n * are not folded in — the rect is the axis-aligned parent box, which is what\r\n * gradients expect. Returns `{}` for a root node (no parent).\r\n */\r\n/** @internal */\r\nexport function computeSpaceRects(\r\n parentRect: BoxBounds | undefined,\r\n thisRect: BoxBounds,\r\n x: number,\r\n y: number,\r\n): SpaceRects {\r\n if (!parentRect) return {};\r\n // This node's local origin within the parent's space.\r\n const ox = thisRect.x + x;\r\n const oy = thisRect.y - y;\r\n return {\r\n parent: {\r\n left: -parentRect.width / 2 - ox,\r\n top: -parentRect.height / 2 - oy,\r\n right: parentRect.width / 2 - ox,\r\n bottom: parentRect.height / 2 - oy,\r\n },\r\n };\r\n}\r\n\r\n/**\r\n * Apply backdrop effects (any `mode:\"backdrop\"` effect — blur, grayscale, …;\r\n * plus magnify and backdrop SkSL) beneath the node, clipped to its silhouette,\r\n * before the node's own content is drawn — so what's underneath is\r\n * filtered/warped while the node's own edges stay sharp. A no-op when there are\r\n * no backdrop effects or no silhouette `clip` to confine them to.\r\n */\r\n/** @internal */\r\nexport function applyBackdropEffects(\r\n ctx: RenderContext2D,\r\n effects: NodeEffect[],\r\n clip: Clip | null,\r\n width: number,\r\n height: number,\r\n): void {\r\n const backdrop = backdropEffects(effects);\r\n if (backdrop.length === 0) return;\r\n if (!clip || clip.isEmpty()) return;\r\n\r\n // Clip to the silhouette first so the backdrop passes are confined to the\r\n // node; the renderer opens its backdrop layers within that clip.\r\n ctx.beginClip(clip);\r\n ctx.beginEffects(backdrop, \"backdrop\", width, height);\r\n ctx.endEffects();\r\n ctx.endClip();\r\n}\r\n\r\n/**\r\n * Run `body` inside the node's foreground effect scope and clip-path scope — the\r\n * inner half of `renderContentWithEffects` (the backdrop pass is applied\r\n * separately, before this). Outermost-first:\r\n * 1. a `foreground` effect scope (posterize wrapping bulge) capturing everything\r\n * `body` paints, so those shader effects warp/band the lot;\r\n * 2. a `clipPath` cut through both the node's own paint and its children.\r\n * Both scopes are balanced and skipped when empty so the begin/end calls match.\r\n */\r\n/** @internal */\r\nexport function applyContentEffectScope(\r\n ctx: RenderContext2D,\r\n effects: NodeEffect[],\r\n clipPath: Clip | null,\r\n width: number,\r\n height: number,\r\n body: () => void,\r\n): void {\r\n const foreground = foregroundShaderEffects(effects);\r\n const hasForeground = foreground.length > 0;\r\n if (hasForeground) ctx.beginEffects(foreground, \"foreground\", width, height);\r\n\r\n const pathClipped = clipPath != null && !clipPath.isEmpty();\r\n if (pathClipped) ctx.beginClip(clipPath);\r\n\r\n body();\r\n\r\n if (pathClipped) ctx.endClip();\r\n if (hasForeground) ctx.endEffects();\r\n}\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-transform.js","sourceRoot":"","sources":["../../../src/nodes/2d/node-transform.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,GAEtB,MAAM,8BAA8B,CAAC;AAEtC;;;;;GAKG;AAEH;;;;GAIG;AACH,gBAAgB;AAChB,MAAM,UAA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EAAU,EAAW,EAAE;QAC3C,MAAM,CAAC,GAAG,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QAC7C,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,CAAC,CAAC;IACF,OAAO;QACH,MAAM,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAChB,OAAO,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,QAAQ,EAAE,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,UAAU,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC;QAC9B,WAAW,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC;QAC9B,SAAS,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC;QACvB,YAAY,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;QAC3B,UAAU,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QACzB,WAAW,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;KAC5B,CAAC;AACN,CAAC","sourcesContent":["import { Vector2 } from \"@/attributes/layout/vector2\";\nimport {\n Matrix2D,\n NO_PROJECTION_3D,\n applyToPoint,\n nodeProjectedMatrix,\n type Projection3D,\n} from \"@/attributes/layout/matrix2d\";\n\n/**\n * Companion for {@link Node2D}'s transform/anchor/world-space math. The reactive\n * prop reads (x/y/rotation/scale/pivot/layoutBounds) and the parent-chain walk\n * stay in Node2D's getters; the pure geometry lives here. Reuses the matrix\n * primitives in `attributes/layout/matrix2d.ts`.\n */\n\n/**\n * Rotate a centered offset `(ox, oy)` (y-up) by `rotationDeg` (clockwise) and\n * translate by the node's `(x, y)`, giving a parent-relative anchor point. Fast\n * path for the un-rotated case. Drives the local anchor getters.\n */\n/** @internal */\nexport function rotateOffset(x: number, y: number, rotationDeg: number, ox: number, oy: number): Vector2 {\n if (rotationDeg === 0) return { x: x + ox, y: y + oy };\n const rad = (rotationDeg * Math.PI) / 180;\n const cos = Math.cos(rad);\n const sin = Math.sin(rad);\n // Canvas rotation is clockwise; in y-up space that means\n // x' = cos*ox + sin*oy, y' = -sin*ox + cos*oy.\n return {\n x: x + cos * ox + sin * oy,\n y: y - sin * ox + cos * oy,\n };\n}\n\n/**\n * This node's local transform in canvas (y-down) space, matching the matrix the\n * renderer pushes in `applyTransform`. `cx`/`cy` are the positioned centre\n * (`layoutBounds + x`, `layoutBounds - y`); `pivot` is the resolved normalised pivot.\n *\n * `projection` carries the out-of-plane half (mirrors, tilt, depth, perspective)\n * and defaults to none, in which case this is the plain six-number affine matrix\n * it has always been.\n *\n * Both consumers of a node's transform go through here — `Node2D._localMatrix`\n * (and so `worldMatrix`, `global`, and picking) and `Node2D.applyTransform` (and so\n * the renderer) — so there is one definition of the arithmetic rather than two\n * that agree by inspection. They differ in exactly one argument: the renderer\n * passes the projection and the geometry does not, because the mirrors and the\n * tilt are paint rather than shape. See `Node2D._localMatrix`.\n */\n/** @internal */\nexport function localMatrix(\n cx: number,\n cy: number,\n rotation: number,\n scale: number,\n pivot: Vector2,\n width: number,\n height: number,\n projection: Projection3D = NO_PROJECTION_3D,\n): Matrix2D {\n const pivotX = pivot.x * (width / 2);\n const pivotY = -pivot.y * (height / 2);\n return nodeProjectedMatrix(cx, cy, rotation, scale, pivotX, pivotY, projection);\n}\n\n/** The nine world-space anchor points produced by mapping centered y-up offsets through `m`. */\n/** @internal */\nexport interface WorldAnchors {\n center: Vector2;\n topLeft: Vector2;\n topRight: Vector2;\n bottomLeft: Vector2;\n bottomRight: Vector2;\n topCenter: Vector2;\n bottomCenter: Vector2;\n centerLeft: Vector2;\n centerRight: Vector2;\n}\n\n/**\n * Map this node's centered y-up offsets through the world matrix `m`, returning\n * the nine world-space anchor points (y-up). The matrix works in canvas (y-down)\n * space, so y is flipped in and back out. `halfW`/`halfH` are half the node's\n * layout size.\n */\n/** @internal */\nexport function worldAnchors(m: Matrix2D, halfW: number, halfH: number): WorldAnchors {\n const at = (ox: number, oy: number): Vector2 => {\n const p = applyToPoint(m, { x: ox, y: -oy });\n return { x: p.x, y: -p.y };\n };\n return {\n center: at(0, 0),\n topLeft: at(-halfW, halfH),\n topRight: at(halfW, halfH),\n bottomLeft: at(-halfW, -halfH),\n bottomRight: at(halfW, -halfH),\n topCenter: at(0, halfH),\n bottomCenter: at(0, -halfH),\n centerLeft: at(-halfW, 0),\n centerRight: at(halfW, 0),\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"node-transform.js","sourceRoot":"","sources":["../../../src/nodes/2d/node-transform.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,GAEtB,MAAM,8BAA8B,CAAC;AAEtC;;;;;GAKG;AAEH;;;;GAIG;AACH,gBAAgB;AAChB,MAAM,UAAU,YAAY,CAAC,CAAS,EAAE,CAAS,EAAE,WAAmB,EAAE,EAAU,EAAE,EAAU;IAC1F,IAAI,WAAW,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC;IACvD,MAAM,GAAG,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC;IAC1C,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,yDAAyD;IACzD,+CAA+C;IAC/C,OAAO;QACH,CAAC,EAAE,CAAC,GAAG,GAAG,GAAG,EAAE,GAAG,GAAG,GAAG,EAAE;QAC1B,CAAC,EAAE,CAAC,GAAG,GAAG,GAAG,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C9B,SAAS,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC;QACvB,YAAY,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;QAC3B,UAAU,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QACzB,WAAW,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;KAC5B,CAAC;AACN,CAAC","sourcesContent":["import { Vector2 } from \"@/attributes/layout/vector2\";\r\nimport {\r\n Matrix2D,\r\n NO_PROJECTION_3D,\r\n applyToPoint,\r\n nodeProjectedMatrix,\r\n type Projection3D,\r\n} from \"@/attributes/layout/matrix2d\";\r\n\r\n/**\r\n * Companion for {@link Node2D}'s transform/anchor/world-space math. The reactive\r\n * prop reads (x/y/rotation/scale/pivot/layoutBounds) and the parent-chain walk\r\n * stay in Node2D's getters; the pure geometry lives here. Reuses the matrix\r\n * primitives in `attributes/layout/matrix2d.ts`.\r\n */\r\n\r\n/**\r\n * Rotate a centered offset `(ox, oy)` (y-up) by `rotationDeg` (clockwise) and\r\n * translate by the node's `(x, y)`, giving a parent-relative anchor point. Fast\r\n * path for the un-rotated case. Drives the local anchor getters.\r\n */\r\n/** @internal */\r\nexport function rotateOffset(x: number, y: number, rotationDeg: number, ox: number, oy: number): Vector2 {\r\n if (rotationDeg === 0) return { x: x + ox, y: y + oy };\r\n const rad = (rotationDeg * Math.PI) / 180;\r\n const cos = Math.cos(rad);\r\n const sin = Math.sin(rad);\r\n // Canvas rotation is clockwise; in y-up space that means\r\n // x' = cos*ox + sin*oy, y' = -sin*ox + cos*oy.\r\n return {\r\n x: x + cos * ox + sin * oy,\r\n y: y - sin * ox + cos * oy,\r\n };\r\n}\r\n\r\n/**\r\n * This node's local transform in canvas (y-down) space, matching the matrix the\r\n * renderer pushes in `applyTransform`. `cx`/`cy` are the positioned centre\r\n * (`layoutBounds + x`, `layoutBounds - y`); `pivot` is the resolved normalised pivot.\r\n *\r\n * `projection` carries the out-of-plane half (mirrors, tilt, depth, perspective)\r\n * and defaults to none, in which case this is the plain six-number affine matrix\r\n * it has always been.\r\n *\r\n * Both consumers of a node's transform go through here — `Node2D._localMatrix`\r\n * (and so `worldMatrix`, `global`, and picking) and `Node2D.applyTransform` (and so\r\n * the renderer) — so there is one definition of the arithmetic rather than two\r\n * that agree by inspection. They differ in exactly one argument: the renderer\r\n * passes the projection and the geometry does not, because the mirrors and the\r\n * tilt are paint rather than shape. See `Node2D._localMatrix`.\r\n */\r\n/** @internal */\r\nexport function localMatrix(\r\n cx: number,\r\n cy: number,\r\n rotation: number,\r\n scale: number,\r\n pivot: Vector2,\r\n width: number,\r\n height: number,\r\n projection: Projection3D = NO_PROJECTION_3D,\r\n): Matrix2D {\r\n const pivotX = pivot.x * (width / 2);\r\n const pivotY = -pivot.y * (height / 2);\r\n return nodeProjectedMatrix(cx, cy, rotation, scale, pivotX, pivotY, projection);\r\n}\r\n\r\n/** The nine world-space anchor points produced by mapping centered y-up offsets through `m`. */\r\n/** @internal */\r\nexport interface WorldAnchors {\r\n center: Vector2;\r\n topLeft: Vector2;\r\n topRight: Vector2;\r\n bottomLeft: Vector2;\r\n bottomRight: Vector2;\r\n topCenter: Vector2;\r\n bottomCenter: Vector2;\r\n centerLeft: Vector2;\r\n centerRight: Vector2;\r\n}\r\n\r\n/**\r\n * Map this node's centered y-up offsets through the world matrix `m`, returning\r\n * the nine world-space anchor points (y-up). The matrix works in canvas (y-down)\r\n * space, so y is flipped in and back out. `halfW`/`halfH` are half the node's\r\n * layout size.\r\n */\r\n/** @internal */\r\nexport function worldAnchors(m: Matrix2D, halfW: number, halfH: number): WorldAnchors {\r\n const at = (ox: number, oy: number): Vector2 => {\r\n const p = applyToPoint(m, { x: ox, y: -oy });\r\n return { x: p.x, y: -p.y };\r\n };\r\n return {\r\n center: at(0, 0),\r\n topLeft: at(-halfW, halfH),\r\n topRight: at(halfW, halfH),\r\n bottomLeft: at(-halfW, -halfH),\r\n bottomRight: at(halfW, -halfH),\r\n topCenter: at(0, halfH),\r\n bottomCenter: at(0, -halfH),\r\n centerLeft: at(-halfW, 0),\r\n centerRight: at(halfW, 0),\r\n };\r\n}\r\n"]}
|
|
@@ -46,6 +46,29 @@ export interface ChildPlacement {
|
|
|
46
46
|
/** Multiplies the child's own opacity. */
|
|
47
47
|
readonly opacity: number;
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* A parent's own coordinates for where its children sit — the units of a graph,
|
|
51
|
+
* say. Position only: a child keeps its size, turn and scale, so a label on a
|
|
52
|
+
* plot follows the plot's range without being stretched by it.
|
|
53
|
+
*
|
|
54
|
+
* Answered by the parent ({@link Node2D._planeOf}) for the reasons a slot is,
|
|
55
|
+
* and read by the renderer, picking, `global` and `moveTo({ target })` alike.
|
|
56
|
+
*/
|
|
57
|
+
export interface ChildPlane {
|
|
58
|
+
/** A child's `x`/`y` as a pixel offset, y-up, from the centre of its layout box. */
|
|
59
|
+
toOffset(x: number, y: number): Vector2;
|
|
60
|
+
/** The inverse: the `x`/`y` that put a child at that offset. */
|
|
61
|
+
toCoords(x: number, y: number): Vector2;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* A point of a node an editor can drag to set one of its `Vector2` props: the
|
|
65
|
+
* two ends of an arrow. `at` is in the node's own frame, y-up from its origin,
|
|
66
|
+
* the frame {@link Node2D._localBounds} is in.
|
|
67
|
+
*/
|
|
68
|
+
export interface NodeHandle {
|
|
69
|
+
readonly prop: string;
|
|
70
|
+
readonly at: Vector2;
|
|
71
|
+
}
|
|
49
72
|
export { Node } from "../../nodes/node/node.js";
|
|
50
73
|
export type { NodeChildren, NodeConfig, NodeMetadata, NodeDimension, NodeProps } from "../../nodes/node/node.js";
|
|
51
74
|
export type { WorldTransform } from "../../attributes/layout/world-transform.js";
|
|
@@ -523,6 +546,51 @@ export interface Node2DProps extends NodeProps {
|
|
|
523
546
|
}> & {
|
|
524
547
|
duration: number;
|
|
525
548
|
}): Command<P>;
|
|
549
|
+
/**
|
|
550
|
+
* Animate the box: `width`, `height` and `padding`, whichever are given.
|
|
551
|
+
* A size keyword (`'fill'`, `'hug'`) snaps; a number interpolates.
|
|
552
|
+
*
|
|
553
|
+
* @example
|
|
554
|
+
* node.layoutTo({ data: { width: 640, height: 360 }, duration: 0.5 });
|
|
555
|
+
*/
|
|
556
|
+
layoutTo(args: CommandArgs<{
|
|
557
|
+
width?: SizeInput;
|
|
558
|
+
height?: SizeInput;
|
|
559
|
+
padding?: Insets;
|
|
560
|
+
}> & {
|
|
561
|
+
duration: number;
|
|
562
|
+
}): Command<P>;
|
|
563
|
+
/**
|
|
564
|
+
* Swell to `factor` times the node's size and settle back: a nudge of the
|
|
565
|
+
* eye toward it. It ends as it began, so nothing after it needs restating.
|
|
566
|
+
*
|
|
567
|
+
* @example
|
|
568
|
+
* node.pulse({ data: { factor: 1.3 }, duration: 0.6 });
|
|
569
|
+
*/
|
|
570
|
+
pulse(args: CommandArgs<{
|
|
571
|
+
factor?: number;
|
|
572
|
+
}> & {
|
|
573
|
+
duration: number;
|
|
574
|
+
}): Command<P>;
|
|
575
|
+
/**
|
|
576
|
+
* Rock about the node's own turn, `angle` degrees each way for `turns`
|
|
577
|
+
* swings, building up and dying away. It ends as it began.
|
|
578
|
+
*
|
|
579
|
+
* @example
|
|
580
|
+
* node.wiggle({ data: { angle: 10, turns: 4 }, duration: 0.8 });
|
|
581
|
+
*/
|
|
582
|
+
wiggle(args: CommandArgs<{
|
|
583
|
+
angle?: number;
|
|
584
|
+
turns?: number;
|
|
585
|
+
}> & {
|
|
586
|
+
duration: number;
|
|
587
|
+
}): Command<P>;
|
|
588
|
+
/** Animate the `effects` stack to another one. */
|
|
589
|
+
effectTo(args: CommandArgs<{
|
|
590
|
+
effects: Effect;
|
|
591
|
+
}> & {
|
|
592
|
+
duration: number;
|
|
593
|
+
}): Command<P>;
|
|
526
594
|
get measuredWidth(): number;
|
|
527
595
|
get measuredHeight(): number;
|
|
528
596
|
/** Rotate offset (ox, oy) by this node's rotation (degrees clockwise) around the node center. */
|
|
@@ -572,6 +640,41 @@ export interface Node2DProps extends NodeProps {
|
|
|
572
640
|
*/
|
|
573
641
|
/** @internal */
|
|
574
642
|
_placementOf(_child: Node2D): ChildPlacement | null;
|
|
643
|
+
/**
|
|
644
|
+
* The coordinates `child`'s `x`/`y` are in, or `null` — the default — when
|
|
645
|
+
* they are pixels. A `null` child asks for one that is not here yet: where
|
|
646
|
+
* a host would drop or paste it. See {@link ChildPlane}.
|
|
647
|
+
*/
|
|
648
|
+
/** @internal */
|
|
649
|
+
_planeOf(_child: Node2D | null): ChildPlane | null;
|
|
650
|
+
/**
|
|
651
|
+
* Where its own layout would centre a child of `size` that is not here yet,
|
|
652
|
+
* y-down from its centre, or `null` when it arranges its children in a run
|
|
653
|
+
* or a grid (the run decides) or has not laid any out.
|
|
654
|
+
*/
|
|
655
|
+
/** @internal */
|
|
656
|
+
_slotFor(size: Size2D): Vector2 | null;
|
|
657
|
+
/**
|
|
658
|
+
* Where its centre sits from the point its `x`/`y` place, in its parent's
|
|
659
|
+
* frame, y-down, at `rotation` and `scale`: what turning or scaling about an
|
|
660
|
+
* off-centre pivot adds.
|
|
661
|
+
*/
|
|
662
|
+
/** @internal */
|
|
663
|
+
_centreShift(rotation?: number, scale?: number): Vector2;
|
|
664
|
+
/** The points an editor may drag on this node, where they sit now; none by default. See {@link NodeHandle}. */
|
|
665
|
+
/** @internal */
|
|
666
|
+
_handles(): readonly NodeHandle[];
|
|
667
|
+
/** The value `prop` takes for its handle to sit at `at`, in this node's own frame; `null` when it has none. */
|
|
668
|
+
/** @internal */
|
|
669
|
+
_handleValue(_prop: string, _at: Vector2): Vector2 | null;
|
|
670
|
+
private readonly _offsetScratch;
|
|
671
|
+
/**
|
|
672
|
+
* This node's `x`/`y` as the pixel offset its parent sees. Every position
|
|
673
|
+
* read goes through here, which is what keeps paint, picking and `global`
|
|
674
|
+
* agreeing under a {@link ChildPlane}. The result is reused: read it at once.
|
|
675
|
+
*/
|
|
676
|
+
/** @internal */
|
|
677
|
+
_offset(): Vector2;
|
|
575
678
|
/**
|
|
576
679
|
* The flat part of this node's slot, as the frame its own `x`/`y` move in —
|
|
577
680
|
* the layout box's centre, turned and scaled by the slot. `null` when it has
|
|
@@ -796,9 +899,9 @@ export interface Node2DProps extends NodeProps {
|
|
|
796
899
|
*
|
|
797
900
|
* Defaults to the layout box, centred on the node, which is right for every
|
|
798
901
|
* node whose drawing fills its cell. It is a separate seam from the layout
|
|
799
|
-
* rect because for some nodes the two genuinely differ: a
|
|
800
|
-
*
|
|
801
|
-
*
|
|
902
|
+
* rect because for some nodes the two genuinely differ: a boolean group or
|
|
903
|
+
* a mask is drawn where its children's ink is, which can be both a different
|
|
904
|
+
* size *and* off-centre from its own cell. Overriding this
|
|
802
905
|
* fixes the box and the grab region together, without perturbing layout —
|
|
803
906
|
* which a `measure()` override would.
|
|
804
907
|
*
|
|
@@ -934,6 +1037,8 @@ export interface Node2DProps extends NodeProps {
|
|
|
934
1037
|
private _facesAway;
|
|
935
1038
|
/** What {@link measure} hands {@link layoutChildren} within a pass; consumed there. */
|
|
936
1039
|
private _flowMeasure;
|
|
1040
|
+
/** The content box {@link layoutChildren} last placed children in, y-down from this node's centre. */
|
|
1041
|
+
private _childBox;
|
|
937
1042
|
private _flowWarned;
|
|
938
1043
|
/**
|
|
939
1044
|
* Record this node's allocated bounds without touching children.
|
|
@@ -996,4 +1101,11 @@ export interface Node2DProps extends NodeProps {
|
|
|
996
1101
|
duration: number;
|
|
997
1102
|
}): Command<Record<string, never>>;
|
|
998
1103
|
}
|
|
1104
|
+
/** The 2D node `id` names anywhere in the tree `from` is in, or `null`. */
|
|
1105
|
+
export declare function findNode2D(from: Node, id: string): Node2D | null;
|
|
1106
|
+
/**
|
|
1107
|
+
* Where `node`'s frame sits in `host`'s, wherever each is in the tree: its
|
|
1108
|
+
* centre as an offset (y-up) from `host`'s, and its turn and scale relative to it.
|
|
1109
|
+
*/
|
|
1110
|
+
export declare function frameIn(host: Node2D, node: Node2D): Vector2 & Pick<WorldTransform, "rotation" | "scale">;
|
|
999
1111
|
//# sourceMappingURL=node2d.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node2d.d.ts","sourceRoot":"","sources":["../../../src/nodes/2d/node2d.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAQjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAgB,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9F,OAAO,EAKH,QAAQ,EAER,KAAK,YAAY,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAC1F,OAAO,EAAoC,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE/G,OAAO,EAAoD,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAMjG,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAmB,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvG,OAAO,EAAE,IAAI,EAAE,MAAM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