Closed ghost closed 8 years ago
I’d prefer this as an optional color space plugin along the lines of d3-hsv:
Would you be willing to create a repo with the same structure for d3-hcg? I could create one in the d3 org and add you as a collaborator if it helps.
I'm have no unit tests of HCG, in internet have no HCG calculators now. I want to write own RGB<=>HCG
calculator.
It would be your repository, so the decision of whether you want to write unit tests is yours.
Try to another branch. I don't know how to move to another repo/branch. I use Github for Windows. https://github.com/acterhd/d3-hcg Create your repository.
@acterhd The idea is that you can create a completely new repository, rather than add your code to d3-color.
I suggest you make a new repository under https://github.com/acterhd/d3-hcg using the GitHub user interface.
Then clone it, and from there follow the instructions found in Let’s Make a (D3) Plugin. Once you have the basic structure from there, you can then re-implement the code from this PR inside that new repository.
I recently did a similar process to create d3-tile.
Repository now by mbostock
Ahh I see. Sorry, I didn't realize - you did all those steps and now the repository has been transferred to https://github.com/mbostock/d3-hcg. Got it.
It looks good!
Moved to https://github.com/d3/d3-hcg and added both of you as collaborators.
I not unit tested, but already write first HCG support for D3.
https://github.com/acterhd/hcg-color