Function: thickDiagonal()
thickDiagonal(
dim,thickness):number[][]
Defined in: src/utils/spaceOps.ts:410
A dim x dim matrix of 0/1 flags that marks the band near the main
diagonal (ManimCE thick_diagonal). An entry is 1 when the absolute index
difference is less than thickness, else 0.
Parameters
dim
number
thickness
number = 2
Returns
number[][]