...
SVG data can also be used in processing, but note that some SVG files may not be supported by processing. Processing can only handle simple SVG graphics, so avoid using radial gradients or complex clipping masks. You can however extend the SVG capabilities of processing using the geomerative library http://www.ricardmarxer.com/geomerative/.
When exporting SVGs from illustrator, the following settings should produce working results. This does, however, depend on your version of illustrator.
...