@pixerate/editor 0.241.0 → 0.243.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-editor/controller.d.cts +10 -0
- package/dist/animation-editor/controller.d.ts +10 -0
- package/dist/animation-editor/effects.d.cts +1 -1
- package/dist/animation-editor/effects.d.ts +1 -1
- package/dist/animation-editor/index.cjs +195 -146
- package/dist/animation-editor/index.js +63 -14
- package/dist/{brushstrokeRender-MOYGEXOC.js → brushstrokeRender-274HGNZR.js} +3 -3
- package/dist/{brushstrokeRender-UKADOV5D.cjs → brushstrokeRender-C7RJZPMC.cjs} +5 -5
- package/dist/canvas/index.cjs +15 -15
- package/dist/canvas/index.js +2 -2
- package/dist/{chunk-KCMV2534.cjs → chunk-3WOZEBXZ.cjs} +2 -2
- package/dist/{chunk-ZDPLZDTT.js → chunk-4ZHXLFXS.js} +1 -1
- package/dist/{chunk-5BR7LC24.cjs → chunk-5FZS7J7C.cjs} +50 -4
- package/dist/{chunk-ILM6GYAX.js → chunk-6L3WWIDW.js} +1 -1
- package/dist/{chunk-A7PQNIBX.cjs → chunk-7V7QMFTI.cjs} +14 -14
- package/dist/{chunk-JAOSL334.cjs → chunk-GHCSC2WP.cjs} +38 -16
- package/dist/{chunk-UDBDYZET.js → chunk-H4Z72Z4Z.js} +1 -1
- package/dist/{chunk-XBZK47LV.js → chunk-HQZHOPNE.js} +49 -3
- package/dist/{chunk-QP2B3MID.js → chunk-IXI5KATU.js} +1 -1
- package/dist/{chunk-JWCKJNDR.cjs → chunk-K5DS2JTA.cjs} +6 -6
- package/dist/{chunk-HGGJ36HR.cjs → chunk-KK2FWMA2.cjs} +1 -1
- package/dist/{chunk-WDDUPWVG.js → chunk-L3JFOTBQ.js} +1 -1
- package/dist/{chunk-SIK3LT6M.js → chunk-OFH6Q67U.js} +28 -6
- package/dist/{chunk-AFLMXITL.cjs → chunk-OONFIFEU.cjs} +23 -23
- package/dist/{chunk-HW72ABGR.cjs → chunk-R2FVAKFH.cjs} +86 -86
- package/dist/{chunk-G3RUKJ5C.js → chunk-RXZL4NG5.js} +1 -1
- package/dist/{chunk-NE6OOKWJ.js → chunk-SRXWDOUI.js} +1 -1
- package/dist/{chunk-7F4G74UQ.cjs → chunk-UV7OOZJQ.cjs} +35 -35
- package/dist/{chunk-TEFQISBY.js → chunk-X3ZINLIP.js} +1 -1
- package/dist/{chunk-ZQIWBJGH.cjs → chunk-XNZFVYC2.cjs} +7 -7
- package/dist/effects/fake.d.cts +4 -0
- package/dist/effects/fake.d.ts +4 -0
- package/dist/effects/helpers.d.cts +6 -0
- package/dist/effects/helpers.d.ts +6 -0
- package/dist/effects/index.cjs +222 -94
- package/dist/effects/index.js +131 -3
- package/dist/effects/types.d.cts +31 -0
- package/dist/effects/types.d.ts +31 -0
- package/dist/image-editor/index.cjs +788 -788
- package/dist/image-editor/index.js +5 -5
- package/dist/paint-editor/brushes.d.cts +18 -2
- package/dist/paint-editor/brushes.d.ts +18 -2
- package/dist/paint-editor/controller.d.cts +28 -0
- package/dist/paint-editor/controller.d.ts +28 -0
- package/dist/paint-editor/document.d.cts +3 -0
- package/dist/paint-editor/document.d.ts +3 -0
- package/dist/paint-editor/index.cjs +1017 -499
- package/dist/paint-editor/index.js +562 -44
- package/dist/paint-editor/light.d.cts +74 -0
- package/dist/paint-editor/light.d.ts +74 -0
- package/dist/paint-editor/stroke.d.cts +14 -0
- package/dist/paint-editor/stroke.d.ts +14 -0
- package/dist/paint-editor/thick-tools.d.cts +2 -2
- package/dist/paint-editor/thick-tools.d.ts +2 -2
- package/dist/paint-editor/thick.d.cts +5 -1
- package/dist/paint-editor/thick.d.ts +5 -1
- package/dist/paint-editor/ui.d.cts +2 -0
- package/dist/paint-editor/ui.d.ts +2 -0
- package/dist/vector/index.cjs +968 -968
- package/dist/vector/index.js +5 -5
- package/dist/video-editor/controller.d.cts +49 -1
- package/dist/video-editor/controller.d.ts +49 -1
- package/dist/video-editor/effect-path.d.cts +66 -0
- package/dist/video-editor/effect-path.d.ts +66 -0
- package/dist/video-editor/index.cjs +616 -427
- package/dist/video-editor/index.d.cts +1 -0
- package/dist/video-editor/index.d.ts +1 -0
- package/dist/video-editor/index.js +193 -4
- package/package.json +1 -1
- package/skills/pixerate-animation-editor/SKILL.md +1 -1
- package/skills/pixerate-paint-editor/SKILL.md +9 -9
- package/skills/pixerate-paint-editor/references/canvas-hosted.md +8 -0
- package/skills/pixerate-paint-editor/references/light-paint.md +31 -0
- package/skills/pixerate-paint-oil-impasto/SKILL.md +1 -0
- package/skills/pixerate-video-editor/SKILL.md +9 -2
|
@@ -16,6 +16,14 @@ import { type MotionNodePose, type MotionTake, type MotionTakeOptions, type Moti
|
|
|
16
16
|
import { MotionLayersEngine, type MotionLayerHost } from './layers.cjs';
|
|
17
17
|
import { type MotionShotLayerInfo, type MotionShotLayersInfo } from './layer-edit.cjs';
|
|
18
18
|
import { type AppliedMotionEffect } from './effects.cjs';
|
|
19
|
+
/** The path an effect that draws along one runs on (`addVectorEffect`): a path node's outline, or words the provider writes. */
|
|
20
|
+
export type MotionEffectPathInput = {
|
|
21
|
+
node: string;
|
|
22
|
+
} | {
|
|
23
|
+
text: string;
|
|
24
|
+
font?: string;
|
|
25
|
+
align?: 'start' | 'middle' | 'end';
|
|
26
|
+
};
|
|
19
27
|
export interface AnimationEditorOptions {
|
|
20
28
|
/** The scene to open (default: an empty one over a blank 800 × 450 artwork). */
|
|
21
29
|
scene?: MotionScene;
|
|
@@ -250,6 +258,8 @@ export declare class AnimationEditorController {
|
|
|
250
258
|
height: number;
|
|
251
259
|
};
|
|
252
260
|
instance?: string;
|
|
261
|
+
path?: MotionEffectPathInput;
|
|
262
|
+
control?: string;
|
|
253
263
|
}): Promise<MotionEffectResult>;
|
|
254
264
|
/**
|
|
255
265
|
* Makes an applied effect again with new `values` (merged over its own; `null` resets a
|
|
@@ -16,6 +16,14 @@ import { type MotionNodePose, type MotionTake, type MotionTakeOptions, type Moti
|
|
|
16
16
|
import { MotionLayersEngine, type MotionLayerHost } from './layers.js';
|
|
17
17
|
import { type MotionShotLayerInfo, type MotionShotLayersInfo } from './layer-edit.js';
|
|
18
18
|
import { type AppliedMotionEffect } from './effects.js';
|
|
19
|
+
/** The path an effect that draws along one runs on (`addVectorEffect`): a path node's outline, or words the provider writes. */
|
|
20
|
+
export type MotionEffectPathInput = {
|
|
21
|
+
node: string;
|
|
22
|
+
} | {
|
|
23
|
+
text: string;
|
|
24
|
+
font?: string;
|
|
25
|
+
align?: 'start' | 'middle' | 'end';
|
|
26
|
+
};
|
|
19
27
|
export interface AnimationEditorOptions {
|
|
20
28
|
/** The scene to open (default: an empty one over a blank 800 × 450 artwork). */
|
|
21
29
|
scene?: MotionScene;
|
|
@@ -250,6 +258,8 @@ export declare class AnimationEditorController {
|
|
|
250
258
|
height: number;
|
|
251
259
|
};
|
|
252
260
|
instance?: string;
|
|
261
|
+
path?: MotionEffectPathInput;
|
|
262
|
+
control?: string;
|
|
253
263
|
}): Promise<MotionEffectResult>;
|
|
254
264
|
/**
|
|
255
265
|
* Makes an applied effect again with new `values` (merged over its own; `null` resets a
|