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.

Triangulator

Press [ALT] when starting script to adjust number of points added to shape.

The script can take any compound or single shape and use Delaunay triangulation to create a mesh of varying triangles that follow the shape’s contours.

One possible application of this script is in creating abstract or organic designs. By using a complex compound shape as input, the resulting mesh can have a naturalistic flow and complexity that would be difficult to achieve manually. Another application could be in creating patterns or textures that follow a particular shape or object.

Overall, an Illustrator script that uses Delaunay triangulation to create a mesh of varying triangles from a compound or single shape is a versatile tool that can help designers and artists create complex and visually interesting designs.