drawscript is an Illustrator plugin that exports vector shapes into code for obj-c, c++, javascript, processing, actionscript, json, and raw bezier points.

drawscript

via konigi