This is an example page testing the UMD version of the library (geom2d.min.js) inside the browser (more info on library formats are available here in the POI web...)
Now let's create a nice 12 petal's flowers using a polar equation :
r = a sin 6θ
here is the corresponding svg :