Revision as of 12:42, 20 October 2018
A spinner is an object found in Tick Tock Clock. The spinner spins around its central axis either clockwise or counterclockwise, and its spin is dependent on the setting of the clock.
Behavior
The spinner behaves differently on all four clock settings.
Still Setting
Fast Setting
Slow Setting
Random Setting
Spinners call RNG twice when they stop spinning[1]. The first call determines direction. If the result is less than 32768, the spinner spins clockwise, and otherwise counterclockwise. The second call determines intended angular displacement. Spinners calculate their intended angular displacement by the following formula, in which % denotes the modulo function:
Intended Angular Displacement = (RNG % 4) * 30 + 30
The following is a table summarizing this information, with probabilities of the individual states in parentheses:
Spinner intended CW ang disp (AU) |
RNG2 % 4 = 0 (24.982339%) |
RNG2 % 4 = 1 (24.999232%) |
RNG2 % 4 = 2 (25.008447%) |
RNG2 % 4 = 3 (25.009982%)
|
RNG1 ≥ 32768 (49.983107%) |
-30 (12.485794%) |
-60 (12.490401%) |
-90 (12.501152%) |
-120 (12.505759%)
|
RNG1 < 32768 (50.016893%) |
30 (12.496545%) |
60 (12.508831%) |
90 (12.507295%) |
120 (12.504223%)
|
References