Effects
LEGEND APPSPreview

Constellation

A configurable particle program executed by the host WebGPU renderer.

← All effects

Video recorded in Legend Slides for macOS (development build).

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

Use it in a deck

---
title: Constellation
---

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

export const field = createConstellation({particleCount: 1024,rows: 5});

# Constellation

<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 →