Yes, you can use JavaScript to make your design tasks in Illustrator more exciting! Important resources: https://www.adobe.com/devnet/illustrator/scripting.html https://illustrator-scripting-guide.readthedocs.io/
Also search in github for scripts: https://github.com/search?q=illustrator+script
This script creates a new Document, and attaches a text. Each character of the text is then given a font-size from small to big.
This script takes all the text in the current document and applies various character styles per letter. Per character it applies a random font, random color, and interpolates rotation and font-size.
This is a script from https://github.com/shspage/illustrator-scripts/
It is pretty advanced, and shows you even how to use a GUI.
This script requires "perlin-noise-simplex.js" by Sean McCullough.
https://gist.github.com/banksean/304522
The declaration on the first line assumes "perlin-noise-simplex.js" is placed under "lib" folder under "Scripts" folder of Adobe Illlustrator.
The file is also in this repository in the "lib" folder for your convenience.
- to change syntax highlighting in Atom, do
ctrl+shift+L
and selectJavaScript