You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
Analysis is based on the decompiled source of the vanilla b1.7.3 client.
Concepts
Celestial Angle
The celestial angle is defined by the following function, where X is a value between [0, 1].
Y = X + ( (1 - (cos(X * PI) + 1) / 2) - X ) / 3
Notch derives X from the current time-of-day (in ticks) divided by 24,000 (the number of ticks in a day-night cycle), minus 0.25. If X is less than 0, he adds one in order to keep the domain between [0, 1] as required by the equation. The reason Notch shifts the domain by 1/4 is not clear.
The following graph shows the result of Notch's celestial angle calculation function for inputs between [0, 24000] in increments of 240.