Forums > Jitter

SVG processing

May 22 2013 | 12:13 pm

hi there,

I need to process svg files.
I mean, to extracts shapes & meshes, to play with them.

I would load dynamically a bunch of svg, but just one at the beginning and then probably collecting storing all in jitter matrices, THEN play with them.

Is there a way to import svg and parse them using JS for instance ?

Prototyping in processing, that would prepare well the points for further use :p

May 27 2013 | 11:30 pm

Why dont you try and make animations from there and then add the link

May 28 2013 | 4:57 am

I ended up with making that in Processing for prototyping then I’ll go to Max.
Here is one result with a drawing by Shantell Martin:

Totally unfinished but working on that…

Aug 02 2014 | 1:55 am


This is svg processing sample code.You can process path shape through dict object.
sadam.rapidXML is used in this patch.

-- Pasted Max Patch, click to expand. --

  • This reply was modified 2 years by  mirrorboy.
  1. -2014-08-02-17.41.09


Apr 30 2015 | 4:07 pm

Hi Mirrorboy & Julien,

I’m trying to play with SVG files too, but when I read a SVG file with Mirrorboy’s patch, I get these errors :

dict: no dictionary named svg, cannot get value
dict: index out of range for key svg::@viewBox

and dict.view remains empty.

Do you know why ?
Do you have any other suggestion about processing SVG file ?



Jan 28 2017 | 4:23 am

Hi, the sadam library site is offline, any other suggestion for SVG file reading? thanks.

Jan 28 2017 | 4:55 am
Feb 06 2017 | 3:29 am

I have the same problem as Pry: the dict is empty.

Any idea why and how to fix it


Viewing 8 posts - 1 through 8 (of 8 total)

Forums > Jitter