@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/THIRD_PARTY_LICENSES.md
CHANGED
|
@@ -7,6 +7,10 @@ adapted from the noise, distortion, blur, and perspective engines in
|
|
|
7
7
|
[EffectCraft](https://github.com/storytold/effectcraft), revision
|
|
8
8
|
`8f02f52a44a4b1ea807d8824b92301b96f896a06`. It is used under the MIT license.
|
|
9
9
|
|
|
10
|
+
The Shatter geometry and motion are adapted from EffectCraft's simulation
|
|
11
|
+
engine (`crates/effects/src/sim2.rs` and `crates/raster/src/lib.rs`), revision
|
|
12
|
+
`9581b53c3f8945683252af0eb5fac79e0e43aed4`, also under the MIT license.
|
|
13
|
+
|
|
10
14
|
MIT License
|
|
11
15
|
|
|
12
16
|
Copyright (c) 2026 ArtCraft Team and the EffectCraft contributors
|
|
@@ -3,5 +3,5 @@ export type BarrelDistortionParams = {
|
|
|
3
3
|
readonly amount?: number;
|
|
4
4
|
};
|
|
5
5
|
export declare const barrelDistortion: (params?: (BarrelDistortionParams & {
|
|
6
|
-
readonly disabled?: boolean
|
|
6
|
+
readonly disabled?: boolean;
|
|
7
7
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -9,5 +9,5 @@ export type BevelAlphaParams = {
|
|
|
9
9
|
readonly lightIntensity?: number;
|
|
10
10
|
};
|
|
11
11
|
export declare const bevelAlpha: (params?: (BevelAlphaParams & {
|
|
12
|
-
readonly disabled?: boolean
|
|
12
|
+
readonly disabled?: boolean;
|
|
13
13
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const BEVEL_ALPHA_VERTEX_SHADER = "#version 300 es\nlayout(location = 0) in vec2 aPos;\nlayout(location = 1) in vec2 aUv;\nout vec2 vUv;\nvoid main() {\n\tvUv = aUv;\n\tgl_Position = vec4(aPos, 0.0, 1.0);\n}\n";
|
|
2
|
-
export declare const buildBevelAlphaBlurShader: (direction:
|
|
2
|
+
export declare const buildBevelAlphaBlurShader: (direction: 'horizontal' | 'vertical') => string;
|
|
3
3
|
export declare const BEVEL_ALPHA_SHADE_SHADER = "#version 300 es\nprecision highp float;\nin vec2 vUv;\nout vec4 fragColor;\nuniform sampler2D uSource;\nuniform sampler2D uHeight;\nuniform vec2 uResolution;\nuniform float uEdgeThickness;\nuniform vec3 uLightDirection;\nuniform vec3 uLightColor;\nuniform float uLightIntensity;\n\n// Store a 16-bit height in two 8-bit channels. This avoids banded normals\n// without requiring floating-point render targets or WebGL extensions.\nvec4 encodeHeight(float height) {\n\tfloat value = floor(clamp(height, 0.0, 1.0) * 65535.0 + 0.5);\n\treturn vec4(floor(value / 256.0), mod(value, 256.0), 0.0, 255.0) / 255.0;\n}\nfloat decodeHeight(vec4 value) {\n\treturn dot(value.rg, vec2(65280.0, 255.0)) / 65535.0;\n}\n\nfloat heightAt(ivec2 pixel) {\n\treturn decodeHeight(texelFetch(uHeight, clamp(pixel, ivec2(0), ivec2(uResolution) - 1), 0));\n}\nvoid main() {\n\tvec4 source = texelFetch(uSource, ivec2(gl_FragCoord.xy), 0);\n\tif (uEdgeThickness == 0.0 || uLightIntensity == 0.0 || source.a == 0.0) {\n\t\tfragColor = source;\n\t\treturn;\n\t}\n\tivec2 pixel = ivec2(gl_FragCoord.xy);\n\tfloat dx = (heightAt(pixel + ivec2(1, 0)) - heightAt(pixel - ivec2(1, 0))) * 0.5;\n\t// Screen-space Y points down; texture-space Y points up.\n\tfloat dy = (heightAt(pixel - ivec2(0, 1)) - heightAt(pixel + ivec2(0, 1))) * 0.5;\n\tvec3 normal = normalize(vec3(-dx * uEdgeThickness * 1.25, -dy * uEdgeThickness * 1.25, 1.0));\n\tfloat shade = (dot(normal, uLightDirection) - uLightDirection.z) * uLightIntensity * 2.0;\n\tvec3 color = source.rgb;\n\tif (shade > 0.0) {\n\t\tcolor += uLightColor * shade * source.a;\n\t} else {\n\t\tcolor *= max(1.0 + shade, 0.0);\n\t}\n\tfragColor = vec4(clamp(color, vec3(0.0), vec3(source.a)), source.a);\n}\n";
|
package/dist/blur/index.d.ts
CHANGED
package/dist/brightness.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export type BrightnessParams = {
|
|
|
3
3
|
readonly amount?: number;
|
|
4
4
|
};
|
|
5
5
|
export declare const brightness: (params?: (BrightnessParams & {
|
|
6
|
-
readonly disabled?: boolean
|
|
6
|
+
readonly disabled?: boolean;
|
|
7
7
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/burlap.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export type BurlapParams = {
|
|
|
11
11
|
readonly color?: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const burlap: (params?: (BurlapParams & {
|
|
14
|
-
readonly disabled?: boolean
|
|
14
|
+
readonly disabled?: boolean;
|
|
15
15
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/checkerboard.d.ts
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
export declare const checkerboardSchema: {
|
|
2
2
|
readonly colors: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'array';
|
|
4
4
|
readonly item: {
|
|
5
|
-
readonly type:
|
|
5
|
+
readonly type: 'color';
|
|
6
6
|
};
|
|
7
7
|
readonly default: readonly ["#dff4ff", "#7cc6ff"];
|
|
8
8
|
readonly minLength: 2;
|
|
9
|
-
readonly newItemDefault:
|
|
10
|
-
readonly description:
|
|
9
|
+
readonly newItemDefault: '#ff0000';
|
|
10
|
+
readonly description: 'Colors';
|
|
11
11
|
readonly keyframable: false;
|
|
12
12
|
};
|
|
13
13
|
readonly cellSize: {
|
|
14
|
-
readonly type:
|
|
14
|
+
readonly type: 'number';
|
|
15
15
|
readonly min: 0.1;
|
|
16
16
|
readonly max: 800;
|
|
17
17
|
readonly step: 0.1;
|
|
18
18
|
readonly default: 80;
|
|
19
|
-
readonly description:
|
|
19
|
+
readonly description: 'Cell size';
|
|
20
20
|
readonly hiddenFromList: false;
|
|
21
21
|
};
|
|
22
22
|
readonly gap: {
|
|
23
|
-
readonly type:
|
|
23
|
+
readonly type: 'number';
|
|
24
24
|
readonly min: 0;
|
|
25
25
|
readonly max: 400;
|
|
26
26
|
readonly step: 0.1;
|
|
27
27
|
readonly default: 0;
|
|
28
|
-
readonly description:
|
|
28
|
+
readonly description: 'Gap';
|
|
29
29
|
readonly hiddenFromList: false;
|
|
30
30
|
};
|
|
31
31
|
readonly angle: {
|
|
32
|
-
readonly type:
|
|
32
|
+
readonly type: 'rotation-degrees';
|
|
33
33
|
readonly step: 1;
|
|
34
34
|
readonly default: 0;
|
|
35
|
-
readonly description:
|
|
35
|
+
readonly description: 'Angle';
|
|
36
36
|
};
|
|
37
37
|
readonly offsetX: {
|
|
38
|
-
readonly type:
|
|
38
|
+
readonly type: 'number';
|
|
39
39
|
readonly step: 0.1;
|
|
40
40
|
readonly default: 0;
|
|
41
|
-
readonly description:
|
|
41
|
+
readonly description: 'Offset X';
|
|
42
42
|
readonly hiddenFromList: false;
|
|
43
43
|
};
|
|
44
44
|
readonly offsetY: {
|
|
45
|
-
readonly type:
|
|
45
|
+
readonly type: 'number';
|
|
46
46
|
readonly step: 0.1;
|
|
47
47
|
readonly default: 0;
|
|
48
|
-
readonly description:
|
|
48
|
+
readonly description: 'Offset Y';
|
|
49
49
|
readonly hiddenFromList: false;
|
|
50
50
|
};
|
|
51
51
|
readonly maskToSourceAlpha: {
|
|
52
|
-
readonly type:
|
|
52
|
+
readonly type: 'boolean';
|
|
53
53
|
readonly default: false;
|
|
54
|
-
readonly description:
|
|
54
|
+
readonly description: 'Mask to source alpha';
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
export type CheckerboardParams = {
|
|
@@ -71,5 +71,5 @@ export type CheckerboardParams = {
|
|
|
71
71
|
readonly maskToSourceAlpha?: boolean;
|
|
72
72
|
};
|
|
73
73
|
export declare const checkerboard: (params?: (CheckerboardParams & {
|
|
74
|
-
readonly disabled?: boolean
|
|
74
|
+
readonly disabled?: boolean;
|
|
75
75
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -5,5 +5,5 @@ export type ChromaticAberrationParams = {
|
|
|
5
5
|
readonly angle?: number;
|
|
6
6
|
};
|
|
7
7
|
export declare const chromaticAberration: (params?: (ChromaticAberrationParams & {
|
|
8
|
-
readonly disabled?: boolean
|
|
8
|
+
readonly disabled?: boolean;
|
|
9
9
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -23,5 +23,5 @@ export type ColorCorrectionParams = {
|
|
|
23
23
|
readonly vibrance?: number;
|
|
24
24
|
};
|
|
25
25
|
export declare const colorCorrection: (params?: (ColorCorrectionParams & {
|
|
26
|
-
readonly disabled?: boolean
|
|
26
|
+
readonly disabled?: boolean;
|
|
27
27
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/color-key.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export declare const colorKeySchema: {
|
|
2
2
|
readonly keyColor: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'color';
|
|
4
4
|
readonly default: "#00ff00";
|
|
5
|
-
readonly description:
|
|
5
|
+
readonly description: 'Key color';
|
|
6
6
|
};
|
|
7
7
|
readonly similarity: {
|
|
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.18;
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: 'Similarity';
|
|
14
14
|
readonly hiddenFromList: false;
|
|
15
15
|
};
|
|
16
16
|
readonly smoothness: {
|
|
17
|
-
readonly type:
|
|
17
|
+
readonly type: 'number';
|
|
18
18
|
readonly min: 0;
|
|
19
19
|
readonly max: 1;
|
|
20
20
|
readonly step: 0.01;
|
|
21
21
|
readonly default: 0.08;
|
|
22
|
-
readonly description:
|
|
22
|
+
readonly description: 'Smoothness';
|
|
23
23
|
readonly hiddenFromList: false;
|
|
24
24
|
};
|
|
25
25
|
readonly spillSuppression: {
|
|
26
|
-
readonly type:
|
|
26
|
+
readonly type: 'number';
|
|
27
27
|
readonly min: 0;
|
|
28
28
|
readonly max: 1;
|
|
29
29
|
readonly step: 0.01;
|
|
30
30
|
readonly default: 0.25;
|
|
31
|
-
readonly description:
|
|
31
|
+
readonly description: 'Spill suppression';
|
|
32
32
|
readonly hiddenFromList: false;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -43,5 +43,5 @@ export type ColorKeyParams = {
|
|
|
43
43
|
readonly spillSuppression?: number;
|
|
44
44
|
};
|
|
45
45
|
export declare const colorKey: (params?: (ColorKeyParams & {
|
|
46
|
-
readonly disabled?: boolean
|
|
46
|
+
readonly disabled?: boolean;
|
|
47
47
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/color-utils.d.ts
CHANGED
|
@@ -2,36 +2,36 @@ export declare const DEFAULT_AMOUNT: 1;
|
|
|
2
2
|
export declare const DEFAULT_BRIGHTNESS_AMOUNT: 0;
|
|
3
3
|
export declare const DEFAULT_HUE_DEGREES: 0;
|
|
4
4
|
export declare const colorAmountSchema: {
|
|
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: 1;
|
|
10
|
-
readonly description:
|
|
10
|
+
readonly description: 'Amount';
|
|
11
11
|
readonly hiddenFromList: false;
|
|
12
12
|
};
|
|
13
13
|
export declare const colorMultiplierSchema: {
|
|
14
|
-
readonly type:
|
|
14
|
+
readonly type: 'number';
|
|
15
15
|
readonly min: 0;
|
|
16
16
|
readonly step: 0.01;
|
|
17
17
|
readonly default: 1;
|
|
18
|
-
readonly description:
|
|
18
|
+
readonly description: 'Amount';
|
|
19
19
|
readonly hiddenFromList: false;
|
|
20
20
|
};
|
|
21
21
|
export declare const brightnessAmountSchema: {
|
|
22
|
-
readonly type:
|
|
22
|
+
readonly type: 'number';
|
|
23
23
|
readonly min: -1;
|
|
24
24
|
readonly max: 1;
|
|
25
25
|
readonly step: 0.01;
|
|
26
26
|
readonly default: 0;
|
|
27
|
-
readonly description:
|
|
27
|
+
readonly description: 'Amount';
|
|
28
28
|
readonly hiddenFromList: false;
|
|
29
29
|
};
|
|
30
30
|
export declare const hueDegreesSchema: {
|
|
31
|
-
readonly type:
|
|
31
|
+
readonly type: 'rotation-degrees';
|
|
32
32
|
readonly step: 1;
|
|
33
33
|
readonly default: 0;
|
|
34
|
-
readonly description:
|
|
34
|
+
readonly description: 'Degrees';
|
|
35
35
|
};
|
|
36
36
|
export declare const assertOptionalFiniteNumber: (value: unknown, name: string) => void;
|
|
37
37
|
export declare const validateUnitInterval: (value: number, name: string) => void;
|
package/dist/contour-lines.d.ts
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
1
|
export declare const contourLinesSchema: {
|
|
2
2
|
readonly lineColor: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'color';
|
|
4
4
|
readonly default: "#ffffff";
|
|
5
|
-
readonly description:
|
|
5
|
+
readonly description: 'Line color';
|
|
6
6
|
};
|
|
7
7
|
readonly lineWidth: {
|
|
8
|
-
readonly type:
|
|
8
|
+
readonly type: 'number';
|
|
9
9
|
readonly min: 0.1;
|
|
10
10
|
readonly max: 20;
|
|
11
11
|
readonly step: 0.1;
|
|
12
12
|
readonly default: 1.5;
|
|
13
|
-
readonly description:
|
|
13
|
+
readonly description: 'Line width';
|
|
14
14
|
readonly hiddenFromList: false;
|
|
15
15
|
};
|
|
16
16
|
readonly spacing: {
|
|
17
|
-
readonly type:
|
|
17
|
+
readonly type: 'number';
|
|
18
18
|
readonly min: 1;
|
|
19
19
|
readonly max: 200;
|
|
20
20
|
readonly step: 1;
|
|
21
21
|
readonly default: 36;
|
|
22
|
-
readonly description:
|
|
22
|
+
readonly description: 'Spacing';
|
|
23
23
|
readonly hiddenFromList: false;
|
|
24
24
|
};
|
|
25
25
|
readonly scale: {
|
|
26
|
-
readonly type:
|
|
26
|
+
readonly type: 'number';
|
|
27
27
|
readonly min: 20;
|
|
28
28
|
readonly max: 1000;
|
|
29
29
|
readonly step: 1;
|
|
30
30
|
readonly default: 220;
|
|
31
|
-
readonly description:
|
|
31
|
+
readonly description: 'Scale';
|
|
32
32
|
readonly hiddenFromList: false;
|
|
33
33
|
};
|
|
34
34
|
readonly complexity: {
|
|
35
|
-
readonly type:
|
|
35
|
+
readonly type: 'number';
|
|
36
36
|
readonly min: 0;
|
|
37
37
|
readonly max: 1;
|
|
38
38
|
readonly step: 0.01;
|
|
39
39
|
readonly default: 0.65;
|
|
40
|
-
readonly description:
|
|
40
|
+
readonly description: 'Complexity';
|
|
41
41
|
readonly hiddenFromList: false;
|
|
42
42
|
};
|
|
43
43
|
readonly smoothness: {
|
|
44
|
-
readonly type:
|
|
44
|
+
readonly type: 'number';
|
|
45
45
|
readonly min: 0;
|
|
46
46
|
readonly max: 1;
|
|
47
47
|
readonly step: 0.01;
|
|
48
48
|
readonly default: 0.55;
|
|
49
|
-
readonly description:
|
|
49
|
+
readonly description: 'Smoothness';
|
|
50
50
|
readonly hiddenFromList: false;
|
|
51
51
|
};
|
|
52
52
|
readonly seed: {
|
|
53
|
-
readonly type:
|
|
53
|
+
readonly type: 'number';
|
|
54
54
|
readonly step: 1;
|
|
55
55
|
readonly default: 0;
|
|
56
|
-
readonly description:
|
|
56
|
+
readonly description: 'Seed';
|
|
57
57
|
readonly hiddenFromList: false;
|
|
58
58
|
};
|
|
59
59
|
readonly offsetX: {
|
|
60
|
-
readonly type:
|
|
60
|
+
readonly type: 'number';
|
|
61
61
|
readonly step: 0.1;
|
|
62
62
|
readonly default: 0;
|
|
63
|
-
readonly description:
|
|
63
|
+
readonly description: 'Offset X';
|
|
64
64
|
readonly hiddenFromList: false;
|
|
65
65
|
};
|
|
66
66
|
readonly offsetY: {
|
|
67
|
-
readonly type:
|
|
67
|
+
readonly type: 'number';
|
|
68
68
|
readonly step: 0.1;
|
|
69
69
|
readonly default: 0;
|
|
70
|
-
readonly description:
|
|
70
|
+
readonly description: 'Offset Y';
|
|
71
71
|
readonly hiddenFromList: false;
|
|
72
72
|
};
|
|
73
73
|
readonly opacity: {
|
|
74
|
-
readonly type:
|
|
74
|
+
readonly type: 'number';
|
|
75
75
|
readonly min: 0;
|
|
76
76
|
readonly max: 1;
|
|
77
77
|
readonly step: 0.01;
|
|
78
78
|
readonly default: 1;
|
|
79
|
-
readonly description:
|
|
79
|
+
readonly description: 'Opacity';
|
|
80
80
|
readonly hiddenFromList: false;
|
|
81
81
|
};
|
|
82
82
|
readonly maskToSourceAlpha: {
|
|
83
|
-
readonly type:
|
|
83
|
+
readonly type: 'boolean';
|
|
84
84
|
readonly default: false;
|
|
85
|
-
readonly description:
|
|
85
|
+
readonly description: 'Mask to source alpha';
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
export type ContourLinesParams = {
|
|
@@ -110,5 +110,5 @@ export type ContourLinesParams = {
|
|
|
110
110
|
readonly maskToSourceAlpha?: boolean;
|
|
111
111
|
};
|
|
112
112
|
export declare const contourLines: (params?: (ContourLinesParams & {
|
|
113
|
-
readonly disabled?: boolean
|
|
113
|
+
readonly disabled?: boolean;
|
|
114
114
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/contrast.d.ts
CHANGED
|
@@ -10,5 +10,5 @@ export type CornerPinParams = {
|
|
|
10
10
|
readonly bottomLeft?: CornerPinUvCoordinate;
|
|
11
11
|
};
|
|
12
12
|
export declare const cornerPin: (params?: (CornerPinParams & {
|
|
13
|
-
readonly disabled?: boolean
|
|
13
|
+
readonly disabled?: boolean;
|
|
14
14
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/curves.d.ts
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const CURVES_CHANNELS: readonly ['rgb', 'red', 'green', 'blue'];
|
|
2
|
+
declare const CURVES_INTERPOLATIONS: readonly ['smooth', 'linear'];
|
|
3
|
+
export type CurvesPoint = readonly [number, number];
|
|
4
|
+
export type CurvesChannel = (typeof CURVES_CHANNELS)[number];
|
|
5
|
+
export type CurvesInterpolation = (typeof CURVES_INTERPOLATIONS)[number];
|
|
6
|
+
export type CurvesParams = {
|
|
7
|
+
/** Input/output pairs in the range `0` to `1`, sorted by input. Defaults to `[[0, 0], [1, 1]]`. */
|
|
8
|
+
readonly points?: readonly CurvesPoint[];
|
|
9
|
+
/** Color channels to adjust. Defaults to `"rgb"`. */
|
|
10
|
+
readonly channel?: CurvesChannel;
|
|
11
|
+
/** How points are connected. Defaults to `"smooth"`. */
|
|
12
|
+
readonly interpolation?: CurvesInterpolation;
|
|
13
|
+
/** Blend between the original and corrected image, from `0` to `1`. Defaults to `1`. */
|
|
14
|
+
readonly amount?: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const curvesSchema: {
|
|
17
|
+
readonly channel: {
|
|
18
|
+
readonly type: 'enum';
|
|
19
|
+
readonly variants: {
|
|
20
|
+
readonly rgb: {};
|
|
21
|
+
readonly red: {};
|
|
22
|
+
readonly green: {};
|
|
23
|
+
readonly blue: {};
|
|
24
|
+
};
|
|
25
|
+
readonly default: "rgb";
|
|
26
|
+
readonly description: 'Channel';
|
|
27
|
+
};
|
|
28
|
+
readonly points: {
|
|
29
|
+
readonly type: 'array';
|
|
30
|
+
readonly item: {
|
|
31
|
+
readonly type: 'uv-coordinate';
|
|
32
|
+
readonly min: 0;
|
|
33
|
+
readonly max: 1;
|
|
34
|
+
readonly step: 0.001;
|
|
35
|
+
};
|
|
36
|
+
readonly default: readonly [readonly [0, 0], readonly [1, 1]];
|
|
37
|
+
readonly minLength: 2;
|
|
38
|
+
readonly maxLength: 32;
|
|
39
|
+
readonly newItemDefault: readonly [0.5, 0.5];
|
|
40
|
+
readonly description: 'Points';
|
|
41
|
+
readonly keyframable: false;
|
|
42
|
+
};
|
|
43
|
+
readonly interpolation: {
|
|
44
|
+
readonly type: 'enum';
|
|
45
|
+
readonly variants: {
|
|
46
|
+
readonly smooth: {};
|
|
47
|
+
readonly linear: {};
|
|
48
|
+
};
|
|
49
|
+
readonly default: "smooth";
|
|
50
|
+
readonly description: 'Interpolation';
|
|
51
|
+
};
|
|
52
|
+
readonly amount: {
|
|
53
|
+
readonly type: 'number';
|
|
54
|
+
readonly min: 0;
|
|
55
|
+
readonly max: 1;
|
|
56
|
+
readonly step: 0.01;
|
|
57
|
+
readonly default: 1;
|
|
58
|
+
readonly description: 'Amount';
|
|
59
|
+
readonly hiddenFromList: false;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const curves: (params?: (CurvesParams & {
|
|
63
|
+
readonly disabled?: boolean;
|
|
64
|
+
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
65
|
+
export {};
|
package/dist/cylinder/index.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ export type CylinderParams = {
|
|
|
16
16
|
readonly shading?: number;
|
|
17
17
|
};
|
|
18
18
|
export declare const cylinder: (params?: (CylinderParams & {
|
|
19
|
-
readonly disabled?: boolean
|
|
19
|
+
readonly disabled?: boolean;
|
|
20
20
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/dot-grid.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export declare const dotGridSchema: {
|
|
2
2
|
readonly dotSize: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'number';
|
|
4
4
|
readonly min: 0;
|
|
5
5
|
readonly max: 400;
|
|
6
6
|
readonly step: 1;
|
|
7
7
|
readonly default: 16;
|
|
8
|
-
readonly description:
|
|
8
|
+
readonly description: 'Dot size';
|
|
9
9
|
readonly hiddenFromList: false;
|
|
10
10
|
};
|
|
11
11
|
readonly gridSize: {
|
|
12
|
-
readonly type:
|
|
12
|
+
readonly type: 'number';
|
|
13
13
|
readonly min: 1;
|
|
14
14
|
readonly max: 400;
|
|
15
15
|
readonly step: 1;
|
|
16
16
|
readonly default: 20;
|
|
17
|
-
readonly description:
|
|
17
|
+
readonly description: 'Grid size';
|
|
18
18
|
readonly hiddenFromList: false;
|
|
19
19
|
};
|
|
20
20
|
readonly invert: {
|
|
21
|
-
readonly type:
|
|
21
|
+
readonly type: 'boolean';
|
|
22
22
|
readonly default: false;
|
|
23
|
-
readonly description:
|
|
23
|
+
readonly description: 'Invert';
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
export type DotGridParams = {
|
|
@@ -29,5 +29,5 @@ export type DotGridParams = {
|
|
|
29
29
|
readonly invert?: boolean;
|
|
30
30
|
};
|
|
31
31
|
export declare const dotGrid: (params?: (DotGridParams & {
|
|
32
|
-
readonly disabled?: boolean
|
|
32
|
+
readonly disabled?: boolean;
|
|
33
33
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
|
@@ -11,5 +11,5 @@ export type DropShadowParams = {
|
|
|
11
11
|
readonly color?: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const dropShadow: (params?: (DropShadowParams & {
|
|
14
|
-
readonly disabled?: boolean
|
|
14
|
+
readonly disabled?: boolean;
|
|
15
15
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/duotone.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare const duotoneSchema: {
|
|
2
2
|
readonly darkColor: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: 'color';
|
|
4
4
|
readonly default: "#000000";
|
|
5
|
-
readonly description:
|
|
5
|
+
readonly description: 'Dark color';
|
|
6
6
|
};
|
|
7
7
|
readonly lightColor: {
|
|
8
|
-
readonly type:
|
|
8
|
+
readonly type: 'color';
|
|
9
9
|
readonly default: "#ffffff";
|
|
10
|
-
readonly description:
|
|
10
|
+
readonly description: 'Light color';
|
|
11
11
|
};
|
|
12
12
|
readonly threshold: {
|
|
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.5;
|
|
18
|
-
readonly description:
|
|
18
|
+
readonly description: 'Luminance threshold';
|
|
19
19
|
readonly hiddenFromList: false;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -28,5 +28,5 @@ export type DuotoneParams = {
|
|
|
28
28
|
readonly threshold?: number;
|
|
29
29
|
};
|
|
30
30
|
export declare const duotone: (params?: (DuotoneParams & {
|
|
31
|
-
readonly disabled?: boolean
|
|
31
|
+
readonly disabled?: boolean;
|
|
32
32
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|
package/dist/emboss.d.ts
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
export declare const embossSchema: {
|
|
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: 0.7;
|
|
8
|
-
readonly description:
|
|
8
|
+
readonly description: 'Amount';
|
|
9
9
|
readonly hiddenFromList: false;
|
|
10
10
|
};
|
|
11
11
|
readonly size: {
|
|
12
|
-
readonly type:
|
|
12
|
+
readonly type: 'number';
|
|
13
13
|
readonly min: 1;
|
|
14
14
|
readonly max: 200;
|
|
15
15
|
readonly step: 1;
|
|
16
16
|
readonly default: 26;
|
|
17
|
-
readonly description:
|
|
17
|
+
readonly description: 'Size';
|
|
18
18
|
readonly hiddenFromList: false;
|
|
19
19
|
};
|
|
20
20
|
readonly lineWidth: {
|
|
21
|
-
readonly type:
|
|
21
|
+
readonly type: 'number';
|
|
22
22
|
readonly min: 0.1;
|
|
23
23
|
readonly max: 100;
|
|
24
24
|
readonly step: 0.1;
|
|
25
25
|
readonly default: 7;
|
|
26
|
-
readonly description:
|
|
26
|
+
readonly description: 'Line width';
|
|
27
27
|
readonly hiddenFromList: false;
|
|
28
28
|
};
|
|
29
29
|
readonly depth: {
|
|
30
|
-
readonly type:
|
|
30
|
+
readonly type: 'number';
|
|
31
31
|
readonly min: 0;
|
|
32
32
|
readonly max: 1;
|
|
33
33
|
readonly step: 0.01;
|
|
34
34
|
readonly default: 0.75;
|
|
35
|
-
readonly description:
|
|
35
|
+
readonly description: 'Depth';
|
|
36
36
|
readonly hiddenFromList: false;
|
|
37
37
|
};
|
|
38
38
|
readonly angle: {
|
|
39
|
-
readonly type:
|
|
39
|
+
readonly type: 'rotation-degrees';
|
|
40
40
|
readonly step: 1;
|
|
41
41
|
readonly default: 0;
|
|
42
|
-
readonly description:
|
|
42
|
+
readonly description: 'Angle';
|
|
43
43
|
};
|
|
44
44
|
readonly lightAngle: {
|
|
45
|
-
readonly type:
|
|
45
|
+
readonly type: 'rotation-degrees';
|
|
46
46
|
readonly step: 1;
|
|
47
47
|
readonly default: 135;
|
|
48
|
-
readonly description:
|
|
48
|
+
readonly description: 'Light angle';
|
|
49
49
|
};
|
|
50
50
|
readonly offset: {
|
|
51
|
-
readonly type:
|
|
51
|
+
readonly type: 'number';
|
|
52
52
|
readonly step: 0.1;
|
|
53
53
|
readonly default: 0;
|
|
54
|
-
readonly description:
|
|
54
|
+
readonly description: 'Offset';
|
|
55
55
|
readonly hiddenFromList: false;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
@@ -72,5 +72,5 @@ export type EmbossParams = {
|
|
|
72
72
|
readonly offset?: number;
|
|
73
73
|
};
|
|
74
74
|
export declare const emboss: (params?: (EmbossParams & {
|
|
75
|
-
readonly disabled?: boolean
|
|
75
|
+
readonly disabled?: boolean;
|
|
76
76
|
}) | undefined) => import("remotion").EffectDescriptor<unknown>;
|