@remotion/motion-blur 3.3.53 → 3.3.55
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/CameraMotionBlur.d.ts +4 -0
- package/dist/CameraMotionBlur.js +4 -0
- package/dist/Trail.d.ts +4 -0
- package/dist/Trail.js +4 -0
- package/package.json +3 -3
|
@@ -4,4 +4,8 @@ export declare type CameraMotionBlurProps = {
|
|
|
4
4
|
shutterAngle?: number;
|
|
5
5
|
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
|
+
*/
|
|
7
11
|
export declare const CameraMotionBlur: React.FC<CameraMotionBlurProps>;
|
package/dist/CameraMotionBlur.js
CHANGED
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CameraMotionBlur = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const remotion_1 = require("remotion");
|
|
6
|
+
/**
|
|
7
|
+
* @description Produces natural looking motion blur similar to what would be produced by a film camera.
|
|
8
|
+
* @see [Documentation](https://www.remotion.dev/docs/motion-blur/camera-motion-blur)
|
|
9
|
+
*/
|
|
6
10
|
const CameraMotionBlur = ({ children, shutterAngle = 180, samples = 10, }) => {
|
|
7
11
|
const currentFrame = (0, remotion_1.useCurrentFrame)();
|
|
8
12
|
if (typeof samples !== 'number' ||
|
package/dist/Trail.d.ts
CHANGED
|
@@ -5,4 +5,8 @@ export declare type TrailProps = {
|
|
|
5
5
|
lagInFrames: number;
|
|
6
6
|
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
|
+
*/
|
|
8
12
|
export declare const Trail: React.FC<TrailProps>;
|
package/dist/Trail.js
CHANGED
|
@@ -3,6 +3,10 @@ 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 it's children and adds a time offset to each layer in order to create a trail effect.
|
|
8
|
+
* @see [Documentation](https://www.remotion.dev/docs/motion-blur/trail)
|
|
9
|
+
*/
|
|
6
10
|
const Trail = ({ children, layers, lagInFrames, trailOpacity, }) => {
|
|
7
11
|
const frame = (0, remotion_1.useCurrentFrame)();
|
|
8
12
|
if (typeof layers !== 'number' ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/motion-blur",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.55",
|
|
4
4
|
"description": "Motion blur effect for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"remotion": "3.3.
|
|
23
|
+
"remotion": "3.3.55"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=16.8.0",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "4cecccc293e9c906c693f55fac65df8f1cfd2338"
|
|
49
49
|
}
|