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.