[Tex/LaTex] Drawing a person in LaTeX

tikz-pgf

I'd like to write and draw something like the below picture in LaTeX. I know how to write an ordinary text with formulas in LaTeX, but not that much professional to have something like this. Please give some hints or references to how to do that.

Enter image description here

Best Answer

OK, I had some time to play around with Bezier curves, so I had to share it here:

enter image description here

\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{positioning}

\begin{document}
    
    
        \tikzset{
        pics/man/.style={code=
        {
        \draw[#1]   
                (0,0) .. controls ++(0,-0.8) and ++(0.2,0.6) ..
                (-0.4,-1.8) .. controls ++(0.2,-0.8) and ++(0.1,0.6) ..
                (-0.5,-4.4) .. controls ++(-0.6,-0.2) and ++(0.7,0.1) ..
                (-2,-4.8) .. controls ++(0,0.3) and ++(-0.5,-0.2)  ..
                (-1,-3.8) .. controls ++(-0.1,0.9) and ++(-0.1,-0.8)  ..
                (-1,-1.8) .. controls ++(-0.3,1) and ++(-0.2,-0.8)  ..              
                (-0.9,0.9) .. controls ++(-0.1,1) and ++(0,-0.8)  ..
                (-1.2,2.8) .. controls ++(-0.4,-1) and ++(0.4,0.5)  ..
                (-2.6,0.8) .. controls ++(0.5,-0.8) and ++(0.2,-0.1)  ..
                (-3.2,-0.1) .. controls ++(-0.2,0) and ++(-0.3,-0.5)  ..
                (-3.3,0.8) .. controls ++(0.4,0.5) and ++(-0.5,-0.5)  ..        
                (-1.8,3.4) .. controls ++(0.5,0.5) and ++(-0.3,-0.1)  ..                
                (-0.7,3.9) .. controls ++(0.3,0.1) and ++(0,-0.2)  ..
                (-0.4,4.3) .. controls ++(-1.2,0.3) and ++(-1.2,0)  ..
                %
                (0,6.2) coordinate (-head) .. controls ++(1.2,0) and ++(1.2,0.3) .. % Top of the head
                %
                (0.4,4.3) .. controls ++(0,-0.2) and ++(-0.3,0.1) ..
                (0.7,3.9) .. controls ++(0.3,-0.1) and ++(-0.5,0.5) ..
                (1.8,3.4) .. controls ++(0.5,-0.5) and ++(-0.4,0.5) ..
                (3.3,0.8) .. controls ++(0.3,-0.5) and ++(0.2,0) ..
                (3.2,-0.1) .. controls ++(-0.2,-0.1) and ++(-0.5,-0.8) ..
                (2.6,0.8) .. controls ++(-0.4,0.5) and ++(0.4,-1) ..
                (1.2,2.8) .. controls ++(0,-0.8) and ++(0.1,1) ..
                (0.9,0.9) .. controls ++(0.2,-0.8) and ++(0.3,1) ..
                (1,-1.8) .. controls ++(0.1,-0.8) and ++(0.1,0.9) ..
                (1,-3.8) .. controls ++(0.5,-0.2) and ++(0,0.3) ..
                (2,-4.8) .. controls ++(-0.7,0.1) and ++(0.6,-0.2) ..
                (0.5,-4.4) .. controls ++(-0.1,0.6) and ++(-0.2,-0.8) ..
                (0.4,-1.8) .. controls ++(-0.2,0.6) and ++(0,-0.8) ..
                (0,0) ++ (0,2) coordinate (-heart) -- cycle
                ;
        },
    }}
        \begin{tikzpicture}
            \draw (-1.5,0) pic(M){man={scale=0.2,pink!50!black,fill=pink}};
            \node at (M-heart) {T};
    
            \node[above = 1pt of M-head] (T) {Transplant};
            
            \draw (0,0) node [below right] {$t \longrightarrow$} -- (4,0);
        \node at (2,0.4) {$HT(t): 0000....0\;111111111$};
        \draw (2.5,0.15) --++ (0,-0.3) node[below] {$t_0$};
       
    \end{tikzpicture}
\end{document}
Related Question