Skip to content

🎥 Make videos programmatically with React

add text warping resource

Jonny Burger6de5a50717dd
diff --git a/packages/docs/docs/paths/warp-path.md b/packages/docs/docs/paths/warp-path.md
index 1a307019ad..8840633d43 100644
--- a/packages/docs/docs/paths/warp-path.md
+++ b/packages/docs/docs/paths/warp-path.md
@@ -4,6 +4,10 @@ title: warpPath()
crumb: "@remotion/paths"
---
+import {WarpTextTutorial} from '../../src/components/tutorials';
+
+<WarpTextTutorial />
+
_Part of the [`@remotion/paths`](/docs/paths) package. Available from v3.3.43_
Allows you to remap the coordinates of an SVG using a function in order to create a warp effect.
@@ -82,4 +86,5 @@ This function is based on the [WarpJS](https://benjamminf.github.io/warpjs/) lib
## See also
- [`@remotion/paths`](/docs/paths)
+- [Example repo](https://github.com/remotion-dev/text-warping)
- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/paths/src/warp-path.ts)
diff --git a/packages/docs/docs/resources.md b/packages/docs/docs/resources.md
index 207b7f31c0..a6a94c86d5 100644
--- a/packages/docs/docs/resources.md
+++ b/packages/docs/docs/resources.md
@@ -72,6 +72,7 @@ This list tries to compile all templates, libraries, building blocks and example
- [Apple "Spring loaded" animation](https://github.com/JonnyBurger/spring-loaded)
- [ThreeJS particles demo](https://github.com/JonnyBurger/three-particles)
- [Text Morphing](https://github.com/JonnyBurger/morph-text)
+- [Text warping](https://github.com/remotion-dev/text-warping)
- [Include GLTF models](https://github.com/JonnyBurger/remotion-three-gltf-example)
- [OpenGL transitions](https://github.com/JonnyBurger/remotion-gl-transitions)
- [Conference talk in React](https://github.com/pomber/record-talk-with-remotion)
diff --git a/packages/docs/src/components/tutorials.tsx b/packages/docs/src/components/tutorials.tsx
index 176281eded..81402e3e5e 100644
--- a/packages/docs/src/components/tutorials.tsx
+++ b/packages/docs/src/components/tutorials.tsx
@@ -35,3 +35,18 @@ export const TransformsTutorial = () => {
</BrowserOnly>
);
};
+
+export const WarpTextTutorial = () => {
+ return (
+ <BrowserOnly>
+ {() => (
+ <AlsoAvailableAsVideo
+ playbackId="925Vqjb0002WjmpV7l1qsUXjhKM8vABxW01FKyfAMckX01U"
+ thumb="https://image.mux.com/925Vqjb0002WjmpV7l1qsUXjhKM8vABxW01FKyfAMckX01U/thumbnail.png"
+ minutes={5}
+ title="Cool text effects with warpPath()"
+ />
+ )}
+ </BrowserOnly>
+ );
+};