Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pal_ramp_bivariate() #31

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add pal_ramp_bivariate() #31

wants to merge 3 commits into from

Conversation

mccarthy-m-g
Copy link
Owner

This PR focuses on creating a pal_ramp() equivalent for bivariate colour palettes like in the biscale package.

It's difficult to make a generalizable solution to many dimensions that is also aesthetically pleasing. Currently I'm just testing different approaches. So far I've been able to match hand made palettes pretty well in a limited number of dimensions, but haven't managed to scale this infinitely.

I've also tried a solution based on blend modes; this scales easily but isn't as aesthetically pleasing.

Leaving this as a draft PR to tackle later on in development.

@mccarthy-m-g mccarthy-m-g changed the title Add pal_ramp_bivariate() Add pal_ramp_bivariate() Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant