Personal tools

Haskell Quiz/Geodesic Dome Faces

From HaskellWiki

< Haskell Quiz(Difference between revisions)
Jump to: navigation, search
Current revision (05:52, 17 November 2008) (edit) (undo)
 
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==

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.

1 The Problem

2 Solutions