colinmeinke / wilderness

An SVG animation API
https://wilderness.now.sh
MIT License
154 stars 8 forks source link

Update svg-points and points dependencies to fix moveTo issues #62

Closed dalisoft closed 7 years ago

dalisoft commented 7 years ago

How to keep 2-3 moveto in one points list without converting to cubic or line.

For adding aka normalise points we should keep moveto and not duplicate as possible.

This also fix much of issue related to animation looks. If you interested test Complex shapes and you see what i mean.

colinmeinke commented 7 years ago

Again, not sure what you mean. Can you provide a short and simple code example of your problem.

dalisoft commented 7 years ago

I soon give you demo. Or you can test paths has more than 1 moveto

dalisoft commented 7 years ago

@colinmeinke Please, checkout http://codepen.io/dalisoft/pen/jyrBOL for how it looks ( unexcepted triangulation ) when moveTo is more than one

dalisoft commented 7 years ago

latest release really fixes some of multi moveto path with "startshape -1 moveIndex", but not enough it's. See new demo, http://codepen.io/dalisoft/pen/jyrBOL

colinmeinke commented 7 years ago

Just fixed another issue with points that was causing some problems for paths with multiple moveTo points https://github.com/colinmeinke/points/issues/13. Will release a new Wilderness with the fix shortly.

dalisoft commented 7 years ago

Thanks. I am too maked some nice things that should apply any transform even matrix. I upload as soon

colinmeinke commented 7 years ago

I just opened an issue that I think addresses the remaining problem with morphing shapes that have multiple moveTo points.