Haskell Quiz/Geodesic Dome Faces

From HaskellWiki
Jump to navigation Jump to search

Given the faces of a triangle-faced platonic solid centered at the origin, and a number n, break each triangle side in n evenly distributed places, draw in the lines between these points that are parallel to the sides, and from each triangle thus drawn we can get a geodesic triangle by normalizing the position vectors to have distance 1 from the origin. The problem is to implement this.

The Problem

Solutions