# Trajectory emitter

Repeat arbitrary content along native keyframe paths.

Source: https://legend.so/slides/effects/trajectory-emitter/

Legend Slides: Preview.

[← All effects](https://legend.so/slides/effects/)![Trajectory emitter in Legend Slides](https://legend.so/slides/effects/previews/trajectory-emitter/d41e01b3fdd1e1f110a2527dbfea156775b0629ea5520124d6cfc8429eb2ce86.png)

Still captured in Legend Slides for macOS (development build).

[Install in Slides](legend-slides://effects/install?pack=particles&version=1.0.0)[Open example in Slides](legend-slides://effects/example?effect=trajectory-emitter)[Download example](https://legend.so/slides/effects/examples/trajectory-emitter/09a6294349bf8b2981d17c4b442ce87144aca17a8361027b9458be47f2836dba.mdx)

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

```mdx
---
title: Trajectory emitter
---

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

export const paths = [0,1,2].map(index => [{time: 0,x: 200,y: 200,opacity: 0},{time: 300,x: 600,y: 200 + index * 100,opacity: 1},{time: 1800,x: 1400,y: 200 + index * 100,opacity: 0}]);

# Trajectory emitter

<View style={{ width: 1696, height: 650 }}>
<TrajectoryEmitter trajectories={paths} interval={800} renderParticle={() => <View style={{width: 36,height: 36,borderRadius: 18,backgroundColor: "#67e8f9"}} />} />
</View>
```

## Configure

**trajectories**

Supply ordered native keyframes.

**interval / start**

Set spacing and start delay.

**renderParticle**

Supply the emitted content.

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

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