Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

1.9 KB
Raw Blame
---
title: Synthwave
description: Mesh Gradient preset. Night-purple field lit by a warm coral sunset glow
component: shader-mesh-gradient-synthwave
vibe: tech
length: 150
useWhen:
  - "A dark, retro-futuristic scene with a warm glow at one edge."
  - "Foreground is light text or a bright product shot that needs a dark field around it."
  - "You want a finished Mesh Gradient look without tuning the palette and parameters yourself."
avoidWhen:
  - "The video must use your brand colors — start from `shader-mesh-gradient` and set `colors`."
  - "You want a lighter, contrasting mood from the same shader — use `shader-mesh-gradient-lagoon`."
askedAs:
  - "synthwave night background"
  - "purple with orange sunset glow"
  - "I want a dark purple field lit by a coral glow at one edge"
  - "retro futuristic vaporwave scene"
  - "80s outrun mood behind light text"
  - "night purple and warm pink glow"
---

<ComponentPreview name="shader-mesh-gradient-synthwave" />

<InstallBlock name="shader-mesh-gradient-synthwave" />

Installs [Mesh Gradient](/docs/shaders/components/shader-mesh-gradient) as a dependency. This file only fixes its look: the preset object at the top holds every value, so edit it in place to make the preset your own.

## Usage

```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderMeshGradientSynthwave } from "@/components/remocn/shader-mesh-gradient-synthwave";

export const RemotionRoot = () => (
  <Composition
    id="ShaderMeshGradientSynthwave"
    component={ShaderMeshGradientSynthwave}
    durationInFrames={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

ShaderMeshGradientSynthwave takes the same props as `ShaderMeshGradient`. Props you pass override the preset, except `speed`, which scales the preset's own pace: `speed={2}` is twice as fast as the preset, whatever its base speed.

## Credits

Shader by [paper-design/shaders](https://github.com/paper-design/shaders).