On Instagram, I saw somebody looking for a pattern generator where you can enter your own measurements. I pointed him at CosplayShapes, the one I built for my own cosplays. It wasn't the tool he remembered, but he said it looked and felt much better. It was only missing the shape he needed: an ellipsoid.

I had to look up exactly what that was. An ellipsoid is a ball stretched by a different amount in each direction, so it can be oval from above as well as from the side: a gem, or a helmet shell that is longer front to back. Then I got to work, and a paraboloid dish came along with it.

The Ellipsoid page: the settings on the left, an oval model and two gore patterns on the right

Every slice is the same oval

Cut an ellipsoid horizontally anywhere, and the slice is an ellipse with the same proportions, just bigger or smaller. That is true for a lot of shapes, so I described all of them the same way: the size of the widest slice, and a function that says, from the pole to the other end, how big each slice is and how far down it sits.

For the ellipsoid, that function walks round a quarter of an ellipse:

level: t => { const angle = end * t; return [Math.sin(angle), up * (1 - Math.cos(angle))]; }, 

Here up is half the height, and end is how far round to go. A whole ellipsoid goes all the way to the bottom pole; one that is cut open, for a helmet shell, stops at the cut.

An elliptic paraboloid is a deep bowl that narrows smoothly to its bottom, like a breastplate cup or a nose cone. Its slices grow in proportion to their position, and their depth grows with the square:

level: t => [t, tall * t * t], 

That one line is the whole difference between the two shapes. Everything after it, from the gores to the 3D model, is shared. Once the ellipsoid worked, the dish was mostly a new profile.

The Paraboloid dish page on a phone: a yellow bowl above two pointed gore patterns

Gores that won't stay straight

Both shapes are built from gores, the long pointed pieces of a beach ball. CosplayShapes already made gores for spheres and domes. On a sphere, every gore is the same and every seam is the same length, so a gore comes out symmetrical, and the classic formula for its width is all you need.

On an oval, that breaks. Take the default ellipsoid: 15 cm wide, 20 cm deep and 15 cm tall. A seam that runs over the deep front travels further from the top to the widest point than a seam that runs over the narrow side. So the two seams of one gore have different lengths, and a gore drawn with straight symmetrical sides won't fit its neighbours.

Laying a gore down band by band

So the app builds each gore in thin bands, starting at the pole. For every band, two things are fixed.

The first is the length of each seam. The app measures how far the seam travels on the shape for that band, and lengthens it by how much wider the gore gets, the same way the classic sphere gore does:

const flatStep = (seam: Array<number>, index: number) => Math.hypot(seam[index], halves[index] - halves[index - 1]); 

The second is the width: across every slice, each gore gets exactly its share of the ellipse's perimeter.

Seam lengths and width together almost pin the band down. What's left is one free choice: how far the band turns. Turn it one way and the left seam leans out more; turn it the other way and the right seam does. For every band, the app searches for the turn where the two seams lean away from the classic sphere gore by equal and opposite amounts:

const leftLean = turnFrom(across, sub(left, before.left)) - (Math.PI / 2 + widening.left); const rightLean = turnFrom(across, sub(right, before.right)) - (Math.PI / 2 - widening.right); return { left, right, lean: leftLean + rightLean }; 

A bisection finds the turn where lean is zero. That choice is what makes the rest work:

  • Neither seam is favoured, so the two gores that meet at a seam lay it out with exactly the same length, and the alignment notches line up.
  • On a shape that is round from above, both seams are the same length, and the result is the old sphere gore exactly. Making a round ellipsoid and comparing it with the Sphere is one of the new tests.

Where the seams differ, the gore curves gently towards the shorter one. You can see it in the pattern: Gore A and Gore B are both bent a little, instead of being straight leaves.

The flat pattern of the default ellipsoid: two curved gores, each marked Cut 2 + 2 flipped

Mirror it both ways

An oval is symmetrical front to back and side to side, so the gores are too. That's why the gore count has to be a multiple of four: every gore then has a mirror image in each quarter. The app only draws the gores that mirroring doesn't already give, and labels each one with how many to cut. The default ellipsoid has 8 gores but only two different pieces, each cut 2 times as drawn and 2 times flipped over.

You can also choose what sits at the front: a seam, or the middle of a gore. For a helmet shell you might not want a seam running down the middle of the forehead.

Measured from the outside

As with the other shapes, you measure the finished piece, and the pattern is drawn at the middle of the material. For the ellipsoid and the dish, you enter the outside size, so the app moves the whole surface inwards by half the thickness before it flattens the gores. If you add a flat cap to close the open end, and the material is butt-joined, the cap is cut to the inside of the wall so it sits within it.

Folding Oval dome into Dome

The new oval code also had room for a shape I already had. CosplayShapes had both a Dome and an Oval dome, and they were really one shape with two ways to set the height. So Dome now starts as half a ball, and "Set the height" offers Slice (the old Dome) or Stretch (the old Oval dome).

The part I cared about was old links. Every printed pattern has a QR code back to the exact settings. An old Dome link has no "Set the height" in it, so for links like that the option defaults to on: they carry their own height, and they open with a slice, exactly as before. /oval-dome now redirects permanently to /dome?profile=stretch and keeps its query string. A pattern printed last month still opens the same pattern today.

Try it

The Ellipsoid is under Domes and spheres, and the Paraboloid dish is under Shaped domes. It's free, with nothing to sign up for, and the code is MIT licensed.

If you're the person from Instagram: I hope it fits.