| |
Trap
Registered: Jul 2010 Posts: 222 |
SVG path to coords tool
Hi,
I'm wondering if anybody in here has played around with SVG? Specifically I would like to convert a path to a set of coordinates.
br,
Trap |
|
| |
Mixer
Registered: Apr 2008 Posts: 422 |
Cannot point to a ready one, but I'd try this https://pypi.python.org/pypi/svg.path
The paths consist of segments, each segment starts with the function M=move or L=line for instance. The numbers following that are parameters to that function.
Tool that implements all the functions for rendering paths (for c-64) would indeed be nice. |
| |
Mr. SID
Registered: Jan 2003 Posts: 421 |
You might find this useful:
https://github.com/memononen/nanosvg |
| |
Digger
Registered: Mar 2005 Posts: 421 |
I've successfully used http://snapsvg.io/ what do you want to use it for? |
| |
Trap
Registered: Jul 2010 Posts: 222 |
The nanosvg looks useful. I will try to work on that to begin with. Thanks.
I want to be able to use a drawing program that has all the bells and whistles for making smooth curves etc. to draw animation paths that I can use in my demos on the breadbox. Maybe there is an easier way that I'm not aware of? |