改进 Tikz 中的蜘蛛绘图

改进 Tikz 中的蜘蛛绘图

这是我在 Tikz 中画的蜘蛛(为了写一篇使用蜘蛛作为刺激的科学论文!):

蜘蛛

梅威瑟:

\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw [fill=black] (0,0) ellipse (1.5cm and .8cm);
\draw (0,0) parabola (3,-3);
\draw (0,0) parabola (3,-2);
\draw (0,0) parabola (3,-1);
\draw (0,0) parabola (3,-.5);
\draw (0,0) parabola (-3,-3);
\draw (0,0) parabola (-3,-2);
\draw (0,0) parabola (-3,-1);
\draw (0,0) parabola (-3,-.5);
\end{tikzpicture}
\end{document}

有人能改进我的尝试吗?

更新:我更倾向于这样的事情:

在此处输入图片描述

\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw [fill=black] (0,0) circle(.5cm);
\draw [fill=black] (0,1) circle(.8cm);
\draw[thick] (0,.1) parabola (2,3);
\draw[thick] (0,.05) parabola (2,1);
\draw[thick] (0,0) parabola (2,-1);
\draw[thick] (0,0) parabola (2,-3);
\draw[thick] (0,-.3) parabola (.3,-.8);

\draw[thick] (0,.1) parabola (-2,3);
\draw[thick] (0,.05) parabola (-2,1);
\draw[thick] (0,0) parabola (-2,-1);
\draw[thick] (0,0) parabola (-2,-3);
\draw[thick] (0,-.3) parabola (-.3,-.8);
\end{tikzpicture}
\end{document}

答案1

;^b 编辑以清理代码,添加血量!

\documentclass[tikz]{article}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{stackengine}
\def\fang{\stackon[-7pt]{\raisebox{-2.5pt}{V}}{\textcolor{red}{v}}}
\begin{document}
\newsavebox\spider
\savebox\spider{%
\begin{tikzpicture}
\draw [fill=black] (0,0) ellipse (1.5cm and .8cm);
\draw (0,0) parabola (3,-3);
\draw (0,0) parabola (3,-2);
\draw (0,0) parabola (3,-1);
\draw (0,0) parabola (3,-.5);
\draw (0,0) parabola (-3,-3);
\draw (0,0) parabola (-3,-2);
\draw (0,0) parabola (-3,-1);
\draw (0,0) parabola (-3,-.5);
\end{tikzpicture}%
}
{\sffamily\color{white}
\stackinset{c}{}{c}{.65cm}{\makebox[0pt]{v\fang vv\fang v}}{%
  \stackinset{c}{-.3cm}{c}{1.2cm}{O}{%
    \stackinset{c}{+.3cm}{c}{1.2cm}{O}{%
      \usebox{\spider}%
}}}}
\end{document}

在此处输入图片描述

相关内容