Comments (1)
This is not a bug in D3. You are trying to use d3.interpolateString to interpolate two paths with a different structure (a different number of control points). For more about this problem I recommend taking a look at flubber and Noah Veltman’s talk on shape interpolation:
https://github.com/veltman/flubber
https://www.youtube.com/watch?v=PLc1y-gim_0
Please use Stack Overflow tag d3.js to ask for help. Although I make an effort to assist everyone that asks, I am not always available to provide help promptly or directly. Stack Overflow provides a better collaborative forum for self-help: tens of thousands of D3-related questions have already been asked there, and some answered questions may be relevant to you.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗
from d3-polygon.
Related Issues (20)
- geoArea should (?) also work with a list of coordinates HOT 3
- Circle intersection test HOT 1
- Point x and y accessors HOT 1
- More easily import polygon points HOT 1
- Why is Polygon.hull() result not counterclockwise ? HOT 2
- feature requests: polygon union, intersection, difference HOT 1
- broken link HOT 1
- Flipping flag for contain HOT 1
- How should a polygon be filled with a slash? HOT 2
- Merge into d3-geometry package? HOT 1
- Add concaveHull (in addition to convexHull) HOT 4
- Porting old function d3.geom.polygon to its newer version HOT 6
- segmentIntersect, lineIntersect?
- Rendering? HOT 1
- polygonContains should be uniform when testing the verteces of the polygon HOT 2
- Clipping? HOT 12
- Point-in-polygon test.
- Why do counterclockwise polygons have positive area? HOT 1
- would it make sense to have a "polygon contains polygon" method? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-polygon.