I'm trying to make a diagram along the lines of what I have below:
- 2 intersecting spheres with centers of x and y
- Midpoint is (x+y)/2 and from either center to midpoint is d/2
- Distance from centers to point of intersection is r
I want to show that all the intersections of the two spheres lie on a plane that is perpendicular to the line connecting the midpoints, the plane passes through the midpoint, and all the intersection points of the two spheres makes a circle.
Now I actually could somewhat make this if I just made it 2D (rather than using paint, I'd use tikz), but I'm wondering if this could be made into 3D without having it seem too busy.

So far, with the help of Schrodinger's Cat, I've got this (but I'll be working on it since this is the first 3d tikz I've tried to make):
\documentclass[tikz,border=3mm]{standalone} \usepackage{tikz-3dplot-circleofsphere}
\begin{document}
\tdplotsetmaincoords{70}{200}
\begin{tikzpicture}[tdplot_main_coords,declare function={d=4;R=2.5;}]
\path (0,0,0) coordinate (x) (d,0,0) coordinate (y);
\begin{scope}[tdplot_screen_coords]
\path[ball color=blue,opacity=0.3] (x) circle[radius=R*1cm];
\path[ball color=blue,opacity=1.0] (x) circle[radius=R*0.02cm];
\path[ball color=red,opacity=0.3] (y) circle[radius=R*1cm];
\path[ball color=red,opacity=1.0] (y) circle[radius=R*0.02cm];
\node(draw) at (0.5,0,0) {y};
\node(draw) at (-4.2,0.5,0) {x};
\node(draw) at (-1.8,2,0) {z};
\draw[black, ultra thick] (x) -- (y);
\draw[blue, ultra thick] (x) -- (-1.7,1.7);
\draw[red, ultra thick] (y) -- (-1.7,1.7);
\end{scope}
\tdplotCsDrawCircle[tdplotCsFront/.style={thick}]{R}{0}{90}{90-atan2(sqrt(R*R-d*d/4),d/2)}
\end{tikzpicture}
\end{document}




\documentclass[tikz,border=3mm]{standalone} \usepackage{tikz-3dplot-circleofsphere} \begin{document} \tdplotsetmaincoords{70}{200} \begin{tikzpicture}[tdplot_main_coords,declare function={d=4;R=2.5;}] \path (0,0,0) coordinate (x) (d,0,0) coordinate (y); \begin{scope}[tdplot_screen_coords] \path[ball color=blue,opacity=0.3] (x) circle[radius=R*1cm]; \path[ball color=red,opacity=0.3] (y) circle[radius=R*1cm]; \end{scope} \tdplotCsDrawCircle[tdplotCsFront/.style={thick}]{R}{0}{90}{90-atan2(sqrt(R*R-d*d/4),d/2)} \end{tikzpicture} \end{document}– Nov 30 '19 at 01:40