Put Pipes in a box with a size.
pipe-stage.tsx
Pipes
<canvas>| Prop | Type | Default | Description |
|---|---|---|---|
| width | number | 12 | The pipe width, in px. Default 12. |
| cell | number | 32 | The grid step, in px. Default 32. |
| pipes | number | 6 | How many pipes grow at once. Default 6. |
| turn | number | 0.3 | The chance to turn at each cell, 0 to 1. Default 0.3. |
| speed | number | 12 | How fast each pipe grows, in cells per second. Default 12. |
| colors | readonly string[] | AURORA_COLORS | The pipe colors, one per pipe in turn (any CSS color). Default: the aurora. |
| ...props | <canvas> attributes | — | Every other attribute goes to the <canvas>, with a ref. |











