# Window storm

A configurable particle program executed by the host WebGPU renderer.

Source: https://legend.so/slides/effects/window-storm/

Legend Slides: Preview.

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

[Window storm preview](https://legend.so/slides/effects/previews/window-storm/7ee325e68734265105336eb27543daa7bb01f31ae5d21d54dcea32ca5f26c7c6.mp4)

Video recorded 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=window-storm)[Download example](https://legend.so/slides/effects/examples/window-storm/c15f07e81fc719ea14b9e98b01fc3fcad883aea17718e41f2e33617b3f60624b.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: Window storm
---

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

export const field = createWindowStorm({particleCount: 384});

# Window storm

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

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