cornerBracketMask

The corner-bracket mask: keeps a box stroke only near its four corners (the "tracker bracket" look).

cornerBracketMask(
  names: {bl: string; inCorner: string},
  opts: {blInit: string; px: string; py: string; hx: string; hy: string; stroke: string},
): string[]

Import effects from shaders/std and use effects.overlay.cornerBracketMask.

blInit is the bracket-length expression — the constant inside it is the consumer's look and stays at the call site. Multiplies stroke in place.

Parameters

NameTypeNotes
names{bl: string; inCorner: string}
opts{blInit: string; px: string; py: string; hx: string; hy: string; stroke: string}