@pixerate/flair 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +54 -6
- package/dist/catalog/index.d.ts +11 -6
- package/dist/catalog/index.js +1 -1
- package/dist/{chunk-JL6TI6II.js → chunk-7KYQ4R76.js} +2 -2
- package/dist/chunk-7KYQ4R76.js.map +1 -0
- package/dist/{chunk-STKEKXCK.js → chunk-AUH3PEFW.js} +2 -2
- package/dist/{chunk-PFGGPIMT.js → chunk-DA4UUSDO.js} +58 -3
- package/dist/chunk-DA4UUSDO.js.map +1 -0
- package/dist/{chunk-RDU63CDO.js → chunk-HDYBY3PQ.js} +380 -1
- package/dist/chunk-HDYBY3PQ.js.map +1 -0
- package/dist/{chunk-GXP4YLAP.js → chunk-HSYDTVTD.js} +9 -9
- package/dist/chunk-HSYDTVTD.js.map +1 -0
- package/dist/{chunk-VLQLRKGW.js → chunk-MAYKC3RF.js} +260 -33
- package/dist/chunk-MAYKC3RF.js.map +1 -0
- package/dist/{chunk-H6VDFBIO.js → chunk-SMR2MJXB.js} +156 -5
- package/dist/chunk-SMR2MJXB.js.map +1 -0
- package/dist/{chunk-4LKAPRFM.js → chunk-UIODYJ6B.js} +2274 -176
- package/dist/chunk-UIODYJ6B.js.map +1 -0
- package/dist/{chunk-YBGRXVAE.js → chunk-X3C2VFTM.js} +3 -3
- package/dist/{chunk-CK6EV37I.js → chunk-ZULFHADW.js} +69 -6
- package/dist/chunk-ZULFHADW.js.map +1 -0
- package/dist/cli.js +6 -6
- package/dist/editor/index.d.ts +3 -3
- package/dist/editor/index.js +3 -3
- package/dist/{effect-GGP66JI6.js → effect-RGABT3BK.js} +10 -10
- package/dist/embed/index.d.ts +36 -8
- package/dist/embed/index.js +5 -5
- package/dist/{frames-VEcqa40g.d.ts → frames-CGJudAbu.d.ts} +11 -1
- package/dist/index.d.ts +69 -6
- package/dist/index.js +35 -7
- package/dist/index.js.map +1 -1
- package/dist/node.d.ts +4 -4
- package/dist/node.js +9 -9
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +7 -7
- package/dist/react/index.js.map +1 -1
- package/dist/{recorder-CDPPTJMG.js → recorder-TYMEZHOT.js} +3 -3
- package/dist/{renderer-teaa98RE.d.ts → renderer-tk1nbVkW.d.ts} +252 -2
- package/dist/svelte/index.d.ts +4 -4
- package/dist/svelte/index.js +7 -7
- package/dist/svelte/index.js.map +1 -1
- package/dist/{svg-BhRboN9q.d.ts → svg-DaKRPA9v.d.ts} +39 -7
- package/dist/{types-DUOMxZaq.d.ts → types-DuGVdJbt.d.ts} +2 -2
- package/dist/vector/index.d.ts +2 -2
- package/dist/vector/index.js +5 -3
- package/package.json +1 -1
- package/dist/chunk-4LKAPRFM.js.map +0 -1
- package/dist/chunk-CK6EV37I.js.map +0 -1
- package/dist/chunk-GXP4YLAP.js.map +0 -1
- package/dist/chunk-H6VDFBIO.js.map +0 -1
- package/dist/chunk-JL6TI6II.js.map +0 -1
- package/dist/chunk-PFGGPIMT.js.map +0 -1
- package/dist/chunk-RDU63CDO.js.map +0 -1
- package/dist/chunk-VLQLRKGW.js.map +0 -1
- /package/dist/{chunk-STKEKXCK.js.map → chunk-AUH3PEFW.js.map} +0 -0
- /package/dist/{chunk-YBGRXVAE.js.map → chunk-X3C2VFTM.js.map} +0 -0
- /package/dist/{effect-GGP66JI6.js.map → effect-RGABT3BK.js.map} +0 -0
- /package/dist/{recorder-CDPPTJMG.js.map → recorder-TYMEZHOT.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { C as ControlValue } from './controls-Ec6P0Vpy.js';
|
|
2
2
|
export { c as ControlCheck, a as ControlDef, b as ControlType, T as TextureSettings, d as checkControlValue, e as coerceControlValue, f as componentCount, g as controlValue, h as describeValue, i as hexToRgb, j as humanise, k as imageUrls, l as isImageUrl, p as parseColor, m as parseControls, r as rgbToHex } from './controls-Ec6P0Vpy.js';
|
|
3
|
-
export { B as BUILTIN_UNIFORMS, C as CompileError,
|
|
4
|
-
export { H as HOVER_SECONDS, M as MAX_CLICKS, a as MAX_TRAIL, P as PointerTracker, R as RenderOptions, S as ShaderClick, b as ShaderFrames, c as ShaderFramesOptions, T as TRAIL_SECONDS, d as clicksUniform, t as trailUniform } from './frames-
|
|
5
|
-
import { C as Clock } from './svg-
|
|
6
|
-
export { A as AnimateCountOptions, D as DataKey, E as EASES, c as EaseName, M as ManualClock, d as SCRAMBLE_MS, e as
|
|
3
|
+
export { c as AUDIO_BANDS, d as AudioAnalysis, e as AudioAnalysisOptions, f as AudioBufferAnalysis, g as AudioBufferAnalysisOptions, a as AudioFrame, h as AudioSamples, A as AudioSource, B as BUILTIN_UNIFORMS, C as CompileError, i as CompileResult, b as CompileStatus, j as CompiledShader, F as FrameState, I as ImageLoadError, k as LiveAudio, L as LiveSource, R as RendererStats, l as SPECTRUM_BINS, m as SVG_EDGE, n as ShaderCompileError, S as ShaderRenderer, o as ShaderRendererOptions, T as TextureCache, p as TextureSource, V as VERTEX_SOURCE, q as analyseAudioBuffer, r as applyTextureSettings, s as compileShader, t as createContext, u as drawFrame, v as fft, w as formatCompileError, x as frequencyData, y as isSvgUrl, z as loadImage, D as parseCompileLog, E as preloadImages, G as releaseImages, H as resetGlCaches, J as rmsLevel, K as seekVideo, M as sharedAudioContext, N as sizeSvg, O as wrapSource } from './renderer-tk1nbVkW.js';
|
|
4
|
+
export { H as HOVER_SECONDS, M as MAX_CLICKS, a as MAX_TRAIL, P as PointerTracker, R as RenderOptions, S as ShaderClick, b as ShaderFrames, c as ShaderFramesOptions, T as TRAIL_SECONDS, d as clicksUniform, t as trailUniform } from './frames-CGJudAbu.js';
|
|
5
|
+
import { C as Clock } from './svg-DaKRPA9v.js';
|
|
6
|
+
export { A as AnimateCountOptions, D as DataKey, E as EASES, c as EaseName, M as ManualClock, d as SCRAMBLE_MS, e as SCROLL_RANGE, f as STEP_MS, g as SVG_PICTURE, h as SvgAnimation, i as SvgBox, j as SvgElementFrame, S as SvgMotion, b as SvgPlayer, k as SvgPlayerOptions, a as SvgTrigger, l as SvgView, m as SvgViewOptions, n as animateCount, o as defaultDataKey, p as formatCount, q as jitter, r as lerpAttr, s as lerpData, t as pageHidden, u as parseSvg, v as realClock, w as stepData, x as stepProgress, y as stepStart, z as svgDuration, B as svgFrame, F as svgMotionIssues, G as svgOpeningTag, H as svgView, I as writtenText } from './svg-DaKRPA9v.js';
|
|
7
7
|
export { AnimatedSvgOptions, BoxAlignment, BoxFit, FittedBoxResult, FormatUnitOptions, MorphOptions, StackLayoutOptions, SvgFrameMarkupOptions, SvgInlineLayout, UnitFormat, computeBoxFit, formatUnit, layoutStack, morphPaths, morphSequence, parseViewBox, remap, stepVariant, svgAnimatedMarkup, svgFrameMarkup, svgInlineLayout, svgViewBox } from './vector/index.js';
|
|
8
8
|
|
|
9
9
|
/** Controls a registered thumbnail. */
|
|
@@ -84,6 +84,56 @@ declare function sharedThumbnailPool(): ThumbnailPool;
|
|
|
84
84
|
/** Registers a thumbnail with the shared pool. See {@link ThumbnailPool.register}. */
|
|
85
85
|
declare function registerThumbnail(canvas: HTMLCanvasElement, source: string, values?: Record<string, ControlValue>, onStatus?: (ok: boolean) => void): ThumbnailHandle;
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* Scrolling as shaders see it: `iScroll`, a `vec4` of
|
|
89
|
+
* - x: the canvas's progress through the viewport, 0 when its top meets the
|
|
90
|
+
* viewport's bottom, 1 when its bottom leaves the top;
|
|
91
|
+
* - y: the page's scroll, as a share of how far it can scroll;
|
|
92
|
+
* - z: scroll velocity in viewport heights per second (positive scrolling
|
|
93
|
+
* down, smoothed);
|
|
94
|
+
* - w: 1 while scrolling, easing back to 0 after.
|
|
95
|
+
*
|
|
96
|
+
* Where nothing scrolls it (thumbnails, recordings without a script) it is
|
|
97
|
+
* all zero, and scroll effects play an idle demo.
|
|
98
|
+
*/
|
|
99
|
+
/** Seconds the velocity takes to follow a change (most of the way). */
|
|
100
|
+
declare const SCROLL_SMOOTHING = 0.12;
|
|
101
|
+
/** Seconds `iScroll.w` takes to ease back to 0 once scrolling stops. */
|
|
102
|
+
declare const SCROLL_SETTLE = 0.4;
|
|
103
|
+
/**
|
|
104
|
+
* An element's progress through the viewport: 0 when its top meets the
|
|
105
|
+
* viewport's bottom, 1 when its bottom leaves the top, from its box (as
|
|
106
|
+
* `getBoundingClientRect` gives it) and the viewport's height.
|
|
107
|
+
*/
|
|
108
|
+
declare function viewportProgress(top: number, height: number, viewport: number): number;
|
|
109
|
+
/**
|
|
110
|
+
* Follows one element's scrolling for `iScroll`: feed it where the element
|
|
111
|
+
* is at each frame, with a steady clock in seconds, and read the uniform.
|
|
112
|
+
* The same positions at the same times always give the same uniform.
|
|
113
|
+
*/
|
|
114
|
+
declare class ScrollTracker {
|
|
115
|
+
private progress;
|
|
116
|
+
private page;
|
|
117
|
+
private offset;
|
|
118
|
+
private last;
|
|
119
|
+
private velocity;
|
|
120
|
+
private movedAt;
|
|
121
|
+
private seen;
|
|
122
|
+
/**
|
|
123
|
+
* Where things are at `time` seconds: the element's `progress` (see
|
|
124
|
+
* {@link viewportProgress}), the page's scroll share, and the element's
|
|
125
|
+
* top in viewport heights (from which the velocity comes; any steady
|
|
126
|
+
* measure that grows as the page scrolls down will do).
|
|
127
|
+
*/
|
|
128
|
+
sample(progress: number, page: number, offset: number, time: number): void;
|
|
129
|
+
/** Whether scrolling has settled (nothing more to animate until it moves). */
|
|
130
|
+
settled(time: number): boolean;
|
|
131
|
+
/** `iScroll` at `time` (all zero before the first sample). */
|
|
132
|
+
scroll(time: number): [number, number, number, number];
|
|
133
|
+
/** Forgets the velocity and activity (when the page jumps, say). */
|
|
134
|
+
clear(): void;
|
|
135
|
+
}
|
|
136
|
+
|
|
87
137
|
interface GifOptions {
|
|
88
138
|
source: string;
|
|
89
139
|
values?: Record<string, ControlValue>;
|
|
@@ -116,12 +166,25 @@ declare function recordGif(options: GifOptions): Promise<Blob>;
|
|
|
116
166
|
interface StandaloneOptions {
|
|
117
167
|
/** The comment at the top of the script, saying where the page came from. */
|
|
118
168
|
credit?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Sound for audio-reactive shaders (`iAudio`, `iSpectrum`, `iBeat`): an
|
|
171
|
+
* audio file's URL, shown as a looping `<audio controls>` player in the
|
|
172
|
+
* corner, or `"mic"`, a button that asks for the microphone (heard, not
|
|
173
|
+
* played back). Browsers only start sound after a click, so the page
|
|
174
|
+
* listens once the player is played or the button pressed. A file from
|
|
175
|
+
* another site needs CORS (it is loaded with `crossorigin="anonymous"`).
|
|
176
|
+
* Without it, audio effects play their idle demos.
|
|
177
|
+
*/
|
|
178
|
+
audio?: string;
|
|
119
179
|
}
|
|
120
180
|
/**
|
|
121
181
|
* A self-contained HTML page that runs the shader full-window, with the
|
|
122
182
|
* control values baked in. It has no dependencies and opens from disk. Like
|
|
123
183
|
* the live preview, it feeds `iMouse` from pointer drags and caps the pixel
|
|
124
|
-
* ratio at 2.
|
|
184
|
+
* ratio at 2. It also feeds the pointer built-ins, and the audio ones from
|
|
185
|
+
* a player or the microphone when `options.audio` asks for it. The page
|
|
186
|
+
* itself does not scroll, so `iScroll` stays 0 (scroll effects play their
|
|
187
|
+
* idle demos).
|
|
125
188
|
*
|
|
126
189
|
* Images are loaded by URL when the page opens: a `data:` URL travels with
|
|
127
190
|
* the page, an `https:` one needs the network and CORS, and a `blob:` one
|
|
@@ -1609,4 +1672,4 @@ declare function exportFcp7Xml(scene: Scene, options?: Fcp7ExportOptions): strin
|
|
|
1609
1672
|
*/
|
|
1610
1673
|
declare function exportCmx3600Edl(scene: Scene, options?: EdlExportOptions): string;
|
|
1611
1674
|
|
|
1612
|
-
export { ALL_BLEND_MODES, ALL_TRANSITION_TYPES, type AgentToolDefinition, type AscCdl, type BatchCommand, type BatchExecutionResult, type BatchExecutionStepResult, type Behavior, type BehaviorBase, type BlendMode, type BlockDissolveOptions, type BlurEffect, type BurstEffect, CAMERA_MS, CAMERA_STEPS, CAMERA_STEP_MS, CAMERA_TRANSITIONS, COMMON_FRAME_RATES, type CameraAngle, type CameraLens, type CameraSample, type CameraShot, type CameraTransition, type ClearCommand, Clock, type ColorRGB, type ColorRGBA, type ColorRgba, type ColorSpace, ControlValue, type CounterEffect, type CrossZoomOptions, type CustomCommand, DEFAULT_PERSPECTIVE, DEFAULT_STAGE, type DeleteCommand, type DynamicFraming, EASY_EASE, EFFECT_FADE_MS, EFFECT_TYPES, type EasingCurve, type EdlExportOptions, type Effect, type EffectBase, type ElementCommand, FLAIR_AGENT_TOOLS, type Fcp7ExportOptions, type FlowEffect, type FramingOptions, type GifOptions, type GlassWipeOptions, type GlowEffect, type GradientEffect, type GridWipeOptions, type HighlightEffect, type KeyframeEase, type LiftGammaGain, type LightLeakOptions, type LinearWipeOptions, type LottieAnimatable, type LottieAnimation, type LottieExportOptions, type LottieKeyframe, type LottieLayer, type LottieShapeItem, type LottieTransform, MAX_TILT, type MediaEffect, MemorySceneBoard, type MotnExportOptions, NO_CHECK, type OscillateBehavior, type OvershootBehavior, type PathWaypoint, type PlayOptions, type PlayResult, type Point, type PopupWidget, type RadialIrisOptions, type RampBehavior, type RateBehavior, type RationalFrameRate, type Rect, type ReplicatorConfig, type ReplicatorPattern, type ReplicatorSequence, type Review, type ReviewOptions, type RigWidget, type RippleEffect, type RunningEffect, SMALL_TEXT_PX, type SMPTEFields, type Scene, type SceneBoard, type SceneCommand, type SceneElement, type SceneIssue, type SceneMedia, type SceneOutline, type SceneOutlineShot, type SceneRig, type SceneToolResult, type ShimmerEffect, type Shot, type ShotCamera, type ShotCheck, type ShotLog, type ShotTiming, type SliderSnapshot, type SliderWidget, type SpatialMotionPath, type SpatialPathSample, type SpotlightEffect, type Stage, type StandaloneOptions, type StandardFrameRateKey, TRANSITION_BLUR, type ThrowBehavior, type ThumbnailHandle, ThumbnailPool, type ThumbnailPoolOptions, type TimerEffect, type ToggleWidget, type TransitionOptions, type TransitionSample, type TransitionType, type TwisterOptions, type UpdateCommand, type Vec2, type Vec3, type View, type WriggleBehavior, applyAscCdl, applyLiftGammaGain, applyRig, applySceneBatch, applySceneTool, applyVibrance, areaOf, between, bez1d, bez1dDerivative, blendRgba, blendTransitionPixel, boardHeight, boundsOf, calculateFramingRect, calculateShotTimings, cameraAngle, cameraAt, cameraBlur, cameraFilter, cameraSamples, cameraTrack, cameraTransform, centreOf, checkShot, convertColorSpace, createFrameRate, createLottieEase, createMotionPath, cutsHalfway, easeInOutCubic, easeProgress, effectGone, effectOpacity, evaluateBehavior, evaluateKeyframeSegment, expandReplicator, exportCmx3600Edl, exportFcp7Xml, exportLottie, exportMotn, formatTimecode, fractalWiggle, frame, framesToSMPTE, framesToTimecode, getColorGradingGLSL, getDropFrameCount, getGlslBlendFunction, getOklabGLSL, getTimecodeBase, getTransitionGLSL, getWhiteBalanceGains, hash64, holdTime, interpolateOklab, interpolateOklch, isAngled, isDeleteCommand, isElementCommand, isUpdateCommand, linearRgbToSrgb, linearSrgbToOklab, linearToSrgb, loopTime, mixSeeds, motionBlur, motionBlurAngle, moveBlur, noise1d, noise3d, oklabToLinearSrgb, oklabToOklch, oklabToSrgb, oklchToOklab, overlapArea, parseTimecode, pingPongTime, playScene, projectPoint, quinticFade, recordGif, registerThumbnail, reviewScene, sampleMotionPath, sampleMotionPathAtTime, sampleTransition, sceneStage, screenBox, setRigWidget, sharedThumbnailPool, shotMoveMs, shotView, simulateScene, smpteToFrames, solveBezierU, speedRampTime, srgbToLinear, srgbToLinearRgb, srgbToOklab, standaloneHtml, standaloneSceneHtml, strobeTime, substituteVariables, supportsDropFrame, timecodeToFrames, titleBox, touchedIds, transitionStrength, transitionView, unitFloat, validateScene, viewAt, visibleRect };
|
|
1675
|
+
export { ALL_BLEND_MODES, ALL_TRANSITION_TYPES, type AgentToolDefinition, type AscCdl, type BatchCommand, type BatchExecutionResult, type BatchExecutionStepResult, type Behavior, type BehaviorBase, type BlendMode, type BlockDissolveOptions, type BlurEffect, type BurstEffect, CAMERA_MS, CAMERA_STEPS, CAMERA_STEP_MS, CAMERA_TRANSITIONS, COMMON_FRAME_RATES, type CameraAngle, type CameraLens, type CameraSample, type CameraShot, type CameraTransition, type ClearCommand, Clock, type ColorRGB, type ColorRGBA, type ColorRgba, type ColorSpace, ControlValue, type CounterEffect, type CrossZoomOptions, type CustomCommand, DEFAULT_PERSPECTIVE, DEFAULT_STAGE, type DeleteCommand, type DynamicFraming, EASY_EASE, EFFECT_FADE_MS, EFFECT_TYPES, type EasingCurve, type EdlExportOptions, type Effect, type EffectBase, type ElementCommand, FLAIR_AGENT_TOOLS, type Fcp7ExportOptions, type FlowEffect, type FramingOptions, type GifOptions, type GlassWipeOptions, type GlowEffect, type GradientEffect, type GridWipeOptions, type HighlightEffect, type KeyframeEase, type LiftGammaGain, type LightLeakOptions, type LinearWipeOptions, type LottieAnimatable, type LottieAnimation, type LottieExportOptions, type LottieKeyframe, type LottieLayer, type LottieShapeItem, type LottieTransform, MAX_TILT, type MediaEffect, MemorySceneBoard, type MotnExportOptions, NO_CHECK, type OscillateBehavior, type OvershootBehavior, type PathWaypoint, type PlayOptions, type PlayResult, type Point, type PopupWidget, type RadialIrisOptions, type RampBehavior, type RateBehavior, type RationalFrameRate, type Rect, type ReplicatorConfig, type ReplicatorPattern, type ReplicatorSequence, type Review, type ReviewOptions, type RigWidget, type RippleEffect, type RunningEffect, SCROLL_SETTLE, SCROLL_SMOOTHING, SMALL_TEXT_PX, type SMPTEFields, type Scene, type SceneBoard, type SceneCommand, type SceneElement, type SceneIssue, type SceneMedia, type SceneOutline, type SceneOutlineShot, type SceneRig, type SceneToolResult, ScrollTracker, type ShimmerEffect, type Shot, type ShotCamera, type ShotCheck, type ShotLog, type ShotTiming, type SliderSnapshot, type SliderWidget, type SpatialMotionPath, type SpatialPathSample, type SpotlightEffect, type Stage, type StandaloneOptions, type StandardFrameRateKey, TRANSITION_BLUR, type ThrowBehavior, type ThumbnailHandle, ThumbnailPool, type ThumbnailPoolOptions, type TimerEffect, type ToggleWidget, type TransitionOptions, type TransitionSample, type TransitionType, type TwisterOptions, type UpdateCommand, type Vec2, type Vec3, type View, type WriggleBehavior, applyAscCdl, applyLiftGammaGain, applyRig, applySceneBatch, applySceneTool, applyVibrance, areaOf, between, bez1d, bez1dDerivative, blendRgba, blendTransitionPixel, boardHeight, boundsOf, calculateFramingRect, calculateShotTimings, cameraAngle, cameraAt, cameraBlur, cameraFilter, cameraSamples, cameraTrack, cameraTransform, centreOf, checkShot, convertColorSpace, createFrameRate, createLottieEase, createMotionPath, cutsHalfway, easeInOutCubic, easeProgress, effectGone, effectOpacity, evaluateBehavior, evaluateKeyframeSegment, expandReplicator, exportCmx3600Edl, exportFcp7Xml, exportLottie, exportMotn, formatTimecode, fractalWiggle, frame, framesToSMPTE, framesToTimecode, getColorGradingGLSL, getDropFrameCount, getGlslBlendFunction, getOklabGLSL, getTimecodeBase, getTransitionGLSL, getWhiteBalanceGains, hash64, holdTime, interpolateOklab, interpolateOklch, isAngled, isDeleteCommand, isElementCommand, isUpdateCommand, linearRgbToSrgb, linearSrgbToOklab, linearToSrgb, loopTime, mixSeeds, motionBlur, motionBlurAngle, moveBlur, noise1d, noise3d, oklabToLinearSrgb, oklabToOklch, oklabToSrgb, oklchToOklab, overlapArea, parseTimecode, pingPongTime, playScene, projectPoint, quinticFade, recordGif, registerThumbnail, reviewScene, sampleMotionPath, sampleMotionPathAtTime, sampleTransition, sceneStage, screenBox, setRigWidget, sharedThumbnailPool, shotMoveMs, shotView, simulateScene, smpteToFrames, solveBezierU, speedRampTime, srgbToLinear, srgbToLinearRgb, srgbToOklab, standaloneHtml, standaloneSceneHtml, strobeTime, substituteVariables, supportsDropFrame, timecodeToFrames, titleBox, touchedIds, transitionStrength, transitionView, unitFloat, validateScene, viewAt, viewportProgress, visibleRect };
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
standaloneHtml,
|
|
10
10
|
standaloneSceneHtml,
|
|
11
11
|
validateScene
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZULFHADW.js";
|
|
13
13
|
import {
|
|
14
14
|
calculateShotTimings,
|
|
15
15
|
createLottieEase,
|
|
@@ -114,46 +114,59 @@ import {
|
|
|
114
114
|
} from "./chunk-H6L67KHI.js";
|
|
115
115
|
import {
|
|
116
116
|
svgAnimatedMarkup
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-X3C2VFTM.js";
|
|
118
118
|
import {
|
|
119
119
|
parseViewBox,
|
|
120
120
|
svgFrameMarkup,
|
|
121
121
|
svgInlineLayout,
|
|
122
122
|
svgViewBox
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-AUH3PEFW.js";
|
|
124
124
|
import {
|
|
125
|
+
SCROLL_SETTLE,
|
|
126
|
+
SCROLL_SMOOTHING,
|
|
127
|
+
ScrollTracker,
|
|
125
128
|
ShaderFrames,
|
|
126
|
-
ShaderRenderer
|
|
127
|
-
|
|
129
|
+
ShaderRenderer,
|
|
130
|
+
viewportProgress
|
|
131
|
+
} from "./chunk-SMR2MJXB.js";
|
|
128
132
|
import {
|
|
133
|
+
AUDIO_BANDS,
|
|
134
|
+
AudioAnalysis,
|
|
129
135
|
BUILTIN_UNIFORMS,
|
|
130
136
|
HOVER_SECONDS,
|
|
131
137
|
ImageLoadError,
|
|
138
|
+
LiveAudio,
|
|
132
139
|
MAX_CLICKS,
|
|
133
140
|
MAX_TRAIL,
|
|
134
141
|
PointerTracker,
|
|
142
|
+
SPECTRUM_BINS,
|
|
135
143
|
SVG_EDGE,
|
|
136
144
|
ShaderCompileError,
|
|
137
145
|
TRAIL_SECONDS,
|
|
138
146
|
TextureCache,
|
|
139
147
|
VERTEX_SOURCE,
|
|
148
|
+
analyseAudioBuffer,
|
|
140
149
|
applyTextureSettings,
|
|
141
150
|
clicksUniform,
|
|
142
151
|
compileShader,
|
|
143
152
|
createContext,
|
|
144
153
|
drawFrame,
|
|
154
|
+
fft,
|
|
145
155
|
formatCompileError,
|
|
156
|
+
frequencyData,
|
|
146
157
|
isSvgUrl,
|
|
147
158
|
loadImage,
|
|
148
159
|
parseCompileLog,
|
|
149
160
|
preloadImages,
|
|
150
161
|
releaseImages,
|
|
151
162
|
resetGlCaches,
|
|
163
|
+
rmsLevel,
|
|
152
164
|
seekVideo,
|
|
165
|
+
sharedAudioContext,
|
|
153
166
|
sizeSvg,
|
|
154
167
|
trailUniform,
|
|
155
168
|
wrapSource
|
|
156
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-HDYBY3PQ.js";
|
|
157
170
|
import {
|
|
158
171
|
ALL_TRANSITION_TYPES,
|
|
159
172
|
blendTransitionPixel,
|
|
@@ -177,6 +190,7 @@ import {
|
|
|
177
190
|
import {
|
|
178
191
|
EASES,
|
|
179
192
|
SCRAMBLE_MS,
|
|
193
|
+
SCROLL_RANGE,
|
|
180
194
|
STEP_MS,
|
|
181
195
|
SVG_PICTURE,
|
|
182
196
|
SvgPlayer,
|
|
@@ -195,7 +209,7 @@ import {
|
|
|
195
209
|
svgOpeningTag,
|
|
196
210
|
svgView,
|
|
197
211
|
writtenText
|
|
198
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-DA4UUSDO.js";
|
|
199
213
|
import {
|
|
200
214
|
ManualClock,
|
|
201
215
|
jitter,
|
|
@@ -1189,6 +1203,8 @@ async function applySceneBatch(scene, commands) {
|
|
|
1189
1203
|
export {
|
|
1190
1204
|
ALL_BLEND_MODES,
|
|
1191
1205
|
ALL_TRANSITION_TYPES,
|
|
1206
|
+
AUDIO_BANDS,
|
|
1207
|
+
AudioAnalysis,
|
|
1192
1208
|
BUILTIN_UNIFORMS,
|
|
1193
1209
|
CAMERA_MS,
|
|
1194
1210
|
CAMERA_STEPS,
|
|
@@ -1204,6 +1220,7 @@ export {
|
|
|
1204
1220
|
FLAIR_AGENT_TOOLS,
|
|
1205
1221
|
HOVER_SECONDS,
|
|
1206
1222
|
ImageLoadError,
|
|
1223
|
+
LiveAudio,
|
|
1207
1224
|
MAX_CLICKS,
|
|
1208
1225
|
MAX_TILT,
|
|
1209
1226
|
MAX_TRAIL,
|
|
@@ -1212,10 +1229,15 @@ export {
|
|
|
1212
1229
|
NO_CHECK,
|
|
1213
1230
|
PointerTracker,
|
|
1214
1231
|
SCRAMBLE_MS,
|
|
1232
|
+
SCROLL_RANGE,
|
|
1233
|
+
SCROLL_SETTLE,
|
|
1234
|
+
SCROLL_SMOOTHING,
|
|
1215
1235
|
SMALL_TEXT_PX,
|
|
1236
|
+
SPECTRUM_BINS,
|
|
1216
1237
|
STEP_MS,
|
|
1217
1238
|
SVG_EDGE,
|
|
1218
1239
|
SVG_PICTURE,
|
|
1240
|
+
ScrollTracker,
|
|
1219
1241
|
ShaderCompileError,
|
|
1220
1242
|
ShaderFrames,
|
|
1221
1243
|
ShaderRenderer,
|
|
@@ -1225,6 +1247,7 @@ export {
|
|
|
1225
1247
|
TextureCache,
|
|
1226
1248
|
ThumbnailPool,
|
|
1227
1249
|
VERTEX_SOURCE,
|
|
1250
|
+
analyseAudioBuffer,
|
|
1228
1251
|
animateCount,
|
|
1229
1252
|
applyAscCdl,
|
|
1230
1253
|
applyLiftGammaGain,
|
|
@@ -1279,6 +1302,7 @@ export {
|
|
|
1279
1302
|
exportFcp7Xml,
|
|
1280
1303
|
exportLottie,
|
|
1281
1304
|
exportMotn,
|
|
1305
|
+
fft,
|
|
1282
1306
|
formatCompileError,
|
|
1283
1307
|
formatCount,
|
|
1284
1308
|
formatTimecode,
|
|
@@ -1287,6 +1311,7 @@ export {
|
|
|
1287
1311
|
frame,
|
|
1288
1312
|
framesToSMPTE,
|
|
1289
1313
|
framesToTimecode,
|
|
1314
|
+
frequencyData,
|
|
1290
1315
|
getColorGradingGLSL,
|
|
1291
1316
|
getDropFrameCount,
|
|
1292
1317
|
getGlslBlendFunction,
|
|
@@ -1349,6 +1374,7 @@ export {
|
|
|
1349
1374
|
resetGlCaches,
|
|
1350
1375
|
reviewScene,
|
|
1351
1376
|
rgbToHex,
|
|
1377
|
+
rmsLevel,
|
|
1352
1378
|
sampleMotionPath,
|
|
1353
1379
|
sampleMotionPathAtTime,
|
|
1354
1380
|
sampleTransition,
|
|
@@ -1356,6 +1382,7 @@ export {
|
|
|
1356
1382
|
screenBox,
|
|
1357
1383
|
seekVideo,
|
|
1358
1384
|
setRigWidget,
|
|
1385
|
+
sharedAudioContext,
|
|
1359
1386
|
sharedThumbnailPool,
|
|
1360
1387
|
shotMoveMs,
|
|
1361
1388
|
shotView,
|
|
@@ -1394,6 +1421,7 @@ export {
|
|
|
1394
1421
|
unitFloat,
|
|
1395
1422
|
validateScene,
|
|
1396
1423
|
viewAt,
|
|
1424
|
+
viewportProgress,
|
|
1397
1425
|
visibleRect,
|
|
1398
1426
|
wrapSource,
|
|
1399
1427
|
writtenText
|