Skip to content

Instantly share code, notes, and snippets.

@hoeck
Forked from anonymous/Alpha1
Created March 23, 2010 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoeck/341008 to your computer and use it in GitHub Desktop.
Save hoeck/341008 to your computer and use it in GitHub Desktop.
(def Alpha1
(map #(if (not (= 100 x))
(Math/atan (/ y (- 100 x)))
(if (> y 0) (/ Math/PI 2)
(if (< y 0)
(/ (* 3 Math/PI) 2)
0)))
(range 0 101 20)
(range 101 0 -20)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment