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

From HaskellWiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
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==
Line 7: Line 7:
 
==Solutions==
 
==Solutions==
   
* [[Haskell Quiz/Geodesic Dome Faces/Solution jkramar|jkramar]]
+
* [[Haskell Quiz/Geodesic Dome Faces/Solution Jkramar|Jkramar]]
   
 
[[Category:Haskell Quiz|Geodesic Dome Faces]]
 
[[Category:Haskell Quiz|Geodesic Dome Faces]]

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