Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[tikz,border=16mm]{standalone}
- defnodings(#1){%
- foreach x in {1,...,#1} {foreach y in {1,#1} {node (nodingxy) at (x,y) {x};}}%
- foreach y in {1,...,#1} {foreach x in {1,#1} {node (nodingxy) at (x,y) {x};}}%
- }
- defoutrays(#1,#2){%
- 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);}}%
- 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);}}%
- }
- begin{document}begin{tikzpicture}
- nodings(36)outrays(36,24)
- node[circle,fill=white,text=cyan!50!black,text width=192mm] (mydisc) at (24,24) {fontsize{128}{1}selectfont NAME\TITLE};
- end{tikzpicture}end{document}
- documentclass[tikz, border=5mm]{standalone}
- begin{document}
- begin{tikzpicture}
- draw[clip] (-2,-2) rectangle +(3,3);
- node[minimum size=5cm](A){};
- node[circle, draw, minimum size=1cm](B) at (A.center) {};
- foreach angle in {0,5,...,360} draw (B.angle) to (A);
- end{tikzpicture}
- end{document}
- foreach angle in {0,1,...,359} draw[cyan!50!black] (0,0)--++(angle:4);
- node[circle, fill=white, text=cyan!50!black, text width=15mm, align=center]{Orion\2000};
- documentclass[tikz, border=5mm]{standalone}
- begin{document}
- begin{tikzpicture}
- path[clip] (-2.5,-3) rectangle (1.3,1.5);
- foreach angle in {0,1,...,359} draw[cyan!50!black] (0,0)--++(angle:4);
- node[circle, fill=white, text=cyan!50!black, text width=15mm, align=center]{Orion\2000};
- end{tikzpicture}
- end{document}
- documentclass[tikz,border=16mm]{standalone}
- usetikzlibrary{calc}
- begin{document}
- begin{tikzpicture}
- node[minimum size=36cm, anchor=south west] (A) {};
- foreach j [remember=j as lastj (initially north west)] in {north east, south east, south west, north west}{
- foreach i in {0,1,...,36}
- draw[line width=1pt, bend left=24, draw=cyan!50!black] (24,24) to ($(A.lastj)!i/36!(A.j)$);
- }
- node[circle,fill=white,text=cyan!50!black,text width=192mm, align=center] (mydisc) at (24,24) {fontsize{128}{1}selectfont NAME\TITLE};
- end{tikzpicture}
- end{document}
- documentclass[tikz, border=1mm]{standalone}
- usetikzlibrary{intersections}
- begin{document}
- begin{tikzpicture}
- path[name path=rect] (-2,-2) rectangle +(3,3);
- node[circle, minimum size=1cm] (A) at (0,0) {};
- foreach angle in {0,3,...,359}{
- begin{pgfinterruptboundingbox}
- path[name path global=ray] (A.angle) to ++ (angle:10);
- end{pgfinterruptboundingbox}
- draw[name intersections={of=rect and ray}] (A.angle) to (intersection-1);
- }
- end{tikzpicture}
- end{document}
- documentclass[preview,pstricks,margin=5mm]{standalone}
- usepackage{pst-node}
- begin{document}
- begin{pspicture}(-5,-5)(5,5)
- psclip{psframe[linestyle=none,linewidth=0](-5,-5)(5,5)}
- pnode(1,1){A}pscircle(A){2}
- foreach i in {0,10,...,350}{pnode[A](2;i){B}psline(B)([nodesep=10]{B}A)}
- endpsclip
- end{pspicture}
- end{document}
- documentclass[preview,pstricks,margin=5mm]{standalone}
- usepackage{pst-node}
- defpict(#1){begin{pspicture}(-5,-5)(5,5)
- psclip{psframe[linestyle=none,linewidth=0](-5,-5)(5,5)}
- pnode(#1){A}pscircle(A){2}
- foreach i in {0,10,...,350}{pnode[A](2;i){B}psline(B)([nodesep=10]{B}A)}
- endpsclip
- end{pspicture}}
- begin{document}
- foreach j in {0,20,...,340}{pict(1;j)}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement