shapes array.  Use shape as object, change its properties for each new shape and push_back on shape.
pushing back unique shapes. Note the need to jquery extend the orig shape before pushing onto array