# Glow field

A configurable particle program executed by the host WebGPU renderer.

Source: https://legend.so/slides/effects/glow-field/

Legend Slides: Preview.

[All effects](https://legend.so/slides/effects/)

[Glow field preview](https://legend.so/slides/effects/previews/glow-field/52c7a7680f952827bb269571ee4f1b58b3719ba7586d98a944c1aea4258f24a6.mp4)

Recorded in Legend Slides for macOS (release build).

[Install in Slides](legend-slides://effects/install?pack=particles&version=1.0.3) [Open example](legend-slides://effects/example?effect=glow-field) [Download example](https://legend.so/slides/effects/examples/glow-field/1aeb1f3a18ce1e5d49f3a56a0481a121120c1333048c951e3355d5353c28117e.mdx)

Requires a Legend Slides build with effect installation support. Installs the particles pack (1.0.3, 13 KB source) and its dependencies. macOS host capabilities: reanimated, webgpu. Installed decks work offline.

## Use it in a deck

glow-field.mdx

```mdx
---
title: Glow field
---

import { View, Text } from "react-native";
import { createGlowField } from "slides:particles/GlowField";

export const field = createGlowField({ particleCount: 2048, scale: 1.45, tintA: [1, 0.48, 0.18], tintB: [0.85, 0.16, 0.48] });

# Glow field

<View style={{ width: 1696, height: 650 }}>
<TypeGPUShader code={field.program} particleCount={field.particleCount} particles width={1696} height={650} />
</View>
```

## Configure

**particleCount**

Choose particle density; keep it paired with the returned program.

**speed / scale**

Adjust shared-clock speed and cloud geometry.

Only imported effects enter the compiled deck. [Installation and versioning →](https://legend.so/slides/effects/installation/)

[View Markdown](https://legend.so/slides/effects/glow-field.md)[Report a documentation correction](https://github.com/LegendApp/legend-docs/issues/new?title=Docs%3A+Glow+field&body=Page%3A+https%3A%2F%2Flegend.so%2Fslides%2Feffects%2Fglow-field%0A%0AWhat+is+incorrect+or+missing%3F%0A%0AExpected+behavior+or+supporting+source%3A%0A)
