Superellipse

From Rosetta Code
Revision as of 08:20, 16 October 2015 by rosettacode>Fwend (added superellipse task draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Superellipse is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

A superellipse is a geometric figure defined as the set of all points (x, y) with

where n, a and b are positive numbers.


The task: draw a superellipse with n = 2.5, and a = b = 200