@pixerate/editor 0.29.0 → 0.31.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/dist/animation/index.cjs +6 -2
- package/dist/animation/index.cjs.map +1 -1
- package/dist/animation/index.d.cts +2 -2
- package/dist/animation/index.d.ts +2 -2
- package/dist/animation/index.js +17 -13
- package/dist/canvas/index.cjs +618 -33
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +193 -9
- package/dist/canvas/index.d.ts +193 -9
- package/dist/canvas/index.js +603 -18
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-UB2OY7FD.js +262 -0
- package/dist/chunk-UB2OY7FD.js.map +1 -0
- package/dist/{chunk-PWJARCI4.js → chunk-W7BOBWZD.js} +5 -196
- package/dist/chunk-W7BOBWZD.js.map +1 -0
- package/dist/{chunk-TTYCN6ZH.cjs → chunk-XHRZSB77.cjs} +8 -199
- package/dist/chunk-XHRZSB77.cjs.map +1 -0
- package/dist/chunk-XZ4L3R4K.cjs +262 -0
- package/dist/chunk-XZ4L3R4K.cjs.map +1 -0
- package/dist/{easing-B6iAnJHk.d.cts → easing-DTmX99QG.d.cts} +20 -6
- package/dist/{easing-B6iAnJHk.d.ts → easing-DTmX99QG.d.ts} +20 -6
- package/dist/parameters/index.cjs +38 -1
- package/dist/parameters/index.cjs.map +1 -1
- package/dist/parameters/index.d.cts +32 -2
- package/dist/parameters/index.d.ts +32 -2
- package/dist/parameters/index.js +37 -0
- package/dist/parameters/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-PWJARCI4.js.map +0 -1
- package/dist/chunk-TTYCN6ZH.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/chunk-XZ4L3R4K.cjs","../src/animation/easing.ts"],"names":["s"],"mappings":"AAAA;AC6DO,IAAM,yBAAA,EAA6D;AAAA,EACzE,QAAA;AAAA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3R4K.cjs","sourcesContent":[null,"// Portions ported from filmcraft-main/crates/project/src/keyframe.rs (MIT OR Apache-2.0, © ArtCraft Team and contributors). See THIRD_PARTY_NOTICES.md.\n\n/**\n * Keyframe easing: the curve a segment follows from one keyframe to the next.\n *\n * - `hold` keeps the first keyframe's value until the next one (a step).\n * - `linear` and the CSS presets (`ease`, `ease-in`, `ease-out`, `ease-in-out`) are\n * CSS-compatible `cubic-bezier()` curves; `{ type: 'cubic-bezier', x1, y1, x2, y2 }` is any\n * such curve (x1 / y1 is the leaving keyframe's out handle, x2 / y2 the next one's in handle).\n * - `spring` is a damped spring settling on the next value (it may overshoot).\n */\n\n/** Named easing presets. */\nexport type AnimationEasingPreset =\n\t| 'linear'\n\t| 'hold'\n\t| 'ease'\n\t| 'ease-in'\n\t| 'ease-out'\n\t| 'ease-in-out'\n\t| 'ease-in-back'\n\t| 'ease-out-back'\n\t| 'ease-out-elastic'\n\t| 'ease-in-elastic'\n\t| 'ease-in-out-elastic'\n\t| 'elastic'\n\t| 'spring';\n\nexport interface CubicBezierEasing {\n\ttype: 'cubic-bezier';\n\tx1: number;\n\ty1: number;\n\tx2: number;\n\ty2: number;\n}\n\nexport interface SpringEasing {\n\ttype: 'spring';\n\t/** Spring stiffness (default 170). */\n\tstiffness?: number;\n\t/** Damping (default 26). */\n\tdamping?: number;\n\t/** Mass (default 1). */\n\tmass?: number;\n\t/** Initial velocity in units of the segment's value change per second (default 0). */\n\tvelocity?: number;\n}\n\nexport interface ElasticEasing {\n\ttype: 'elastic';\n\t/** Amplitude / overshoot factor (default 1). */\n\tamplitude?: number;\n\t/** Period of oscillation as a fraction of duration (default 0.3). */\n\tperiod?: number;\n\t/** Mode of elastic oscillation ('out' | 'in' | 'in-out', default 'out'). */\n\tmode?: 'out' | 'in' | 'in-out';\n}\n\nexport type AnimationEasing = AnimationEasingPreset | CubicBezierEasing | SpringEasing | ElasticEasing;\n\n/** Preset names, in picker order. */\nexport const ANIMATION_EASING_PRESETS: readonly AnimationEasingPreset[] = [\n\t'linear',\n\t'ease',\n\t'ease-in',\n\t'ease-out',\n\t'ease-in-out',\n\t'ease-in-back',\n\t'ease-out-back',\n\t'ease-out-elastic',\n\t'ease-in-elastic',\n\t'ease-in-out-elastic',\n\t'elastic',\n\t'spring',\n\t'hold'\n];\n\n/** Picker labels for the presets. */\nexport const ANIMATION_EASING_LABELS: Readonly<Record<AnimationEasingPreset, string>> = {\n\tlinear: 'Linear',\n\thold: 'Hold',\n\tease: 'Ease',\n\t'ease-in': 'Ease in',\n\t'ease-out': 'Ease out',\n\t'ease-in-out': 'Ease in-out',\n\t'ease-in-back': 'Back in',\n\t'ease-out-back': 'Back out',\n\t'ease-out-elastic': 'Elastic out',\n\t'ease-in-elastic': 'Elastic in',\n\t'ease-in-out-elastic': 'Elastic in-out',\n\telastic: 'Elastic',\n\tspring: 'Spring'\n};\n\n/** The CSS control points of the bezier presets (CSS Easing Functions Level 1 values for the CSS keywords). */\nexport const CUBIC_BEZIER_PRESETS: Readonly<Record<string, readonly [number, number, number, number]>> = {\n\tlinear: [0, 0, 1, 1],\n\tease: [0.25, 0.1, 0.25, 1],\n\t'ease-in': [0.42, 0, 1, 1],\n\t'ease-out': [0, 0, 0.58, 1],\n\t'ease-in-out': [0.42, 0, 0.58, 1],\n\t'ease-in-back': [0.36, 0, 0.66, -0.56],\n\t'ease-out-back': [0.34, 1.56, 0.64, 1]\n};\n\nconst DEFAULT_SPRING = { stiffness: 170, damping: 26, mass: 1, velocity: 0 };\nconst DEFAULT_ELASTIC = { amplitude: 1, period: 0.3, mode: 'out' as const };\n\nconst clamp = (v: number, lo: number, hi: number) => Math.min(hi, Math.max(lo, v));\nconst finite = (v: unknown, fallback: number) => (typeof v === 'number' && Number.isFinite(v) ? v : fallback);\n\n/**\n * Normalised position for a parametric elastic oscillation curve (as used in Rive and Penner curves).\n * Amplitude controls the overshoot intensity; period controls the wave frequency across normalized progress `t` (0–1).\n */\nexport function elasticAt(elastic: Omit<ElasticEasing, 'type'>, t: number): number {\n\tif (t <= 0) return 0;\n\tif (t >= 1) return 1;\n\n\tconst a = Math.max(1e-6, finite(elastic.amplitude, DEFAULT_ELASTIC.amplitude));\n\tconst p = Math.max(1e-6, finite(elastic.period, DEFAULT_ELASTIC.period));\n\tconst mode = elastic.mode ?? 'out';\n\n\tconst TAU = 2 * Math.PI;\n\n\tconst solveOut = (u: number, amp: number, per: number) => {\n\t\tconst s = amp < 1 ? per / 4 : (per / TAU) * Math.asin(1 / amp);\n\t\treturn amp * Math.pow(2, -10 * u) * Math.sin(((u - s) * TAU) / per) + 1;\n\t};\n\n\tconst solveIn = (u: number, amp: number, per: number) => {\n\t\tconst s = amp < 1 ? per / 4 : (per / TAU) * Math.asin(1 / amp);\n\t\tconst adjusted = u - 1;\n\t\treturn -(amp * Math.pow(2, 10 * adjusted) * Math.sin(((adjusted - s) * TAU) / per));\n\t};\n\n\tif (mode === 'in') {\n\t\treturn solveIn(t, a, p);\n\t}\n\tif (mode === 'in-out') {\n\t\tif (t < 0.5) {\n\t\t\treturn 0.5 * solveIn(t * 2, a, p);\n\t\t}\n\t\treturn 0.5 + 0.5 * solveOut((t - 0.5) * 2, a, p);\n\t}\n\treturn solveOut(t, a, p);\n}\n\n/**\n * Solves a CSS `cubic-bezier(x1, y1, x2, y2)` for y at progress x (Newton steps with a\n * bisection fallback). x1 / x2 are clamped to 0–1 as CSS requires.\n */\nexport function cubicBezierAt(x1: number, y1: number, x2: number, y2: number, x: number): number {\n\tif (x <= 0) return 0;\n\tif (x >= 1) return 1;\n\tx1 = clamp(x1, 0, 1);\n\tx2 = clamp(x2, 0, 1);\n\tconst bx = (s: number) => 3 * (1 - s) * (1 - s) * s * x1 + 3 * (1 - s) * s * s * x2 + s * s * s;\n\tconst by = (s: number) => 3 * (1 - s) * (1 - s) * s * y1 + 3 * (1 - s) * s * s * y2 + s * s * s;\n\tconst dbx = (s: number) => 3 * (1 - s) * (1 - s) * x1 + 6 * (1 - s) * s * (x2 - x1) + 3 * s * s * (1 - x2);\n\tlet s = x;\n\tfor (let i = 0; i < 8; i++) {\n\t\tconst d = dbx(s);\n\t\tif (Math.abs(d) < 1e-9) break;\n\t\tconst next = s - (bx(s) - x) / d;\n\t\tif (!(next >= 0 && next <= 1)) break;\n\t\ts = next;\n\t}\n\tif (Math.abs(bx(s) - x) > 1e-7) {\n\t\tlet lo = 0;\n\t\tlet hi = 1;\n\t\tfor (let i = 0; i < 60; i++) {\n\t\t\ts = (lo + hi) / 2;\n\t\t\tif (bx(s) < x) lo = s;\n\t\t\telse hi = s;\n\t\t}\n\t}\n\treturn by(s);\n}\n\n/**\n * Normalised position of a damped spring released from 0 towards 1, `seconds` after release.\n * Closed form for under-, critically and over-damped springs.\n */\nexport function springAt(spring: Omit<SpringEasing, 'type'>, seconds: number): number {\n\tconst stiffness = Math.max(1e-6, finite(spring.stiffness, DEFAULT_SPRING.stiffness));\n\tconst damping = Math.max(0, finite(spring.damping, DEFAULT_SPRING.damping));\n\tconst mass = Math.max(1e-6, finite(spring.mass, DEFAULT_SPRING.mass));\n\tconst v0 = -finite(spring.velocity, DEFAULT_SPRING.velocity);\n\tconst t = Math.max(0, seconds);\n\tconst w0 = Math.sqrt(stiffness / mass);\n\tconst zeta = damping / (2 * Math.sqrt(stiffness * mass));\n\t// x(t) is the displacement from the target (starts at 1); progress = 1 - x.\n\tlet x: number;\n\tif (zeta < 1 - 1e-6) {\n\t\tconst wd = w0 * Math.sqrt(1 - zeta * zeta);\n\t\tx = Math.exp(-zeta * w0 * t) * (Math.cos(wd * t) + ((zeta * w0 + v0) / wd) * Math.sin(wd * t));\n\t} else if (zeta <= 1 + 1e-6) {\n\t\tx = Math.exp(-w0 * t) * (1 + (w0 + v0) * t);\n\t} else {\n\t\tconst r = Math.sqrt(zeta * zeta - 1);\n\t\tconst s1 = -w0 * (zeta - r);\n\t\tconst s2 = -w0 * (zeta + r);\n\t\tconst c2 = (v0 - s1) / (s2 - s1);\n\t\tconst c1 = 1 - c2;\n\t\tx = c1 * Math.exp(s1 * t) + c2 * Math.exp(s2 * t);\n\t}\n\treturn 1 - x;\n}\n\n/** Resolves an easing to a cubic-bezier, spring, elastic or hold descriptor (unknown input → linear). */\nexport function resolveEasing(\n\teasing: AnimationEasing | string | undefined | null\n): CubicBezierEasing | Required<SpringEasing> | Required<ElasticEasing> | 'hold' {\n\tif (easing === 'hold') return 'hold';\n\tif (easing === 'spring') return { type: 'spring', ...DEFAULT_SPRING };\n\tif (easing === 'elastic' || easing === 'ease-out-elastic') {\n\t\treturn { type: 'elastic', ...DEFAULT_ELASTIC, mode: 'out' };\n\t}\n\tif (easing === 'ease-in-elastic') {\n\t\treturn { type: 'elastic', ...DEFAULT_ELASTIC, mode: 'in' };\n\t}\n\tif (easing === 'ease-in-out-elastic') {\n\t\treturn { type: 'elastic', ...DEFAULT_ELASTIC, mode: 'in-out' };\n\t}\n\tif (typeof easing === 'string') {\n\t\tconst preset = CUBIC_BEZIER_PRESETS[easing];\n\t\tif (preset) return { type: 'cubic-bezier', x1: preset[0], y1: preset[1], x2: preset[2], y2: preset[3] };\n\t\tconst parsed = parseCssEasing(easing);\n\t\treturn parsed ? resolveEasing(parsed) : { type: 'cubic-bezier', x1: 0, y1: 0, x2: 1, y2: 1 };\n\t}\n\tif (easing && typeof easing === 'object') {\n\t\tif (easing.type === 'spring') {\n\t\t\treturn {\n\t\t\t\ttype: 'spring',\n\t\t\t\tstiffness: finite(easing.stiffness, DEFAULT_SPRING.stiffness),\n\t\t\t\tdamping: finite(easing.damping, DEFAULT_SPRING.damping),\n\t\t\t\tmass: finite(easing.mass, DEFAULT_SPRING.mass),\n\t\t\t\tvelocity: finite(easing.velocity, DEFAULT_SPRING.velocity)\n\t\t\t};\n\t\t}\n\t\tif (easing.type === 'elastic') {\n\t\t\treturn {\n\t\t\t\ttype: 'elastic',\n\t\t\t\tamplitude: finite(easing.amplitude, DEFAULT_ELASTIC.amplitude),\n\t\t\t\tperiod: finite(easing.period, DEFAULT_ELASTIC.period),\n\t\t\t\tmode: easing.mode === 'in' || easing.mode === 'in-out' ? easing.mode : 'out'\n\t\t\t};\n\t\t}\n\t\tif (easing.type === 'cubic-bezier') {\n\t\t\treturn {\n\t\t\t\ttype: 'cubic-bezier',\n\t\t\t\tx1: clamp(finite(easing.x1, 0), 0, 1),\n\t\t\t\ty1: finite(easing.y1, 0),\n\t\t\t\tx2: clamp(finite(easing.x2, 1), 0, 1),\n\t\t\t\ty2: finite(easing.y2, 1)\n\t\t\t};\n\t\t}\n\t}\n\treturn { type: 'cubic-bezier', x1: 0, y1: 0, x2: 1, y2: 1 };\n}\n\n/**\n * Eased progress for linear progress `u` (0–1) through a segment lasting `durationMs`\n * (springs depend on real time; other curves ignore it). `hold` returns 0 until `u` reaches 1.\n */\nexport function evaluateEasing(easing: AnimationEasing | string | undefined | null, u: number, durationMs = 1000): number {\n\tif (!(u > 0)) return 0;\n\tif (u >= 1) return 1;\n\tconst resolved = resolveEasing(easing);\n\tif (resolved === 'hold') return 0;\n\tif (resolved.type === 'spring') return springAt(resolved, (u * Math.max(0, durationMs)) / 1000);\n\tif (resolved.type === 'elastic') return elasticAt(resolved, u);\n\tconst { x1, y1, x2, y2 } = resolved;\n\tif (x1 === y1 && x2 === y2) return u; // linear\n\treturn cubicBezierAt(x1, y1, x2, y2, u);\n}\n\n/**\n * The easing filmcraft (and Premiere) derive from temporal \"influence\" handles: flat handles of\n * the given influences (0.01–1, default 1/3) on the leaving and arriving keyframe.\n */\nexport function easingFromInfluence(outInfluence = 1 / 3, inInfluence = 1 / 3): CubicBezierEasing {\n\treturn {\n\t\ttype: 'cubic-bezier',\n\t\tx1: clamp(outInfluence, 0.01, 1),\n\t\ty1: 0,\n\t\tx2: 1 - clamp(inInfluence, 0.01, 1),\n\t\ty2: 1\n\t};\n}\n\nconst NUMBER = String.raw`\\s*(-?(?:\\d+\\.?\\d*|\\.\\d+)(?:e[-+]?\\d+)?)\\s*`;\nconst CUBIC_RE = new RegExp(`^cubic-bezier\\\\(${NUMBER},${NUMBER},${NUMBER},${NUMBER}\\\\)$`, 'i');\n\n/**\n * Parses a CSS easing (`linear`, `ease…`, `cubic-bezier(…)`, `steps(1, end)` / `step-end` →\n * hold) or a preset name. Returns `null` for anything else.\n */\nexport function parseCssEasing(text: string): AnimationEasing | null {\n\tconst value = text.trim().toLowerCase();\n\tif (value.length > 200) return null;\n\tif ((ANIMATION_EASING_PRESETS as readonly string[]).includes(value)) return value as AnimationEasingPreset;\n\tif (value === 'step-end' || /^steps\\(\\s*1\\s*(,\\s*(end|jump-end)\\s*)?\\)$/.test(value)) return 'hold';\n\tconst m = CUBIC_RE.exec(value);\n\tif (!m) return null;\n\tconst [x1, y1, x2, y2] = m.slice(1).map(Number);\n\tif (![x1, y1, x2, y2].every(Number.isFinite) || x1 < 0 || x1 > 1 || x2 < 0 || x2 > 1) return null;\n\treturn { type: 'cubic-bezier', x1, y1, x2, y2 };\n}\n\n/** Whether a value is a usable easing (preset name, CSS easing string or descriptor). */\nexport function isAnimationEasing(value: unknown): value is AnimationEasing {\n\tif (typeof value === 'string') return parseCssEasing(value) !== null;\n\tif (typeof value !== 'object' || value === null) return false;\n\tconst e = value as Record<string, unknown>;\n\tif (e.type === 'spring') return true;\n\tif (e.type === 'elastic') return true;\n\treturn e.type === 'cubic-bezier' && [e.x1, e.y1, e.x2, e.y2].every((v) => typeof v === 'number' && Number.isFinite(v));\n}\n\nconst round = (v: number, digits = 4) => {\n\tconst p = 10 ** digits;\n\treturn Math.round(v * p) / p;\n};\n\n/**\n * The CSS `animation-timing-function` for an easing: a keyword or `cubic-bezier()`,\n * `steps(1, end)` for hold, and a sampled `linear(…)` for springs over `durationMs`.\n */\nexport function easingToCss(easing: AnimationEasing | string | undefined | null, durationMs = 1000, samples = 24): string {\n\tconst resolved = resolveEasing(easing);\n\tif (resolved === 'hold') return 'steps(1, end)';\n\tif (resolved.type === 'spring') {\n\t\tconst n = Math.max(2, Math.floor(samples));\n\t\tconst points: string[] = [];\n\t\tfor (let i = 0; i <= n; i++) points.push(String(round(i === n ? 1 : springAt(resolved, ((i / n) * durationMs) / 1000))));\n\t\treturn `linear(${points.join(', ')})`;\n\t}\n\tif (resolved.type === 'elastic') {\n\t\tconst n = Math.max(2, Math.floor(samples));\n\t\tconst points: string[] = [];\n\t\tfor (let i = 0; i <= n; i++) points.push(String(round(i === n ? 1 : elasticAt(resolved, i / n))));\n\t\treturn `linear(${points.join(', ')})`;\n\t}\n\tconst { x1, y1, x2, y2 } = resolved;\n\tfor (const [name, p] of Object.entries(CUBIC_BEZIER_PRESETS)) {\n\t\tif (['linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out'].includes(name) && p[0] === x1 && p[1] === y1 && p[2] === x2 && p[3] === y2) {\n\t\t\treturn name;\n\t\t}\n\t}\n\treturn `cubic-bezier(${round(x1)}, ${round(y1)}, ${round(x2)}, ${round(y2)})`;\n}\n\n/** Short label for an easing (a preset's label, or `Custom` / `Spring` / `Elastic`). */\nexport function easingLabel(easing: AnimationEasing | undefined | null): string {\n\tif (easing === undefined || easing === null) return ANIMATION_EASING_LABELS.linear;\n\tif (typeof easing === 'string') return ANIMATION_EASING_LABELS[easing as AnimationEasingPreset] ?? easing;\n\tif (easing.type === 'spring') return 'Spring';\n\tif (easing.type === 'elastic') return 'Elastic';\n\treturn 'Custom';\n}\n"]}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - `spring` is a damped spring settling on the next value (it may overshoot).
|
|
9
9
|
*/
|
|
10
10
|
/** Named easing presets. */
|
|
11
|
-
type AnimationEasingPreset = 'linear' | 'hold' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'ease-in-back' | 'ease-out-back' | 'spring';
|
|
11
|
+
type AnimationEasingPreset = 'linear' | 'hold' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'ease-in-back' | 'ease-out-back' | 'ease-out-elastic' | 'ease-in-elastic' | 'ease-in-out-elastic' | 'elastic' | 'spring';
|
|
12
12
|
interface CubicBezierEasing {
|
|
13
13
|
type: 'cubic-bezier';
|
|
14
14
|
x1: number;
|
|
@@ -27,13 +27,27 @@ interface SpringEasing {
|
|
|
27
27
|
/** Initial velocity in units of the segment's value change per second (default 0). */
|
|
28
28
|
velocity?: number;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
interface ElasticEasing {
|
|
31
|
+
type: 'elastic';
|
|
32
|
+
/** Amplitude / overshoot factor (default 1). */
|
|
33
|
+
amplitude?: number;
|
|
34
|
+
/** Period of oscillation as a fraction of duration (default 0.3). */
|
|
35
|
+
period?: number;
|
|
36
|
+
/** Mode of elastic oscillation ('out' | 'in' | 'in-out', default 'out'). */
|
|
37
|
+
mode?: 'out' | 'in' | 'in-out';
|
|
38
|
+
}
|
|
39
|
+
type AnimationEasing = AnimationEasingPreset | CubicBezierEasing | SpringEasing | ElasticEasing;
|
|
31
40
|
/** Preset names, in picker order. */
|
|
32
41
|
declare const ANIMATION_EASING_PRESETS: readonly AnimationEasingPreset[];
|
|
33
42
|
/** Picker labels for the presets. */
|
|
34
43
|
declare const ANIMATION_EASING_LABELS: Readonly<Record<AnimationEasingPreset, string>>;
|
|
35
44
|
/** The CSS control points of the bezier presets (CSS Easing Functions Level 1 values for the CSS keywords). */
|
|
36
45
|
declare const CUBIC_BEZIER_PRESETS: Readonly<Record<string, readonly [number, number, number, number]>>;
|
|
46
|
+
/**
|
|
47
|
+
* Normalised position for a parametric elastic oscillation curve (as used in Rive and Penner curves).
|
|
48
|
+
* Amplitude controls the overshoot intensity; period controls the wave frequency across normalized progress `t` (0–1).
|
|
49
|
+
*/
|
|
50
|
+
declare function elasticAt(elastic: Omit<ElasticEasing, 'type'>, t: number): number;
|
|
37
51
|
/**
|
|
38
52
|
* Solves a CSS `cubic-bezier(x1, y1, x2, y2)` for y at progress x (Newton steps with a
|
|
39
53
|
* bisection fallback). x1 / x2 are clamped to 0–1 as CSS requires.
|
|
@@ -44,8 +58,8 @@ declare function cubicBezierAt(x1: number, y1: number, x2: number, y2: number, x
|
|
|
44
58
|
* Closed form for under-, critically and over-damped springs.
|
|
45
59
|
*/
|
|
46
60
|
declare function springAt(spring: Omit<SpringEasing, 'type'>, seconds: number): number;
|
|
47
|
-
/** Resolves an easing to a cubic-bezier, spring or hold descriptor (unknown input → linear). */
|
|
48
|
-
declare function resolveEasing(easing: AnimationEasing | string | undefined | null): CubicBezierEasing | Required<SpringEasing> | 'hold';
|
|
61
|
+
/** Resolves an easing to a cubic-bezier, spring, elastic or hold descriptor (unknown input → linear). */
|
|
62
|
+
declare function resolveEasing(easing: AnimationEasing | string | undefined | null): CubicBezierEasing | Required<SpringEasing> | Required<ElasticEasing> | 'hold';
|
|
49
63
|
/**
|
|
50
64
|
* Eased progress for linear progress `u` (0–1) through a segment lasting `durationMs`
|
|
51
65
|
* (springs depend on real time; other curves ignore it). `hold` returns 0 until `u` reaches 1.
|
|
@@ -68,7 +82,7 @@ declare function isAnimationEasing(value: unknown): value is AnimationEasing;
|
|
|
68
82
|
* `steps(1, end)` for hold, and a sampled `linear(…)` for springs over `durationMs`.
|
|
69
83
|
*/
|
|
70
84
|
declare function easingToCss(easing: AnimationEasing | string | undefined | null, durationMs?: number, samples?: number): string;
|
|
71
|
-
/** Short label for an easing (a preset's label, or `Custom` / `Spring`). */
|
|
85
|
+
/** Short label for an easing (a preset's label, or `Custom` / `Spring` / `Elastic`). */
|
|
72
86
|
declare function easingLabel(easing: AnimationEasing | undefined | null): string;
|
|
73
87
|
|
|
74
|
-
export { type AnimationEasing as A, CUBIC_BEZIER_PRESETS as C, type SpringEasing as S, ANIMATION_EASING_LABELS as a, ANIMATION_EASING_PRESETS as b, type AnimationEasingPreset as c, type CubicBezierEasing as d, cubicBezierAt as e, easingFromInfluence as f, easingLabel as g, easingToCss as h,
|
|
88
|
+
export { type AnimationEasing as A, CUBIC_BEZIER_PRESETS as C, type ElasticEasing as E, type SpringEasing as S, ANIMATION_EASING_LABELS as a, ANIMATION_EASING_PRESETS as b, type AnimationEasingPreset as c, type CubicBezierEasing as d, cubicBezierAt as e, easingFromInfluence as f, easingLabel as g, easingToCss as h, elasticAt as i, evaluateEasing as j, isAnimationEasing as k, parseCssEasing as p, resolveEasing as r, springAt as s };
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - `spring` is a damped spring settling on the next value (it may overshoot).
|
|
9
9
|
*/
|
|
10
10
|
/** Named easing presets. */
|
|
11
|
-
type AnimationEasingPreset = 'linear' | 'hold' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'ease-in-back' | 'ease-out-back' | 'spring';
|
|
11
|
+
type AnimationEasingPreset = 'linear' | 'hold' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'ease-in-back' | 'ease-out-back' | 'ease-out-elastic' | 'ease-in-elastic' | 'ease-in-out-elastic' | 'elastic' | 'spring';
|
|
12
12
|
interface CubicBezierEasing {
|
|
13
13
|
type: 'cubic-bezier';
|
|
14
14
|
x1: number;
|
|
@@ -27,13 +27,27 @@ interface SpringEasing {
|
|
|
27
27
|
/** Initial velocity in units of the segment's value change per second (default 0). */
|
|
28
28
|
velocity?: number;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
interface ElasticEasing {
|
|
31
|
+
type: 'elastic';
|
|
32
|
+
/** Amplitude / overshoot factor (default 1). */
|
|
33
|
+
amplitude?: number;
|
|
34
|
+
/** Period of oscillation as a fraction of duration (default 0.3). */
|
|
35
|
+
period?: number;
|
|
36
|
+
/** Mode of elastic oscillation ('out' | 'in' | 'in-out', default 'out'). */
|
|
37
|
+
mode?: 'out' | 'in' | 'in-out';
|
|
38
|
+
}
|
|
39
|
+
type AnimationEasing = AnimationEasingPreset | CubicBezierEasing | SpringEasing | ElasticEasing;
|
|
31
40
|
/** Preset names, in picker order. */
|
|
32
41
|
declare const ANIMATION_EASING_PRESETS: readonly AnimationEasingPreset[];
|
|
33
42
|
/** Picker labels for the presets. */
|
|
34
43
|
declare const ANIMATION_EASING_LABELS: Readonly<Record<AnimationEasingPreset, string>>;
|
|
35
44
|
/** The CSS control points of the bezier presets (CSS Easing Functions Level 1 values for the CSS keywords). */
|
|
36
45
|
declare const CUBIC_BEZIER_PRESETS: Readonly<Record<string, readonly [number, number, number, number]>>;
|
|
46
|
+
/**
|
|
47
|
+
* Normalised position for a parametric elastic oscillation curve (as used in Rive and Penner curves).
|
|
48
|
+
* Amplitude controls the overshoot intensity; period controls the wave frequency across normalized progress `t` (0–1).
|
|
49
|
+
*/
|
|
50
|
+
declare function elasticAt(elastic: Omit<ElasticEasing, 'type'>, t: number): number;
|
|
37
51
|
/**
|
|
38
52
|
* Solves a CSS `cubic-bezier(x1, y1, x2, y2)` for y at progress x (Newton steps with a
|
|
39
53
|
* bisection fallback). x1 / x2 are clamped to 0–1 as CSS requires.
|
|
@@ -44,8 +58,8 @@ declare function cubicBezierAt(x1: number, y1: number, x2: number, y2: number, x
|
|
|
44
58
|
* Closed form for under-, critically and over-damped springs.
|
|
45
59
|
*/
|
|
46
60
|
declare function springAt(spring: Omit<SpringEasing, 'type'>, seconds: number): number;
|
|
47
|
-
/** Resolves an easing to a cubic-bezier, spring or hold descriptor (unknown input → linear). */
|
|
48
|
-
declare function resolveEasing(easing: AnimationEasing | string | undefined | null): CubicBezierEasing | Required<SpringEasing> | 'hold';
|
|
61
|
+
/** Resolves an easing to a cubic-bezier, spring, elastic or hold descriptor (unknown input → linear). */
|
|
62
|
+
declare function resolveEasing(easing: AnimationEasing | string | undefined | null): CubicBezierEasing | Required<SpringEasing> | Required<ElasticEasing> | 'hold';
|
|
49
63
|
/**
|
|
50
64
|
* Eased progress for linear progress `u` (0–1) through a segment lasting `durationMs`
|
|
51
65
|
* (springs depend on real time; other curves ignore it). `hold` returns 0 until `u` reaches 1.
|
|
@@ -68,7 +82,7 @@ declare function isAnimationEasing(value: unknown): value is AnimationEasing;
|
|
|
68
82
|
* `steps(1, end)` for hold, and a sampled `linear(…)` for springs over `durationMs`.
|
|
69
83
|
*/
|
|
70
84
|
declare function easingToCss(easing: AnimationEasing | string | undefined | null, durationMs?: number, samples?: number): string;
|
|
71
|
-
/** Short label for an easing (a preset's label, or `Custom` / `Spring`). */
|
|
85
|
+
/** Short label for an easing (a preset's label, or `Custom` / `Spring` / `Elastic`). */
|
|
72
86
|
declare function easingLabel(easing: AnimationEasing | undefined | null): string;
|
|
73
87
|
|
|
74
|
-
export { type AnimationEasing as A, CUBIC_BEZIER_PRESETS as C, type SpringEasing as S, ANIMATION_EASING_LABELS as a, ANIMATION_EASING_PRESETS as b, type AnimationEasingPreset as c, type CubicBezierEasing as d, cubicBezierAt as e, easingFromInfluence as f, easingLabel as g, easingToCss as h,
|
|
88
|
+
export { type AnimationEasing as A, CUBIC_BEZIER_PRESETS as C, type ElasticEasing as E, type SpringEasing as S, ANIMATION_EASING_LABELS as a, ANIMATION_EASING_PRESETS as b, type AnimationEasingPreset as c, type CubicBezierEasing as d, cubicBezierAt as e, easingFromInfluence as f, easingLabel as g, easingToCss as h, elasticAt as i, evaluateEasing as j, isAnimationEasing as k, parseCssEasing as p, resolveEasing as r, springAt as s };
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var _chunkQKLRAA4Tcjs = require('../chunk-QKLRAA4T.cjs');
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
var _chunkXZ4L3R4Kcjs = require('../chunk-XZ4L3R4K.cjs');
|
|
7
|
+
|
|
5
8
|
// src/parameters/schema.ts
|
|
6
9
|
function humanizeParameterId(id) {
|
|
7
10
|
const words = id.replace(/^u(?=[A-Z])/, "").replace(/[_-]+/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").trim().toLowerCase();
|
|
@@ -1234,6 +1237,40 @@ function parameterValueFromShaderControl(control, value) {
|
|
|
1234
1237
|
return value;
|
|
1235
1238
|
}
|
|
1236
1239
|
|
|
1240
|
+
// src/parameters/rangeMapper.ts
|
|
1241
|
+
function createRangeMapper(options = {}) {
|
|
1242
|
+
const [inMin, inMax] = _nullishCoalesce(options.from, () => ( [0, 1]));
|
|
1243
|
+
const [outMin, outMax] = _nullishCoalesce(options.to, () => ( [0, 1]));
|
|
1244
|
+
const shouldClamp = _nullishCoalesce(options.clamp, () => ( true));
|
|
1245
|
+
const easing = options.easing;
|
|
1246
|
+
const inSpan = inMax - inMin;
|
|
1247
|
+
const outSpan = outMax - outMin;
|
|
1248
|
+
return function map(value) {
|
|
1249
|
+
if (!Number.isFinite(value)) return outMin;
|
|
1250
|
+
if (Math.abs(inSpan) < 1e-12) {
|
|
1251
|
+
return outMin;
|
|
1252
|
+
}
|
|
1253
|
+
let normalized = (value - inMin) / inSpan;
|
|
1254
|
+
if (shouldClamp) {
|
|
1255
|
+
normalized = Math.min(1, Math.max(0, normalized));
|
|
1256
|
+
}
|
|
1257
|
+
let progress = normalized;
|
|
1258
|
+
if (easing !== void 0 && easing !== null) {
|
|
1259
|
+
if (typeof easing === "function") {
|
|
1260
|
+
progress = easing(normalized);
|
|
1261
|
+
} else {
|
|
1262
|
+
progress = _chunkXZ4L3R4Kcjs.evaluateEasing.call(void 0, easing, normalized);
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
return outMin + progress * outSpan;
|
|
1266
|
+
};
|
|
1267
|
+
}
|
|
1268
|
+
function mapRange(value, from, to, options) {
|
|
1269
|
+
return createRangeMapper({ from, to, ...options })(value);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
|
|
1237
1274
|
|
|
1238
1275
|
|
|
1239
1276
|
|
|
@@ -1279,5 +1316,5 @@ function parameterValueFromShaderControl(control, value) {
|
|
|
1279
1316
|
|
|
1280
1317
|
|
|
1281
1318
|
|
|
1282
|
-
exports.PARAMETER_KEY_TOLERANCE = PARAMETER_KEY_TOLERANCE; exports.ParameterSchemaError = ParameterSchemaError; exports.ParametersController = ParametersController; exports.checkParameterSchema = checkParameterSchema; exports.choiceOptionLabel = choiceOptionLabel; exports.clampParameterNumber = clampParameterNumber; exports.cloneValue = cloneValue; exports.coerceParameterValue = coerceParameterValue; exports.createParameterCommands = createParameterCommands; exports.createParameterKeyframeStore = createParameterKeyframeStore; exports.createParametersController = createParametersController; exports.evaluateParameterCondition = evaluateParameterCondition; exports.findParameterKeyframe = findParameterKeyframe; exports.formatParameterNumber = formatParameterNumber; exports.formatParameterValue = formatParameterValue; exports.getChoiceOptions = getChoiceOptions; exports.getParameterDefaults = getParameterDefaults; exports.getParameterFields = getParameterFields; exports.getParameterGroups = getParameterGroups; exports.getParameterKeyState = getParameterKeyState; exports.getParameterVisibility = getParameterVisibility; exports.hexToRgba01 = hexToRgba01; exports.humanizeParameterId = humanizeParameterId; exports.isParameterGroup = isParameterGroup; exports.isSliderField = isSliderField; exports.normalizeHexColor = normalizeHexColor; exports.parameterDecimals = parameterDecimals; exports.parameterFieldFromShaderControl = parameterFieldFromShaderControl; exports.parameterFieldToJsonSchema = parameterFieldToJsonSchema; exports.parameterLabel = parameterLabel; exports.parameterSchemaFromShaderControls = parameterSchemaFromShaderControls; exports.parameterSchemaToJsonSchema = parameterSchemaToJsonSchema; exports.parameterStep = parameterStep; exports.parameterValueFromShaderControl = parameterValueFromShaderControl; exports.parameterValuesEqual = parameterValuesEqual; exports.parseParameterNumberInput = parseParameterNumberInput; exports.rgba01ToHex = rgba01ToHex; exports.seededRandom = seededRandom; exports.shaderControlValue = shaderControlValue; exports.validateParameterValue = validateParameterValue; exports.validateParameterValues = validateParameterValues; exports.vectorComponentField = vectorComponentField; exports.vectorSize = vectorSize; exports.withParameterKeyframe = withParameterKeyframe; exports.withoutParameterKeyframe = withoutParameterKeyframe;
|
|
1319
|
+
exports.PARAMETER_KEY_TOLERANCE = PARAMETER_KEY_TOLERANCE; exports.ParameterSchemaError = ParameterSchemaError; exports.ParametersController = ParametersController; exports.checkParameterSchema = checkParameterSchema; exports.choiceOptionLabel = choiceOptionLabel; exports.clampParameterNumber = clampParameterNumber; exports.cloneValue = cloneValue; exports.coerceParameterValue = coerceParameterValue; exports.createParameterCommands = createParameterCommands; exports.createParameterKeyframeStore = createParameterKeyframeStore; exports.createParametersController = createParametersController; exports.createRangeMapper = createRangeMapper; exports.evaluateParameterCondition = evaluateParameterCondition; exports.findParameterKeyframe = findParameterKeyframe; exports.formatParameterNumber = formatParameterNumber; exports.formatParameterValue = formatParameterValue; exports.getChoiceOptions = getChoiceOptions; exports.getParameterDefaults = getParameterDefaults; exports.getParameterFields = getParameterFields; exports.getParameterGroups = getParameterGroups; exports.getParameterKeyState = getParameterKeyState; exports.getParameterVisibility = getParameterVisibility; exports.hexToRgba01 = hexToRgba01; exports.humanizeParameterId = humanizeParameterId; exports.isParameterGroup = isParameterGroup; exports.isSliderField = isSliderField; exports.mapRange = mapRange; exports.normalizeHexColor = normalizeHexColor; exports.parameterDecimals = parameterDecimals; exports.parameterFieldFromShaderControl = parameterFieldFromShaderControl; exports.parameterFieldToJsonSchema = parameterFieldToJsonSchema; exports.parameterLabel = parameterLabel; exports.parameterSchemaFromShaderControls = parameterSchemaFromShaderControls; exports.parameterSchemaToJsonSchema = parameterSchemaToJsonSchema; exports.parameterStep = parameterStep; exports.parameterValueFromShaderControl = parameterValueFromShaderControl; exports.parameterValuesEqual = parameterValuesEqual; exports.parseParameterNumberInput = parseParameterNumberInput; exports.rgba01ToHex = rgba01ToHex; exports.seededRandom = seededRandom; exports.shaderControlValue = shaderControlValue; exports.validateParameterValue = validateParameterValue; exports.validateParameterValues = validateParameterValues; exports.vectorComponentField = vectorComponentField; exports.vectorSize = vectorSize; exports.withParameterKeyframe = withParameterKeyframe; exports.withoutParameterKeyframe = withoutParameterKeyframe;
|
|
1283
1320
|
//# sourceMappingURL=index.cjs.map
|