[Tex/LaTex] Half Sphere Tikz

tikz-pgf

I'm trying to draw a sphere with antipodal points identified using Tikz

enter image description here

Can anyone help me?

Thanks 🙂

Best Answer

Here's a fake 3D attempt in Metapost. As you can see doing transparency etc is a bit of a fiddle. For anything more complex, Asymptote is much better at 3D.

enter image description here

prologues := 3;
outputtemplate := "%j%c.eps";

beginfig(1);

    color husky; 
    husky = 1/256(208, 170, 109);

    path c, e, a[];
    c = fullcircle scaled 144;
    e = c yscaled 1/4;
    a1 = reverse c rotated 90 xscaled 1/3 cutbefore subpath (0,4) of e cutafter subpath (4,8) of e; 
    a2 = reverse c rotated 90 xscaled 2/3 cutbefore subpath (0,4) of e cutafter subpath (4,8) of e; 

    fill subpath(4,8) of c -- cycle withcolor husky;
    draw subpath(4,8) of c -- cycle;
    fill e withcolor 1/3[husky,white];
    draw subpath (2,6) of e withcolor .5 white;
    draw subpath (-2,2) of e withcolor .5 red;

    ahangle := 30;

    forsuffixes @=1,2:
        draw a@ withcolor .8[black+1/3red,husky];
        draw a@ cutafter subpath(6, 7) of e;;
        drawarrow subpath(3,4.4) of a@;
        draw subpath(4.4,5) of a@;
        drawarrow point infinity of a@ -- point 0 of a@
            cutbefore fullcircle scaled 5 shifted point infinity of a@
            cutafter  fullcircle scaled 10 shifted point 0 of a@;
        label.lrt(char (96+@) infont "cmmi7", point 0 of a@);
        label.llft(char (96+@) infont "cmmi7", point infinity of a@);
    endfor

endfig;
end.
Related Question