Closed ondrejsevcik closed 5 years ago
The catmulrom curve is defined for 2, and 4+ points. Seems like three is perhaps an oversight.
/cc @folkertdev
Yea, it seems to function fine still when three points are allowed.
I think I got something mixed up when translating this (not very readable) D3 code. But if i'm reading it correctly now, it will actually not draw anything for 2 points. Is that desirable? drawing a straight line seems like a better default in that case. Thoughs?
At the moment the open catmull-rom requires 3 or more points (which makes sense, because the first and final point are not actually touched at all with this interpolation) and the closed catmull-rom accepts 2 or more points.
I think it would, look at the lineEnd
implementation. The protocol in that lib is to call lineStart
, then point
a number of times and then lineEnd
.
This bug has been fixed in the latest version of one-true-path-experiment 4.0.2
So I assume if one reinstalls elm-visualization from scratch they should get the new version, right?
I deleted elm-stuff
and ~/.elm
folders but when I run app I still got the old version. I had to manually upgrade version in elm.json
.
Hi, when I try to render line with less than 4 values, it doesn't render line. Is that intended or is it a bug?
He is minimalistic ellie reproduction https://ellie-app.com/3MLF4BVzDPKa1
Thanks 🙏