@nodetool-ai/timeline 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -0
- package/dist/.nodetool-build-stamp +1 -0
- package/dist/animation/bakedAnimation.d.ts +84 -0
- package/dist/animation/bakedAnimation.d.ts.map +1 -0
- package/dist/animation/bakedAnimation.js +95 -0
- package/dist/animation/bakedAnimation.js.map +1 -0
- package/dist/animation/beat.d.ts +7 -0
- package/dist/animation/beat.d.ts.map +1 -0
- package/dist/animation/beat.js +36 -0
- package/dist/animation/beat.js.map +1 -0
- package/dist/animation/compile.d.ts +184 -0
- package/dist/animation/compile.d.ts.map +1 -0
- package/dist/animation/compile.js +312 -0
- package/dist/animation/compile.js.map +1 -0
- package/dist/animation/custom.d.ts +183 -0
- package/dist/animation/custom.d.ts.map +1 -0
- package/dist/animation/custom.js +583 -0
- package/dist/animation/custom.js.map +1 -0
- package/dist/animation/easing.d.ts +34 -0
- package/dist/animation/easing.d.ts.map +1 -0
- package/dist/animation/easing.js +332 -0
- package/dist/animation/easing.js.map +1 -0
- package/dist/animation/index.d.ts +20 -0
- package/dist/animation/index.d.ts.map +1 -0
- package/dist/animation/index.js +20 -0
- package/dist/animation/index.js.map +1 -0
- package/dist/animation/links.d.ts +33 -0
- package/dist/animation/links.d.ts.map +1 -0
- package/dist/animation/links.js +126 -0
- package/dist/animation/links.js.map +1 -0
- package/dist/animation/presets.d.ts +86 -0
- package/dist/animation/presets.d.ts.map +1 -0
- package/dist/animation/presets.js +642 -0
- package/dist/animation/presets.js.map +1 -0
- package/dist/animation/sample.d.ts +145 -0
- package/dist/animation/sample.d.ts.map +1 -0
- package/dist/animation/sample.js +390 -0
- package/dist/animation/sample.js.map +1 -0
- package/dist/animation/simplify.d.ts +70 -0
- package/dist/animation/simplify.d.ts.map +1 -0
- package/dist/animation/simplify.js +278 -0
- package/dist/animation/simplify.js.map +1 -0
- package/dist/animation/sourceCurves.d.ts +45 -0
- package/dist/animation/sourceCurves.d.ts.map +1 -0
- package/dist/animation/sourceCurves.js +168 -0
- package/dist/animation/sourceCurves.js.map +1 -0
- package/dist/animation/styleTracks.d.ts +23 -0
- package/dist/animation/styleTracks.d.ts.map +1 -0
- package/dist/animation/styleTracks.js +341 -0
- package/dist/animation/styleTracks.js.map +1 -0
- package/dist/animation/types.d.ts +269 -0
- package/dist/animation/types.d.ts.map +1 -0
- package/dist/animation/types.js +173 -0
- package/dist/animation/types.js.map +1 -0
- package/dist/animation/typewriter.d.ts +8 -0
- package/dist/animation/typewriter.d.ts.map +1 -0
- package/dist/animation/typewriter.js +32 -0
- package/dist/animation/typewriter.js.map +1 -0
- package/dist/audioFade.d.ts +73 -0
- package/dist/audioFade.d.ts.map +1 -0
- package/dist/audioFade.js +134 -0
- package/dist/audioFade.js.map +1 -0
- package/dist/authoredStyles.d.ts +61 -0
- package/dist/authoredStyles.d.ts.map +1 -0
- package/dist/authoredStyles.js +90 -0
- package/dist/authoredStyles.js.map +1 -0
- package/dist/authoring.d.ts +50 -0
- package/dist/authoring.d.ts.map +1 -0
- package/dist/authoring.js +207 -0
- package/dist/authoring.js.map +1 -0
- package/dist/beats.d.ts +103 -0
- package/dist/beats.d.ts.map +1 -0
- package/dist/beats.js +228 -0
- package/dist/beats.js.map +1 -0
- package/dist/clone.d.ts +32 -0
- package/dist/clone.d.ts.map +1 -0
- package/dist/clone.js +53 -0
- package/dist/clone.js.map +1 -0
- package/dist/composition.d.ts +87 -0
- package/dist/composition.d.ts.map +1 -0
- package/dist/composition.js +253 -0
- package/dist/composition.js.map +1 -0
- package/dist/crop.d.ts +48 -0
- package/dist/crop.d.ts.map +1 -0
- package/dist/crop.js +75 -0
- package/dist/crop.js.map +1 -0
- package/dist/defaults.d.ts +142 -0
- package/dist/defaults.d.ts.map +1 -0
- package/dist/defaults.js +335 -0
- package/dist/defaults.js.map +1 -0
- package/dist/dependencyHash.d.ts +14 -0
- package/dist/dependencyHash.d.ts.map +1 -0
- package/dist/dependencyHash.js +19 -0
- package/dist/dependencyHash.js.map +1 -0
- package/dist/dropResolve.d.ts +40 -0
- package/dist/dropResolve.d.ts.map +1 -0
- package/dist/dropResolve.js +137 -0
- package/dist/dropResolve.js.map +1 -0
- package/dist/examples/node.d.ts +11 -0
- package/dist/examples/node.d.ts.map +1 -0
- package/dist/examples/node.js +87 -0
- package/dist/examples/node.js.map +1 -0
- package/dist/extension.d.ts +52 -0
- package/dist/extension.d.ts.map +1 -0
- package/dist/extension.js +269 -0
- package/dist/extension.js.map +1 -0
- package/dist/extensionRequest.d.ts +40 -0
- package/dist/extensionRequest.d.ts.map +1 -0
- package/dist/extensionRequest.js +135 -0
- package/dist/extensionRequest.js.map +1 -0
- package/dist/fill-text.d.ts +30 -0
- package/dist/fill-text.d.ts.map +1 -0
- package/dist/fill-text.js +73 -0
- package/dist/fill-text.js.map +1 -0
- package/dist/fonts/catalog.d.ts +97 -0
- package/dist/fonts/catalog.d.ts.map +1 -0
- package/dist/fonts/catalog.js +276 -0
- package/dist/fonts/catalog.js.map +1 -0
- package/dist/fonts/css.d.ts +24 -0
- package/dist/fonts/css.d.ts.map +1 -0
- package/dist/fonts/css.js +50 -0
- package/dist/fonts/css.js.map +1 -0
- package/dist/fonts/index.d.ts +10 -0
- package/dist/fonts/index.d.ts.map +1 -0
- package/dist/fonts/index.js +10 -0
- package/dist/fonts/index.js.map +1 -0
- package/dist/fonts/register-node.d.ts +45 -0
- package/dist/fonts/register-node.d.ts.map +1 -0
- package/dist/fonts/register-node.js +71 -0
- package/dist/fonts/register-node.js.map +1 -0
- package/dist/generatedMatte.d.ts +86 -0
- package/dist/generatedMatte.d.ts.map +1 -0
- package/dist/generatedMatte.js +152 -0
- package/dist/generatedMatte.js.map +1 -0
- package/dist/generative.d.ts +145 -0
- package/dist/generative.d.ts.map +1 -0
- package/dist/generative.js +396 -0
- package/dist/generative.js.map +1 -0
- package/dist/group.d.ts +47 -0
- package/dist/group.d.ts.map +1 -0
- package/dist/group.js +131 -0
- package/dist/group.js.map +1 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +58 -0
- package/dist/index.js.map +1 -0
- package/dist/interchange.d.ts +47 -0
- package/dist/interchange.d.ts.map +1 -0
- package/dist/interchange.js +158 -0
- package/dist/interchange.js.map +1 -0
- package/dist/keyframes.d.ts +44 -0
- package/dist/keyframes.d.ts.map +1 -0
- package/dist/keyframes.js +148 -0
- package/dist/keyframes.js.map +1 -0
- package/dist/lineDelivery.d.ts +108 -0
- package/dist/lineDelivery.d.ts.map +1 -0
- package/dist/lineDelivery.js +154 -0
- package/dist/lineDelivery.js.map +1 -0
- package/dist/linked.d.ts +41 -0
- package/dist/linked.d.ts.map +1 -0
- package/dist/linked.js +166 -0
- package/dist/linked.js.map +1 -0
- package/dist/lipSyncRequest.d.ts +65 -0
- package/dist/lipSyncRequest.d.ts.map +1 -0
- package/dist/lipSyncRequest.js +73 -0
- package/dist/lipSyncRequest.js.map +1 -0
- package/dist/measureClipDurations.d.ts +7 -0
- package/dist/measureClipDurations.d.ts.map +1 -0
- package/dist/measureClipDurations.js +17 -0
- package/dist/measureClipDurations.js.map +1 -0
- package/dist/mediaTrack.d.ts +120 -0
- package/dist/mediaTrack.d.ts.map +1 -0
- package/dist/mediaTrack.js +269 -0
- package/dist/mediaTrack.js.map +1 -0
- package/dist/midi/cacheKey.d.ts +25 -0
- package/dist/midi/cacheKey.d.ts.map +1 -0
- package/dist/midi/cacheKey.js +54 -0
- package/dist/midi/cacheKey.js.map +1 -0
- package/dist/midi/edit.d.ts +48 -0
- package/dist/midi/edit.d.ts.map +1 -0
- package/dist/midi/edit.js +93 -0
- package/dist/midi/edit.js.map +1 -0
- package/dist/midi/engines/bl1.d.ts +29 -0
- package/dist/midi/engines/bl1.d.ts.map +1 -0
- package/dist/midi/engines/bl1.js +128 -0
- package/dist/midi/engines/bl1.js.map +1 -0
- package/dist/midi/engines/dr1.d.ts +28 -0
- package/dist/midi/engines/dr1.d.ts.map +1 -0
- package/dist/midi/engines/dr1.js +101 -0
- package/dist/midi/engines/dr1.js.map +1 -0
- package/dist/midi/engines/dsp.d.ts +126 -0
- package/dist/midi/engines/dsp.d.ts.map +1 -0
- package/dist/midi/engines/dsp.js +371 -0
- package/dist/midi/engines/dsp.js.map +1 -0
- package/dist/midi/engines/index.d.ts +13 -0
- package/dist/midi/engines/index.d.ts.map +1 -0
- package/dist/midi/engines/index.js +13 -0
- package/dist/midi/engines/index.js.map +1 -0
- package/dist/midi/engines/kits.d.ts +12 -0
- package/dist/midi/engines/kits.d.ts.map +1 -0
- package/dist/midi/engines/kits.js +121 -0
- package/dist/midi/engines/kits.js.map +1 -0
- package/dist/midi/engines/wavetables.d.ts +45 -0
- package/dist/midi/engines/wavetables.d.ts.map +1 -0
- package/dist/midi/engines/wavetables.js +334 -0
- package/dist/midi/engines/wavetables.js.map +1 -0
- package/dist/midi/engines/wt1.d.ts +30 -0
- package/dist/midi/engines/wt1.d.ts.map +1 -0
- package/dist/midi/engines/wt1.js +91 -0
- package/dist/midi/engines/wt1.js.map +1 -0
- package/dist/midi/grid.d.ts +51 -0
- package/dist/midi/grid.d.ts.map +1 -0
- package/dist/midi/grid.js +104 -0
- package/dist/midi/grid.js.map +1 -0
- package/dist/midi/index.d.ts +20 -0
- package/dist/midi/index.d.ts.map +1 -0
- package/dist/midi/index.js +20 -0
- package/dist/midi/index.js.map +1 -0
- package/dist/midi/instrument.d.ts +32 -0
- package/dist/midi/instrument.d.ts.map +1 -0
- package/dist/midi/instrument.js +73 -0
- package/dist/midi/instrument.js.map +1 -0
- package/dist/midi/notes.d.ts +46 -0
- package/dist/midi/notes.d.ts.map +1 -0
- package/dist/midi/notes.js +121 -0
- package/dist/midi/notes.js.map +1 -0
- package/dist/midi/notesEdit.d.ts +94 -0
- package/dist/midi/notesEdit.d.ts.map +1 -0
- package/dist/midi/notesEdit.js +159 -0
- package/dist/midi/notesEdit.js.map +1 -0
- package/dist/midi/presets.d.ts +29 -0
- package/dist/midi/presets.d.ts.map +1 -0
- package/dist/midi/presets.js +281 -0
- package/dist/midi/presets.js.map +1 -0
- package/dist/midi/tempo.d.ts +27 -0
- package/dist/midi/tempo.d.ts.map +1 -0
- package/dist/midi/tempo.js +57 -0
- package/dist/midi/tempo.js.map +1 -0
- package/dist/midi/ticks.d.ts +25 -0
- package/dist/midi/ticks.d.ts.map +1 -0
- package/dist/midi/ticks.js +35 -0
- package/dist/midi/ticks.js.map +1 -0
- package/dist/midi/voice.d.ts +148 -0
- package/dist/midi/voice.d.ts.map +1 -0
- package/dist/midi/voice.js +348 -0
- package/dist/midi/voice.js.map +1 -0
- package/dist/midi/wav.d.ts +14 -0
- package/dist/midi/wav.d.ts.map +1 -0
- package/dist/midi/wav.js +51 -0
- package/dist/midi/wav.js.map +1 -0
- package/dist/model3d.d.ts +41 -0
- package/dist/model3d.d.ts.map +1 -0
- package/dist/model3d.js +39 -0
- package/dist/model3d.js.map +1 -0
- package/dist/model3dBake.d.ts +80 -0
- package/dist/model3dBake.d.ts.map +1 -0
- package/dist/model3dBake.js +127 -0
- package/dist/model3dBake.js.map +1 -0
- package/dist/ops/apply.d.ts +32 -0
- package/dist/ops/apply.d.ts.map +1 -0
- package/dist/ops/apply.js +1595 -0
- package/dist/ops/apply.js.map +1 -0
- package/dist/ops/index.d.ts +13 -0
- package/dist/ops/index.d.ts.map +1 -0
- package/dist/ops/index.js +13 -0
- package/dist/ops/index.js.map +1 -0
- package/dist/ops/op.d.ts +407 -0
- package/dist/ops/op.d.ts.map +1 -0
- package/dist/ops/op.js +61 -0
- package/dist/ops/op.js.map +1 -0
- package/dist/ops/serialize.d.ts +77 -0
- package/dist/ops/serialize.d.ts.map +1 -0
- package/dist/ops/serialize.js +81 -0
- package/dist/ops/serialize.js.map +1 -0
- package/dist/ops/types.d.ts +150 -0
- package/dist/ops/types.d.ts.map +1 -0
- package/dist/ops/types.js +12 -0
- package/dist/ops/types.js.map +1 -0
- package/dist/pathSampling.d.ts +51 -0
- package/dist/pathSampling.d.ts.map +1 -0
- package/dist/pathSampling.js +111 -0
- package/dist/pathSampling.js.map +1 -0
- package/dist/placement/index.d.ts +2 -0
- package/dist/placement/index.d.ts.map +1 -0
- package/dist/placement/index.js +2 -0
- package/dist/placement/index.js.map +1 -0
- package/dist/placement/resolveTrackPlacement.d.ts +40 -0
- package/dist/placement/resolveTrackPlacement.d.ts.map +1 -0
- package/dist/placement/resolveTrackPlacement.js +71 -0
- package/dist/placement/resolveTrackPlacement.js.map +1 -0
- package/dist/production.d.ts +99 -0
- package/dist/production.d.ts.map +1 -0
- package/dist/production.js +328 -0
- package/dist/production.js.map +1 -0
- package/dist/reassemble.d.ts +68 -0
- package/dist/reassemble.d.ts.map +1 -0
- package/dist/reassemble.js +187 -0
- package/dist/reassemble.js.map +1 -0
- package/dist/recipe.d.ts +24 -0
- package/dist/recipe.d.ts.map +1 -0
- package/dist/recipe.js +89 -0
- package/dist/recipe.js.map +1 -0
- package/dist/recordedVoiceReplacement.d.ts +70 -0
- package/dist/recordedVoiceReplacement.d.ts.map +1 -0
- package/dist/recordedVoiceReplacement.js +82 -0
- package/dist/recordedVoiceReplacement.js.map +1 -0
- package/dist/reframe.d.ts +31 -0
- package/dist/reframe.d.ts.map +1 -0
- package/dist/reframe.js +227 -0
- package/dist/reframe.js.map +1 -0
- package/dist/render/canvas2d.d.ts +419 -0
- package/dist/render/canvas2d.d.ts.map +1 -0
- package/dist/render/canvas2d.js +1392 -0
- package/dist/render/canvas2d.js.map +1 -0
- package/dist/render/color.d.ts +26 -0
- package/dist/render/color.d.ts.map +1 -0
- package/dist/render/color.js +305 -0
- package/dist/render/color.js.map +1 -0
- package/dist/render/cpuLegacyEffects.d.ts +17 -0
- package/dist/render/cpuLegacyEffects.d.ts.map +1 -0
- package/dist/render/cpuLegacyEffects.js +347 -0
- package/dist/render/cpuLegacyEffects.js.map +1 -0
- package/dist/render/cpuVisualEffects.d.ts +13 -0
- package/dist/render/cpuVisualEffects.d.ts.map +1 -0
- package/dist/render/cpuVisualEffects.js +388 -0
- package/dist/render/cpuVisualEffects.js.map +1 -0
- package/dist/render/cubeLut.d.ts +12 -0
- package/dist/render/cubeLut.d.ts.map +1 -0
- package/dist/render/cubeLut.js +81 -0
- package/dist/render/cubeLut.js.map +1 -0
- package/dist/render/curveFitting.d.ts +28 -0
- package/dist/render/curveFitting.d.ts.map +1 -0
- package/dist/render/curveFitting.js +94 -0
- package/dist/render/curveFitting.js.map +1 -0
- package/dist/render/draw.d.ts +265 -0
- package/dist/render/draw.d.ts.map +1 -0
- package/dist/render/draw.js +929 -0
- package/dist/render/draw.js.map +1 -0
- package/dist/render/effects.d.ts +120 -0
- package/dist/render/effects.d.ts.map +1 -0
- package/dist/render/effects.js +804 -0
- package/dist/render/effects.js.map +1 -0
- package/dist/render/frameCompositor.d.ts +502 -0
- package/dist/render/frameCompositor.d.ts.map +1 -0
- package/dist/render/frameCompositor.js +1331 -0
- package/dist/render/frameCompositor.js.map +1 -0
- package/dist/render/index.d.ts +27 -0
- package/dist/render/index.d.ts.map +1 -0
- package/dist/render/index.js +27 -0
- package/dist/render/index.js.map +1 -0
- package/dist/render/layout.d.ts +17 -0
- package/dist/render/layout.d.ts.map +1 -0
- package/dist/render/layout.js +197 -0
- package/dist/render/layout.js.map +1 -0
- package/dist/render/model3dBakeSamples.d.ts +45 -0
- package/dist/render/model3dBakeSamples.d.ts.map +1 -0
- package/dist/render/model3dBakeSamples.js +68 -0
- package/dist/render/model3dBakeSamples.js.map +1 -0
- package/dist/render/motionBlur.d.ts +170 -0
- package/dist/render/motionBlur.d.ts.map +1 -0
- package/dist/render/motionBlur.js +193 -0
- package/dist/render/motionBlur.js.map +1 -0
- package/dist/render/sceneModel.d.ts +577 -0
- package/dist/render/sceneModel.d.ts.map +1 -0
- package/dist/render/sceneModel.js +1460 -0
- package/dist/render/sceneModel.js.map +1 -0
- package/dist/render/shapeGeometry.d.ts +81 -0
- package/dist/render/shapeGeometry.d.ts.map +1 -0
- package/dist/render/shapeGeometry.js +460 -0
- package/dist/render/shapeGeometry.js.map +1 -0
- package/dist/render/spatial.d.ts +9 -0
- package/dist/render/spatial.d.ts.map +1 -0
- package/dist/render/spatial.js +58 -0
- package/dist/render/spatial.js.map +1 -0
- package/dist/render/svgPath.d.ts +80 -0
- package/dist/render/svgPath.d.ts.map +1 -0
- package/dist/render/svgPath.js +199 -0
- package/dist/render/svgPath.js.map +1 -0
- package/dist/render/temporal.d.ts +6 -0
- package/dist/render/temporal.d.ts.map +1 -0
- package/dist/render/temporal.js +74 -0
- package/dist/render/temporal.js.map +1 -0
- package/dist/render/textLayout.d.ts +159 -0
- package/dist/render/textLayout.d.ts.map +1 -0
- package/dist/render/textLayout.js +301 -0
- package/dist/render/textLayout.js.map +1 -0
- package/dist/render/trackEffects.d.ts +23 -0
- package/dist/render/trackEffects.d.ts.map +1 -0
- package/dist/render/trackEffects.js +93 -0
- package/dist/render/trackEffects.js.map +1 -0
- package/dist/render/transform.d.ts +54 -0
- package/dist/render/transform.d.ts.map +1 -0
- package/dist/render/transform.js +222 -0
- package/dist/render/transform.js.map +1 -0
- package/dist/render/transition.d.ts +109 -0
- package/dist/render/transition.d.ts.map +1 -0
- package/dist/render/transition.js +351 -0
- package/dist/render/transition.js.map +1 -0
- package/dist/retarget.d.ts +73 -0
- package/dist/retarget.d.ts.map +1 -0
- package/dist/retarget.js +305 -0
- package/dist/retarget.js.map +1 -0
- package/dist/rippleEdit.d.ts +83 -0
- package/dist/rippleEdit.d.ts.map +1 -0
- package/dist/rippleEdit.js +184 -0
- package/dist/rippleEdit.js.map +1 -0
- package/dist/scene.d.ts +28 -0
- package/dist/scene.d.ts.map +1 -0
- package/dist/scene.js +28 -0
- package/dist/scene.js.map +1 -0
- package/dist/script-link.d.ts +52 -0
- package/dist/script-link.d.ts.map +1 -0
- package/dist/script-link.js +78 -0
- package/dist/script-link.js.map +1 -0
- package/dist/script.d.ts +52 -0
- package/dist/script.d.ts.map +1 -0
- package/dist/script.js +93 -0
- package/dist/script.js.map +1 -0
- package/dist/snap.d.ts +2 -0
- package/dist/snap.d.ts.map +1 -0
- package/dist/snap.js +21 -0
- package/dist/snap.js.map +1 -0
- package/dist/snapping/buildSnapPoints.d.ts +16 -0
- package/dist/snapping/buildSnapPoints.d.ts.map +1 -0
- package/dist/snapping/buildSnapPoints.js +39 -0
- package/dist/snapping/buildSnapPoints.js.map +1 -0
- package/dist/snapping/index.d.ts +3 -0
- package/dist/snapping/index.d.ts.map +1 -0
- package/dist/snapping/index.js +3 -0
- package/dist/snapping/index.js.map +1 -0
- package/dist/snapping/resolveSnap.d.ts +19 -0
- package/dist/snapping/resolveSnap.d.ts.map +1 -0
- package/dist/snapping/resolveSnap.js +39 -0
- package/dist/snapping/resolveSnap.js.map +1 -0
- package/dist/sourceRate.d.ts +12 -0
- package/dist/sourceRate.d.ts.map +1 -0
- package/dist/sourceRate.js +13 -0
- package/dist/sourceRate.js.map +1 -0
- package/dist/spatialVideoRequest.d.ts +91 -0
- package/dist/spatialVideoRequest.d.ts.map +1 -0
- package/dist/spatialVideoRequest.js +175 -0
- package/dist/spatialVideoRequest.js.map +1 -0
- package/dist/splitClip.d.ts +3 -0
- package/dist/splitClip.d.ts.map +1 -0
- package/dist/splitClip.js +190 -0
- package/dist/splitClip.js.map +1 -0
- package/dist/stableSerialize.d.ts +11 -0
- package/dist/stableSerialize.d.ts.map +1 -0
- package/dist/stableSerialize.js +31 -0
- package/dist/stableSerialize.js.map +1 -0
- package/dist/staleSet.d.ts +41 -0
- package/dist/staleSet.d.ts.map +1 -0
- package/dist/staleSet.js +106 -0
- package/dist/staleSet.js.map +1 -0
- package/dist/storyboard.d.ts +221 -0
- package/dist/storyboard.d.ts.map +1 -0
- package/dist/storyboard.js +417 -0
- package/dist/storyboard.js.map +1 -0
- package/dist/subtitles.d.ts +61 -0
- package/dist/subtitles.d.ts.map +1 -0
- package/dist/subtitles.js +92 -0
- package/dist/subtitles.js.map +1 -0
- package/dist/takes.d.ts +76 -0
- package/dist/takes.d.ts.map +1 -0
- package/dist/takes.js +238 -0
- package/dist/takes.js.map +1 -0
- package/dist/timeRemap.d.ts +101 -0
- package/dist/timeRemap.d.ts.map +1 -0
- package/dist/timeRemap.js +183 -0
- package/dist/timeRemap.js.map +1 -0
- package/dist/trackOrder.d.ts +38 -0
- package/dist/trackOrder.d.ts.map +1 -0
- package/dist/trackOrder.js +54 -0
- package/dist/trackOrder.js.map +1 -0
- package/dist/transitionAtCut.d.ts +89 -0
- package/dist/transitionAtCut.d.ts.map +1 -0
- package/dist/transitionAtCut.js +217 -0
- package/dist/transitionAtCut.js.map +1 -0
- package/dist/trimClip.d.ts +13 -0
- package/dist/trimClip.d.ts.map +1 -0
- package/dist/trimClip.js +60 -0
- package/dist/trimClip.js.map +1 -0
- package/dist/types.d.ts +1772 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +84 -0
- package/dist/types.js.map +1 -0
- package/fonts/BebasNeue-Regular.ttf +0 -0
- package/fonts/Inter-ExtraBold.ttf +0 -0
- package/fonts/Inter-Italic-Variable.ttf +0 -0
- package/fonts/Inter-SemiBold.ttf +0 -0
- package/fonts/Inter-Variable.ttf +0 -0
- package/fonts/JetBrainsMono-Italic-Variable.ttf +0 -0
- package/fonts/JetBrainsMono-Variable.ttf +0 -0
- package/fonts/Lora-Italic-Variable.ttf +0 -0
- package/fonts/Lora-Variable.ttf +0 -0
- package/fonts/OFL-BebasNeue.txt +93 -0
- package/fonts/OFL-Inter.txt +93 -0
- package/fonts/OFL-JetBrainsMono.txt +93 -0
- package/fonts/OFL-Lora.txt +93 -0
- package/fonts/OFL-PlayfairDisplay.txt +93 -0
- package/fonts/OFL-SpaceGrotesk.txt +93 -0
- package/fonts/PlayfairDisplay-Italic-Variable.ttf +0 -0
- package/fonts/PlayfairDisplay-Variable.ttf +0 -0
- package/fonts/SpaceGrotesk-Variable.ttf +0 -0
- package/package.json +108 -0
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @nodetool-ai/timeline
|
|
2
|
+
|
|
3
|
+
Core timeline types and status models for the NodeTool timeline feature for [NodeTool](https://nodetool.ai).
|
|
4
|
+
|
|
5
|
+
The canonical type layer plus pure editing math for NodeTool's video timeline: sequences, tracks, clips, markers, versions, and status values, along with framework-free helpers for splitting, trimming, snapping, placement, and staleness detection. Blend modes are re-exported from `@nodetool-ai/gpu` so the timeline preview compositor agrees with the sketch editor and Compositor node.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @nodetool-ai/timeline
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Exported symbols
|
|
14
|
+
|
|
15
|
+
| Symbol | Kind | Description |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| `TimelineSequence` | interface | Top-level sequence (tracks, clips, markers, transcript) |
|
|
18
|
+
| `TimelineTrack` | interface | A track within a sequence |
|
|
19
|
+
| `TimelineClip` | interface | A clip placed on a track |
|
|
20
|
+
| `TimelineMarker` | interface | A timeline marker |
|
|
21
|
+
| `ClipStatus` | type | `draft`, `queued`, `generating`, `generated`, `stale`, … |
|
|
22
|
+
| `BlendMode` | type | Re-exported from `@nodetool-ai/gpu` |
|
|
23
|
+
| `makeSequence` / `makeTrack` / `makeClip` / `makeMarker` | function | Factories for default sequence, track, clip, and marker |
|
|
24
|
+
| `makeClipVersion` / `makeTrackEffect` | function | Factories for a clip version and a track effect |
|
|
25
|
+
| `createTimeOrderedUuid` | function | Time-ordered UUID for stable ids |
|
|
26
|
+
| `splitClip` | function | Split a clip at a time into two clips |
|
|
27
|
+
| `trimClip` | function | Trim a clip's in/out points |
|
|
28
|
+
| `snap` | function | Snap a time value to nearby points |
|
|
29
|
+
| `ClipFadeShape` | type | `linear`, `sCurve`, `plus3dB`, `minus3dB` |
|
|
30
|
+
| `fadeShapeGain` / `sampleFadeShape` | function | A fade curve's gain at a point, or sampled across a span |
|
|
31
|
+
| `resolveClipFades` / `clipFadeGain` | function | A clip's fade lengths clamped to it, and its envelope gain |
|
|
32
|
+
| `ffmpegFadeCurve` | function | The `afade` curve matching a shape |
|
|
33
|
+
| `canClipFade` | function | Whether a media type has sound to fade |
|
|
34
|
+
| `sourceRate` | function | Compute a clip's source playback rate |
|
|
35
|
+
| `resolveSnap` / `buildSnapPoints` | function | Snapping resolution and snap-point construction |
|
|
36
|
+
| `resolveTrackPlacement` | function | Resolve where a clip lands across tracks |
|
|
37
|
+
| `computeStaleSet` | function | Determine which clips are stale |
|
|
38
|
+
|
|
39
|
+
The Node-only `computeDependencyHash` lives at the `@nodetool-ai/timeline/dependencyHash` subpath (it depends on `node:crypto`).
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
import { makeSequence, makeClip, splitClip } from "@nodetool-ai/timeline";
|
|
45
|
+
|
|
46
|
+
const sequence = makeSequence({ name: "Intro", fps: 30 });
|
|
47
|
+
const clip = makeClip({ startMs: 0, durationMs: 5000 });
|
|
48
|
+
|
|
49
|
+
const [head, tail] = splitClip(clip, 2000);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Links
|
|
53
|
+
|
|
54
|
+
- [NodeTool](https://nodetool.ai)
|
|
55
|
+
- [GitHub](https://github.com/nodetool-ai/nodetool)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2026-09-28T09:19:04.940Z
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One machine-produced curve written onto a clip.
|
|
3
|
+
*
|
|
4
|
+
* A custom animation can come from a hand edit, a JS body, or something that
|
|
5
|
+
* measured the media — an audio envelope, a tracker. The last kind is the one
|
|
6
|
+
* a caller re-runs: change the sensitivity, bake again, and the clip must end
|
|
7
|
+
* up with one curve rather than a stack of near-identical ones. So the write
|
|
8
|
+
* is not `animate_clip`'s "append or replace everything", it is "replace the
|
|
9
|
+
* animation this same producer put here, and leave everything else alone".
|
|
10
|
+
*
|
|
11
|
+
* `custom.bakedFrom.kind` plus the driven property is the identity that
|
|
12
|
+
* decides it. A hand-edited animation carries no `bakedFrom`, so it never
|
|
13
|
+
* matches and is never overwritten by a re-bake — the rule that keeps a curve
|
|
14
|
+
* someone tuned by hand from disappearing when the bake behind it is repeated.
|
|
15
|
+
*
|
|
16
|
+
* The curve is source-anchored (`timeBase: "source"`): it names absolute
|
|
17
|
+
* milliseconds in the clip's media, so a trim or a split re-slices it
|
|
18
|
+
* (`sourceCurves.ts`) rather than stretching motion that was measured against
|
|
19
|
+
* the footage. `normalizeCustomCurves` is the gate here as everywhere else.
|
|
20
|
+
*
|
|
21
|
+
* Pure — no document, DOM, GPU or store — so the ops module, the headless
|
|
22
|
+
* bridge and any host that holds clips all read one implementation.
|
|
23
|
+
*/
|
|
24
|
+
import type { AnimationRole, ClipAnimation, CustomClipAnimation } from "./types.js";
|
|
25
|
+
/** `bakedFrom.kind` the audio bake stamps, so a re-bake finds its own curve. */
|
|
26
|
+
export declare const AUDIO_BAKED_ANIMATION_KIND = "audio";
|
|
27
|
+
/** Provenance stored on the animation: what produced it, and from what. */
|
|
28
|
+
export type BakedAnimationProvenance = NonNullable<CustomClipAnimation["bakedFrom"]>;
|
|
29
|
+
/** One point of a baked curve, placed in the media's own clock. */
|
|
30
|
+
export interface BakedKeyframeInput {
|
|
31
|
+
sourceMs: number;
|
|
32
|
+
value: number;
|
|
33
|
+
easing?: string;
|
|
34
|
+
}
|
|
35
|
+
/** What a producer hands the writer: one curve plus where it came from. */
|
|
36
|
+
export interface BakedAnimationInput {
|
|
37
|
+
/** An {@link import("./types.js").AnimatedProperty}; the gate checks it. */
|
|
38
|
+
property: string;
|
|
39
|
+
keyframes: readonly BakedKeyframeInput[];
|
|
40
|
+
/** Only `"source"`. A clip-normalized curve is what `animate_clip` writes. */
|
|
41
|
+
timeBase?: string;
|
|
42
|
+
bakedFrom: BakedAnimationProvenance;
|
|
43
|
+
/** Default `"emphasis"` — the role whose window is the clip itself. */
|
|
44
|
+
role?: AnimationRole;
|
|
45
|
+
/** Default the clip's own duration, so the window is the whole clip. */
|
|
46
|
+
durationMs?: number;
|
|
47
|
+
/** Default 0. */
|
|
48
|
+
delayMs?: number;
|
|
49
|
+
easing?: string;
|
|
50
|
+
params?: Record<string, number | string | boolean>;
|
|
51
|
+
/** `{direction, softness}`; required when the curve drives `wipeProgress`. */
|
|
52
|
+
mask?: unknown;
|
|
53
|
+
/** Default true. False appends beside an existing bake instead. */
|
|
54
|
+
replace?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/** The clip fields the writer reads. Structural, so it needs no document. */
|
|
57
|
+
export interface BakedAnimationTarget {
|
|
58
|
+
durationMs: number;
|
|
59
|
+
animations?: ClipAnimation[];
|
|
60
|
+
}
|
|
61
|
+
export interface BakedAnimationOutcome {
|
|
62
|
+
/** The clip's new animation list, in document order. */
|
|
63
|
+
animations: ClipAnimation[];
|
|
64
|
+
animation: ClipAnimation;
|
|
65
|
+
animationId: string;
|
|
66
|
+
/** True when an earlier bake of the same kind and property was overwritten. */
|
|
67
|
+
replaced: boolean;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Index of the animation an earlier bake of `kind` left driving `property`,
|
|
71
|
+
* or -1. Exported because a caller reporting "this replaced something" wants
|
|
72
|
+
* the same answer the write uses.
|
|
73
|
+
*/
|
|
74
|
+
export declare function findBakedAnimationIndex(animations: readonly ClipAnimation[] | undefined, kind: string, property: string): number;
|
|
75
|
+
/**
|
|
76
|
+
* Build the animation `set_baked_animation` writes, and the list it belongs
|
|
77
|
+
* in. Throws with the gate's own message on a curve that would render nothing.
|
|
78
|
+
*
|
|
79
|
+
* `bakedAt` is deliberately not stamped: `bakedFrom` is this path's
|
|
80
|
+
* provenance, and a wall-clock field would make two hosts running the same
|
|
81
|
+
* bake produce two different documents.
|
|
82
|
+
*/
|
|
83
|
+
export declare function buildBakedAnimation(clip: BakedAnimationTarget, input: BakedAnimationInput, newAnimationId: () => string): BakedAnimationOutcome;
|
|
84
|
+
//# sourceMappingURL=bakedAnimation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bakedAnimation.d.ts","sourceRoot":"","sources":["../../src/animation/bakedAnimation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAOH,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,YAAY,CAAC;AAEpB,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,UAAU,CAAC;AAElD,2EAA2E;AAC3E,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAChD,mBAAmB,CAAC,WAAW,CAAC,CACjC,CAAC;AAEF,mEAAmE;AACnE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,2EAA2E;AAC3E,MAAM,WAAW,mBAAmB;IAClC,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,SAAS,kBAAkB,EAAE,CAAC;IACzC,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,wBAAwB,CAAC;IACpC,uEAAuE;IACvE,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACnD,8EAA8E;IAC9E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mEAAmE;IACnE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,6EAA6E;AAC7E,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,SAAS,EAAE,aAAa,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,SAAS,aAAa,EAAE,GAAG,SAAS,EAChD,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAQR;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,oBAAoB,EAC1B,KAAK,EAAE,mBAAmB,EAC1B,cAAc,EAAE,MAAM,MAAM,GAC3B,qBAAqB,CA6DvB"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One machine-produced curve written onto a clip.
|
|
3
|
+
*
|
|
4
|
+
* A custom animation can come from a hand edit, a JS body, or something that
|
|
5
|
+
* measured the media — an audio envelope, a tracker. The last kind is the one
|
|
6
|
+
* a caller re-runs: change the sensitivity, bake again, and the clip must end
|
|
7
|
+
* up with one curve rather than a stack of near-identical ones. So the write
|
|
8
|
+
* is not `animate_clip`'s "append or replace everything", it is "replace the
|
|
9
|
+
* animation this same producer put here, and leave everything else alone".
|
|
10
|
+
*
|
|
11
|
+
* `custom.bakedFrom.kind` plus the driven property is the identity that
|
|
12
|
+
* decides it. A hand-edited animation carries no `bakedFrom`, so it never
|
|
13
|
+
* matches and is never overwritten by a re-bake — the rule that keeps a curve
|
|
14
|
+
* someone tuned by hand from disappearing when the bake behind it is repeated.
|
|
15
|
+
*
|
|
16
|
+
* The curve is source-anchored (`timeBase: "source"`): it names absolute
|
|
17
|
+
* milliseconds in the clip's media, so a trim or a split re-slices it
|
|
18
|
+
* (`sourceCurves.ts`) rather than stretching motion that was measured against
|
|
19
|
+
* the footage. `normalizeCustomCurves` is the gate here as everywhere else.
|
|
20
|
+
*
|
|
21
|
+
* Pure — no document, DOM, GPU or store — so the ops module, the headless
|
|
22
|
+
* bridge and any host that holds clips all read one implementation.
|
|
23
|
+
*/
|
|
24
|
+
import { CUSTOM_ANIMATION_PRESET_ID, normalizeCustomCurves, resolveCustomMask } from "./custom.js";
|
|
25
|
+
/** `bakedFrom.kind` the audio bake stamps, so a re-bake finds its own curve. */
|
|
26
|
+
export const AUDIO_BAKED_ANIMATION_KIND = "audio";
|
|
27
|
+
/**
|
|
28
|
+
* Index of the animation an earlier bake of `kind` left driving `property`,
|
|
29
|
+
* or -1. Exported because a caller reporting "this replaced something" wants
|
|
30
|
+
* the same answer the write uses.
|
|
31
|
+
*/
|
|
32
|
+
export function findBakedAnimationIndex(animations, kind, property) {
|
|
33
|
+
if (!animations)
|
|
34
|
+
return -1;
|
|
35
|
+
return animations.findIndex((animation) => animation.preset === CUSTOM_ANIMATION_PRESET_ID &&
|
|
36
|
+
animation.custom?.bakedFrom?.kind === kind &&
|
|
37
|
+
animation.custom.curves.some((curve) => curve.property === property));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Build the animation `set_baked_animation` writes, and the list it belongs
|
|
41
|
+
* in. Throws with the gate's own message on a curve that would render nothing.
|
|
42
|
+
*
|
|
43
|
+
* `bakedAt` is deliberately not stamped: `bakedFrom` is this path's
|
|
44
|
+
* provenance, and a wall-clock field would make two hosts running the same
|
|
45
|
+
* bake produce two different documents.
|
|
46
|
+
*/
|
|
47
|
+
export function buildBakedAnimation(clip, input, newAnimationId) {
|
|
48
|
+
const timeBase = input.timeBase ?? "source";
|
|
49
|
+
if (timeBase !== "source") {
|
|
50
|
+
throw new Error(`set_baked_animation writes a source-anchored curve; timeBase is ` +
|
|
51
|
+
`${JSON.stringify(input.timeBase)}. A curve normalized over the ` +
|
|
52
|
+
"clip's window is what animate_clip takes.");
|
|
53
|
+
}
|
|
54
|
+
const kind = input.bakedFrom?.kind;
|
|
55
|
+
if (typeof kind !== "string" || kind.trim() === "") {
|
|
56
|
+
throw new Error("set_baked_animation needs `bakedFrom.kind` — it is what a re-bake " +
|
|
57
|
+
"matches to replace its own curve instead of stacking another one.");
|
|
58
|
+
}
|
|
59
|
+
const normalized = normalizeCustomCurves([{ property: input.property, keyframes: input.keyframes }], "source");
|
|
60
|
+
if (!normalized.ok)
|
|
61
|
+
throw new Error(normalized.error);
|
|
62
|
+
const curves = normalized.curves;
|
|
63
|
+
const mask = resolveCustomMask(curves, input.mask);
|
|
64
|
+
if (!mask.ok)
|
|
65
|
+
throw new Error(mask.error);
|
|
66
|
+
const animations = [...(clip.animations ?? [])];
|
|
67
|
+
const existingIndex = findBakedAnimationIndex(animations, kind, input.property);
|
|
68
|
+
const replace = input.replace !== false;
|
|
69
|
+
const replaced = replace && existingIndex >= 0;
|
|
70
|
+
const custom = {
|
|
71
|
+
timeBase: "source",
|
|
72
|
+
curves,
|
|
73
|
+
bakedFrom: { ...input.bakedFrom, kind }
|
|
74
|
+
};
|
|
75
|
+
if (mask.mask)
|
|
76
|
+
custom.mask = mask.mask;
|
|
77
|
+
const animation = {
|
|
78
|
+
id: replaced ? animations[existingIndex].id : newAnimationId(),
|
|
79
|
+
role: input.role ?? "emphasis",
|
|
80
|
+
preset: CUSTOM_ANIMATION_PRESET_ID,
|
|
81
|
+
durationMs: input.durationMs ?? clip.durationMs,
|
|
82
|
+
delayMs: input.delayMs ?? 0,
|
|
83
|
+
easing: input.easing,
|
|
84
|
+
params: input.params,
|
|
85
|
+
custom
|
|
86
|
+
};
|
|
87
|
+
if (replaced) {
|
|
88
|
+
animations[existingIndex] = animation;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
animations.push(animation);
|
|
92
|
+
}
|
|
93
|
+
return { animations, animation, animationId: animation.id, replaced };
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=bakedAnimation.js.map
|
|
@@ -0,0 +1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CAAC,IAAI,IAAI,UAAU;QAC9B,MAAM,EAAE,0BAA0B;QAClC,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU;QAC/C,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,MAAM;KACP,CAAC;IAEF,IAAI,QAAQ,EAAE,CAAC;QACb,UAAU,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;IACxC,CAAC;SAAM,CAAC;QACN,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC7B,CAAC;IAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC;AACxE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TimelineClip, TimelineTempo } from "../types.js";
|
|
2
|
+
import type { ClipAnimation } from "./types.js";
|
|
3
|
+
export declare function beatAnimationDelayMs(animation: ClipAnimation, clip: Pick<TimelineClip, "startMs">, tempo?: TimelineTempo): number;
|
|
4
|
+
export declare function resolveBeatAnimations(clip: Pick<TimelineClip, "startMs" | "animations">, tempo?: TimelineTempo): ClipAnimation[] | undefined;
|
|
5
|
+
/** Apply a stagger to named clips in visual order without changing media timing. */
|
|
6
|
+
export declare function staggerClipAnimations(clips: readonly TimelineClip[], clipIds: readonly string[], offsetMs: number): TimelineClip[];
|
|
7
|
+
//# sourceMappingURL=beat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beat.d.ts","sourceRoot":"","sources":["../../src/animation/beat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,CAAC,EAAE,KAAK,GAAE,aAA6B,GAAG,MAAM,CAQhJ;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,YAAY,CAAC,EAAE,KAAK,GAAE,aAA6B,GAAG,aAAa,EAAE,GAAG,SAAS,CAM3J;AAED,oFAAoF;AACpF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,EAAE,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,YAAY,EAAE,CAalI"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DEFAULT_TEMPO } from "../midi/tempo.js";
|
|
2
|
+
export function beatAnimationDelayMs(animation, clip, tempo = DEFAULT_TEMPO) {
|
|
3
|
+
const beat = animation.beat;
|
|
4
|
+
if (!beat)
|
|
5
|
+
return animation.delayMs ?? 0;
|
|
6
|
+
const beatMs = 60_000 / Math.max(1, tempo.bpm);
|
|
7
|
+
const anchor = beat.scope === "clip"
|
|
8
|
+
? (beat.index - 1) * beatMs
|
|
9
|
+
: tempo.offsetMs + (beat.index - 1) * beatMs - clip.startMs;
|
|
10
|
+
return anchor + (beat.offsetMs ?? 0) + (animation.delayMs ?? 0);
|
|
11
|
+
}
|
|
12
|
+
export function resolveBeatAnimations(clip, tempo = DEFAULT_TEMPO) {
|
|
13
|
+
const animations = clip.animations;
|
|
14
|
+
if (!animations?.some((animation) => animation.beat))
|
|
15
|
+
return animations;
|
|
16
|
+
return animations.map((animation) => animation.beat
|
|
17
|
+
? { ...animation, delayMs: beatAnimationDelayMs(animation, clip, tempo) }
|
|
18
|
+
: animation);
|
|
19
|
+
}
|
|
20
|
+
/** Apply a stagger to named clips in visual order without changing media timing. */
|
|
21
|
+
export function staggerClipAnimations(clips, clipIds, offsetMs) {
|
|
22
|
+
const order = new Map(clipIds.map((id, index) => [id, index]));
|
|
23
|
+
return clips.map((clip) => {
|
|
24
|
+
const index = order.get(clip.id);
|
|
25
|
+
if (index === undefined || !clip.animations?.length)
|
|
26
|
+
return clip;
|
|
27
|
+
return {
|
|
28
|
+
...clip,
|
|
29
|
+
animations: clip.animations.map((animation) => ({
|
|
30
|
+
...animation,
|
|
31
|
+
delayMs: (animation.delayMs ?? 0) + index * offsetMs
|
|
32
|
+
}))
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=beat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beat.js","sourceRoot":"","sources":["../../src/animation/beat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,MAAM,UAAU,oBAAoB,CAAC,SAAwB,EAAE,IAAmC,EAAE,KAAK,GAAkB,aAAa;IACtI,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC;IAC5B,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC,OAAO,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAC/C,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,KAAK,MAAM;QAClC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,MAAM;QAC3B,CAAC,CAAC,KAAK,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;IAC9D,OAAO,MAAM,GAAG,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAkD,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
1
|
+
/**
|
|
2
|
+
* Preset → curve compiler. Presets never render directly; `compileClipAnimations`
|
|
3
|
+
* resolves each `ClipAnimation` into a `CompiledAnimation` — a window on the
|
|
4
|
+
* clip-local clock plus keyframe curves with easing baked onto each segment.
|
|
5
|
+
* The sampler (`sample.ts`) then needs no preset or role knowledge.
|
|
6
|
+
*
|
|
7
|
+
* Pure: no DOM, GPU, or store access.
|
|
8
|
+
*/
|
|
9
|
+
import type { AnimatedProperty, AnimationStyleTrack, AnimationRole, ClipAnimation, StaggerFrom, StaggerUnit, WipeDirection } from "./types.js";
|
|
10
|
+
import { type Canvas } from "./presets.js";
|
|
11
|
+
export interface Keyframe {
|
|
12
|
+
/** Normalized 0..1 within the animation window. */
|
|
13
|
+
t: number;
|
|
14
|
+
value: number;
|
|
15
|
+
/**
|
|
16
|
+
* Easing of the segment ending at this keyframe. Undefined → linear. A
|
|
17
|
+
* string rather than an {@link EasingId} so it carries the easing grammar
|
|
18
|
+
* too (see `parseEasing`).
|
|
19
|
+
*/
|
|
20
|
+
easing?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Absolute source-media time in ms. Present (and the keyframe's real
|
|
23
|
+
* position) only on a source-anchored curve — one whose animation compiled
|
|
24
|
+
* with `timeBase: "source"`; the sampler reads this instead of `t` there.
|
|
25
|
+
*/
|
|
26
|
+
sourceMs?: number;
|
|
27
|
+
}
|
|
28
|
+
export interface PropertyCurve {
|
|
29
|
+
property: AnimatedProperty;
|
|
30
|
+
/**
|
|
31
|
+
* Sorted by `t`; first `t === 0`, last `t === 1`. On a source-anchored curve
|
|
32
|
+
* the keyframes are sorted by `sourceMs` and `t` is its normalized position
|
|
33
|
+
* over the curve's own source span, which lands on the same invariant.
|
|
34
|
+
*/
|
|
35
|
+
keyframes: Keyframe[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Static per-animation mask config for wipe-style presets. Direction and
|
|
39
|
+
* softness never animate — only the `wipeProgress` curve does — so they ride
|
|
40
|
+
* on the compiled animation, not on a curve.
|
|
41
|
+
*/
|
|
42
|
+
export interface CompiledAnimationMask {
|
|
43
|
+
direction: WipeDirection;
|
|
44
|
+
/** Feathered edge width as a fraction of the wipe axis (0 = hard edge). */
|
|
45
|
+
softness: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Resolved per-unit stagger on a compiled animation. When present, the
|
|
49
|
+
* compiled `windowStartMs..windowEndMs` covers the FULL stagger span (first
|
|
50
|
+
* unit's window start → last unit's window end); each unit's own window is
|
|
51
|
+
* derived from it: `[windowStartMs + delay(i), + unitDurationMs]` for
|
|
52
|
+
* non-loop roles, a `delay(i)` phase shift for loops. The block-level
|
|
53
|
+
* sampler folds only the animation's effect/mask curves over the full span;
|
|
54
|
+
* transform/opacity curves are sampled per unit by
|
|
55
|
+
* `sampleStaggeredAnimations`.
|
|
56
|
+
*/
|
|
57
|
+
export interface CompiledStagger {
|
|
58
|
+
/** What the text splits into. The rasterizer walks the same unit. */
|
|
59
|
+
unit: StaggerUnit;
|
|
60
|
+
/** Number of units. Always ≥ 2 — fewer compiles un-staggered. */
|
|
61
|
+
count: number;
|
|
62
|
+
/**
|
|
63
|
+
* Effective per-step delay in ms. May be smaller than the authored
|
|
64
|
+
* `offsetMs` when the stretched span was clamped to fit the clip.
|
|
65
|
+
*/
|
|
66
|
+
offsetMs: number;
|
|
67
|
+
from: StaggerFrom;
|
|
68
|
+
/** One unit's animation length in ms (the authored `durationMs`). */
|
|
69
|
+
unitDurationMs: number;
|
|
70
|
+
/** Largest per-unit delay: `maxStaggerFactor(from, count) * offsetMs`. */
|
|
71
|
+
maxDelayMs: number;
|
|
72
|
+
/**
|
|
73
|
+
* True when the span did not fit the clip and `offsetMs` was shrunk to make
|
|
74
|
+
* it — the units still all complete, but they overlap more than the author
|
|
75
|
+
* asked for. The validator warns on it; nothing at render time reads it.
|
|
76
|
+
*/
|
|
77
|
+
compressed: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Per-unit delay in ms for unit `index` of a compiled stagger. `from`
|
|
81
|
+
* ordering: `"start"` = first unit first, `"end"` = last unit first,
|
|
82
|
+
* `"center"` = middle units first, rippling outward.
|
|
83
|
+
*
|
|
84
|
+
* The centre distance is floored so the middle unit — the middle PAIR, on an
|
|
85
|
+
* even count — starts at 0. An unfloored `|index - last/2|` gives an even
|
|
86
|
+
* count no unit at delay 0 (four units at 100ms each: 150, 50, 50, 150), which
|
|
87
|
+
* starts the whole line half an offset late and overstates the span by the
|
|
88
|
+
* same amount.
|
|
89
|
+
*/
|
|
90
|
+
export declare function staggerUnitDelayMs(stagger: CompiledStagger, index: number): number;
|
|
91
|
+
/**
|
|
92
|
+
* Word count of a text — whitespace-separated words across all lines, matching
|
|
93
|
+
* the text rasterizer's wrap tokenization. The `"word"` case of
|
|
94
|
+
* `countTextStaggerUnits`, which is where the other units are counted (they
|
|
95
|
+
* need the wrap, and this module has no text measurement).
|
|
96
|
+
*/
|
|
97
|
+
export declare function countStaggerUnits(text: string): number;
|
|
98
|
+
export interface CompiledAnimation {
|
|
99
|
+
/**
|
|
100
|
+
* The `ClipAnimation.id` this was compiled from. The sampler records it as
|
|
101
|
+
* the winner of a `replace` channel, so a validator can name the animation
|
|
102
|
+
* that took the channel.
|
|
103
|
+
*/
|
|
104
|
+
id: string;
|
|
105
|
+
role: AnimationRole;
|
|
106
|
+
/** Clip-local ms, resolved from role + delay + duration. */
|
|
107
|
+
windowStartMs: number;
|
|
108
|
+
windowEndMs: number;
|
|
109
|
+
/**
|
|
110
|
+
* Repeat the window until clip end. Set by the preset's role handling, not
|
|
111
|
+
* derived from role alone: most `"loop"` presets compile `loop: true`, but
|
|
112
|
+
* `kenBurns` compiles `loop: false` (one-shot over the whole clip).
|
|
113
|
+
*/
|
|
114
|
+
loop: boolean;
|
|
115
|
+
/** Cycle length in ms when `loop` is true; the window runs to clip end. */
|
|
116
|
+
periodMs?: number;
|
|
117
|
+
/**
|
|
118
|
+
* Clip-local ms the cycle is counted from when `loop` is true. Equals
|
|
119
|
+
* `windowStartMs` unless the authored `delayMs` was negative, which is how
|
|
120
|
+
* a split carries the phase of a cycle already under way onto the right
|
|
121
|
+
* half: the window still opens at 0, the phase does not restart.
|
|
122
|
+
*/
|
|
123
|
+
loopOriginMs?: number;
|
|
124
|
+
/** Hold the `t=0` values before the window (true for `"in"`). */
|
|
125
|
+
holdBefore: boolean;
|
|
126
|
+
/** Hold the `t=1` values after the window (true for `"out"`). */
|
|
127
|
+
holdAfter: boolean;
|
|
128
|
+
curves: PropertyCurve[];
|
|
129
|
+
/** Per-unit text color, blur and tracking curves. */
|
|
130
|
+
glyphTracks?: AnimationStyleTrack[];
|
|
131
|
+
/**
|
|
132
|
+
* Clock the curves are placed on. Absent or `"clip"`: the sampler evaluates
|
|
133
|
+
* them at the normalized `t` of the window. `"source"`: it evaluates them at
|
|
134
|
+
* the clip's current source time in ms, which the caller passes to
|
|
135
|
+
* `sampleAnimations`. The window still gates when the animation applies.
|
|
136
|
+
*/
|
|
137
|
+
timeBase?: "clip" | "source";
|
|
138
|
+
/** Present only when the preset drives a `wipeProgress` curve. */
|
|
139
|
+
mask?: CompiledAnimationMask;
|
|
140
|
+
/** Present only when a per-unit stagger is active (see {@link CompiledStagger}). */
|
|
141
|
+
stagger?: CompiledStagger;
|
|
142
|
+
caret?: {
|
|
143
|
+
color: string;
|
|
144
|
+
widthPx: number;
|
|
145
|
+
blinkPeriodMs: number;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
export interface CompileClipAnimationsOptions {
|
|
149
|
+
/**
|
|
150
|
+
* Number of stagger units the clip's content splits into, counted in
|
|
151
|
+
* `staggerUnit`. Omitted or < 2 → `stagger` configs compile as plain block
|
|
152
|
+
* animations, which is how stagger stays a no-op on non-text clips.
|
|
153
|
+
* `countTextStaggerUnits` (render/textLayout.ts) is what produces it, from
|
|
154
|
+
* the same wrap the rasterizer draws through.
|
|
155
|
+
*/
|
|
156
|
+
staggerCount?: number;
|
|
157
|
+
/**
|
|
158
|
+
* The unit `staggerCount` was counted in. A clip is laid out in one unit, so
|
|
159
|
+
* an animation declaring a different one compiles un-staggered. Defaults to
|
|
160
|
+
* `"word"`, which is what a caller that only passes a count means.
|
|
161
|
+
*/
|
|
162
|
+
staggerUnit?: StaggerUnit;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Compile a clip's animations into windowed curves.
|
|
166
|
+
*
|
|
167
|
+
* - `canvas` resolves normalized preset distances to px.
|
|
168
|
+
* - `clipDurationMs` sets window math; windows are clamped to it and windows
|
|
169
|
+
* that start at or after clip end are dropped.
|
|
170
|
+
* - Unknown presets and roles the preset does not allow are skipped (with a
|
|
171
|
+
* console warning) — forward compatibility with newer documents.
|
|
172
|
+
* - The reserved preset `"custom"` takes its curves from `animation.custom`
|
|
173
|
+
* (baked by a JS body, see `custom.ts`) instead of the catalog. Unusable
|
|
174
|
+
* baked curves are skipped the same way an unknown preset is.
|
|
175
|
+
* - A `stagger` config (with `options.staggerCount` ≥ 2) stretches the
|
|
176
|
+
* compiled window to the full stagger span: each unit animates for the
|
|
177
|
+
* authored `durationMs`, delayed `offsetMs` from the previous, so the span
|
|
178
|
+
* is `durationMs + maxDelay`. `"in"`/`"emphasis"` spans grow forward from
|
|
179
|
+
* the delay; `"out"` spans grow backward so the last unit still ends at
|
|
180
|
+
* `clipEnd - delayMs`. When the span does not fit the clip the per-step
|
|
181
|
+
* offset shrinks (never the per-unit duration) so every unit completes.
|
|
182
|
+
*/
|
|
183
|
+
export declare function compileClipAnimations(animations: ClipAnimation[] | undefined, clipDurationMs: number, canvas: Canvas, options?: CompileClipAnimationsOptions): CompiledAnimation[];
|
|
184
|
+
//# sourceMappingURL=compile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/animation/compile.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EACV,gBAAgB,EAChB,mB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