What Shape Is a Bean?
$\begingroup$

How can I mathematically describe the shape of an idealised bean? (In two dimensions and in threes dimensions)

At the moment I'm calling the shape I refer to an ellipse/ellipsoid on a curved major axis.


EDIT

This seems to work for 2D: $$r \leq \sin^3\theta+\cos^3\theta$$

$\endgroup$
18

1 Answer

$\begingroup$

The problem is, we do not know exactly what you mean by "idealised bean". Can you describe the shape better? A closed curve shape with two opposite indentations? (To me that seems more like a peanut.)

Then you say in the comments that $r = \sin^3\theta + \cos^3\theta$ seems to work well.

What do you want to do with that curve now? Give it another indentation on the opposite side?

$r = \cos^2(\theta) + 1$

More indented with $r = 2\cos 2\theta + 4$

You also said "an ellipse/ellipsoid on a curved major axis." I'm not sure exactly what that looks like. If you can sketch the picture and show us, we'd have a better idea of the shape you're looking for.

BTW, to make 3D versions, usually we just rotate the 2D shape about some axis.

For reference, here are the equations for an ellipse:

$y = \pm b\sqrt{1 - \frac{x^2}{a^2}} \hspace{1cm}$ or $\hspace{1cm}r = \displaystyle \frac{ab}{\sqrt{a^2\sin^2\theta + b^2\cos^2\theta}}$ in polar coordinates.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest