You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is it possible to import simple svg that has just one path? #10
Thanks for the package, it looks great! I have a couple of existing svgs that are super simple, just one path. How do I convert that to the json and import it, is that possible?
Hi. This package is purposed for creating border shapes (must be a closed path). If your path is simple enough, you can try to recreate it here: https://fluttershape.com/ (in Bezier mode) and export it as JSON. Sorry I didn't implement an svg import feature.
actually this works in converting the list of svg co-ordinates (I previously misunderstood how the svg worked). I could add it somewhere as a pull request if you think it might be cool.
Activity
KevinVan720 commentedon Feb 16, 2023
Hi. This package is purposed for creating border shapes (must be a closed path). If your path is simple enough, you can try to recreate it here: https://fluttershape.com/ (in Bezier mode) and export it as JSON. Sorry I didn't implement an svg import feature.
atreeon commentedon Feb 16, 2023
atreeon commentedon Feb 16, 2023
actually this works in converting the list of svg co-ordinates (I previously misunderstood how the svg worked). I could add it somewhere as a pull request if you think it might be cool.
atreeon commentedon Feb 16, 2023
btw, I really like it! I think if you update your examples you should do something like this.
Morph2.mov
pbouttier commentedon Feb 20, 2023
@atreeon could you provide a full example ? How about the performance ?
Thanks