Effects
LEGEND APPSPreview

Glow field

A configurable particle program executed by the host WebGPU renderer.

All effects
Recorded in Legend Slides for macOS (release build).

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
---
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 โ†’

More in the particles pack