# trailProfile

function in `@dioramajs/particles/drops`

```ts
import { trailProfile } from '@dioramajs/particles/drops'
```

Cross-section of a wet trail at `across`, from -1 (one edge) to 1 (the other): its opacity
and how light it is. Symmetric about the middle, where the drop ran: a thin glossy line along
the centre, a faint film, and darker edges where the water film ends.

```ts
function trailProfile(across: number): { alpha: number; light: number }
```

| Parameter | Type | Description |
| --- | --- | --- |
| `across` | `number` |  |

Defined in [packages/particles/src/drops.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/particles/src/drops.ts#L451).
