All the libraries come with examples. In Processing select File > Examples from the menus and in the dialog window that open the Contributed Libraries tab then the Shapes3D tab and you will find a host of examples, find the ellipsoid example under Basic Shapes.
BTW an ellipsoid is a sphere where the X, Y and Z radii are not all the ame.