draw a unicorn in tikz
- User
draw a unicorn in tikz
Assistant
latex\documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \begin{document} \begin{tikzpicture} \definecolor{unicornbody}{RGB}{255,240,245} \definecolor{unicornmain}{RGB}{255,105,180} \definecolor{unicornmane}{RGB}{255,160,122} % Body \fill[unicornbody] (0,0) to[out=30,in=150] (3,0) to[out=135,in=-45] (2,2) to[out=135,in=45] (1,2) to[out=-135,in=45] (0,0); % Legs \fill[unicornbody] (0.5,0) ellipse (0.2 and 0.5); \fill[unicornbody] (2.5,0) ellipse (0.2 and 0.5); \fill[unicornbody] (1,1) ellipse (0.2 and 0.5); \fill[unicornbody] (2,1) ellipse (0.2 and 0.5); % Head \fill[unicornbody] (2.5,2) to[out=45,in=135] (3.5,2) to[out=-135,in=0] (2.5,1.5) to[out=180,in=-45] (2.5,2); % Ear \fill[unicornbody] (3,2.5) to[out=90,in=180] (3.2,2.8) to[out=0,in=90] (3.4,2.5) to[out=-90,in=0] (3.2,2.2) to[out=180,in=-90] (3,2.5); % Eye \fill[black] (2.8,1.8) ellipse (0.1 and 0.15); % Nostril \fill[black] (3.3,1.6) ellipse (0.05 and 0.03); % Horn \fill[unicornmain] (2,2.5) to[out=90,in=225] (2.2,3.5) to[out=45,in=135] (2.4,3.5) to[out=-45,in=90] (2.6,2.5) to[out=-90,in=45] (2.4,2.3) to[out=-135,in=-45] (2.2,2.3) to[out=135,in=-90] (2,2.5); % Mane \draw[unicornmane, line width=0.5mm, decorate, decoration={random steps,segment length=3pt,amplitude=2pt}] (1.5,2) to[out=45,in=180] (2,2.5) to[out=0,in=135] (2.5,2); \draw[unicornmane, line width=0.5mm, decorate, decoration={random steps,segment length=3pt,amplitude=2pt}] (2.5,2) to[out=45,in=180] (3,2.5) to[out=0,in=135] (3.5,2); % Tail \draw[unicornmane, line width=0.5mm, decorate, decoration={random steps,segment length=3pt,amplitude=2pt}] (0,0) to[out=-45,in=180] (0.5,-0.5) to[out=0,in=-135] (1,0); \end{tikzpicture} \end{document}
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.