As a complete TikZ novice, I want to create surfaces like the following handdrawn one with TikZ:
Ideally, this should be coded bottom-up: First you draw the bident with xy-plane at height 0. Then you draw a straight line at a higher height (This line is not visible in the drawing, it lies in between the height of the two purple vertices). Then you draw a bident at an even higher height. Finally, you fill in the vertical (and the thicker) lines.
I tried using code like this:
\begin{tz}[td, scale=2]
\begin{scope}[xyplane=0]
\draw (-1,0) to [bend left=15] (0.5,1) to (1.8,3);
\draw (0,-0.3) to [bend right=15] (0.5,1);
\end{scope}
\begin{scope}[xyplane=0.25*\h]
\draw(-0.5,0) to (1.4,3);
\end{scope}
\begin{scope}[xyplane=0.5*\h]
\draw (-0.5,0) to (1.3,3);
\end{scope}
\begin{scope}[xyplane=0.75*\h]
\draw (-1,0) to [bend left=15] (0.5,1) to (1.8,3);
\draw (0,-0.3) to [bend right=15] (0.5,1);
\end{scope}
\end{tz}
However, I am having trouble with the following:
- draw the vertical lines
- draw jagged lines
- draw the curved thick lines (one in black, one in green)
- draw the dotted edge that is hidden behind a face as dotted
- "colour" faces by a transparent "colour"
How can I draw the above surface efficiently with TikZ? Can this be done with TikZiT?
Best Answer