@pixerate/editor 0.138.0 → 0.139.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.
Files changed (70) hide show
  1. package/dist/animation-editor/index.cjs +55 -55
  2. package/dist/animation-editor/index.d.cts +5 -4
  3. package/dist/animation-editor/index.d.ts +5 -4
  4. package/dist/animation-editor/index.js +2 -2
  5. package/dist/{bezier-DPmdGwgR.d.ts → bezier-B6cK8SR6.d.ts} +1 -1
  6. package/dist/{bezier-CUaH8hcK.d.cts → bezier-CEJ8Uw4O.d.cts} +1 -1
  7. package/dist/{grain-GCt_O2kv.d.cts → blending-D7jCmjO6.d.cts} +1 -58
  8. package/dist/{grain-COgYMMHv.d.ts → blending-NgF3qo3d.d.ts} +1 -58
  9. package/dist/{brushes-B1ABdDAs.d.ts → brushes-CQpL7_Lc.d.ts} +2 -1
  10. package/dist/{brushes-DnIdJYxN.d.cts → brushes-aEnjqoji.d.cts} +2 -1
  11. package/dist/canvas/index.d.cts +8 -7
  12. package/dist/canvas/index.d.ts +8 -7
  13. package/dist/{chunk-7MN75BXI.cjs → chunk-3QHPFSQM.cjs} +36 -36
  14. package/dist/{chunk-7MN75BXI.cjs.map → chunk-3QHPFSQM.cjs.map} +1 -1
  15. package/dist/{chunk-OV7253FC.js → chunk-NI6RORDS.js} +2 -2
  16. package/dist/{chunk-CM3LJPR3.cjs → chunk-PMEHFHSP.cjs} +82 -82
  17. package/dist/{chunk-CM3LJPR3.cjs.map → chunk-PMEHFHSP.cjs.map} +1 -1
  18. package/dist/{chunk-QBARQGSG.js → chunk-QEIN6JQO.js} +2 -2
  19. package/dist/{chunk-V45ZTW4R.js → chunk-TJBYBSTN.js} +49 -4
  20. package/dist/chunk-TJBYBSTN.js.map +1 -0
  21. package/dist/{chunk-SXOTFV3V.cjs → chunk-XFXHA5MU.cjs} +50 -5
  22. package/dist/chunk-XFXHA5MU.cjs.map +1 -0
  23. package/dist/effects/index.d.cts +5 -4
  24. package/dist/effects/index.d.ts +5 -4
  25. package/dist/{export-BwFRiItd.d.ts → export-0ZaTK__4.d.ts} +5 -5
  26. package/dist/{export-41rL6Cne.d.ts → export-C45v6MYq.d.ts} +1 -1
  27. package/dist/{export-DuN3dpCg.d.cts → export-D-7WCDJ9.d.cts} +5 -5
  28. package/dist/{export-D9mXp05Q.d.cts → export-DSdCfd6O.d.cts} +1 -1
  29. package/dist/grain-BWmGZxP4.d.cts +58 -0
  30. package/dist/grain-BWmGZxP4.d.ts +58 -0
  31. package/dist/{helpers-v6GMazzg.d.cts → helpers-Cavy1TB7.d.cts} +21 -1
  32. package/dist/{helpers-C-RgeyvH.d.ts → helpers-LZQ4cpg4.d.ts} +21 -1
  33. package/dist/image-editor/index.cjs +614 -614
  34. package/dist/image-editor/index.d.cts +12 -11
  35. package/dist/image-editor/index.d.ts +12 -11
  36. package/dist/image-editor/index.js +2 -2
  37. package/dist/{opentype-n99lqxEZ.d.cts → opentype-BpIJhGpj.d.cts} +1 -1
  38. package/dist/{opentype-T7bkbR2D.d.ts → opentype-CyxDScVz.d.ts} +1 -1
  39. package/dist/paint/index.d.cts +6 -4
  40. package/dist/paint/index.d.ts +6 -4
  41. package/dist/paint-editor/index.cjs +7 -7
  42. package/dist/paint-editor/index.d.cts +13 -11
  43. package/dist/paint-editor/index.d.ts +13 -11
  44. package/dist/paint-editor/index.js +2 -2
  45. package/dist/{pathfinder-CQlldanv.d.cts → pathfinder-BMQEcS0k.d.cts} +1 -1
  46. package/dist/{pathfinder-D-V6JLSw.d.ts → pathfinder-CQIxubuP.d.ts} +1 -1
  47. package/dist/{pool-CZQOrSXZ.d.ts → pool-Cynuj89K.d.ts} +1 -1
  48. package/dist/{pool-FjZZmZ80.d.cts → pool-DedjxDKo.d.cts} +1 -1
  49. package/dist/{rand-DJGxSq9d.d.ts → rand-COS4_E1g.d.ts} +1 -1
  50. package/dist/{rand-D7nfeD1p.d.cts → rand-D1JqpR-p.d.cts} +1 -1
  51. package/dist/{svg-DPJMUSNt.d.cts → svg-RcixtBFR.d.cts} +2 -2
  52. package/dist/{svg-CnDCpIy9.d.ts → svg-nWBJEpnk.d.ts} +2 -2
  53. package/dist/{tools-Ca0kI1qo.d.cts → tools-CL82d7nw.d.cts} +1 -1
  54. package/dist/{tools-B0wXP5cF.d.ts → tools-DrxgDnXY.d.ts} +1 -1
  55. package/dist/vector/index.cjs +994 -954
  56. package/dist/vector/index.cjs.map +1 -1
  57. package/dist/vector/index.d.cts +44 -18
  58. package/dist/vector/index.d.ts +44 -18
  59. package/dist/vector/index.js +54 -14
  60. package/dist/vector/index.js.map +1 -1
  61. package/dist/video-editor/index.d.cts +5 -4
  62. package/dist/video-editor/index.d.ts +5 -4
  63. package/dist/{warp-C7rMWUgW.d.cts → warp-CHi_P_G6.d.cts} +1 -1
  64. package/dist/{warp-Doasjpyr.d.ts → warp-CPaHULUL.d.ts} +1 -1
  65. package/package.json +1 -1
  66. package/skills/pixerate-vector/SKILL.md +4 -2
  67. package/dist/chunk-SXOTFV3V.cjs.map +0 -1
  68. package/dist/chunk-V45ZTW4R.js.map +0 -1
  69. /package/dist/{chunk-OV7253FC.js.map → chunk-NI6RORDS.js.map} +0 -0
  70. /package/dist/{chunk-QBARQGSG.js.map → chunk-QEIN6JQO.js.map} +0 -0
@@ -1,15 +1,16 @@
1
- import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-v6GMazzg.cjs';
2
- export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-v6GMazzg.cjs';
1
+ import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-Cavy1TB7.cjs';
2
+ export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-Cavy1TB7.cjs';
3
3
  import { S as SchemaValidationError, J as JsonSchema } from '../schema-Di0CS6Pe.cjs';
4
- export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-Ca0kI1qo.cjs';
4
+ export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-CL82d7nw.cjs';
5
5
  import { P as ParameterField, a as ParameterValue } from '../types-DMcf_z4J.cjs';
6
- export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-FjZZmZ80.cjs';
6
+ export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-DedjxDKo.cjs';
7
7
  import '../evaluate-BsxYieLN.cjs';
8
8
  import '../easing-lM0Xo9Ni.cjs';
9
9
  import '../provenance-DmlcgdzT.cjs';
10
10
  import '../sourcemap-C8AH3MBQ.cjs';
11
11
  import '../tokens-D7yXvUU6.cjs';
12
12
  import '../types-CwMPoRMU.cjs';
13
+ import '../grain-BWmGZxP4.cjs';
13
14
  import '../registry-BqA1AZt0.cjs';
14
15
 
15
16
  type EffectErrorCode = 'unknown_effect' | 'invalid_values' | 'unsupported' | 'disposed' | 'no_provider';
@@ -1,15 +1,16 @@
1
- import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-C-RgeyvH.js';
2
- export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-C-RgeyvH.js';
1
+ import { E as EffectProvider, d as EffectProviderCapabilities, a as EffectRenderRequest, c as EffectUse, e as EffectValue, f as EffectDescription, b as EffectPixels, g as EffectSummary } from '../helpers-LZQ4cpg4.js';
2
+ export { h as EFFECT_KINDS, i as EFFECT_USES, j as EffectControlSchema, k as EffectImageSource, l as EffectInputSpec, m as EffectKind, n as EffectPreset, o as EffectRenderer, p as EffectRendererOptions, q as EffectSearchOptions, r as EffectSvgAnimation, s as EffectValues, t as EffectVectorMotion, u as EffectVectorTarget, v as EffectsSlot, w as applyEffectMask, x as createEffectPixels, y as effectValueErrors, z as encodeEffectFloat, A as isEffectPixels, B as linearToSrgb, D as resolveEffectValues, F as searchEffectSummaries, G as srgbToLinear } from '../helpers-LZQ4cpg4.js';
3
3
  import { S as SchemaValidationError, J as JsonSchema } from '../schema-Di0CS6Pe.js';
4
- export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-B0wXP5cF.js';
4
+ export { A as AppliedEffectInfo, E as EffectChangeResult, a as EffectTargetEffects, b as EffectToolContext, c as EffectToolHost, d as createEffectToolProvider } from '../tools-DrxgDnXY.js';
5
5
  import { P as ParameterField, a as ParameterValue } from '../types-D3-J3TFf.js';
6
- export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-CZQOrSXZ.js';
6
+ export { E as EffectRendererPool, a as EffectRendererPoolOptions } from '../pool-Cynuj89K.js';
7
7
  import '../evaluate-BbCeF6pt.js';
8
8
  import '../easing-lM0Xo9Ni.js';
9
9
  import '../provenance-uh5r2TQ8.js';
10
10
  import '../sourcemap-DA1Evhrv.js';
11
11
  import '../tokens-D7yXvUU6.js';
12
12
  import '../types-CwMPoRMU.js';
13
+ import '../grain-BWmGZxP4.js';
13
14
  import '../registry-D-4fit9C.js';
14
15
 
15
16
  type EffectErrorCode = 'unknown_effect' | 'invalid_values' | 'unsupported' | 'disposed' | 'no_provider';
@@ -2,11 +2,11 @@ import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as
2
2
  import { c as PixelSurface, a as BlendMode, T as TiledSurface, R as RasterRect } from './surface-1MRncXpF.js';
3
3
  import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.js';
4
4
  import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2, H as Homography } from './types-CwMPoRMU.js';
5
- import { B as BezierPath } from './bezier-DPmdGwgR.js';
6
- import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-Doasjpyr.js';
7
- import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-C-RgeyvH.js';
8
- import { B as BrushSettings, f as PaintSource, M as MixerSettings, h as MixerLoad, i as StrokeCoverage, j as MixerTarget, k as MixerStroke, S as StrokePoint, C as CoverageMap, a as PaintTileTarget, l as StrokeApply } from './grain-COgYMMHv.js';
9
- import { R as RetouchSettings, C as CloneTransform, a as RetouchApply, b as RetouchPaint } from './rand-DJGxSq9d.js';
5
+ import { B as BezierPath } from './bezier-B6cK8SR6.js';
6
+ import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-CPaHULUL.js';
7
+ import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-LZQ4cpg4.js';
8
+ import { B as BrushSettings, e as PaintSource, M as MixerSettings, g as MixerLoad, h as StrokeCoverage, i as MixerTarget, j as MixerStroke, S as StrokePoint, C as CoverageMap, P as PaintTileTarget, k as StrokeApply } from './blending-NgF3qo3d.js';
9
+ import { R as RetouchSettings, C as CloneTransform, a as RetouchApply, b as RetouchPaint } from './rand-COS4_E1g.js';
10
10
 
11
11
  /**
12
12
  * A selection: one 8-bit coverage value per image pixel (0 = not selected, 255 = fully
@@ -1,4 +1,4 @@
1
- import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-C-RgeyvH.js';
1
+ import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-LZQ4cpg4.js';
2
2
 
3
3
  /**
4
4
  * Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
@@ -2,11 +2,11 @@ import { a2 as RasterLayerBase, a3 as RasterMask$1, a5 as RasterPixelLayer, H as
2
2
  import { c as PixelSurface, a as BlendMode, T as TiledSurface, R as RasterRect } from './surface-1MRncXpF.cjs';
3
3
  import { b as BuiltinProfileId, j as Intent, P as Profile, T as Transform, d as ColorSpace } from './builtin-CY97ppKM.cjs';
4
4
  import { A as AffineMatrix, Q as Quad, a as WarpMesh, V as Vec2, H as Homography } from './types-CwMPoRMU.cjs';
5
- import { B as BezierPath } from './bezier-CUaH8hcK.cjs';
6
- import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-C7rMWUgW.cjs';
7
- import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-v6GMazzg.cjs';
8
- import { B as BrushSettings, f as PaintSource, M as MixerSettings, h as MixerLoad, i as StrokeCoverage, j as MixerTarget, k as MixerStroke, S as StrokePoint, C as CoverageMap, a as PaintTileTarget, l as StrokeApply } from './grain-GCt_O2kv.cjs';
9
- import { R as RetouchSettings, C as CloneTransform, a as RetouchApply, b as RetouchPaint } from './rand-D7nfeD1p.cjs';
5
+ import { B as BezierPath } from './bezier-CEJ8Uw4O.cjs';
6
+ import { b as TextRun, P as ParagraphRun, T as TextShaper, c as ParagraphStyle, d as TextStyle, L as LaidFragment, W as WarpPreset, e as TextLayout } from './warp-CHi_P_G6.cjs';
7
+ import { e as EffectValue, a3 as VectorSubpath, v as EffectsSlot, E as EffectProvider, b as EffectPixels, f as EffectDescription, X as Vec2$1 } from './helpers-Cavy1TB7.cjs';
8
+ import { B as BrushSettings, e as PaintSource, M as MixerSettings, g as MixerLoad, h as StrokeCoverage, i as MixerTarget, j as MixerStroke, S as StrokePoint, C as CoverageMap, P as PaintTileTarget, k as StrokeApply } from './blending-D7jCmjO6.cjs';
9
+ import { R as RetouchSettings, C as CloneTransform, a as RetouchApply, b as RetouchPaint } from './rand-D1JqpR-p.cjs';
10
10
 
11
11
  /**
12
12
  * A selection: one 8-bit coverage value per image pixel (0 = not selected, 255 = fully
@@ -1,4 +1,4 @@
1
- import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-v6GMazzg.cjs';
1
+ import { e as EffectValue, v as EffectsSlot, b as EffectPixels, E as EffectProvider, f as EffectDescription } from './helpers-Cavy1TB7.cjs';
2
2
 
3
3
  /**
4
4
  * Keyframes for a clip's opacity, volume and transform. A property is either a plain number or
@@ -0,0 +1,58 @@
1
+ /** Grain generators. Each is our own procedural pattern (no scanned textures). */
2
+ type GrainPattern = 'smooth' | 'cold-pressed' | 'hot-pressed' | 'rough' | 'vellum' | 'laid' | 'ingres' | 'sanded' | 'canvas' | 'linen' | 'gesso';
3
+ declare const GRAIN_PATTERNS: readonly GrainPattern[];
4
+ /** How a height map is tuned for one kind of media. */
5
+ interface GrainTuning {
6
+ /** Height contrast around the middle, 0..3 (default 1). */
7
+ contrast: number;
8
+ /** Swap peaks and valleys (default false). */
9
+ invert: boolean;
10
+ }
11
+ type PaperTiling = 'repeat' | 'mirror';
12
+ /** What a `PaperGrain` reads from a paper (the paint editor's `PaperSettings` has it all). */
13
+ interface PaperGrainSettings {
14
+ pattern: GrainPattern;
15
+ /** Grain seed: another seed gives another sheet of the same paper. */
16
+ seed: number;
17
+ /** Grain scale: 1 is the pattern's natural size, 2 twice as coarse. */
18
+ scale: number;
19
+ tiling: PaperTiling;
20
+ dry: GrainTuning;
21
+ wet: GrainTuning;
22
+ }
23
+ /** Side of the generated grain tile in pixels (at scale 1). */
24
+ declare const GRAIN_TILE = 256;
25
+ /** The raw height map of a pattern (`GRAIN_TILE` square, 0..1), generated once per pattern and seed. */
26
+ declare function grainHeights(pattern: GrainPattern, seed: number, size?: number): Float32Array;
27
+ /**
28
+ * A paper's height field over the canvas (document pixels), tuned for one kind of media. Read it
29
+ * with `at(x, y)`: bilinear, tiled by `paper.tiling`, at `paper.scale`.
30
+ */
31
+ declare class PaperGrain {
32
+ readonly size = 256;
33
+ private readonly heights;
34
+ private readonly scale;
35
+ private readonly mirror;
36
+ readonly flat: boolean;
37
+ constructor(paper: PaperGrainSettings, media?: 'dry' | 'wet');
38
+ /** Tile cell index for a coordinate in grain pixels (mirrored on odd tiles when mirroring). */
39
+ private wrap;
40
+ /** Height 0..1 at document position (x, y). */
41
+ at(x: number, y: number): number;
42
+ }
43
+ /**
44
+ * How much of a dry dab lands at grain height `h` (0..1): the media catches the peaks first, and
45
+ * pressure pushes it into the valleys. `depth` is the paper's grain depth times the brush's grain
46
+ * response; at 0 everything lands (1).
47
+ */
48
+ declare function grainCatch(h: number, depth: number, pressure: number): number;
49
+ /**
50
+ * How much of a finished standalone stroke stays at grain height `h` (0..1): `renderBrushstroke`
51
+ * applies it once to the whole stroke's coverage. Unlike `grainCatch` (applied dab by dab while a
52
+ * painter goes over the paper, and filling the valleys at full pressure), it keeps texture at full
53
+ * pressure, which is all a mouse reports: the valleys lose up to `depth × (1.4 − 0.6 × pressure)`
54
+ * of the paint, the peaks keep it all.
55
+ */
56
+ declare function strokeGrainCatch(h: number, depth: number, pressure: number): number;
57
+
58
+ export { type GrainPattern as G, PaperGrain as P, type PaperTiling as a, type GrainTuning as b, GRAIN_PATTERNS as c, GRAIN_TILE as d, type PaperGrainSettings as e, grainHeights as f, grainCatch as g, strokeGrainCatch as s };
@@ -0,0 +1,58 @@
1
+ /** Grain generators. Each is our own procedural pattern (no scanned textures). */
2
+ type GrainPattern = 'smooth' | 'cold-pressed' | 'hot-pressed' | 'rough' | 'vellum' | 'laid' | 'ingres' | 'sanded' | 'canvas' | 'linen' | 'gesso';
3
+ declare const GRAIN_PATTERNS: readonly GrainPattern[];
4
+ /** How a height map is tuned for one kind of media. */
5
+ interface GrainTuning {
6
+ /** Height contrast around the middle, 0..3 (default 1). */
7
+ contrast: number;
8
+ /** Swap peaks and valleys (default false). */
9
+ invert: boolean;
10
+ }
11
+ type PaperTiling = 'repeat' | 'mirror';
12
+ /** What a `PaperGrain` reads from a paper (the paint editor's `PaperSettings` has it all). */
13
+ interface PaperGrainSettings {
14
+ pattern: GrainPattern;
15
+ /** Grain seed: another seed gives another sheet of the same paper. */
16
+ seed: number;
17
+ /** Grain scale: 1 is the pattern's natural size, 2 twice as coarse. */
18
+ scale: number;
19
+ tiling: PaperTiling;
20
+ dry: GrainTuning;
21
+ wet: GrainTuning;
22
+ }
23
+ /** Side of the generated grain tile in pixels (at scale 1). */
24
+ declare const GRAIN_TILE = 256;
25
+ /** The raw height map of a pattern (`GRAIN_TILE` square, 0..1), generated once per pattern and seed. */
26
+ declare function grainHeights(pattern: GrainPattern, seed: number, size?: number): Float32Array;
27
+ /**
28
+ * A paper's height field over the canvas (document pixels), tuned for one kind of media. Read it
29
+ * with `at(x, y)`: bilinear, tiled by `paper.tiling`, at `paper.scale`.
30
+ */
31
+ declare class PaperGrain {
32
+ readonly size = 256;
33
+ private readonly heights;
34
+ private readonly scale;
35
+ private readonly mirror;
36
+ readonly flat: boolean;
37
+ constructor(paper: PaperGrainSettings, media?: 'dry' | 'wet');
38
+ /** Tile cell index for a coordinate in grain pixels (mirrored on odd tiles when mirroring). */
39
+ private wrap;
40
+ /** Height 0..1 at document position (x, y). */
41
+ at(x: number, y: number): number;
42
+ }
43
+ /**
44
+ * How much of a dry dab lands at grain height `h` (0..1): the media catches the peaks first, and
45
+ * pressure pushes it into the valleys. `depth` is the paper's grain depth times the brush's grain
46
+ * response; at 0 everything lands (1).
47
+ */
48
+ declare function grainCatch(h: number, depth: number, pressure: number): number;
49
+ /**
50
+ * How much of a finished standalone stroke stays at grain height `h` (0..1): `renderBrushstroke`
51
+ * applies it once to the whole stroke's coverage. Unlike `grainCatch` (applied dab by dab while a
52
+ * painter goes over the paper, and filling the valleys at full pressure), it keeps texture at full
53
+ * pressure, which is all a mouse reports: the valleys lose up to `depth × (1.4 − 0.6 × pressure)`
54
+ * of the paint, the peaks keep it all.
55
+ */
56
+ declare function strokeGrainCatch(h: number, depth: number, pressure: number): number;
57
+
58
+ export { type GrainPattern as G, PaperGrain as P, type PaperTiling as a, type GrainTuning as b, GRAIN_PATTERNS as c, GRAIN_TILE as d, type PaperGrainSettings as e, grainHeights as f, grainCatch as g, strokeGrainCatch as s };
@@ -3,6 +3,7 @@ import { f as MotionBehavior, b as AnimationLoopMode } from './evaluate-BsxYieLN
3
3
  import { b as AnimationEasing } from './easing-lM0Xo9Ni.cjs';
4
4
  import { G as GenerationProvenance } from './provenance-DmlcgdzT.cjs';
5
5
  import { W as WarpStyle, a as WarpMesh } from './types-CwMPoRMU.cjs';
6
+ import { G as GrainPattern } from './grain-BWmGZxP4.cjs';
6
7
 
7
8
  /**
8
9
  * Export to Flair (`@pixerate/flair`): a scene becomes an `SvgMotion` (one SVG plus a list of
@@ -692,15 +693,34 @@ type VectorStrokeSettings = Pick<VectorStyle, 'strokeWidth' | 'strokeLinecap' |
692
693
  * listed to agents, and skipped when drawing and hit-testing.
693
694
  */
694
695
  type VectorStrokeLayerKind = 'paint' | 'brushstroke';
696
+ /**
697
+ * The paper a seeded brushstroke's grain comes from (`VectorBrushstroke.paper`, all optional): a
698
+ * grain pattern (default `sanded`), its seed (default 1), scale (1 is the pattern's natural size,
699
+ * 0.25–8) and depth 0–1 (default 0.5, times the brush's own grain response).
700
+ */
701
+ interface VectorBrushstrokePaper {
702
+ pattern?: GrainPattern;
703
+ seed?: number;
704
+ scale?: number;
705
+ depth?: number;
706
+ }
695
707
  /**
696
708
  * A brushstroke stroke layer's brush (`VectorStrokeLayer.brush`): a brush from the paint editor's
697
709
  * library by id, its size in document units (default the brush's own), and an optional pressure
698
710
  * profile along the path's length (values 0–1 spread evenly from start to end).
711
+ *
712
+ * With a `seed` the brush renders with its character: seeded size, angle, opacity and scatter
713
+ * jitter, and the grain of `paper` (default the sanded grain; `null` for none). Without a seed it
714
+ * renders plain dabs, as before, and `paper` is ignored.
699
715
  */
700
716
  interface VectorBrushstroke {
701
717
  brushId: string;
702
718
  size?: number;
703
719
  pressure?: number[];
720
+ /** Jitter seed, an integer 0–2147483647. Turns the brush's character on. */
721
+ seed?: number;
722
+ /** The paper the grain comes from (with `seed`); `null` for no grain. */
723
+ paper?: VectorBrushstrokePaper | null;
704
724
  }
705
725
  /** One stroke of a path's stroke stack (`VectorStyle.strokes`): a paint plus its own stroke settings. */
706
726
  interface VectorStrokeLayer extends VectorPaintLayer, VectorStrokeSettings {
@@ -2184,4 +2204,4 @@ declare class EffectsSlot {
2184
2204
  subscribe(listener: (provider: EffectProvider | null) => void): () => void;
2185
2205
  }
2186
2206
 
2187
- export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorMeshGradient as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorPerspectivePlane as bO, type VectorModifiers as bP, type VectorProviderEffect as bQ, type VectorBrushstroke as bR, type VectorBlendMode as bS, type VectorAlign as bT, type VectorDistribute as bU, type VectorArrange as bV, type VectorMaskType as bW, type VectorSymmetryMode as bX, type VectorSymmetry as bY, type VectorPerspective as bZ, type VectorFreeformPoint as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, isCanvasGradient as c$, type VectorFreeformGradient as c0, type VectorArrowhead as c1, type VectorLens as c2, type VectorResizing as c3, type VectorFrame as c4, type VectorHorizontalResizing as c5, type VectorVerticalResizing as c6, type VectorMask as c7, type VectorAverageAxis as c8, type VectorSymbol as c9, VECTOR_LENS_TYPES as cA, VECTOR_MASK_TYPES as cB, VECTOR_MERGE_MODES as cC, VECTOR_PATHFINDER_OPERATIONS as cD, VECTOR_PATH_TEXT_BASELINES as cE, VECTOR_PERSPECTIVE_PLANES as cF, VECTOR_STROKE_GRADIENT_MODES as cG, VECTOR_SYMMETRY_MODES as cH, VECTOR_TEXT_ALIGNS as cI, VECTOR_TOOLS as cJ, VECTOR_TRANSFORM_HANDLES as cK, VECTOR_VERTICAL_RESIZING as cL, type VectorCorner as cM, type VectorGeomRef as cN, type VectorLineCap as cO, type VectorPathTextBaseline as cP, type VectorStrokeLayerKind as cQ, type VectorTextRunStyle as cR, type VectorWarpStyle as cS, CANVAS_GRADIENT_PRESETS as cT, type CanvasLinearGradient as cU, type CanvasRadialGradient as cV, type GradientStop as cW, PIXERATE_BRAND_GRADIENT as cX, type SvgGradientStop as cY, angleToSvgLinearCoords as cZ, gradientToSvgDef as c_, type VectorParameter as ca, type VectorStrokeLayer as cb, type VectorBlendSpacing as cc, type VectorGradientInterpolation as cd, type VectorStrokeGradientMode as ce, type VectorArrowAlign as cf, type VectorPaintLayer as cg, type VectorBlend as ch, type VectorMergeMode as ci, type VectorLineJoin as cj, type VectorLensType as ck, type VectorStrokeSettings as cl, type VectorInstanceOverrides as cm, VECTOR_ARROWHEADS as cn, VECTOR_BLEND_MODES as co, VECTOR_BLEND_SPACINGS as cp, VECTOR_CONNECTOR_ROUTES as cq, VECTOR_CONNECTOR_SIDES as cr, VECTOR_CONSTRAINT_KINDS as cs, VECTOR_CORNER_KINDS as ct, VECTOR_EFFECT_TYPES as cu, VECTOR_FILTER_TYPES as cv, VECTOR_GRADIENT_INTERPOLATIONS as cw, VECTOR_GRADIENT_SPREADS as cx, VECTOR_GRADIENT_TYPES as cy, VECTOR_HORIZONTAL_RESIZING as cz, type EffectProviderCapabilities as d, parseCssGradient as d0, resolveCanvasGradient as d1, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };
2207
+ export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorFreeformPoint as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorPerspectivePlane as bO, type VectorModifiers as bP, type VectorProviderEffect as bQ, type VectorBrushstroke as bR, type VectorBrushstrokePaper as bS, type VectorBlendMode as bT, type VectorAlign as bU, type VectorDistribute as bV, type VectorArrange as bW, type VectorMaskType as bX, type VectorSymmetryMode as bY, type VectorSymmetry as bZ, type VectorPerspective as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, gradientToSvgDef as c$, type VectorMeshGradient as c0, type VectorFreeformGradient as c1, type VectorArrowhead as c2, type VectorLens as c3, type VectorResizing as c4, type VectorFrame as c5, type VectorHorizontalResizing as c6, type VectorVerticalResizing as c7, type VectorMask as c8, type VectorAverageAxis as c9, VECTOR_HORIZONTAL_RESIZING as cA, VECTOR_LENS_TYPES as cB, VECTOR_MASK_TYPES as cC, VECTOR_MERGE_MODES as cD, VECTOR_PATHFINDER_OPERATIONS as cE, VECTOR_PATH_TEXT_BASELINES as cF, VECTOR_PERSPECTIVE_PLANES as cG, VECTOR_STROKE_GRADIENT_MODES as cH, VECTOR_SYMMETRY_MODES as cI, VECTOR_TEXT_ALIGNS as cJ, VECTOR_TOOLS as cK, VECTOR_TRANSFORM_HANDLES as cL, VECTOR_VERTICAL_RESIZING as cM, type VectorCorner as cN, type VectorGeomRef as cO, type VectorLineCap as cP, type VectorPathTextBaseline as cQ, type VectorStrokeLayerKind as cR, type VectorTextRunStyle as cS, type VectorWarpStyle as cT, CANVAS_GRADIENT_PRESETS as cU, type CanvasLinearGradient as cV, type CanvasRadialGradient as cW, type GradientStop as cX, PIXERATE_BRAND_GRADIENT as cY, type SvgGradientStop as cZ, angleToSvgLinearCoords as c_, type VectorSymbol as ca, type VectorParameter as cb, type VectorStrokeLayer as cc, type VectorBlendSpacing as cd, type VectorGradientInterpolation as ce, type VectorStrokeGradientMode as cf, type VectorArrowAlign as cg, type VectorPaintLayer as ch, type VectorBlend as ci, type VectorMergeMode as cj, type VectorLineJoin as ck, type VectorLensType as cl, type VectorStrokeSettings as cm, type VectorInstanceOverrides as cn, VECTOR_ARROWHEADS as co, VECTOR_BLEND_MODES as cp, VECTOR_BLEND_SPACINGS as cq, VECTOR_CONNECTOR_ROUTES as cr, VECTOR_CONNECTOR_SIDES as cs, VECTOR_CONSTRAINT_KINDS as ct, VECTOR_CORNER_KINDS as cu, VECTOR_EFFECT_TYPES as cv, VECTOR_FILTER_TYPES as cw, VECTOR_GRADIENT_INTERPOLATIONS as cx, VECTOR_GRADIENT_SPREADS as cy, VECTOR_GRADIENT_TYPES as cz, type EffectProviderCapabilities as d, isCanvasGradient as d0, parseCssGradient as d1, resolveCanvasGradient as d2, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };
@@ -3,6 +3,7 @@ import { f as MotionBehavior, b as AnimationLoopMode } from './evaluate-BbCeF6pt
3
3
  import { b as AnimationEasing } from './easing-lM0Xo9Ni.js';
4
4
  import { G as GenerationProvenance } from './provenance-uh5r2TQ8.js';
5
5
  import { W as WarpStyle, a as WarpMesh } from './types-CwMPoRMU.js';
6
+ import { G as GrainPattern } from './grain-BWmGZxP4.js';
6
7
 
7
8
  /**
8
9
  * Export to Flair (`@pixerate/flair`): a scene becomes an `SvgMotion` (one SVG plus a list of
@@ -692,15 +693,34 @@ type VectorStrokeSettings = Pick<VectorStyle, 'strokeWidth' | 'strokeLinecap' |
692
693
  * listed to agents, and skipped when drawing and hit-testing.
693
694
  */
694
695
  type VectorStrokeLayerKind = 'paint' | 'brushstroke';
696
+ /**
697
+ * The paper a seeded brushstroke's grain comes from (`VectorBrushstroke.paper`, all optional): a
698
+ * grain pattern (default `sanded`), its seed (default 1), scale (1 is the pattern's natural size,
699
+ * 0.25–8) and depth 0–1 (default 0.5, times the brush's own grain response).
700
+ */
701
+ interface VectorBrushstrokePaper {
702
+ pattern?: GrainPattern;
703
+ seed?: number;
704
+ scale?: number;
705
+ depth?: number;
706
+ }
695
707
  /**
696
708
  * A brushstroke stroke layer's brush (`VectorStrokeLayer.brush`): a brush from the paint editor's
697
709
  * library by id, its size in document units (default the brush's own), and an optional pressure
698
710
  * profile along the path's length (values 0–1 spread evenly from start to end).
711
+ *
712
+ * With a `seed` the brush renders with its character: seeded size, angle, opacity and scatter
713
+ * jitter, and the grain of `paper` (default the sanded grain; `null` for none). Without a seed it
714
+ * renders plain dabs, as before, and `paper` is ignored.
699
715
  */
700
716
  interface VectorBrushstroke {
701
717
  brushId: string;
702
718
  size?: number;
703
719
  pressure?: number[];
720
+ /** Jitter seed, an integer 0–2147483647. Turns the brush's character on. */
721
+ seed?: number;
722
+ /** The paper the grain comes from (with `seed`); `null` for no grain. */
723
+ paper?: VectorBrushstrokePaper | null;
704
724
  }
705
725
  /** One stroke of a path's stroke stack (`VectorStyle.strokes`): a paint plus its own stroke settings. */
706
726
  interface VectorStrokeLayer extends VectorPaintLayer, VectorStrokeSettings {
@@ -2184,4 +2204,4 @@ declare class EffectsSlot {
2184
2204
  subscribe(listener: (provider: EffectProvider | null) => void): () => void;
2185
2205
  }
2186
2206
 
2187
- export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorMeshGradient as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorPerspectivePlane as bO, type VectorModifiers as bP, type VectorProviderEffect as bQ, type VectorBrushstroke as bR, type VectorBlendMode as bS, type VectorAlign as bT, type VectorDistribute as bU, type VectorArrange as bV, type VectorMaskType as bW, type VectorSymmetryMode as bX, type VectorSymmetry as bY, type VectorPerspective as bZ, type VectorFreeformPoint as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, isCanvasGradient as c$, type VectorFreeformGradient as c0, type VectorArrowhead as c1, type VectorLens as c2, type VectorResizing as c3, type VectorFrame as c4, type VectorHorizontalResizing as c5, type VectorVerticalResizing as c6, type VectorMask as c7, type VectorAverageAxis as c8, type VectorSymbol as c9, VECTOR_LENS_TYPES as cA, VECTOR_MASK_TYPES as cB, VECTOR_MERGE_MODES as cC, VECTOR_PATHFINDER_OPERATIONS as cD, VECTOR_PATH_TEXT_BASELINES as cE, VECTOR_PERSPECTIVE_PLANES as cF, VECTOR_STROKE_GRADIENT_MODES as cG, VECTOR_SYMMETRY_MODES as cH, VECTOR_TEXT_ALIGNS as cI, VECTOR_TOOLS as cJ, VECTOR_TRANSFORM_HANDLES as cK, VECTOR_VERTICAL_RESIZING as cL, type VectorCorner as cM, type VectorGeomRef as cN, type VectorLineCap as cO, type VectorPathTextBaseline as cP, type VectorStrokeLayerKind as cQ, type VectorTextRunStyle as cR, type VectorWarpStyle as cS, CANVAS_GRADIENT_PRESETS as cT, type CanvasLinearGradient as cU, type CanvasRadialGradient as cV, type GradientStop as cW, PIXERATE_BRAND_GRADIENT as cX, type SvgGradientStop as cY, angleToSvgLinearCoords as cZ, gradientToSvgDef as c_, type VectorParameter as ca, type VectorStrokeLayer as cb, type VectorBlendSpacing as cc, type VectorGradientInterpolation as cd, type VectorStrokeGradientMode as ce, type VectorArrowAlign as cf, type VectorPaintLayer as cg, type VectorBlend as ch, type VectorMergeMode as ci, type VectorLineJoin as cj, type VectorLensType as ck, type VectorStrokeSettings as cl, type VectorInstanceOverrides as cm, VECTOR_ARROWHEADS as cn, VECTOR_BLEND_MODES as co, VECTOR_BLEND_SPACINGS as cp, VECTOR_CONNECTOR_ROUTES as cq, VECTOR_CONNECTOR_SIDES as cr, VECTOR_CONSTRAINT_KINDS as cs, VECTOR_CORNER_KINDS as ct, VECTOR_EFFECT_TYPES as cu, VECTOR_FILTER_TYPES as cv, VECTOR_GRADIENT_INTERPOLATIONS as cw, VECTOR_GRADIENT_SPREADS as cx, VECTOR_GRADIENT_TYPES as cy, VECTOR_HORIZONTAL_RESIZING as cz, type EffectProviderCapabilities as d, parseCssGradient as d0, resolveCanvasGradient as d1, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };
2207
+ export { type VectorPaint as $, isEffectPixels as A, linearToSrgb as B, type CanvasGradientDef as C, resolveEffectValues as D, type EffectProvider as E, searchEffectSummaries as F, srgbToLinear as G, type VectorEffectParamsMap as H, type VectorPathNode as I, type VectorFillRule as J, type VectorBooleanOperation as K, type VectorNode as L, type VectorEffect as M, type VectorGroupNode as N, type VectorBounds as O, type VectorWarpMesh as P, type VectorInstanceNode as Q, type VectorFilterType as R, type SvgGradientDef as S, type VectorFilterParamsMap as T, type VectorFilter as U, type VectorEffectType as V, type VectorGradient as W, type Vec2 as X, type VectorGradientUnits as Y, type VectorGradientSpread as Z, type VectorGradientType as _, type EffectRenderRequest as a, type MotionEffectCommand as a$, type VectorMatrix as a0, type VectorGradientStop as a1, type VectorStrokeAlign as a2, type VectorSubpath as a3, type VectorDocument as a4, type VectorWidthPoint as a5, type MotionCommand as a6, type MotionShot as a7, type MotionScene as a8, type MotionDirection as a9, FLAIR_EXPORT_VERSION as aA, type FlairEase as aB, type FlairEaseName as aC, type FlairSpringEase as aD, type FlairSvgAnimation as aE, MOTION_BLENDS as aF, MOTION_CAMERA_MS as aG, MOTION_CASCADES as aH, MOTION_CLIP_TARGET as aI, MOTION_COMMAND_TYPES as aJ, MOTION_DEFAULT_DURATIONS as aK, MOTION_DEFAULT_HOLD as aL, MOTION_DIRECTIONS as aM, MOTION_DRAW_MS_PER_UNIT as aN, MOTION_DRAW_RANGE as aO, MOTION_DRIVEN_PROPERTIES as aP, MOTION_ENTER_STYLES as aQ, MOTION_EXIT_STYLES as aR, MOTION_IRIS_SHAPES as aS, MOTION_REPEAT_MODES as aT, MOTION_SPLIT_ORIENTATIONS as aU, MOTION_TEXT_UNITS as aV, MOTION_TRIGGERS as aW, type MotionColorPulseCommand as aX, type MotionCommandBase as aY, type MotionDrawCommand as aZ, type MotionDrawOrder as a_, type MotionIrisShape as aa, type MotionSplitOrientation as ab, type MotionDriver as ac, type MotionDrivenProperty as ad, type MotionRect as ae, type MotionBeatGrid as af, type MotionCue as ag, type MotionCamera as ah, type MotionTextUnit as ai, type MotionCascade as aj, type MotionBlur as ak, type MotionControl as al, type MotionPreset as am, type MotionClip as an, type FlairSvgMotion as ao, type FlairVectorEffect as ap, type MotionEffectSource as aq, type FlairExportOptions as ar, type FlairMotionExport as as, type FlairEffectOptions as at, type FlairEffectDocument as au, type MotionEnterStyle as av, type MotionExitStyle as aw, type MotionCommandType as ax, type MotionNarration as ay, FLAIR_EASES as az, type EffectPixels as b, type VectorFreeformPoint as b$, type MotionEnterCommand as b0, type MotionExitCommand as b1, type MotionFadeCommand as b2, type MotionFollowCommand as b3, type MotionMatchCommand as b4, type MotionMorphCommand as b5, type MotionMoveCommand as b6, type MotionPlayCommand as b7, type MotionPulseCommand as b8, type MotionRotateCommand as b9, type VectorCharacterStyle as bA, type VectorTextRun as bB, type VectorParagraphStyle as bC, type VectorTextFrame as bD, type VectorTransformHandle as bE, type VectorAnchorRef as bF, type VectorPathfinderOperation as bG, type VectorTool as bH, type VectorDefaults as bI, type VectorTextAlign as bJ, type VectorStyle as bK, type VectorHandleRef as bL, type VectorSegmentRef as bM, type VectorBlendOptions as bN, type VectorPerspectivePlane as bO, type VectorModifiers as bP, type VectorProviderEffect as bQ, type VectorBrushstroke as bR, type VectorBrushstrokePaper as bS, type VectorBlendMode as bT, type VectorAlign as bU, type VectorDistribute as bV, type VectorArrange as bW, type VectorMaskType as bX, type VectorSymmetryMode as bY, type VectorSymmetry as bZ, type VectorPerspective as b_, type MotionScaleCommand as ba, type MotionShakeCommand as bb, type MotionStyleCommand as bc, type MotionTeeterCommand as bd, type MotionTrigger as be, type MotionWaitCommand as bf, type MotionWaveCommand as bg, type MotionWiggleCommand as bh, flairAtLeast as bi, flairCurveFor as bj, flairEaseFor as bk, motionFlairPrimitive as bl, toFlairEffectDocument as bm, toFlairSvgMotion as bn, toFlairVectorEffect as bo, type VectorAnchor as bp, type VectorTextNode as bq, type VectorAnchorType as br, type VectorCornerKind as bs, type VectorViewport as bt, type VectorConnectorRoute as bu, type VectorConnectorSide as bv, type VectorConnectorEnd as bw, type VectorConnector as bx, type VectorConstraintKind as by, type VectorConstraint as bz, type EffectUse as c, gradientToSvgDef as c$, type VectorMeshGradient as c0, type VectorFreeformGradient as c1, type VectorArrowhead as c2, type VectorLens as c3, type VectorResizing as c4, type VectorFrame as c5, type VectorHorizontalResizing as c6, type VectorVerticalResizing as c7, type VectorMask as c8, type VectorAverageAxis as c9, VECTOR_HORIZONTAL_RESIZING as cA, VECTOR_LENS_TYPES as cB, VECTOR_MASK_TYPES as cC, VECTOR_MERGE_MODES as cD, VECTOR_PATHFINDER_OPERATIONS as cE, VECTOR_PATH_TEXT_BASELINES as cF, VECTOR_PERSPECTIVE_PLANES as cG, VECTOR_STROKE_GRADIENT_MODES as cH, VECTOR_SYMMETRY_MODES as cI, VECTOR_TEXT_ALIGNS as cJ, VECTOR_TOOLS as cK, VECTOR_TRANSFORM_HANDLES as cL, VECTOR_VERTICAL_RESIZING as cM, type VectorCorner as cN, type VectorGeomRef as cO, type VectorLineCap as cP, type VectorPathTextBaseline as cQ, type VectorStrokeLayerKind as cR, type VectorTextRunStyle as cS, type VectorWarpStyle as cT, CANVAS_GRADIENT_PRESETS as cU, type CanvasLinearGradient as cV, type CanvasRadialGradient as cW, type GradientStop as cX, PIXERATE_BRAND_GRADIENT as cY, type SvgGradientStop as cZ, angleToSvgLinearCoords as c_, type VectorSymbol as ca, type VectorParameter as cb, type VectorStrokeLayer as cc, type VectorBlendSpacing as cd, type VectorGradientInterpolation as ce, type VectorStrokeGradientMode as cf, type VectorArrowAlign as cg, type VectorPaintLayer as ch, type VectorBlend as ci, type VectorMergeMode as cj, type VectorLineJoin as ck, type VectorLensType as cl, type VectorStrokeSettings as cm, type VectorInstanceOverrides as cn, VECTOR_ARROWHEADS as co, VECTOR_BLEND_MODES as cp, VECTOR_BLEND_SPACINGS as cq, VECTOR_CONNECTOR_ROUTES as cr, VECTOR_CONNECTOR_SIDES as cs, VECTOR_CONSTRAINT_KINDS as ct, VECTOR_CORNER_KINDS as cu, VECTOR_EFFECT_TYPES as cv, VECTOR_FILTER_TYPES as cw, VECTOR_GRADIENT_INTERPOLATIONS as cx, VECTOR_GRADIENT_SPREADS as cy, VECTOR_GRADIENT_TYPES as cz, type EffectProviderCapabilities as d, isCanvasGradient as d0, parseCssGradient as d1, resolveCanvasGradient as d2, type EffectValue as e, type EffectDescription as f, type EffectSummary as g, EFFECT_KINDS as h, EFFECT_USES as i, type EffectControlSchema as j, type EffectImageSource as k, type EffectInputSpec as l, type EffectKind as m, type EffectPreset as n, type EffectRenderer as o, type EffectRendererOptions as p, type EffectSearchOptions as q, type EffectSvgAnimation as r, type EffectValues as s, type EffectVectorMotion as t, type EffectVectorTarget as u, EffectsSlot as v, applyEffectMask as w, createEffectPixels as x, effectValueErrors as y, encodeEffectFloat as z };