BenJeau / react-native-draw

SVG based data-driven React Native drawing component 🎨
https://www.npmjs.com/package/@benjeau/react-native-draw
MIT License
129 stars 42 forks source link

Bezier curves #75

Closed aidyun closed 1 year ago

aidyun commented 1 year ago

Is your feature request related to a problem?

No response

Desired solution (feature)

I'm not sure if the program already does this, but it would be nice to have bezier curve conversion.

Alternatives considered

No response

Anything else?

No response

sickopickle commented 1 year ago

I used the getSvg function, and it seems that it already uses Bezier curves! This is amazing because it directly fits my applications of machine learning which require Bezier curve inputs. Kudos to whoever made the code for that. One question is why aren't there any 's's in the svg?

sickopickle commented 1 year ago

Also, it seems like it overfits simple lines a lot, using multiple curves when it could just be one. Can someone point towards where the code for this is, so I can modify it?