Created
October 9, 2015 12:18
-
-
Save vlas-ilya/fa86279735deebf25223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clockAngle = function (h, m) { | |
return Math.abs((h * 30 + m * 0.5) - (m * 6)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment