Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{standalone}
- \usepackage{tikz}
- \usetikzlibrary{shapes,arrows.meta,positioning}
- \begin{document}
- \begin{tikzpicture}
- % Unicorn body
- \draw[rounded corners=2mm, fill=white] (0,0) rectangle (3,2);
- % Unicorn head
- \draw[rounded corners=1mm, fill=white] (3,1.5) rectangle (4,2.5);
- \draw (4,2.5) arc (180:270:1);
- \draw (4,2.5) arc (180:90:1);
- % Unicorn legs
- \foreach \y in {0.3,1.7}{
- \draw[line width=1mm] (0.6,\y) -- (0.6,\y-0.8);
- \draw[line width=1mm] (2.4,\y) -- (2.4,\y-0.8);
- }
- % Unicorn tail
- \draw[line width=0.8mm] (0,1.5) to[out=180,in=90] ++(-0.5,-0.5);
- \draw[line width=0.8mm] (0,1.5) to[out=180,in=90] ++(-0.3,-0.8);
- \draw[line width=0.8mm] (0,1.5) to[out=180,in=90] ++(-0.1,-1.1);
- % Unicorn horn
- \draw[line width=1mm] (3.7,3) -- (3.7,2.5);
- % Unicorn eye
- \fill (3.5,2.25) circle[radius=0.05];
- \end{tikzpicture}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement