Getting NaN for specific shapes
Hi!
I'm getting some NaN added between some points as soon as the animation starts. Unsure if it's related to the same issue in #58 so I opened a new one.
Here's a reproduction: https://codepen.io/davidwebca/pen/xbbLXMb
Don't mind the animation because I haven't finished reworking my points and paths so that they're properly ordered to smooth out the animation down the road.
As you can see, the animation still progresses but looking at the console and in the code, there's an error and the path seem to break because multiple NaN gets inserted between some points. I'm wondering if there's anything I can do to pre-work the paths to avoid this issue or if it's a proper bug like a division by zero or something. 🤔