Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Minimal API for generating color scheme for a chart that needs n colors #12

@dtolnay

Description

@dtolnay

In cargo tally I need to display a plot with some number of lines on it. I wish there were a crate where I could call:

pub fn get_color_scheme(size: u32) -> Vec<HexColor>;

and get back n different colors in a cohesive color scheme suitable for a chart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions