@4bitlabs/inclusive-color-space
Preparing search index...
advanced
CreatePickerOptions
Type Alias CreatePickerOptions
type
CreatePickerOptions
=
{
mapping
?:
"disc"
|
"square"
;
}
Index
Properties
mapping?
Properties
Optional
mapping
mapping
?:
"disc"
|
"square"
Default Value
"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.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
mapping
@4bitlabs/inclusive-color-space
Loading...
Default Value
"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.