This site aims to be the ultimate resource for Adobe Illustrator(c) scripting. Here you will find regularly updated collection of scripts for all your creative needs.
If you find yourself doing the same task again and again, or you have an idea how to optimise your  workflow – get in touch, and we will provide solution.

Random Eyes

RandomEyes.jsx

This script will randomly generate animal eyes.

This script has no manual settings. Just run it and you’ll get a pair of eyes. The iris color is drawn from the pattern on the palete. Eye variations are randomized within a predefined tolerance. If a single pathItem is selected, that object will be used as the source structure for the eye shape.

Each eye is grouped and both eyes are grouped together. If you don’t like the output, make another set until you find something you like.