Closed dalisoft closed 6 years ago
@veltman I just updated the my solution, now lighter, faster and much effecient than before. Try, you see performance improvement (at least 200%)
As i understand, you do not want change something that maybe looks like a breaking change/major update. Anyway, thank you for amazing work on flubber
Hello @veltman I love this library and want to make it faster and better See live demo what it differs from default my curves and see performance (naturality differs, performance not). https://codepen.io/dalisoft/pen/pdKMYP (change
approximate
parameter totrue/false
to see result)Pros
.getPointAtLength(t * length)
.getPointAtLength(t * length)
.getPointAtLength(t * length)
in terms of effecienct and otherCons
In one word, it's better, i am used this on my library too, but you have better expierence. I hope you make it better than my implementation.
Happy coding! With best regards, @dalisoft