Difference between revisions of "Haskell Quiz/Geodesic Dome Faces"

From HaskellWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
Given the faces of one of the three triangle-faced platonic solids, 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. Implement this.
+
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==

Latest revision as of 05:52, 17 November 2008

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