Sort:  

Then you definitely want D3.js and GSAP.js over Processing.js, because both D3 and GSAP can animate SVG (Scalable Vector Graphics), which you can create / modify using Illustrator / Inkscape.(Say for example you have an .ai file, you can save that as an .svg and vice versa).