Skip to content

why multiply the angle by the lightness? #5

@makemeunsee

Description

@makemeunsee

https://github.com/jradavenport/cubehelix/blob/master/cubehelix.py#L99
Here you use the "fract" array to build the angles array, but "fract" contains the interpolation from minLight to maxLight, and not a simple [0..1] interpolation.
I'm not sure it's a bug but it seems weird enough to raise the question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions