Skip to content

add bezier sample #28

@safareli

Description

@safareli

I was reading about color scales and color palettes and came across this:
https://gka.github.io/palettes
https://www.vis4.net/blog/posts/mastering-multi-hued-color-scales/

Author uses this method, which is not robust in sense that it works with only 5 colors. But we can port this to have bezier for arbitrary number of arbitrary dimensional vectors. (this and this might be useful for implementing it)

From API perspective we would have add another function sampleBezier but as colors and cssColorStops refer to sample directly they would need to be updated so we can pass different sampling function as argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions