Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid rendering zero-length vectors in VectorField (#165)
Closes #164. `vec.normalize([0,0])` returns `[NaN, NaN]` (which is perhaps not great? perhaps `vec.normalize`'s return value should be nullable or something). Anyway, those NaNs were making their way into the SVG path, breaking it.
- Loading branch information