logo.ps 995 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. %!
  2. <</PageSize[512 512]>>setpagedevice
  3. % #323330 = 50 51 48
  4. % #F0DB4F = 240 219 79
  5. % #4386b5 = 67 134 181
  6. /cG { 50 255 div 51 255 div 48 255 div setrgbcolor } def
  7. /cY { 240 255 div 219 255 div 79 255 div setrgbcolor } def
  8. /cB { 67 255 div 134 255 div 181 255 div setrgbcolor } def
  9. % fill background with yellow
  10. cY
  11. 0 0 moveto 512 0 lineto 512 512 lineto 0 512 lineto closepath fill
  12. % move logo to lower right corner
  13. 512 0.2 mul 0 translate
  14. 0.8 0.8 scale
  15. % center logo
  16. 0.875 0.875 scale
  17. 32 32 translate
  18. % draw electrons and nucleus
  19. cG
  20. gsave
  21. 256 256 translate
  22. 16 setlinewidth
  23. gsave 0 rotate .5 1 scale 0 0 232 0 360 arc stroke grestore
  24. gsave 60 rotate .5 1 scale 0 0 232 0 360 arc stroke grestore
  25. gsave 120 rotate .5 1 scale 0 0 232 0 360 arc stroke grestore
  26. 0 0 96 0 360 arc fill
  27. grestore
  28. % draw yellow 'JS' text in center of nucleus
  29. cY
  30. gsave
  31. /SourceSansPro-Bold findfont 128 scalefont setfont
  32. 256 256 moveto
  33. (JS)
  34. dup stringwidth pop -2 div -44 rmoveto
  35. show
  36. grestore
  37. showpage