.@ Tony Finch – blog


In my previous entry I wrote about constructing a four-point egg, using curcular arcs that join where their tangents are at 45°. I wondered if I could do something similar with ellipses.

As before, I made an interactive ellipse workbench to experiment with the problem. I got something working, but I have questions…

a screenshot of the ellipse workbench

What I wanted to do is swing a curve around a corner without cutting it. (I could solve the problem with Bézier curves, but they create other issues.) The purple ellipse in the following picture illustrates what I want to avoid: it snips off the corner of the inner rectangle.

a large rectangle with a dotted purple ellipse joining opposite corners; inside is a smaller rectangle whose corner is cut by the ellipse

I managed to solve my problem by joining two ellipses so that they meet at the corner, with the constraint that (like the four-point egg) their tangents are 45°.

the same diagram as before, plus a yellow ellipse that matches the tangent of the purple ellipse at t he top right corner, and a blue ellipse that matches the tangent of the purple ellipse at the bottom left corner; the yellow and blue ellipses pass through the corner of the inner rectangle, where their tangents match

In the workbench you can drag around the big circles to see how the ellipses join.

The top right and bottom left circles control the horizontal and vertical radii of the purple ellipse. The purple ellipse isn’t directly part of the solution; it’s mostly for comparison.

The workbench draws a load of extra scaffolding lines. The lines joining at the corner of the inner rectangle show that the tangents and normals are 45°.

The lines joining the top right and bottom left circles are my eyeballed guesstimates of the region in which a solution can be found.

the same diagram as before, with extra lines showing where the tangents and normals of the ellipses are 45°, and the boudaries outside which there is no solution

questions