Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132928 views
License: OTHER
1
\documentclass[pstricks,border=2pt]{standalone}
2
\usepackage{pst-solides3d}
3
\begin{document}
4
5
\begin{pspicture}(-4.5,-4)(5.5,2)
6
\psset{solidmemory,unit=0.55,
7
lightsrc=viewpoint,viewpoint=20 20 20 rtp2xyz,Decran=40}
8
\psSolid[object=sphere,r=2,ngrid=36 36,fillcolor=lightgray,
9
incolor=lightgray,hollow,name=sph1,action=none](3,0,0)
10
\psSolid[object=sphere,r=2,ngrid=36 36,fillcolor=lightgray,
11
incolor=lightgray,hollow,name=sph2,action=none](1,3,0)
12
\psSolid[object=fusion,base=sph1 sph2,opacity=0.5,action=draw**](0,0,0)
13
\end{pspicture}
14
15
\end{document}
16
17