Created
June 17, 2015 10:00
-
-
Save minikomi/b39c7d8b0a49ab369157 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/radius 0 def | |
/currentgray 1 def | |
/pagewidth currentpagedevice /PageSize get 0 get def | |
/pageheight currentpagedevice /PageSize get 1 get def | |
/incRadius { | |
/radius radius 6 add def | |
} def | |
/setGray { | |
/currentgray radius pagewidth div def | |
} def | |
/doCircle { | |
0.6 currentgray mul setgray | |
currentgray 8000 mul rotate | |
0 0 -8 radius add 0 30 currentgray mul currentgray 140 mul add arc | |
currentgray -8000 mul rotate | |
stroke | |
currentgray 11000 mul rotate | |
0 0 -3 radius add 120 currentgray mul 22 currentgray mul currentgray 97 mul add arc | |
currentgray -11000 mul rotate | |
stroke | |
currentgray 2200 mul rotate | |
0 0 -3 radius add 0 160 currentgray mul 360 arc | |
currentgray -2200 mul rotate | |
stroke | |
0.3 0.3 currentgray mul add setgray | |
currentgray 7000 mul rotate | |
0 0 radius 50 360 currentgray 360 mul sub arc | |
currentgray -7000 mul rotate | |
stroke | |
} def | |
pagewidth 2 div | |
pageheight 2 div | |
translate | |
0.3 setlinewidth | |
{ | |
radius pagewidth le | |
{ | |
doCircle | |
incRadius | |
setGray | |
} | |
{ | |
exit | |
} ifelse | |
} loop | |
showpage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment