I'm trying to draw some lines within a circle of arbitrary size. I want to start with one vertical line through the centre of the circle and then add further lines like so:
I want to be able to control the spacing between the lines, L, and the number of lines plotted out from the centre (in the example there are two on either side of the centre line). The red markings are just for a guide I don't need that in the final version.
What is the best way to code this using TikZ?
MWE
\documentclass[margin=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) circle (1cm); % The choice of 1cm was arbitrary, what is the best way to scale this diagram?
\draw (0,-1) -- (0,1);
\draw (3,0) circle (1cm);
\draw (3,-1) -- (3,1);
\end{tikzpicture}
\end{document}
y=sqrt{r*r-x*x)
.