I want to create a sphere with a grid on it using Asymptote. I have been able to create a sphere with horizontal lines, but I can't find how to make vertical lines. Here's my code so far:
\documentclass[12pt]{article}
\usepackage{asymptote}
\begin{document}
\begin{figure}
\begin{asy}
//import three;
import solids;
unitsize(2.5inch);
//size(5inch);
settings.render=0;
settings.prc=false;
currentprojection=orthographic(3, 1, 1);
currentlight=nolight;
real RE=0.6, RS=0.7, inc=100, lat=45, lon=45, tlat=50, tlon=100;
revolution Earth=sphere(O, RE, n=4*nslice);
draw(surface(Earth), lightgrey+opacity(.4));
draw(Earth,m=10,gray);
\end{asy}
\end{figure}
\end{document}
How can I add vertical lines?
[Note: The enlarged size is a result of my creating the png file with Apple Previewer at double the resolution for fear of graininess; it has nothing to do with Asymptote.]
revolution Earth = sphere(0, RE, n=<you_set_this>);To control the E-W mesh density:draw(surface(Earth, n=<you_set_this>), ...);– Charles Staats Oct 03 '20 at 17:23