↗ AimConvert / SENS TOOLPrecision guides ↗

MOUSE SENSITIVITY CONVERTER / ANGLE LOGS

Unwrap angle logs before measuring sensitivity

A yaw log jumping from 359 degrees to 1 degree can represent a small forward turn. Subtracting those wrapped labels gives a misleading −358 degrees. Use signed circular differences only when each sampling interval is known to contain less than half a turn, or log an accumulated angle directly.

Published November 7, 2026 · AimConvert · an independent developer

Open the sensitivity converter ↗

Distinguish orientation from travel

Wrapping stores an angle in a repeating range. Godot documents wrapf with rotation examples in radians. The worked examples here use degrees and a range from zero inclusive to 360 exclusive. One wrapped orientation cannot tell you how many whole turns preceded it. State the range and units in your log alongside the signed mouse input.

Replay a boundary crossing

Choose logged yaw labels of 350, 358, 6 and 14 degrees. Direct subtraction gives +8, −352 and +8. If the known motion is a small positive turn in each interval, the corresponding circular increments are +8, +8 and +8. Their sum is +24 degrees. The direct sum is −336, differing by exactly one full turn. This is a constructed scalar yaw sequence, not a recording from a game.

Wrapped yaw 350, 358, 6 and 14 corresponds to three positive eight degree increments
Own boundary-crossing replay with the small-interval condition.

Associate each interval with +40 input units. The recovered gain is 24/120 = 0.20 degrees per unit. Directly dividing the misleading −336 by 120 produces −2.8 degrees per unit. That apparent reversal and larger magnitude come entirely from subtracting the representation labels. Starting an accumulated record at 350 and adding the three valid increments gives 350, 358, 366 and 374. Its final-minus-initial difference is the expected 24.

Define a signed difference carefully

For two degree labels a and b, let d = b − a. Define wrap360(x) = x − 360 floor(x/360), then calculate delta = wrap360(d + 180) − 180. The result lies in [−180, 180). For the transition 358 to 6, d is −352. Adding 180 gives −172, wrapping gives 188, and subtracting 180 gives +8. For the reversal 6 to 358, d is 352 and the same calculation yields −8. Use a positive modulo or this floor definition because programming languages differ in how remainder handles negative inputs.

Identical endpoint labels can represent different travel, and a half turn has two directions
Endpoint ambiguity limits what a circular difference can recover.

The pair 10 to 250 produces a shortest signed result of −120 degrees. Yet an actual +240-degree turn ends at the same label, as does +600 degrees. No endpoint-only operation can choose between those histories. At exactly 180 degrees, both directions have equal length. This formula returns −180 by convention, which does not prove the motion was negative. Keep accumulated rotation or additional direction and turn-count evidence for such intervals.

For a selected constant speed of 720 degrees per second, an interval of 0.1 seconds contains 72 degrees and meets the less-than-180 condition. At 0.3 seconds, it contains 216 degrees, and a shortest difference would report −144. A 0.25-second interval lands exactly on the ambiguous half turn. These are conditional calculations from an imposed speed, not a sampling recommendation or measured player motion.

Make the log usable

  1. Record timestamp, axis, units, wrapped orientation and signed input for each interval.
  2. Prefer logging accumulated applied yaw when you control the camera implementation.
  3. If recovering from wrapped labels, document the interval bound and flag ambiguous samples instead of silently assuming a shortest path.

Questions

Can I sum absolute circular increments to measure net turn?

That measures path length under the same sampling condition. Net signed rotation preserves reversals.

Does unwrapping fix a pitch limit?

Wrapping and clipping are different operations. See the pitch-limit replay for discarded movement.

Should I change sensitivity when the log jumps?

Verify the representation and interval first. Then compare the recovered response with the converter's stated horizontal preset model.

Source and method

All labels, input values, gains and speeds above are synthetic exact calculations. The formula applies to a scalar angle and does not define arbitrary three-dimensional orientation differences. Godot wrapf rotation examples.