Dan Burzo
Dan Burzo
Hi @ai, thanks for the report. I think it would be a good idea to have a more general `inGamut(mode) -> function(color)` method that covers all bounded color spaces. This...
@ai @bijela-gora Sorry for the delay, I hope to be able to review this PR soon.
Thanks for bringing this up! I'll have to get back to speed, but the spline should be implemented based on [this paper](http://articles.adsabs.harvard.edu/pdf/1990A%26A...239..443S) that `d3-shape` mentions (I don't know why I...
In `[email protected]` the function looks like this: https://github.com/Evercoder/culori/blob/8e64a2515a4e6f5dfb89f0e778e7fbe4ad35643e/src/interpolate/splineMonotone.js#L23-L45 (I changed the variables a bit so I can better keep track of `i-1`, `i`, etc.) Basically I had forgotten to apply...
I've given closed splines further thought and I'm convinced at least the monotone one needs adjustments. What follows is me talking out loud :P A basis spline can be [clamped...
> "open" isn't really meaningful except for basis, I think? I guess parallels from basis splines to other splines are not too far-fetched; in d3-shape they're implemented with the idea...
Thanks, @tabatkins, I appreciate the insight! If I understand correctly, `new ColorSpace("hsv")` will make it into the `` CSS type either as `color(§hsv h s v / alpha)` (with the...
At first sight, I would say `href` should return something like `new URL(this.getAttribute('href'), this.baseURI).href`, but I'll [read the spec](https://html.spec.whatwg.org/#api-for-a-and-area-elements) closer to see if I'm missing anything.
One thing I can't figure out is that even though `HTMLImageElement.src` demonstrably behaves similarly to `HTMLAnchorElement.href`, I can't find the part of the spec that describes the behavior. ~~This is...
In general, it seems like for reflecting content attributes we know to be URLs, it would be useful to implement a new attribute helper, something like: ```js export const urlAttribute...