The turns a hand tries about an axis, in its own order: none, then each
multiple of a step up to the half turn, the turn toward the hand's own
sense before its opposite. A turn about an axis mirrors to the opposite
turn about the mirrored axis, so the left hand's sense is the right's
negated: listed in one order for both, the left hand tried the mirror
of -step where the right tries step, and of two turns that hold
alike the two hands kept turns that are not each other's mirror.
Parameters
step: number
The spacing of the turns, degrees, positive and finite.
side: "left"|"right"
The hand.
Returns number[]
The turns, degrees, in (-180, 180].
Throws
For a step that is not positive, or so fine that the multiples up to the half turn are not a safe integer count.
The turns a hand tries about an axis, in its own order: none, then each multiple of a step up to the half turn, the turn toward the hand's own sense before its opposite. A turn about an axis mirrors to the opposite turn about the mirrored axis, so the left hand's sense is the right's negated: listed in one order for both, the left hand tried the mirror of
-stepwhere the right triesstep, and of two turns that hold alike the two hands kept turns that are not each other's mirror.