createRandomPolygon

It produces randomly created simple polygon. You can try live demo here:

Live Demo