uxebu / bonsai

BonsaiJS is a graphics library and renderer
http://bonsaijs.org
Other
1.96k stars 189 forks source link

Add support for missing SVG commands #191

Closed basecode closed 10 years ago

basecode commented 11 years ago

Commands like "s" and "S" (smooth curve).

pvdz commented 11 years ago

Reference: http://stackoverflow.com/questions/15077707/bonsai-js-in-orbit

davidaurelio commented 11 years ago

By now, I’d prefer a much smaller set of commands than we already have. In fact, I’d love to have only lines and cubic bezier curves.

basecode commented 11 years ago

I’d love to have only lines and cubic bezier curves

Message protocol spec: +1

This issue mainly discusses the "SVG like" commands parser. new Path('M0,0S…') The parser could take care of converting them to lines and cubic bezier curves.

davidaurelio commented 11 years ago

agreed