Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Weave
description: A woven substrate of warp and weft threads crossing on a domain-warped grid
component: shader-weave
vibe: premium
length: 150
useWhen:
- "Tactile, crafted, \"made-of\" textures — fabric, mesh, or substrate metaphors."
- "A scene wants a slow sheen of light traveling across a textured surface."
- "The brand voice is handcrafted or material rather than digital and smooth."
avoidWhen:
- "You want a smooth gradient field — use `shader-mesh-gradient`."
- "You want organic noise instead of a woven structure — use `shader-neuro-noise`."
askedAs:
- "woven fabric background"
- "thread mesh texture"
- "I want crossing threads forming a woven surface with a light sheen"
- "tactile crafted look for made-of metaphors"
- "slow glow traveling across textured cloth"
- "warp and weft grid"
---
<ComponentPreview name="shader-weave" />
<InstallBlock name="shader-weave" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderWeave } from "@/components/remocn/shader-weave";
const ShaderWeaveScene = () => (
<ShaderWeave speed={1} scale={22} warp={0.03} />
);
export const RemotionRoot = () => (
<Composition
id="ShaderWeave"
component={ShaderWeaveScene}
durationInFrames={150}
fps={30}
width={1280}
height={720}
/>
);
```
A custom WebGL shader written for the Remocn registry — frame-driven and
deterministic, with no wall-clock time. Warp and weft threads cross on a
domain-warped grid, interlacing over and under like real cloth, with a slow
sheen of light travelling across the fabric. Raise `scale` for a finer weave
and `warp` for a more irregular hand-woven grid.