The .drft container · function
bcChainLength
How many levels a full chain from width by height down to 1x1 has.
Explained in The .drft container.
function bcChainLength(width: number, height: number): numberimport { bcChainLength } from '@driftengine/drft';Parameters
| Parameter | Type | Description |
|---|---|---|
width | number | |
height | number |