# Pond

class in `@dioramajs/text/water`

```ts
import { Pond } from '@dioramajs/text/water'
```

The drops waiting for the simulation and a bound on how high the waves still are, so frames
stop once the water is calm.

```ts
class Pond
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `constructor` | `constructor(): Pond` |  |
| `level` | `number` | Upper bound of the wave height in cells. |
| `queue` | `Drop[]` |  |
| `calm` | `boolean` |  |
| `add` | `add(drop: Drop): void` |  |
| `clear` | `clear(): void` |  |
| `settle` | `settle(factor: number, steps: number): void` | `steps` simulation steps damped by `factor` each. |
| `take` | `take(): Drop[]` | The drops of the next step. |

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