There is a difference between active maintenance and a finished tool*.
This module is pretty much complete. I see no reason whatsoever to apply
such a feature to this module -- all you need to do is call generate()
multiple times. For example, this will accomplish exactly what you need:
my @color = (
$spectrum->generate(13,'#FF0000','#00FF00'),
($spectrum->generate(13,'#00FF00','#0000FF'))[1..12],
);
Notice the distinct lack of 'u' as well. ;) Cheers!
(* note that I do admit neglecting fixing the 2 active bugs for this
distro, but those bugs involve usage not recommended by the API -- and
fixes are on the way).
On Thu May 31 08:42:45 2007, BIGPRESH wrote:
Show quoted text> Hi,
>
> Is Color::Spectrum still maintained?
>
> If so, I'd like to contribute a patch to add multiple colour fades (i.e.
> fade from red to green to blue, e.g.:
>
> # a fade from red to green to blue, in 25 steps:
> generate(25, '#FF0000', '#00FF00', '#0000FF');
>
> If Color::Spectrum is no longer actively being maintained, I'd be more
> than happy to take over maintainership and release a new version.
>
> Many thanks
>
> David Precious