---
title: "Shatter"
description: "VFX composition block"
---
## Install
```bash Terminal
npx hyperframes add vfx-shatter
```
That writes one file: `compositions/vfx-shatter.html`.
Live preview needs the `chrome://flags/#canvas-draw-element` flag switched on.
Rendering from the CLI switches it on for you. [How it
works](/guides/html-in-canvas)
## Add it to your video
It runs for 12 seconds at 1920×1080. Paste this into your composition:
```html index.html
```
Move it in time with `data-start`. Put it on a different timeline row with
`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
{/* hf:generated-footer */}
Tagged `html-in-canvas` `webgl`.