Pond class
The drops waiting for the simulation and a bound on how high the waves still are, so frames stop once the water is calm.
import { Pond } from '@dioramajs/text/water'.
class PondMembers
| Name | Type | Description |
|---|---|---|
constructor | | |
level | number | Upper bound of the wave height in cells. Default |
readonly queue | Drop[] | Default |
readonly calm | boolean | |
add | | |
clear | | |
settle | |
|
take | | The drops of the next step. |
Defined in packages/text/src/water.ts.