# chance

function in `@dioramajs/text/hologram`

```ts
import { chance } from '@dioramajs/text/hologram'
```

A uniform random number in [0, 1) for two counters: the same on every load.

```ts
function chance(a: number, b: number): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `a` | `number` |  |
| `b` | `number` |  |

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