@remotion/motion-blur 4.0.243 → 4.0.245
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/LICENSE.md +1 -1
- package/dist/cjs/CameraMotionBlur.d.ts +0 -4
- package/dist/cjs/CameraMotionBlur.js +1 -1
- package/dist/cjs/Trail.d.ts +0 -4
- package/dist/cjs/Trail.js +2 -2
- package/package.json +4 -4
package/LICENSE.md
CHANGED
|
@@ -4,8 +4,4 @@ export type CameraMotionBlurProps = {
|
|
|
4
4
|
readonly shutterAngle?: number;
|
|
5
5
|
readonly samples?: number;
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
8
|
-
* @description Produces natural looking motion blur similar to what would be produced by a film camera.
|
|
9
|
-
* @see [Documentation](https://www.remotion.dev/docs/motion-blur/camera-motion-blur)
|
|
10
|
-
*/
|
|
11
7
|
export declare const CameraMotionBlur: React.FC<CameraMotionBlurProps>;
|
|
@@ -14,7 +14,7 @@ const getNumberOfSamples = ({ shutterFraction, samples, currentFrame, }) => {
|
|
|
14
14
|
const factor = Math.min(1, Math.max(0, maxTimeReverse / maxOffset + 1));
|
|
15
15
|
return Math.max(1, Math.round(Math.min(factor * samples, samples)));
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
/*
|
|
18
18
|
* @description Produces natural looking motion blur similar to what would be produced by a film camera.
|
|
19
19
|
* @see [Documentation](https://www.remotion.dev/docs/motion-blur/camera-motion-blur)
|
|
20
20
|
*/
|
package/dist/cjs/Trail.d.ts
CHANGED
|
@@ -5,8 +5,4 @@ export type TrailProps = {
|
|
|
5
5
|
readonly lagInFrames: number;
|
|
6
6
|
readonly trailOpacity: number;
|
|
7
7
|
};
|
|
8
|
-
/**
|
|
9
|
-
* @description The <Trail> component duplicates it's children and adds a time offset to each layer in order to create a trail effect.
|
|
10
|
-
* @see [Documentation](https://www.remotion.dev/docs/motion-blur/trail)
|
|
11
|
-
*/
|
|
12
8
|
export declare const Trail: React.FC<TrailProps>;
|
package/dist/cjs/Trail.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Trail = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const remotion_1 = require("remotion");
|
|
6
|
-
|
|
7
|
-
* @description The <Trail> component duplicates
|
|
6
|
+
/*
|
|
7
|
+
* @description The <Trail> component duplicates its children and adds a time offset to each layer in order to create a trail effect.
|
|
8
8
|
* @see [Documentation](https://www.remotion.dev/docs/motion-blur/trail)
|
|
9
9
|
*/
|
|
10
10
|
const Trail = ({ children, layers, lagInFrames, trailOpacity, }) => {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/motion-blur"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/motion-blur",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.245",
|
|
7
7
|
"description": "Motion blur effect for Remotion",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"remotion": "4.0.
|
|
19
|
+
"remotion": "4.0.245"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": ">=16.8.0",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"react": "19.0.0",
|
|
36
36
|
"react-dom": "19.0.0",
|
|
37
37
|
"eslint": "9.14.0",
|
|
38
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
39
|
-
"remotion": "4.0.
|
|
38
|
+
"@remotion/eslint-config-internal": "4.0.245",
|
|
39
|
+
"remotion": "4.0.245"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"remotion",
|