# flipPose

function in `@dioramajs/model/coin`

```ts
import { flipPose } from '@dioramajs/model/coin'
```

Rotation of the flip part at `t` 0..1 of a turn from face `from` (0 front, 1 back): a flip
turns about the vertical, a toss tumbles about the horizontal while it rolls half a turn, so
it lands as the flip does, the other face upright. Returns [x, y, z, lift in diameters].

```ts
function flipPose(
  motion: Motion,
  from: number,
  t: number,
): [number, number, number, number]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `motion` | `Motion` |  |
| `from` | `number` |  |
| `t` | `number` |  |

Defined in [packages/model/src/coin.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/model/src/coin.ts#L106).
