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): number
import { bcChainLength } from '@driftengine/drft';

Parameters

ParameterTypeDescription
widthnumber
heightnumber