@4bitlabs/inclusive-color-space
    Preparing search index...

    Type Alias CreatePickerOptions

    type CreatePickerOptions = {
        mapping?: "disc" | "square";
    }
    Index
    mapping?: "disc" | "square"

    "disc"

    The coordinate mapping to use for components.

    • "disc" remaps the [−100, +100] coordinate space to a disc using Shirley-Chiu Disk-and-Square Mapping.
    • "square" leaves the [−100, +100] coordinate space untouched. This will match closely match the reference implementation.