Facing NSEW Rotation Orientation Counter

Track actual signed quarter-turn dance orientation under caller N/E/S/W stage convention and retain whole-turn winding; no compass/geodesy transform or wrapped-angle motion inference.

Description

Quarter-turn logs retain both final facing and whole-turn winding.

Quarter-turn logs retain both final facing and whole-turn winding. N/E/S/W is a caller stage convention.1

Enter initial integer facing 0–3 and a nonempty integer turn list bounded±10000. Return cumulative signed turns, facing sequence and final facing.

When to use Facing NSEW Rotation Orientation Counter

Use Facing NSEW Rotation Orientation Counter when you need to evaluate the supplied records under the calculation and evidence rules below. No compass/geodesy transform or wrapped-angle motion reconstruction is supplied.

Prepare the annotated dance, timing, rehearsal or inventory records requested. Supply caller rules, evidence flags and local reference values; distinguish beats, bars, counts and seconds.

How to use Facing NSEW Rotation Orientation Counter and understand its results

  1. Prepare the annotated dance, timing, rehearsal or inventory records requested. Supply caller rules, evidence flags and local reference values; distinguish beats, bars, counts and seconds.
  2. Enter initialFacingNeswCode, callerSignedQuarterTurns using the field table and calculation rules, then run the tool.
  3. Read facingNeswCodesAfterTurns, signedCumulativeQuarterTurns, observedFinalFacingNeswCode. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
initialFacingNeswCodeInitial facing nesw codenumberRequired
callerSignedQuarterTurnsCaller signed quarter turnslist of numberRequired

Enter initial integer facing 0–3 and a nonempty integer turn list bounded±10000. Return cumulative signed turns, facing sequence and final facing.

cumulative=sum(turns); facing=(initial+cumulative) mod4

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
facingNeswCodesAfterTurnsFacing nesw codes after turnslist of number
signedCumulativeQuarterTurnsSigned cumulative quarter turnslist of number
observedFinalFacingNeswCodeObserved final facing nesw codenumber
json
{
  "input": {
    "initialFacingNeswCode": 0,
    "callerSignedQuarterTurns": [
      1,
      1,
      -1,
      4
    ]
  },
  "output": {
    "facingNeswCodesAfterTurns": [
      1,
      2,
      1,
      1
    ],
    "signedCumulativeQuarterTurns": [
      1,
      2,
      1,
      5
    ],
    "observedFinalFacingNeswCode": 1
  }
}

Limitations and assumptions

No compass/geodesy transform or wrapped-angle motion reconstruction is supplied.

Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Viennese Waltz Rotations Per Bar Estimate: Unwrapped body orientations retain whole turns between observations. Signed rotations per bar depend on the actual bar interval. For a complementary task, use Pirouette Spotting Rotation Rpm Estimate: Spotting intervals can be checked against unwrapped torso rotation. Head rotation and torso rotation are different observations.

References

  1. Facing NSEW Rotation Orientation Counter — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies