Haskell Quiz/Geodesic Dome Faces
From HaskellWiki
< Haskell Quiz(Difference between revisions)
| Line 1: | Line 1: | ||
| - | Given the faces of | + | 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== | ==The Problem== | ||
Current revision
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.
