Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Superellipsoids are graphical primitives that take a variety of ellipsoid shapes, depending on the parameters in the equation used to generate the shape. In this recipe, we will show you how to create a superellipsoid with a ManualObject, and modify the shape at runtime.
To follow along with this recipe, open the solution located in the Recipes/Chapter03/SuperEllipsoid folder in the code bundle available on the Packt website.
SuperEllipsoid. Control. Then, create a linked pair of edit boxes and sliders for both superellipsoid parameters.