---
title: ReactionDiffusion
description: A living Gray-Scott reaction-diffusion pattern that fills the layer and blooms wherever you drag the cursor
category: Interactive
componentType: Generator
requiresChild: false
sourceUrl: https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/shaders/ReactionDiffusion/index.ts
---

# ReactionDiffusion

A living Gray-Scott reaction-diffusion pattern that fills the layer and blooms wherever you drag the cursor

## Props

## Usage

```vue-html
<Shader>
  <ReactionDiffusion />
</Shader>
```

```jsx
<Shader>
  <ReactionDiffusion />
</Shader>
```

```svelte
<Shader>
  <ReactionDiffusion />
</Shader>
```

```tsx
<Shader>
  <ReactionDiffusion />
</Shader>
```

```javascript
import { createShader } from 'shaders/js'

const shader = await createShader(canvas, {
  components: [
    { type: 'ReactionDiffusion', props: {} }
  ]
})
```