# Hypno
URL: https://remocn.dev/docs/shaders/components/shader-swirl/hypno

Swirl preset. High-contrast black and white hypnotic spiral

- Install: `npx shadcn@latest add @remocn/shader-swirl-hypno`
- Vibe: playful
- Natural length: 150f @ 30fps

## Installation

```bash
npx shadcn@latest add @remocn/shader-swirl-hypno
```

Installs [Swirl](/docs/shaders/components/shader-swirl) 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 { ShaderSwirlHypno } from "@/components/remocn/shader-swirl-hypno";

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

ShaderSwirlHypno takes the same props as `ShaderSwirl`. 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).

## Use when
- A high-contrast, hypnotic beat that pulls the eye to the center.
- Foreground is light text or a bright product shot that needs a dark field around it.
- You want a finished Swirl look without tuning the palette and parameters yourself.

## Don't use when
- The video must use your brand colors — start from `shader-swirl` and set `colors`.
- You want a lighter, contrasting mood from the same shader — use `shader-swirl-candy`.