Toot

Written by samcarter on 2024-09-18 at 13:39

Still thinking about the tram network talk by @ada at #baytex2024 . Maybe the tikz-nfold library could be useful to draw parallel lines. Modified from the doc, p. 7

\documentclass[tikz]{standalone}

\usetikzlibrary{nfold}

\begin{document}

\tikz[line width=1mm]{

\path[save path=\mypath] (0,0) -- (2,0) arc(-90:90:1)

to[out=180, in=0] (0,1);

\foreach \mycolor [count=\i] in {red,green}

\pgfoffsetpathindex{\mypath}{6pt}{\i}{4}

\color{\mycolor} \pgfusepathqstroke;

}

\end{document}

=> More informations about this toot | View the thread | More toots from samcarter@fosstodon.org

Mentions

=> View ada@catcatnya.com profile

Tags

=> View baytex2024 tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113158832245803063
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
231.733968 milliseconds
Gemini-to-HTML Time
0.327978 milliseconds

This content has been proxied by September (3851b).