# How do I draw a pair of buttocks?

I'm trying to develop a function which 3D plot would have a buttocks like shape.

Several days of searching the web and a dozen my of own attempts to solve the issue have brought nothing but two pitiful formulas below.

They have some resemblance to the shape I want, though not quite.

Could you help me to obtain a proper formula?

Here are those bad solutions I've got myself:

ParametricPlot3D[{Sin[y] Sqrt[1 - (Abs[x] - 1)^2],
Cos[y] Sqrt[1 - (Abs[x] - 1)^2], x}, {x, -10, 10}, {y, -3 Pi, 3 Pi},
AspectRatio -> Automatic] and the following:

Plot3D[((2 Sqrt[30 - x^2 - 2^-x]/3) + Sqrt[1 - (Abs[y] - 1)^2])/2,
{x, -7, 7}, {y, -7, 7}, AspectRatio -> Automatic] • Probably there are only half-assed solutions available yet. – Yves Klett Nov 25 '14 at 10:34
• @YvesKlett be careful, it happened once :P Evidently, we are... – Kuba Nov 25 '14 at 10:54
• I come back after not checking the site overnight, and this is what I wake up to. – DumpsterDoofus Nov 25 '14 at 14:47
• If only ExampleData[{"Geometry3D", "Beethoven"}] was a full-body model, a judicious use of PlotRange would do it. – user484 Nov 25 '14 at 16:16
• The quality of the responses does seem to be a validation of the merits of this question, albeit a posteriori. – Daniel Lichtblau Nov 25 '14 at 16:34

I have to confess that I see this as a proper challenge, as I am usually quite creative in finding/combining functions to provide a desired behavior. So I will give it another try. which is generated using

box[x_, x1_, x2_, a_, b_] := Tanh[a (x - x1)] + Tanh[-b (x - x2)];
ex[z_, z0_, s_] := Exp[-(z - z0)^2/s]

(*and*)

r[z_, x_] := (*body*).4 (1.0 - .4 ex[z, .8, .15] +
Sin[2 π x]^2 + .6 ex[z, .8, .25] Cos[2 π x]^2 + .3 Cos[2 π x]) 0.5 (1 + Tanh[4 z]) +
(*legs*)
(1 - .2 ex[z, -1.3, .9]) 0.5 (1 + Tanh[-4 z]) (.5 (1 + Sin[2 π x]^2 +
.3 Cos[2 π x])*((Abs[Sin[2 π x]])^1.3 + .08 (1 + Tanh[4 z])  )  ) +
(*improve butt*)
.13 box[Cos[π x], -.45, .45, 5, 5] box[z, -.5, .2, 4, 2] -
0.1 box[Cos[π x], -.008, .008, 30, 30] box[z, -.4, .25, 8, 6] -
.05 Sin[π x]^16 box[z, -.55, -.35, 8, 18]

(*and finally*)

ParametricPlot3D[
(*shift butt belly*)
{.1 Exp[-(z-.8)^2/.6] - .18 Exp[-(z -.1)^2/.4], 0, 0} + {r[z, x] Cos[2 π x], r[z, x] Sin[2 π x],z},
{x, 0, 1}, {z, -1.5, 1.5},
PlotPoints -> {150, 50}, Mesh -> None,
AxesLabel -> {"x", "y", "z"}]


Edit What was the strategy in generating the graph (answering the comment of @mcb)

Inspired by some of the solutions here and the fact that the original question seems to head direction Plot3D[] or ParametricPlot3D[], the idea is to use a cylinder as base. I remembered from other work that a parametric curve of type 1+Cos[t] gives something butt-shaped and 1+ a Cos[t] can give something like a torso cross section. To make it a little bit more elliptical I added a 1+Sin[t]^2type. Combining this already goes in the right direction.

Legs are also not very complicated. Just fold the cylinder into two by,e.g, Abs[Sin[t]]. To make the transition from legs to torso I use a soft step based on Tanh[].

Next step is to push it in and out in the correct way (belly and butt), so there is a shift to the cylinder based on Gaussians.

At the end one adds features like waist, etc. using Gaussians or adjustable smooth box-like functions.

Done, overall not too complicated.

• ...although I have to say that it is a little bit embarrassing that my "reputation" up to now is mainly from this thread. – mikuszefski Nov 25 '14 at 18:19
• This is the first answer on this site that has literally made me go "what the f—" out loud. So congratulations for that. – user484 Nov 25 '14 at 18:24
• Em-bare-assing? No way. Epic, more like! And who says math ain't sexy now? – Yves Klett Nov 25 '14 at 19:17
• -1 I rotated it to no avail – Dr. belisarius Nov 26 '14 at 5:12
• Joined Mathematica just to +1 this. Well done. – aportr Nov 26 '14 at 23:15

This might get me suspended from the site butt I cannot resist.

The shape you are looking for can probably be approximated (depending how anal you want to be about the outcome) by two assymetric probability distributions. The obvious choices would be a Poasson or a log normal distribution. I will use the latter as it is continuous. Now the bummer is that you have to smoothen them out somehow so I will use an exponential to do that. Since it is the overlap of the two functions that I am interested, I need to add some filling so that the individual sheets don't show (cheeky, I know). I chose Filling->Bottom for that. The final result is shown below (please don't be harse in judging it):

Plot3D[{
-PDF[LogNormalDistribution[1, 1], (y + .3)^2 + x^2] E^(.8 (y + .7)^2),
-PDF[LogNormalDistribution[1, 1], (y - .3)^2 + x^2] E^(.8 (y - .7)^2)
},
{x, -1.,1.4}, {y, -.9, .9},
Filling -> Bottom,
FillingStyle -> Opacity,
PlotStyle -> {Brown, Brown},
Lighting -> "Neutral",
Boxed -> False,
Axes -> False,
Mesh -> None,
PlotRange -> {Automatic, Automatic, {-.4, .3}}] Cracking!

• youtu.be/FtmjgeEL-tk – Yves Klett Nov 25 '14 at 12:00
• And good use of misspelling (I think life was better before the advent of the spell checker anyway). – Daniel Lichtblau Nov 25 '14 at 16:26
• @DanielLichtblau I think you mean spell cheecker. – cubecubed Nov 25 '14 at 22:17
• @Cammy_the_block Yes, my mistake. Spanks for catching it. – Daniel Lichtblau Nov 25 '14 at 23:49
• "Filling -> Bottom"? Really? – dwa Nov 27 '14 at 8:06

## Parametric Buttocks Manipulator

Manipulate[
ParametricPlot3D[{
(e u^p + (1 + (c - a u) (u - 1)) Cos[t]^2) Sin[t],
(e u^p + (1 + (d - b u) (u - 1)) Cos[t]^2) Cos[t],
2 u}, {t, -0.2, Pi + 0.2}, {u, 0, 1.1}, Lighting -> "Neutral", Mesh -> None,
PlotStyle -> Directive[Specularity, RGBColor[0.92, 0.85, 0.73]], Axes -> False],
{{a, 7}, 2, 10},
{{b, 2.5}, 1, 3},
{{c, -0.5}, -1, 0},
{{d, -0.5}, -1, 0},
{{e, 0.7}, 0.5, 1},
{{p, 2.5}, 1, 5}] • It's all about the bass, 'bout the bass, no treble... – rm -rf Nov 25 '14 at 13:58
• @Öskå, I agree, your butt is nicer than mine. – Simon Woods Nov 25 '14 at 14:17
• This only looks like a bra. – Ludwik Nov 25 '14 at 20:01
• @Ludwik, dammit I knew I should have paid attention in anatomy class! – Simon Woods Nov 25 '14 at 20:33
• However, the last few lines of code are actually quite buttock-shaped. Was that intentional? – itsbruce Nov 26 '14 at 18:43

Scientific progress! In v10.3 with all the goodies in AnatomyData we can now use the simple code:

Entity["AnatomicalStructure", "Skin"]["Graphics3D"] Zoom in on the appropriate part and you're done.

pelvisLoc = AnatomyData[Entity["AnatomicalStructure", "Pelvis"], "RegionBounds"];
Show[
Entity["AnatomicalStructure", "Skin"]["Graphics3D"],
PlotRange -> pelvisLoc,
ViewPoint -> {0.961, 1.62, 0.203},
ViewVertical -> {0.109, 0.284, 1.202}
] Although not parametric, I thought it would be a nice addition to the other answers.

For those at work: I would advise to leave the Viewpoint where it is.

• It's a new kind of buttocks, you know. – kirma Oct 18 '15 at 14:22
• @kirma At least they didn't use you-know-who to stand model here. – Sjoerd C. de Vries Oct 18 '15 at 14:44
• pelvisLoc is the best function name ever! – gpap Oct 19 '15 at 19:31

Plot3D[.7*(1 + Tanh[1 - (2*Y^2 + X^2 + X^4)]) - .3*Exp[-X^2/.0025]*
Exp[-(Y - .1)^2/.15] - .2*(Exp[-(X - .7)^2/.02]*Exp[-(Y - .0)^2/.08] +
Exp[-(X + .7)^2/.02]*Exp[-(Y - .0)^2/.08]), {X, -1, 1}, {Y, -1, 1}] • Right! You finally put Tanh to some astounding use (I was always wondering what it was good for)! – Yves Klett Nov 25 '14 at 15:20
• One of my favorites! – mikuszefski Nov 25 '14 at 18:12
• If I had to guess which body part this represents, my first answer would not be a butt. – Nikolaj-K Nov 27 '14 at 13:42

Just a combination of Graphics3D objects

Graphics3D[{Scale[
Cylinder[{{0, 0.9, -0.5}, {2, 0.7, 0.5}}, 0.75], {1, 0.95, 1}],
Scale[Cylinder[{{0, -0.9, 0}, {2, -0.7, 0}}, 0.75], {1.0, 0.95, 1}],
Scale[Cylinder[{{-1.1, 0, 0}, {-0.3, 0, 0}}, 1.5], {1, 1, 0.5}],
Scale[Sphere[{0., 0.75, -0.25}, 1.05], {1.1, 0.9, 1}],
Scale[Sphere[{0., -0.75, 0.1}, 1.05], {1.1, 0.9, 1}],
Sphere[{-0.2, 0, 0.2}, 0.65],
Scale[Sphere[{-0.4, 0, -0.2}, 1.2], {0.6, 1.3, 0.75}],
}, PlotRange -> All, Boxed -> False,
Lighting -> ({"Spot", ColorData["SouthwestColors"][RandomReal[]],
Scaled[#], {Pi/4, 100}} &) /@ RandomReal[{-4, 4}, {5, 3}]] • Interesting ansatz...good one. – mikuszefski Nov 27 '14 at 16:02
• Those hemorrhoids though... – Frigo Nov 30 '14 at 18:34
• Well, I guess it is inspired by Fernando Botero sculptures. – mikuszefski Nov 30 '14 at 20:48