Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. documentclass[tikz,border=16mm]{standalone}
  2. defnodings(#1){%
  3. foreach x in {1,...,#1} {foreach y in {1,#1} {node (nodingxy) at (x,y) {x};}}%
  4. foreach y in {1,...,#1} {foreach x in {1,#1} {node (nodingxy) at (x,y) {x};}}%
  5. }
  6. defoutrays(#1,#2){%
  7. foreach x in {1,...,#1} {foreach y in {1,#1} {draw[line width=1pt,rounded corners=48pt,line cap=round,bend left=24](#2,#2) to (nodingxy);}}%
  8. foreach y in {1,...,#1} {foreach x in {1,#1} {draw[line width=1pt,rounded corners=48pt,line cap=round,bend left=24](#2,#2) to (nodingxy);}}%
  9. }
  10. begin{document}begin{tikzpicture}
  11. nodings(36)outrays(36,24)
  12. node[circle,fill=white,text=cyan!50!black,text width=192mm] (mydisc) at (24,24) {fontsize{128}{1}selectfont NAME\TITLE};
  13. end{tikzpicture}end{document}
  14.  
  15. documentclass[tikz, border=5mm]{standalone}
  16.  
  17. begin{document}
  18. begin{tikzpicture}
  19. draw[clip] (-2,-2) rectangle +(3,3);
  20. node[minimum size=5cm](A){};
  21. node[circle, draw, minimum size=1cm](B) at (A.center) {};
  22. foreach angle in {0,5,...,360} draw (B.angle) to (A);
  23. end{tikzpicture}
  24. end{document}
  25.  
  26. foreach angle in {0,1,...,359} draw[cyan!50!black] (0,0)--++(angle:4);
  27.  
  28. node[circle, fill=white, text=cyan!50!black, text width=15mm, align=center]{Orion\2000};
  29.  
  30. documentclass[tikz, border=5mm]{standalone}
  31.  
  32. begin{document}
  33. begin{tikzpicture}
  34. path[clip] (-2.5,-3) rectangle (1.3,1.5);
  35. foreach angle in {0,1,...,359} draw[cyan!50!black] (0,0)--++(angle:4);
  36. node[circle, fill=white, text=cyan!50!black, text width=15mm, align=center]{Orion\2000};
  37. end{tikzpicture}
  38. end{document}
  39.  
  40. documentclass[tikz,border=16mm]{standalone}
  41. usetikzlibrary{calc}
  42.  
  43. begin{document}
  44. begin{tikzpicture}
  45. node[minimum size=36cm, anchor=south west] (A) {};
  46. foreach j [remember=j as lastj (initially north west)] in {north east, south east, south west, north west}{
  47. foreach i in {0,1,...,36}
  48. draw[line width=1pt, bend left=24, draw=cyan!50!black] (24,24) to ($(A.lastj)!i/36!(A.j)$);
  49. }
  50. node[circle,fill=white,text=cyan!50!black,text width=192mm, align=center] (mydisc) at (24,24) {fontsize{128}{1}selectfont NAME\TITLE};
  51. end{tikzpicture}
  52. end{document}
  53.  
  54. documentclass[tikz, border=1mm]{standalone}
  55. usetikzlibrary{intersections}
  56. begin{document}
  57. begin{tikzpicture}
  58. path[name path=rect] (-2,-2) rectangle +(3,3);
  59. node[circle, minimum size=1cm] (A) at (0,0) {};
  60. foreach angle in {0,3,...,359}{
  61. begin{pgfinterruptboundingbox}
  62. path[name path global=ray] (A.angle) to ++ (angle:10);
  63. end{pgfinterruptboundingbox}
  64. draw[name intersections={of=rect and ray}] (A.angle) to (intersection-1);
  65. }
  66. end{tikzpicture}
  67. end{document}
  68.  
  69. documentclass[preview,pstricks,margin=5mm]{standalone}
  70. usepackage{pst-node}
  71. begin{document}
  72. begin{pspicture}(-5,-5)(5,5)
  73. psclip{psframe[linestyle=none,linewidth=0](-5,-5)(5,5)}
  74. pnode(1,1){A}pscircle(A){2}
  75. foreach i in {0,10,...,350}{pnode[A](2;i){B}psline(B)([nodesep=10]{B}A)}
  76. endpsclip
  77. end{pspicture}
  78. end{document}
  79.  
  80. documentclass[preview,pstricks,margin=5mm]{standalone}
  81. usepackage{pst-node}
  82.  
  83. defpict(#1){begin{pspicture}(-5,-5)(5,5)
  84. psclip{psframe[linestyle=none,linewidth=0](-5,-5)(5,5)}
  85. pnode(#1){A}pscircle(A){2}
  86. foreach i in {0,10,...,350}{pnode[A](2;i){B}psline(B)([nodesep=10]{B}A)}
  87. endpsclip
  88. end{pspicture}}
  89.  
  90. begin{document}
  91. foreach j in {0,20,...,340}{pict(1;j)}
  92. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement