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

Use context2D to convert CSS4 colors to display-p3 #2145

Open
wants to merge 2 commits into
base: mbostock/raster-color-space
Choose a base branch
from

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    0d3455b View commit details
    Browse the repository at this point in the history
  2. * use the canvas converter for colors that d3.rgb can't parse (CSS4)

    * memoize (with some decent limit) for faster renders
    * clear rect to guard against semi-transparent color leaks
    Fil committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    0e0ea85 View commit details
    Browse the repository at this point in the history