import solids; size(5cm); currentprojection=orthographic(10,5,2); currentlight=Headlamp; nslice=4*nslice; revolution b=sphere(O,1); draw(surface(b),palegreen+opacity(.5)); skeleton s; b.transverse(s,reltime(b.g,0.2),P=currentprojection); b.transverse(s,reltime(b.g,0.5),P=currentprojection); draw(s.transverse.back,linetype("8 4",8)); draw(s.transverse.front,red);