Skip to content

handsOf

handsOf(frames, toScreen, width, height, bodyOf?, aim?): Hand[]

Every player’s hands in stage units, where they aim (the protocol’s aimPoint), times the stage size; bodyOf(frame) is the body to read (null: the frame’s own). Landscape (the default): its wrists through toScreen (player space to screen fractions). Portrait (aim.orientation): the wrists stretched to the whole screen, held by aim.hold if given.

readonly PlayerFrame[]

(p) => Point

number

number

(f) => Body | null

HandsAim

Hand[]