# eyeOf

function in `@dioramajs/text/unfold`

```ts
import { eyeOf } from '@dioramajs/text/unfold'
```

Distance of the eye from the paper, px: a perspective like CSS `perspective` on the box.

```ts
function eyeOf(width: number, height: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `width` | `number` |  |
| `height` | `number` |  |

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