Effects
LEGEND APPSPreview
Prismatic tear
Timed image distortion over captured slide content.
All effectsRecorded in Legend Slides for macOS (release build).
Requires a Legend Slides build with effect installation support. Installs the materials pack (1.0.2, 41 KB source) and its dependencies. macOS host capabilities: reanimated, skia, webgpu. Installed decks work offline.
Use it in a deck
prismatic-tear.mdx
---
title: Prismatic tear
---
import { View, Text } from "react-native";
import { createPrismaticTearShader } from "slides:materials/Distortion";
export const tear = createPrismaticTearShader(0.7);
# Prismatic tear
<View style={{ width: 1696, height: 650 }}>
<Effect shader={tear} uniforms={{ delaySeconds: 1, durationSeconds: 0.36, intervalSeconds: 4 }} style={{ width: 1696, height: 600 }}><View style={{ width: 1696, height: 600, backgroundColor: "#164e63", alignItems: "center", justifyContent: "center" }}><Text style={{ color: "white", fontSize: 100 }}>A change in perspective</Text></View></Effect>
</View>
Configure
- strength
- Adjust displacement.
- timing uniforms
- Control delay, duration and interval.
- createPrismaticTearShader(intensity)
- Factory argument, 0–1; defaults to 1.
Only imported effects enter the compiled deck. Installation and versioning →