Hi

I want to construct and plot a Squircle in J.

There is a lengthy article in Wikipedia but in simple language I want my 
Squircle to be defined as the continuous line between a unit circle and the 
unit square that encloses it such that every point on the Squircle is the mean 
of the nearest points of the circle and the square.

Thus, the mean is zero at the four points where the circle and the square 
touch, and a maximum of (-: @ <:  @ %:2)  at the four corners of the square.

Each intermediate point between 0 degrees and 90 degrees will be somewhere in 
the middle.

I suspect the calculation of the intermediate points is a calculus function?

Has anyone a good idea for performing that calculation? Could the J function “ 
plot “ then draw the Squircle?

Thanks

Richard Donovan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to