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.
--
[ e d @ h a l l e y . c c ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: proposed module: Math::Polyhedra
by claes (Acolyte) on May 05, 2003 at 14:22 UTC | |
Re: proposed module: Math::Polyhedra
by hardburn (Abbot) on May 05, 2003 at 14:00 UTC | |
by crenz (Priest) on May 05, 2003 at 14:10 UTC | |
by halley (Prior) on May 05, 2003 at 14:19 UTC | |
by hardburn (Abbot) on May 05, 2003 at 14:18 UTC | |
Re: proposed module: Math::Polyhedra
by tall_man (Parson) on May 05, 2003 at 14:21 UTC |