I wrote a bit of code to generate vases. You can download the example Blender file which contains the code and some example vases, and of course, here is the vase code itself.