# puff

function in `@dioramajs/text/inflate`

```ts
import { puff } from '@dioramajs/text/inflate'
```

Builds the puffed letters of a raster: a distance field over the raster's frame and a margin
for the shadow, the round profile's radius from an inflated membrane, and the nearest letter.

```ts
function puff(layout: Raster, ratio: number, pause?: Pause): Promise<Puff>
```

| Parameter | Type | Description |
| --- | --- | --- |
| `layout` | `Raster` |  |
| `ratio` | `number` |  |
| `pause?` | `Pause` |  |

Defined in [packages/text/src/inflate.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/inflate.ts#L376).
