Owh... sorry i didn't explain what triangulation is ops: ops:

Triangulation is the process of dividing an arbitrary polygon (array of points) into triangles.
Unfortunatly this is not as easy as it seems.

So.. does anyone know a good triangulation algorithm