-   
- sw = 480: sh = 480 
-   
-   
- 'Show different possible Super Ellipse shapes 
-     Call-  SuperEllipse (- sw \  2,-  sh \  2, 200, 200,-  i , 80)
 
-   
- 'Show task specified Super Ellipse 
- Call-  SuperEllipse (- sw \  2,-  sh \  2, 200, 200, 2.5, 200)
 
-   
-     'Limit 'pow' to acceptable values 
-     power = 2 / pow - 1 
-     inc = 360.0 / segs * 0.0174532925199432957692369 
-     For-  theta  =-  inc  To 6.28318530717958647692528 +-  inc  Step-  inc 
 
-         cosTheta  = Cos(- theta )- : sinTheta  = Sin(- theta )
-         x1  =-  wide  *-  cosTheta  * Abs(- cosTheta ) ^-  power  +-  cX 
-         y1  =-  high  *-  sinTheta  * Abs(- sinTheta ) ^-  power  +-  cY