From 20bd3a32490144df795fc08880fb030fba8f9f87 Mon Sep 17 00:00:00 2001 From: ulaulaman Date: Fri, 17 Jul 2020 11:40:24 +0200 Subject: [PATCH] Add Mars in cartoon style --- graphics/mars.tex | 41 +++++++++++++++++++++++++++++++++++++++++ graphics/pdf/mars.pdf | Bin 0 -> 2062 bytes 2 files changed, 41 insertions(+) create mode 100755 graphics/mars.tex create mode 100644 graphics/pdf/mars.pdf diff --git a/graphics/mars.tex b/graphics/mars.tex new file mode 100755 index 0000000..71b24bd --- /dev/null +++ b/graphics/mars.tex @@ -0,0 +1,41 @@ +\documentclass{standalone} +% +\usepackage{tikz} +\usetikzlibrary{backgrounds} +% +\usepackage{xcolor} +\definecolor{space}{HTML}{0A2543} +\definecolor{earth}{HTML}{0089FA} +\definecolor{mars}{HTML}{DC7B4E} +% +\title{Mars} +\begin{document} + \tikzset{partial ellipse/.style args = {#1:#2:#3}{insert path={+ (#1:#3) arc (#1:#2:#3)}}} + \begin{tikzpicture}[background rectangle/.style={fill=space},show background rectangle,] + \begin{scope}[scale=2.5] + \coordinate (E) at (2.6,0.4); + \coordinate (F) at (3.7,0.7); + \draw[fill=mars,ultra thick] (3,0.5) circle (2.1cm); + %scar + \draw[-,thick] (1.8,0.2) -- (2.9,1.5); + \draw[-] (1.9,0.2) -- (1.9,0.4); + \draw[-] (2,0.35) -- (2,0.55); + \draw[-] (2.1,0.45) -- (2.1,0.65); + \draw[-] (2.6,1.05) -- (2.6,1.25); + \draw[-] (2.7,1.15) -- (2.7,1.35); + \draw[-] (2.8,1.25) -- (2.8,1.45); + %eyebrows + \draw[-,thick] (2.25,1.3) -- (2.45,1.2); + \draw[-,thick] (3.45,1.2) -- (3.65,1.3); + %nose + \draw[-,thick] (2.95,0.1) to[out=105,in=85] (2.75,0) to[out=275,in=205] (3,-0.1); + %mouth + \draw[-,thick] (2.8,-0.6) -- (3,-0.55); + %eyes + \draw[fill=white] (2.4,0.7) ellipse (7pt and 10pt); + \draw[fill=white] (3.5,0.7) ellipse (7pt and 10pt); + \draw[fill=black,rotate around={-30:(E)}] (2.5,0.5) ellipse (2pt and 5pt); + \draw[fill=black,rotate around={-30:(F)}] (3.75,0.5) ellipse (2pt and 5pt); + \end{scope} + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/graphics/pdf/mars.pdf b/graphics/pdf/mars.pdf new file mode 100644 index 0000000000000000000000000000000000000000..99d8558f4daf31e4b0434a1000769e92c67609b3 GIT binary patch literal 2062 zcmah~3s4i+8g>9h)(6}cNx5P;y)??>lI(60lJGPnL=&q5XbkQ@<=EcHg0x&%SuvW$BG5 zKTyEwuli<3+xFsn_W89Rb;mdfZ5hG!4f%6SD`|w&ZzsbF^LQ7=of<6D#%-d!vyUpn z@*`G%JybpXadv<1o!C^@g!W_1qZ!NoJF8|+{ zrn>lY*Zr`8zMwvBGo#V_7Ia%Kc!KD?GZ#Dz^Z93PE;}bKvW0(4bZW+2 zmv%hVQ@pqq97Mh`i0%nQZ3oigzyl85*ii2o&Yed zQLmH|B#=R_SOQWh@0v_aQ6^G9!>ByZV^paL3;>ovoo+Cy6+rg1G)qjZ)hLPhC6TG% zSt4p4lYO(E>13jWGQ(+N2rEXTG65N-XZ+Nz_%8&C%9F&Qpey}{WZBh>j5dPy=qt}Tk&3whdIEtev5948QaoB8O?xGBhRtpNZB2Ct3qI zQ^4e*xB&S6(WKv$HOes(=?Dri6hWU35X9xOxgZ@(Vi?YcqEQ3ro?>kDFEIQ?3==>- zpNmELa8>?{p(yqOhOzl@3;mggao8``;P9u^AdPa3mN3HW7O