@remotion/effects 4.0.537 → 4.0.539
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/THIRD_PARTY_LICENSES.md +4 -0
- package/dist/barrel-distortion/index.d.ts +1 -1
- package/dist/bevel-alpha/index.d.ts +1 -1
- package/dist/bevel-alpha/shaders.d.ts +1 -1
- package/dist/blur/index.d.ts +1 -1
- package/dist/brightness.d.ts +1 -1
- package/dist/burlap.d.ts +1 -1
- package/dist/checkerboard.d.ts +17 -17
- package/dist/chromatic-aberration/index.d.ts +1 -1
- package/dist/color-correction.d.ts +1 -1
- package/dist/color-key.d.ts +9 -9
- package/dist/color-utils.d.ts +8 -8
- package/dist/contour-lines.d.ts +23 -23
- package/dist/contrast.d.ts +1 -1
- package/dist/corner-pin/index.d.ts +1 -1
- package/dist/curves.d.ts +65 -0
- package/dist/cylinder/index.d.ts +1 -1
- package/dist/dot-grid.d.ts +7 -7
- package/dist/drop-shadow/index.d.ts +1 -1
- package/dist/duotone.d.ts +7 -7
- package/dist/emboss.d.ts +15 -15
- package/dist/esm/curves.mjs +373 -0
- package/dist/esm/levels.mjs +80 -10
- package/dist/esm/long-shadows.mjs +410 -0
- package/dist/esm/shatter.mjs +888 -0
- package/dist/evolve.d.ts +8 -8
- package/dist/exposure.d.ts +1 -1
- package/dist/fisheye/index.d.ts +1 -1
- package/dist/flannel.d.ts +1 -1
- package/dist/fractal-noise/index.d.ts +3 -3
- package/dist/gaussian-blur-shader.d.ts +1 -1
- package/dist/glow/index.d.ts +1 -1
- package/dist/grayscale.d.ts +1 -1
- package/dist/gridlines.d.ts +23 -23
- package/dist/halftone-linear-gradient.d.ts +21 -21
- package/dist/halftone.d.ts +25 -25
- package/dist/hue.d.ts +1 -1
- package/dist/invert.d.ts +1 -1
- package/dist/lens-blur/index.d.ts +2 -2
- package/dist/levels.d.ts +70 -3
- package/dist/light-leak.d.ts +7 -7
- package/dist/light-trail/index.d.ts +1 -1
- package/dist/linear-gradient-tint.d.ts +1 -1
- package/dist/linear-gradient.d.ts +1 -1
- package/dist/linear-progressive-blur/index.d.ts +1 -1
- package/dist/linear-progressive-blur/linear-progressive-blur-shaders.d.ts +1 -1
- package/dist/linear-progressive-pixelate/index.d.ts +1 -1
- package/dist/lines.d.ts +18 -18
- package/dist/liquid-contours.d.ts +21 -21
- package/dist/long-shadows.d.ts +13 -0
- package/dist/lut/index.d.ts +3 -3
- package/dist/mirror/index.d.ts +1 -1
- package/dist/noise-displacement.d.ts +1 -1
- package/dist/noise.d.ts +1 -1
- package/dist/outline/polygonize-alpha.d.ts +1 -1
- package/dist/outline.d.ts +11 -11
- package/dist/page-turn/index.d.ts +1 -1
- package/dist/paper.d.ts +1 -1
- package/dist/pattern.d.ts +1 -1
- package/dist/pixel-dissolve.d.ts +1 -1
- package/dist/pixelate.d.ts +1 -1
- package/dist/radial-progressive-blur/index.d.ts +1 -1
- package/dist/radial-progressive-blur/radial-progressive-blur-shaders.d.ts +1 -1
- package/dist/radial-progressive-pixelate/index.d.ts +1 -1
- package/dist/region-blur/index.d.ts +11 -11
- package/dist/rings.d.ts +15 -15
- package/dist/roughen-edges.d.ts +1 -1
- package/dist/saturation.d.ts +1 -1
- package/dist/scale/index.d.ts +1 -1
- package/dist/scanlines.d.ts +1 -1
- package/dist/shadows-highlights.d.ts +1 -1
- package/dist/shatter/geometry.d.ts +19 -0
- package/dist/shatter/index.d.ts +39 -0
- package/dist/shatter/runtime.d.ts +19 -0
- package/dist/shatter.d.ts +1 -0
- package/dist/shine.d.ts +1 -1
- package/dist/shrinkwrap.d.ts +1 -1
- package/dist/skew.d.ts +1 -1
- package/dist/speckle.d.ts +1 -1
- package/dist/sphere/index.d.ts +1 -1
- package/dist/starburst.d.ts +13 -13
- package/dist/tear.d.ts +1 -1
- package/dist/thermal-vision.d.ts +7 -7
- package/dist/tile.d.ts +1 -1
- package/dist/tint.d.ts +5 -5
- package/dist/translate/index.d.ts +2 -2
- package/dist/turbulent-displace/index.d.ts +3 -3
- package/dist/tv-signal-off.d.ts +1 -1
- package/dist/venetian-blinds.d.ts +8 -8
- package/dist/vibrance.d.ts +1 -1
- package/dist/vignette.d.ts +16 -16
- package/dist/visual-test/visual-utils.d.ts +8 -8
- package/dist/wave/index.d.ts +1 -1
- package/dist/waves.d.ts +24 -24
- package/dist/white-balance.d.ts +1 -1
- package/dist/white-noise.d.ts +1 -1
- package/dist/zigzag.d.ts +22 -22
- package/dist/zoom-blur/index.d.ts +1 -1
- package/package.json +31 -7
package/dist/shrinkwrap.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ export type ShrinkwrapParams = {
|
|
|
15
15
|
readonly seed?: number;
|
|
16
16
|
};
|
|
17
17
|
export declare const shrinkwrap: (params?: (ShrinkwrapParams & {
|
|
18
|
-
readonly disabled?: boolean
|
|
18
|
+
readonly disabled?: boolean;
|
|
19
19
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/skew.d.ts
CHANGED
package/dist/speckle.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export type SpeckleParams = {
|
|
|
7
7
|
readonly randomness?: number;
|
|
8
8
|
};
|
|
9
9
|
export declare const speckle: (params?: (SpeckleParams & {
|
|
10
|
-
readonly disabled?: boolean
|
|
10
|
+
readonly disabled?: boolean;
|
|
11
11
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/sphere/index.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export type SphereParams = {
|
|
|
14
14
|
readonly shading?: number;
|
|
15
15
|
};
|
|
16
16
|
export declare const sphere: (params?: (SphereParams & {
|
|
17
|
-
readonly disabled?: boolean
|
|
17
|
+
readonly disabled?: boolean;
|
|
18
18
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/starburst.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
export declare const starburstEffectSchema: {
|
|
2
2
|
readonly rays: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'number';
|
|
4
4
|
readonly min: 2;
|
|
5
5
|
readonly max: 100;
|
|
6
6
|
readonly step: 1;
|
|
7
7
|
readonly default: undefined;
|
|
8
|
-
readonly description:
|
|
8
|
+
readonly description: 'Number of Rays';
|
|
9
9
|
readonly hiddenFromList: false;
|
|
10
10
|
};
|
|
11
11
|
readonly colors: {
|
|
12
|
-
readonly type:
|
|
12
|
+
readonly type: 'array';
|
|
13
13
|
readonly item: {
|
|
14
|
-
readonly type:
|
|
14
|
+
readonly type: 'color';
|
|
15
15
|
};
|
|
16
16
|
readonly default: undefined;
|
|
17
17
|
readonly minLength: 2;
|
|
18
|
-
readonly newItemDefault:
|
|
19
|
-
readonly description:
|
|
18
|
+
readonly newItemDefault: '#ff0000';
|
|
19
|
+
readonly description: 'Colors';
|
|
20
20
|
readonly keyframable: false;
|
|
21
21
|
};
|
|
22
22
|
readonly rotation: {
|
|
23
|
-
readonly type:
|
|
23
|
+
readonly type: 'number';
|
|
24
24
|
readonly min: 0;
|
|
25
25
|
readonly max: 360;
|
|
26
26
|
readonly step: 1;
|
|
27
27
|
readonly default: 0;
|
|
28
|
-
readonly description:
|
|
28
|
+
readonly description: 'Rotation';
|
|
29
29
|
readonly hiddenFromList: false;
|
|
30
30
|
};
|
|
31
31
|
readonly smoothness: {
|
|
32
|
-
readonly type:
|
|
32
|
+
readonly type: 'number';
|
|
33
33
|
readonly min: 0;
|
|
34
34
|
readonly max: 1;
|
|
35
35
|
readonly step: 0.01;
|
|
36
36
|
readonly default: 0;
|
|
37
|
-
readonly description:
|
|
37
|
+
readonly description: 'Edge Smoothness';
|
|
38
38
|
readonly hiddenFromList: false;
|
|
39
39
|
};
|
|
40
40
|
readonly origin: {
|
|
41
|
-
readonly type:
|
|
41
|
+
readonly type: 'uv-coordinate';
|
|
42
42
|
readonly min: 0;
|
|
43
43
|
readonly max: 1;
|
|
44
44
|
readonly step: 0.01;
|
|
45
45
|
readonly default: readonly [0.5, 0.5];
|
|
46
|
-
readonly description:
|
|
46
|
+
readonly description: 'Origin';
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export type StarburstOrigin = readonly [number, number];
|
|
@@ -55,5 +55,5 @@ export type StarburstEffectParams = {
|
|
|
55
55
|
readonly origin?: StarburstOrigin;
|
|
56
56
|
};
|
|
57
57
|
export declare const starburst: (params: StarburstEffectParams & {
|
|
58
|
-
readonly disabled?: boolean
|
|
58
|
+
readonly disabled?: boolean;
|
|
59
59
|
}) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/tear.d.ts
CHANGED
package/dist/thermal-vision.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const thermalVisionSchema: {
|
|
2
2
|
readonly amount: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'number';
|
|
4
4
|
readonly min: 0;
|
|
5
5
|
readonly max: 1;
|
|
6
6
|
readonly step: 0.01;
|
|
7
7
|
readonly default: 1;
|
|
8
|
-
readonly description:
|
|
8
|
+
readonly description: 'Amount';
|
|
9
9
|
readonly hiddenFromList: false;
|
|
10
10
|
};
|
|
11
11
|
readonly palette: {
|
|
12
|
-
readonly type:
|
|
12
|
+
readonly type: 'array';
|
|
13
13
|
readonly item: {
|
|
14
|
-
readonly type:
|
|
14
|
+
readonly type: 'color';
|
|
15
15
|
};
|
|
16
16
|
readonly default: readonly ["#020617", "#1238ff", "#00a6ff", "#00c853", "#d6f542", "#ffb000", "#ff2f00", "#ffffff"];
|
|
17
17
|
readonly minLength: 2;
|
|
18
|
-
readonly newItemDefault:
|
|
19
|
-
readonly description:
|
|
18
|
+
readonly newItemDefault: '#00c853';
|
|
19
|
+
readonly description: 'Palette';
|
|
20
20
|
readonly keyframable: false;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -27,5 +27,5 @@ export type ThermalVisionParams = {
|
|
|
27
27
|
readonly palette?: readonly string[];
|
|
28
28
|
};
|
|
29
29
|
export declare const thermalVision: (params?: (ThermalVisionParams & {
|
|
30
|
-
readonly disabled?: boolean
|
|
30
|
+
readonly disabled?: boolean;
|
|
31
31
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/tile.d.ts
CHANGED
package/dist/tint.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const tintSchema: {
|
|
2
2
|
readonly color: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'color';
|
|
4
4
|
readonly default: undefined;
|
|
5
|
-
readonly description:
|
|
5
|
+
readonly description: 'Color';
|
|
6
6
|
};
|
|
7
7
|
readonly amount: {
|
|
8
|
-
readonly type:
|
|
8
|
+
readonly type: 'number';
|
|
9
9
|
readonly min: 0;
|
|
10
10
|
readonly max: 1;
|
|
11
11
|
readonly step: 0.01;
|
|
12
12
|
readonly default: 0.5;
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: 'Amount';
|
|
14
14
|
readonly hiddenFromList: false;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -19,5 +19,5 @@ export type TintParams = {
|
|
|
19
19
|
readonly amount?: number;
|
|
20
20
|
};
|
|
21
21
|
export declare const tint: (params: TintParams & {
|
|
22
|
-
readonly disabled?: boolean
|
|
22
|
+
readonly disabled?: boolean;
|
|
23
23
|
}) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -11,8 +11,8 @@ export type UvTranslateParams = {
|
|
|
11
11
|
readonly v?: number;
|
|
12
12
|
};
|
|
13
13
|
export declare const xyTranslate: (params?: (XyTranslateParams & {
|
|
14
|
-
readonly disabled?: boolean
|
|
14
|
+
readonly disabled?: boolean;
|
|
15
15
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
16
16
|
export declare const uvTranslate: (params?: (UvTranslateParams & {
|
|
17
|
-
readonly disabled?: boolean
|
|
17
|
+
readonly disabled?: boolean;
|
|
18
18
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const DISPLACEMENT_MODES: readonly [
|
|
2
|
-
declare const PINNING_MODES: readonly [
|
|
1
|
+
declare const DISPLACEMENT_MODES: readonly ['turbulent', 'bulge', 'twist', 'turbulent-smoother', 'bulge-smoother', 'twist-smoother', 'vertical', 'horizontal', 'cross'];
|
|
2
|
+
declare const PINNING_MODES: readonly ['none', 'all', 'horizontal', 'vertical', 'left', 'top', 'right', 'bottom', 'all-locked', 'horizontal-locked', 'vertical-locked', 'left-locked', 'top-locked', 'right-locked', 'bottom-locked'];
|
|
3
3
|
export type TurbulentDisplaceParams = {
|
|
4
4
|
/** Distortion mode. Defaults to `turbulent`. */
|
|
5
5
|
readonly displacement?: (typeof DISPLACEMENT_MODES)[number];
|
|
@@ -23,6 +23,6 @@ export type TurbulentDisplaceParams = {
|
|
|
23
23
|
readonly pinning?: (typeof PINNING_MODES)[number];
|
|
24
24
|
};
|
|
25
25
|
export declare const turbulentDisplace: (params?: (TurbulentDisplaceParams & {
|
|
26
|
-
readonly disabled?: boolean
|
|
26
|
+
readonly disabled?: boolean;
|
|
27
27
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
28
28
|
export {};
|
package/dist/tv-signal-off.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export type TvSignalOffParams = {
|
|
|
3
3
|
readonly amount?: number;
|
|
4
4
|
};
|
|
5
5
|
export declare const tvSignalOff: (params?: (TvSignalOffParams & {
|
|
6
|
-
readonly disabled?: boolean
|
|
6
|
+
readonly disabled?: boolean;
|
|
7
7
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
declare const VENETIAN_BLINDS_DIRECTIONS: readonly [
|
|
1
|
+
declare const VENETIAN_BLINDS_DIRECTIONS: readonly ['vertical', 'horizontal'];
|
|
2
2
|
export type VenetianBlindsDirection = (typeof VENETIAN_BLINDS_DIRECTIONS)[number];
|
|
3
3
|
export declare const venetianBlindsSchema: {
|
|
4
4
|
readonly progress: {
|
|
5
|
-
readonly type:
|
|
5
|
+
readonly type: 'number';
|
|
6
6
|
readonly min: 0;
|
|
7
7
|
readonly max: 1;
|
|
8
8
|
readonly step: 0.01;
|
|
9
9
|
readonly default: 0.5;
|
|
10
|
-
readonly description:
|
|
10
|
+
readonly description: 'Progress';
|
|
11
11
|
readonly hiddenFromList: false;
|
|
12
12
|
};
|
|
13
13
|
readonly direction: {
|
|
14
|
-
readonly type:
|
|
14
|
+
readonly type: 'enum';
|
|
15
15
|
readonly variants: {
|
|
16
16
|
readonly vertical: {};
|
|
17
17
|
readonly horizontal: {};
|
|
18
18
|
};
|
|
19
19
|
readonly default: "vertical";
|
|
20
|
-
readonly description:
|
|
20
|
+
readonly description: 'Direction';
|
|
21
21
|
};
|
|
22
22
|
readonly slats: {
|
|
23
|
-
readonly type:
|
|
23
|
+
readonly type: 'number';
|
|
24
24
|
readonly min: 1;
|
|
25
25
|
readonly max: 100;
|
|
26
26
|
readonly step: 1;
|
|
27
27
|
readonly integer: true;
|
|
28
28
|
readonly default: 12;
|
|
29
|
-
readonly description:
|
|
29
|
+
readonly description: 'Slats';
|
|
30
30
|
readonly hiddenFromList: false;
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -39,6 +39,6 @@ export type VenetianBlindsParams = {
|
|
|
39
39
|
readonly slats?: number;
|
|
40
40
|
};
|
|
41
41
|
export declare const venetianBlinds: (params?: (VenetianBlindsParams & {
|
|
42
|
-
readonly disabled?: boolean
|
|
42
|
+
readonly disabled?: boolean;
|
|
43
43
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
44
44
|
export {};
|
package/dist/vibrance.d.ts
CHANGED
package/dist/vignette.d.ts
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
declare const VIGNETTE_MODES: readonly [
|
|
1
|
+
declare const VIGNETTE_MODES: readonly ['color', 'alpha'];
|
|
2
2
|
export declare const vignetteSchema: {
|
|
3
3
|
readonly amount: {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: 'number';
|
|
5
5
|
readonly min: 0;
|
|
6
6
|
readonly max: 1;
|
|
7
7
|
readonly step: 0.01;
|
|
8
8
|
readonly default: 0.5;
|
|
9
|
-
readonly description:
|
|
9
|
+
readonly description: 'Amount';
|
|
10
10
|
readonly hiddenFromList: false;
|
|
11
11
|
};
|
|
12
12
|
readonly radius: {
|
|
13
|
-
readonly type:
|
|
13
|
+
readonly type: 'number';
|
|
14
14
|
readonly min: 0;
|
|
15
15
|
readonly max: 1;
|
|
16
16
|
readonly step: 0.01;
|
|
17
17
|
readonly default: 0.65;
|
|
18
|
-
readonly description:
|
|
18
|
+
readonly description: 'Radius';
|
|
19
19
|
readonly hiddenFromList: false;
|
|
20
20
|
};
|
|
21
21
|
readonly feather: {
|
|
22
|
-
readonly type:
|
|
22
|
+
readonly type: 'number';
|
|
23
23
|
readonly min: 0;
|
|
24
24
|
readonly max: 1;
|
|
25
25
|
readonly step: 0.01;
|
|
26
26
|
readonly default: 0.35;
|
|
27
|
-
readonly description:
|
|
27
|
+
readonly description: 'Feather';
|
|
28
28
|
readonly hiddenFromList: false;
|
|
29
29
|
};
|
|
30
30
|
readonly roundness: {
|
|
31
|
-
readonly type:
|
|
31
|
+
readonly type: 'number';
|
|
32
32
|
readonly min: 0;
|
|
33
33
|
readonly max: 1;
|
|
34
34
|
readonly step: 0.01;
|
|
35
35
|
readonly default: 1;
|
|
36
|
-
readonly description:
|
|
36
|
+
readonly description: 'Roundness';
|
|
37
37
|
readonly hiddenFromList: false;
|
|
38
38
|
};
|
|
39
39
|
readonly color: {
|
|
40
|
-
readonly type:
|
|
40
|
+
readonly type: 'color';
|
|
41
41
|
readonly default: "#000000";
|
|
42
|
-
readonly description:
|
|
42
|
+
readonly description: 'Color';
|
|
43
43
|
};
|
|
44
44
|
readonly mode: {
|
|
45
|
-
readonly type:
|
|
45
|
+
readonly type: 'enum';
|
|
46
46
|
readonly default: "color";
|
|
47
|
-
readonly description:
|
|
47
|
+
readonly description: 'Mode';
|
|
48
48
|
readonly variants: {
|
|
49
49
|
readonly color: {};
|
|
50
50
|
readonly alpha: {};
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
readonly center: {
|
|
54
|
-
readonly type:
|
|
54
|
+
readonly type: 'uv-coordinate';
|
|
55
55
|
readonly step: 0.01;
|
|
56
56
|
readonly default: readonly [0.5, 0.5];
|
|
57
|
-
readonly description:
|
|
57
|
+
readonly description: 'Center';
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
export type VignetteMode = (typeof VIGNETTE_MODES)[number];
|
|
@@ -76,6 +76,6 @@ export type VignetteParams = {
|
|
|
76
76
|
readonly center?: VignetteCenter;
|
|
77
77
|
};
|
|
78
78
|
export declare const vignette: (params?: (VignetteParams & {
|
|
79
|
-
readonly disabled?: boolean
|
|
79
|
+
readonly disabled?: boolean;
|
|
80
80
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
81
81
|
export {};
|
|
@@ -2,19 +2,19 @@ import { type EffectDefinitionAndStack, type EffectDescriptor } from 'remotion';
|
|
|
2
2
|
export declare const testImage: ({ blob, testId, threshold, allowedMismatchedPixelRatio, }: {
|
|
3
3
|
blob: Blob;
|
|
4
4
|
testId: string;
|
|
5
|
-
threshold?: number
|
|
6
|
-
allowedMismatchedPixelRatio?: number
|
|
5
|
+
threshold?: number;
|
|
6
|
+
allowedMismatchedPixelRatio?: number;
|
|
7
7
|
}) => Promise<void>;
|
|
8
8
|
export declare const descriptorsToMemoizedEffects: (effects: EffectDescriptor<unknown>[]) => EffectDefinitionAndStack<unknown>[];
|
|
9
9
|
export declare const renderEffectChainToCanvas: ({ effects, width, height, source, }: {
|
|
10
10
|
effects: EffectDefinitionAndStack<unknown>[];
|
|
11
|
-
width?: number
|
|
12
|
-
height?: number
|
|
13
|
-
source?: CanvasImageSource
|
|
11
|
+
width?: number;
|
|
12
|
+
height?: number;
|
|
13
|
+
source?: CanvasImageSource;
|
|
14
14
|
}) => Promise<HTMLCanvasElement>;
|
|
15
15
|
export declare const renderEffectChainToBlob: ({ effects, width, height, source, }: {
|
|
16
16
|
effects: EffectDefinitionAndStack<unknown>[];
|
|
17
|
-
width?: number
|
|
18
|
-
height?: number
|
|
19
|
-
source?: CanvasImageSource
|
|
17
|
+
width?: number;
|
|
18
|
+
height?: number;
|
|
19
|
+
source?: CanvasImageSource;
|
|
20
20
|
}) => Promise<Blob>;
|
package/dist/wave/index.d.ts
CHANGED
package/dist/waves.d.ts
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
declare const WAVE_DIRECTIONS: readonly [
|
|
1
|
+
declare const WAVE_DIRECTIONS: readonly ['horizontal', 'vertical'];
|
|
2
2
|
export declare const wavesSchema: {
|
|
3
3
|
readonly colors: {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: 'array';
|
|
5
5
|
readonly item: {
|
|
6
|
-
readonly type:
|
|
6
|
+
readonly type: 'color';
|
|
7
7
|
};
|
|
8
8
|
readonly default: readonly ["#dff4ff", "#7cc6ff"];
|
|
9
9
|
readonly minLength: 2;
|
|
10
|
-
readonly newItemDefault:
|
|
11
|
-
readonly description:
|
|
10
|
+
readonly newItemDefault: '#ff0000';
|
|
11
|
+
readonly description: 'Colors';
|
|
12
12
|
readonly keyframable: false;
|
|
13
13
|
};
|
|
14
14
|
readonly direction: {
|
|
15
|
-
readonly type:
|
|
15
|
+
readonly type: 'enum';
|
|
16
16
|
readonly variants: {
|
|
17
17
|
readonly horizontal: {};
|
|
18
18
|
readonly vertical: {};
|
|
19
19
|
};
|
|
20
20
|
readonly default: "horizontal";
|
|
21
|
-
readonly description:
|
|
21
|
+
readonly description: 'Direction';
|
|
22
22
|
};
|
|
23
23
|
readonly thickness: {
|
|
24
|
-
readonly type:
|
|
24
|
+
readonly type: 'number';
|
|
25
25
|
readonly min: 0.1;
|
|
26
26
|
readonly max: 400;
|
|
27
27
|
readonly step: 0.1;
|
|
28
28
|
readonly default: 40;
|
|
29
|
-
readonly description:
|
|
29
|
+
readonly description: 'Thickness';
|
|
30
30
|
readonly hiddenFromList: false;
|
|
31
31
|
};
|
|
32
32
|
readonly gap: {
|
|
33
|
-
readonly type:
|
|
33
|
+
readonly type: 'number';
|
|
34
34
|
readonly min: 0;
|
|
35
35
|
readonly max: 400;
|
|
36
36
|
readonly step: 0.1;
|
|
37
37
|
readonly default: 0;
|
|
38
|
-
readonly description:
|
|
38
|
+
readonly description: 'Gap';
|
|
39
39
|
readonly hiddenFromList: false;
|
|
40
40
|
};
|
|
41
41
|
readonly angle: {
|
|
42
|
-
readonly type:
|
|
42
|
+
readonly type: 'rotation-degrees';
|
|
43
43
|
readonly step: 1;
|
|
44
44
|
readonly default: 0;
|
|
45
|
-
readonly description:
|
|
45
|
+
readonly description: 'Angle';
|
|
46
46
|
};
|
|
47
47
|
readonly offset: {
|
|
48
|
-
readonly type:
|
|
48
|
+
readonly type: 'number';
|
|
49
49
|
readonly step: 0.1;
|
|
50
50
|
readonly default: 0;
|
|
51
|
-
readonly description:
|
|
51
|
+
readonly description: 'Offset';
|
|
52
52
|
readonly hiddenFromList: false;
|
|
53
53
|
};
|
|
54
54
|
readonly amplitude: {
|
|
55
|
-
readonly type:
|
|
55
|
+
readonly type: 'number';
|
|
56
56
|
readonly min: 0;
|
|
57
57
|
readonly max: 500;
|
|
58
58
|
readonly step: 0.1;
|
|
59
59
|
readonly default: 24;
|
|
60
|
-
readonly description:
|
|
60
|
+
readonly description: 'Amplitude';
|
|
61
61
|
readonly hiddenFromList: false;
|
|
62
62
|
};
|
|
63
63
|
readonly wavelength: {
|
|
64
|
-
readonly type:
|
|
64
|
+
readonly type: 'number';
|
|
65
65
|
readonly min: 1;
|
|
66
66
|
readonly max: 2000;
|
|
67
67
|
readonly step: 1;
|
|
68
68
|
readonly default: 160;
|
|
69
|
-
readonly description:
|
|
69
|
+
readonly description: 'Wavelength';
|
|
70
70
|
readonly hiddenFromList: false;
|
|
71
71
|
};
|
|
72
72
|
readonly phase: {
|
|
73
|
-
readonly type:
|
|
73
|
+
readonly type: 'number';
|
|
74
74
|
readonly min: -360;
|
|
75
75
|
readonly max: 360;
|
|
76
76
|
readonly step: 1;
|
|
77
77
|
readonly default: 0;
|
|
78
|
-
readonly description:
|
|
78
|
+
readonly description: 'Phase';
|
|
79
79
|
readonly hiddenFromList: false;
|
|
80
80
|
};
|
|
81
81
|
readonly maskToSourceAlpha: {
|
|
82
|
-
readonly type:
|
|
82
|
+
readonly type: 'boolean';
|
|
83
83
|
readonly default: false;
|
|
84
|
-
readonly description:
|
|
84
|
+
readonly description: 'Mask to source alpha';
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
export type WavesDirection = (typeof WAVE_DIRECTIONS)[number];
|
|
@@ -108,6 +108,6 @@ export type WavesParams = {
|
|
|
108
108
|
readonly maskToSourceAlpha?: boolean;
|
|
109
109
|
};
|
|
110
110
|
export declare const waves: (params?: (WavesParams & {
|
|
111
|
-
readonly disabled?: boolean
|
|
111
|
+
readonly disabled?: boolean;
|
|
112
112
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
113
113
|
export {};
|
package/dist/white-balance.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export type WhiteBalanceParams = {
|
|
|
5
5
|
readonly tint?: number;
|
|
6
6
|
};
|
|
7
7
|
export declare const whiteBalance: (params?: (WhiteBalanceParams & {
|
|
8
|
-
readonly disabled?: boolean
|
|
8
|
+
readonly disabled?: boolean;
|
|
9
9
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/white-noise.d.ts
CHANGED
package/dist/zigzag.d.ts
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
declare const ZIGZAG_DIRECTIONS: readonly [
|
|
1
|
+
declare const ZIGZAG_DIRECTIONS: readonly ['horizontal', 'vertical'];
|
|
2
2
|
export declare const zigzagSchema: {
|
|
3
3
|
readonly colors: {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: 'array';
|
|
5
5
|
readonly item: {
|
|
6
|
-
readonly type:
|
|
6
|
+
readonly type: 'color';
|
|
7
7
|
};
|
|
8
8
|
readonly default: readonly ["#dff4ff", "#7cc6ff"];
|
|
9
9
|
readonly minLength: 2;
|
|
10
|
-
readonly newItemDefault:
|
|
11
|
-
readonly description:
|
|
10
|
+
readonly newItemDefault: '#ff0000';
|
|
11
|
+
readonly description: 'Colors';
|
|
12
12
|
readonly keyframable: false;
|
|
13
13
|
};
|
|
14
14
|
readonly direction: {
|
|
15
|
-
readonly type:
|
|
15
|
+
readonly type: 'enum';
|
|
16
16
|
readonly variants: {
|
|
17
17
|
readonly horizontal: {};
|
|
18
18
|
readonly vertical: {};
|
|
19
19
|
};
|
|
20
20
|
readonly default: "horizontal";
|
|
21
|
-
readonly description:
|
|
21
|
+
readonly description: 'Direction';
|
|
22
22
|
};
|
|
23
23
|
readonly thickness: {
|
|
24
|
-
readonly type:
|
|
24
|
+
readonly type: 'number';
|
|
25
25
|
readonly min: 0.1;
|
|
26
26
|
readonly max: 400;
|
|
27
27
|
readonly step: 0.1;
|
|
28
28
|
readonly default: 40;
|
|
29
|
-
readonly description:
|
|
29
|
+
readonly description: 'Thickness';
|
|
30
30
|
readonly hiddenFromList: false;
|
|
31
31
|
};
|
|
32
32
|
readonly gap: {
|
|
33
|
-
readonly type:
|
|
33
|
+
readonly type: 'number';
|
|
34
34
|
readonly min: 0;
|
|
35
35
|
readonly max: 400;
|
|
36
36
|
readonly step: 0.1;
|
|
37
37
|
readonly default: 0;
|
|
38
|
-
readonly description:
|
|
38
|
+
readonly description: 'Gap';
|
|
39
39
|
readonly hiddenFromList: false;
|
|
40
40
|
};
|
|
41
41
|
readonly angle: {
|
|
42
|
-
readonly type:
|
|
42
|
+
readonly type: 'rotation-degrees';
|
|
43
43
|
readonly step: 1;
|
|
44
44
|
readonly default: 0;
|
|
45
|
-
readonly description:
|
|
45
|
+
readonly description: 'Angle';
|
|
46
46
|
};
|
|
47
47
|
readonly offset: {
|
|
48
|
-
readonly type:
|
|
48
|
+
readonly type: 'number';
|
|
49
49
|
readonly step: 0.1;
|
|
50
50
|
readonly default: 0;
|
|
51
|
-
readonly description:
|
|
51
|
+
readonly description: 'Offset';
|
|
52
52
|
readonly hiddenFromList: false;
|
|
53
53
|
};
|
|
54
54
|
readonly amplitude: {
|
|
55
|
-
readonly type:
|
|
55
|
+
readonly type: 'number';
|
|
56
56
|
readonly min: 0;
|
|
57
57
|
readonly max: 500;
|
|
58
58
|
readonly step: 0.1;
|
|
59
59
|
readonly default: 40;
|
|
60
|
-
readonly description:
|
|
60
|
+
readonly description: 'Amplitude';
|
|
61
61
|
readonly hiddenFromList: false;
|
|
62
62
|
};
|
|
63
63
|
readonly wavelength: {
|
|
64
|
-
readonly type:
|
|
64
|
+
readonly type: 'number';
|
|
65
65
|
readonly min: 1;
|
|
66
66
|
readonly max: 2000;
|
|
67
67
|
readonly step: 1;
|
|
68
68
|
readonly default: 160;
|
|
69
|
-
readonly description:
|
|
69
|
+
readonly description: 'Wavelength';
|
|
70
70
|
readonly hiddenFromList: false;
|
|
71
71
|
};
|
|
72
72
|
readonly maskToSourceAlpha: {
|
|
73
|
-
readonly type:
|
|
73
|
+
readonly type: 'boolean';
|
|
74
74
|
readonly default: false;
|
|
75
|
-
readonly description:
|
|
75
|
+
readonly description: 'Mask to source alpha';
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
export type ZigzagDirection = (typeof ZIGZAG_DIRECTIONS)[number];
|
|
@@ -97,6 +97,6 @@ export type ZigzagParams = {
|
|
|
97
97
|
readonly maskToSourceAlpha?: boolean;
|
|
98
98
|
};
|
|
99
99
|
export declare const zigzag: (params?: (ZigzagParams & {
|
|
100
|
-
readonly disabled?: boolean
|
|
100
|
+
readonly disabled?: boolean;
|
|
101
101
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
102
102
|
export {};
|
|
@@ -8,5 +8,5 @@ export type ZoomBlurParams = {
|
|
|
8
8
|
readonly samples?: number;
|
|
9
9
|
};
|
|
10
10
|
export declare const zoomBlur: (params?: (ZoomBlurParams & {
|
|
11
|
-
readonly disabled?: boolean
|
|
11
|
+
readonly disabled?: boolean;
|
|
12
12
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|