Created
February 26, 2011 22:33
-
-
Save robotlolita/845695 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
stuff = -> | |
## I instinctively skip those when I'm reading the code | |
surround_left = -> .59 * surround + .525 * (1 - surround) | |
surround_right = -> .69 * (surround - 1) + .59 * (2 - surround) | |
## And go straight here | |
c = if surround < 1 then surround_left else surround_right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment