Debian logoDebian Screenshots >

libmath-bezier-perl

Perl module for the solution of Bezier Curves

Description

Math::Bezier implements the algorithm for the solution of Bezier curves as presented by Robert D. Miller in Graphics Gems V, "Quick and Simple Bezier Curve Drawing".

A new Bezier curve is created using the new() constructor, passing a list of (x, y) control points.

 use Math::Bezier;
 my @control = ( 0, 0, 10, 20, 30, -20, 40, 0 );
 my $bezier = Math::Bezier->new(@control);

Alternately, a reference to a list of control points may be passed.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

http://search.cpan.org/dist/Math-Bezier/


Statistics

706 other people were interested in this package here. The newest known version of this software is 0.01-2 (Information last updated 4 days ago.)