spherical-coordinate

Plotting a 3-dimensional superball shape in matplotlib

Plotting a 3-dimensional superball shape in matplotlib Question: I’m trying to plot a 3D superball in python matplotlib, where a superball is defined as a general mathematical shape that can be used to describe rounded cubes using a shape parameter p, where for p = 1 the shape is equal to that of a sphere. …

Total answers: 1