Philippe Rivière
Philippe Rivière
Using `const` and `let` adds almost 200 bytes (1%) to the compressed script. > 16142 d3-scale.min.js (var) > 16328 d3-scale.min.js (const-let) I've tried collapsing vars (let x,y,z…) but terser is...
https://beta.observablehq.com/d/2e32a5a801b9ed02 shows this is probably fixed now in d3-delaunay I'm saying “probably” because d3-delaunay can't yet handle cases with n=2 points, cf https://github.com/d3/d3-delaunay/issues/19
It will indeed be fixed by https://github.com/d3/d3-delaunay/pull/64
The demo is quite nice and I can totally see how it will be useful for some of my projects — but IMO there is no dire need to add...
Updated this method to d3-delaunay: https://bl.ocks.org/Fil/3faaaf1b5f34b03a7a2235bf22e20b73
Nice! Note that you need the difference in x and the difference in y to be greater than twice the radius—the spec should also describe what to do when it's...
We'll need to specify **all** the cases :) pseudo code: ``` move to x1,y1 xa = (x1+x2)/2; // x1+r if stepBefore, x2-r if stepAfter ya = (y1+y2)/2; sx = Math.sign(x2-x1);...
fixed by #168
Ah excellent! I was worried about this shape too https://observablehq.com/@fil/trail-marks ;-) Another bit that would need fixing in this shape is when the data has more than 2 points—currently it...
Wow this is beautiful! (The images will display only when the PR is merged (they link to the master branch).)