ivan wrote: ↑Thu Oct 11, 2018 4:53 am
It's a good start. I've written similar things in the past, but it's hard to support all of the features from the SVG format.
My suggestion would be to separate the rendering from the parser so there is no "love." code in the project.
Anyways good luck!
Thanks!
![Smile :)](./images/smilies/ms-smile.png)
I actually stumbled upon your library just today, while researching a problem I encountered.
I didn't pay too much attention to sepearating parsing from rendering, because I'm already using love.math.newBezierCurve in my parser and I didn't want to code my own implementation, which would have ended up much slower and more error-prone^^
That being said, it would certainly be much cleaner and more reuseable if I did that, maybe I'll have a look at how you handled Beziers in your library
![Wink ;)](./images/smilies/ms-wink.png)
I'm definitely gonna take some inspiration from you - if I actually *steal* a piece of code, I'm gonna credit you of course
![Smile :)](./images/smilies/ms-smile.png)