# default

const in `@dioramajs/media/parallax`

```ts
import { default } from '@dioramajs/media/parallax'
```

The image shifts inside its box with the pointer and with scroll. With a depth map near parts
move more than far ones and cover them, a 2.5D photo without geometry.

```ts
const default: Effect<Params>
```

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