# Prismatic tear

Timed image distortion over captured slide content.

Source: https://legend.so/slides/effects/prismatic-tear/

Legend Slides: Preview.

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

[Prismatic tear preview](https://legend.so/slides/effects/previews/prismatic-tear/83ff7518a3c072820ea9a480f9bdab14d36127c2e7a9372444747f37e6d745f6.mp4)

Recorded in Legend Slides for macOS (release build).

[Install in Slides](legend-slides://effects/install?pack=materials&version=1.0.2) [Open example](legend-slides://effects/example?effect=prismatic-tear) [Download example](https://legend.so/slides/effects/examples/prismatic-tear/c266f2bebd1ef9b3bba6d60e1083246a13c4038e475bbd5d2449f250590a16a9.mdx)

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

```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 →](https://legend.so/slides/effects/installation/)

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