Creates an
Icosahedronwith its center at the origin, where the triangular faces have enclosing circles of diameter diameter_of_triangle. If any of angle_x, angle_y, or angle_z is non-zero, theIcosahedronis rotated by the amounts specified around the corresponding axes. Finally, if p is not the origin, theIcosahedronis shifted such thatcentercomes to lie at p.Icosahedron i(origin, 3, 0, 10); i.draw();
![]()
Fig. 195.
i.filldraw();
![]()
Fig. 196.