more useful options | |
PerlMonks |
proposed module: Math::Polyhedraby halley (Prior) |
on May 05, 2003 at 02:43 UTC ( [id://255555]=perlquestion: print w/replies, xml ) | Need Help?? |
halley has asked for the wisdom of the Perl Monks concerning the following question: 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. 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 + SDL::OpenGL + Math::Polyhedra at work. I'm proposing the Math::Polyhedra 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. Future expansions would be to support a few other figures, but all of the ones currently supported are defined by phi, the Golden Ratio. --
Back to
Seekers of Perl Wisdom
|
|