# twoUp

function in `@dioramajs/media/flipbook`

```ts
import { twoUp } from '@dioramajs/media/flipbook'
```

Two pages side by side when the box holds them at three quarters of a page's height or more.

```ts
function twoUp(width: number, height: number, aspect: number): boolean
```

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

Defined in [packages/media/src/flipbook.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/media/src/flipbook.ts#L134).
