Skip to content

🎥 Make videos programmatically with React

noise docs: init

George Satellitef97ae6e4689e
diff --git a/packages/docs/components/TableOfContents/api.tsx b/packages/docs/components/TableOfContents/api.tsx
index ed2a0f8f79..43b72b08cd 100644
--- a/packages/docs/components/TableOfContents/api.tsx
+++ b/packages/docs/components/TableOfContents/api.tsx
@@ -72,6 +72,10 @@ export const TableOfContents: React.FC = () => {
<strong>@remotion/paths</strong>
<div>Manipulate and obtain info about SVG paths</div>
</TOCItem>
+ <TOCItem link="/docs/noise">
+ <strong>@remotion/noise</strong>
+ <div>Create noise</div>
+ </TOCItem>
</Grid>
</div>
);
diff --git a/packages/docs/docs/noise/index.md b/packages/docs/docs/noise/index.md
new file mode 100644
index 0000000000..673e49bca8
--- /dev/null
+++ b/packages/docs/docs/noise/index.md
@@ -0,0 +1,52 @@
+---
+title: "@remotion/noise"
+---
+
+<!-- TODO: most probably, the version will be different, so change it later -->
+_Available from v3.2.31_
+
+Utility functions that create a noise effect.
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+<Tabs
+defaultValue="npm"
+values={[
+{ label: 'npm', value: 'npm', },
+{ label: 'pnpm', value: 'pnpm', },
+{ label: 'yarn', value: 'yarn', },
+]
+}>
+<TabItem value="npm">
+
+```bash
+npm i @remotion/noise
+```
+
+ </TabItem>
+
+ <TabItem value="pnpm">
+
+```bash
+pnpm i @remotion/noise
+```
+
+ </TabItem>
+
+ <TabItem value="yarn">
+
+```bash
+yarn add @remotion/noise
+```
+
+ </TabItem>
+</Tabs>
+
+## Functions
+
+<!-- TODO: add functions reference -->
+
+## License
+
+MIT
diff --git a/packages/docs/package.json b/packages/docs/package.json
index e08f627d78..36d008e9cf 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -30,6 +30,7 @@
"@remotion/lottie": "3.2.31",
"@remotion/media-utils": "3.2.31",
"@remotion/motion-blur": "3.2.31",
+ "@remotion/noise": "3.2.31",
"@remotion/paths": "3.2.31",
"@remotion/player": "3.2.31",
"@remotion/preload": "3.2.31",
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 690512a616..1d1489c82f 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -249,6 +249,19 @@ module.exports = {
"paths/extend-viewbox",
],
},
+ {
+ type: "category",
+ label: "@remotion/noise",
+ link: {
+ type: "doc",
+ id: "noise/index",
+ },
+ items: [
+ // "noise/create-noise-2d", // TODO: confirm it works
+ // "noise/create-noise-3d", // TODO: confirm it works
+ // "noise/create-noise-4d", // TODO: confirm it works
+ ],
+ },
],
mainSidebar: [
{
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 61f35f8edf..c9e8c3ac4c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -259,6 +259,7 @@ importers:
'@remotion/lottie': 3.2.31
'@remotion/media-utils': 3.2.31
'@remotion/motion-blur': 3.2.31
+ '@remotion/noise': 3.2.31
'@remotion/paths': 3.2.31
'@remotion/player': 3.2.31
'@remotion/preload': 3.2.31
@@ -307,6 +308,7 @@ importers:
'@remotion/lottie': link:../lottie
'@remotion/media-utils': link:../media-utils
'@remotion/motion-blur': link:../motion-blur
+ '@remotion/noise': link:../noise
'@remotion/paths': link:../paths
'@remotion/player': link:../player
'@remotion/preload': link:../preload