An Icosahedron - The Hard Way ------------------------------------------- The usual way to draw an icosahedron on a computer is to get the vertex coordinates from the Internet and also data about which vertices make up the edges and faces of the icosahedron. This project draws an icosahedron the hard way! It generates the vertices, edges and faces rather than inputting values for them. - The project generates the 12 vertices of the icosahedron. (An icosahedron has 12 vertices, 30 edges and 20 faces). The project generates 12 random points on a sphere, then tries to spread them equally around the sphere to become the vertices of the icosahedron. - The project generates the edges of the icosahedron by connecting the vertices that are closest together - The project generates the faces of the icosahedron. The project tests whether the vertices at both ends of an edge can be connected to a third common vertex along other edges. Each set of 3 vertices that are fully connected by edges form a triangular face of the icosahedron. Finally the project colours the faces and rotates the generated icosahedron. * It is not easy to spread points equally around a sphere. When the points are poorly spread by the algorithm I use, the project fails to produce an icosahedron. A regular icosahedron is one of the 5 Platonic Solids.