Created
November 3, 2011 14:37
-
-
Save robink/1336647 to your computer and use it in GitHub Desktop.
-1 | 1
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 randomSign = function() { | |
return Math.cos( Math.round( Math.random() ) * Math.PI ); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes ;) Same as the fork from Clément: https://gist.github.com/1354874 . I was bad this time :(