A Lagahedron - The Hard Way ------------------------------------------- The usual way to draw an lagahedron 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 lagahedron. This project draws an lagahedron the hard way! It generates the vertices, edges and faces rather than inputting values for them. - The project generates the 12 vertices of the lagahedron. (A lagahedron has 34 vertices). The project generates 34 random points on a sphere, then tries to spread them equally around the sphere to become the vertices of the lagahedron. - The project generates the edges of the lagahedron by connecting the vertices that are closest together - The project generates the faces of the lagahedron. 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 lagahedron. Finally the project colours the faces and rotates the generated lagahedron. * 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 lagahedron. A regular lagahedron is one of the 5 Laggy Solids.
lag