Creating Images Using Shapes

Hello,

I used to create cool pictures using adobe illustrator and their javascript plugin. It would allow me to programatically use their tools to place shapes and color and use effects. They don’t offer that scripting engine anymore to my knowledge. Does anyone know of an alternative?

Thank you