perlquestion
halley
<p>I searched CPAN and found no such module. I then wrote a module which defines the vertices, edges and faces for a variety of commonly useful polyhedra, such as cubes and rhombic dodecahedra.
<p>The basic data for my module came from someone else's site, [http://www.rwgrayprojects.com/Lynn/Coordinates/coord01.html], and I've gotten his permission to publish a Perl module based on it. My home node image was made with Perl + [cpan://SDL::OpenGL] + Math::Polyhedra at work.
<p>I'm proposing the <code>Math::Polyhedra</code> name, unless someone gives me a good reason otherwise. The code is almost done; I just need to finish up the faces() function and touch up the POD.
<p>Future expansions would be to support a few other figures, but all of the ones currently supported are defined by <i>phi</i>, the Golden Ratio.
<p>--<br><tt>[ e d @ h a l l e y . c c ]</tt>