An icosahedron in fake 3d
March 10, 2012
\begin{tikzpicture}
\begin{scope}[rotate=90]
\grIcosahedral[form=1,RA=3,RB=1.5]
\SetUpEdge[color=white,style={double=black,double distance=2pt}]
\EdgeInGraphLoop{a}{6}
\EdgeFromOneToSel{a}{b}{0}{1,5}
\Edges(a2,b1,b3,b5,a4)
\Edge(a3)(b3)
\Edges(a1,b1,b5,a5)
\Edges(a2,b3,a4)
\end{scope}
\end{tikzpicture}
2 Comments
leave one →

hi whenever i paste these codes and run my tex file, the output doesnt seem to be the same. vertices are positioned at different places and i get no edges between also.
I am new to latex. can you help me to rectify the error on my side?
You need to make sure that you have the latest versions of tikz, tkz-berge and tkz-graph, which are located at, say, http://www.ctan.org.