SphericalShell
✖
SphericalShell
represents a filled spherical shell centered at c with inner radius rinner and outer radius router.
Details and Options

- SphericalShell can be used as a geometric region and a graphics primitive.
- SphericalShell[] is equivalent to SphericalShell[{0,0,0},{1/2,1}].
- SphericalShell[r] is equivalent to SphericalShell[{0,0,0},{r/2,r}].
- SphericalShell[{rinner,router}] is equivalent to SphericalShell[{0,0,0},{rinner,router}].
- SphericalShell represents a filled spherical shell
. The region is
dimensional for point c of length
.
- SphericalShell allows c to be any point in
and
.
- SphericalShell can be used in Graphics and Graphics3D.
- In graphics, the point c and radius r can be Dynamic expressions.
- Graphics rendering is affected by directives such as FaceForm, EdgeForm, Specularity, Opacity, and color.

Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (20)Survey of the scope of standard use cases
Graphics (10)
Specification (5)

https://wolfram.com/xid/0n4frng4azh-btz1q2

Spherical shells with different outer radii:

https://wolfram.com/xid/0n4frng4azh-l0hn2

Spherical shells with different inner radii:

https://wolfram.com/xid/0n4frng4azh-hky91r

Short form for a spherical shell with radii at the origin:

https://wolfram.com/xid/0n4frng4azh-37iz6

Short form for a spherical shell with radii at the origin:

https://wolfram.com/xid/0n4frng4azh-fwdxat

Styling (4)

https://wolfram.com/xid/0n4frng4azh-cdxdbh

Different properties can be specified for the front and back of faces using FaceForm:

https://wolfram.com/xid/0n4frng4azh-vb6wx

Spherical shells with different specular exponents:

https://wolfram.com/xid/0n4frng4azh-d1tyd0

White spherical shell that glows red:

https://wolfram.com/xid/0n4frng4azh-ca9zt

Opacity specifies the face opacity:

https://wolfram.com/xid/0n4frng4azh-v6995

Coordinates (1)
Regions (10)
Embedding dimension is the dimension of the space in which the spherical shell lives:

https://wolfram.com/xid/0n4frng4azh-y220

Geometric dimension is the dimension of the shape itself:

https://wolfram.com/xid/0n4frng4azh-bx9tom


https://wolfram.com/xid/0n4frng4azh-c7lq97

https://wolfram.com/xid/0n4frng4azh-f70gib

Get conditions for point membership:

https://wolfram.com/xid/0n4frng4azh-inebf9


https://wolfram.com/xid/0n4frng4azh-se0twe

https://wolfram.com/xid/0n4frng4azh-e06l44


https://wolfram.com/xid/0n4frng4azh-gwq4b4


https://wolfram.com/xid/0n4frng4azh-oknxhk


https://wolfram.com/xid/0n4frng4azh-jcsb4b

https://wolfram.com/xid/0n4frng4azh-8aexdg

The equidistance contours for a spherical shell:

https://wolfram.com/xid/0n4frng4azh-ew8anh


https://wolfram.com/xid/0n4frng4azh-kjgbyj

https://wolfram.com/xid/0n4frng4azh-zognbt


https://wolfram.com/xid/0n4frng4azh-d7g53y

https://wolfram.com/xid/0n4frng4azh-mtue

Nearest points to an enclosing sphere:

https://wolfram.com/xid/0n4frng4azh-e29k5d

https://wolfram.com/xid/0n4frng4azh-5ksoo8

https://wolfram.com/xid/0n4frng4azh-uv1cfm


https://wolfram.com/xid/0n4frng4azh-ypd96t


https://wolfram.com/xid/0n4frng4azh-po0eks


https://wolfram.com/xid/0n4frng4azh-dym4fu

https://wolfram.com/xid/0n4frng4azh-i3tfrr


https://wolfram.com/xid/0n4frng4azh-l3exhn


https://wolfram.com/xid/0n4frng4azh-bx1r15

Integrate over a spherical shell region:

https://wolfram.com/xid/0n4frng4azh-fivgav

https://wolfram.com/xid/0n4frng4azh-banwkr

Optimize over a spherical shell region:

https://wolfram.com/xid/0n4frng4azh-nf9ton

https://wolfram.com/xid/0n4frng4azh-hyz4dq

Solve equations in a spherical shell region:

https://wolfram.com/xid/0n4frng4azh-bnrw6

https://wolfram.com/xid/0n4frng4azh-lhnpf3

Applications (5)Sample problems that can be solved with this function
A standard Ping-Pong ball, a spherical shell, has a mass of 2.7 grams and an outer radius of 40 millimeters:

https://wolfram.com/xid/0n4frng4azh-e5g8rs
It is made of celluloid, which has a density of . Knowing that
, find the inner radius of a Ping-Pong ball:

https://wolfram.com/xid/0n4frng4azh-cfx2ja

https://wolfram.com/xid/0n4frng4azh-bpcki9

The thickness is the difference between the inner and outer radius:

https://wolfram.com/xid/0n4frng4azh-bzw9ov

It was once believed that the universe was a system of concentric celestial spheres. At the center of the universe was Earth, and surrounding it were the spherical shells for the planets and the Sun. There was disagreement about the exact order of the planets and the Sun. Plato and Ptolemy ordered the celestial spheres differently:

https://wolfram.com/xid/0n4frng4azh-boeyc9
Visualize and compare the two philosophers' universes using a set of labeled spherical shells:

https://wolfram.com/xid/0n4frng4azh-ebwncv

https://wolfram.com/xid/0n4frng4azh-dwhmr0

A pearl is formed, layer by layer, by a mollusk. The pearl's optical properties come from light reflecting off many translucent layers, as opposed to only an opaque surface layer. The difference that translucent layers make can be seen by creating two sets of nested spherical shells that differ in opacity:

https://wolfram.com/xid/0n4frng4azh-noxhyp

https://wolfram.com/xid/0n4frng4azh-togky

Golf balls have multiple layers, the outer, dimpled shell, and one or more inner layers. Model the outer layer as the RegionDifference between a spherical shell and a collection of balls. Get a distribution for the dimples using the MeshCoordinates of a sphere's mesh:

https://wolfram.com/xid/0n4frng4azh-h5iw2r
Discretize the region over an interval to get a "cut-away" view of half of it:

https://wolfram.com/xid/0n4frng4azh-dtsfms
Finally, make a ball for the inner core of the golf ball, offset from the center to get a visual separation of layers:

https://wolfram.com/xid/0n4frng4azh-blftrz

https://wolfram.com/xid/0n4frng4azh-cftdxt

A balloon can be approximated as a spherical shell. Suppose the balloon is made of 10 units of material. Find out how the thickness depends on the outer radius of the balloon:

https://wolfram.com/xid/0n4frng4azh-cryyaq


https://wolfram.com/xid/0n4frng4azh-cgfnxp

Suppose the material is such that under the given conditions it will break if it has thickness less than . Find the largest possible outer radius balloon given that constraint:

https://wolfram.com/xid/0n4frng4azh-cwz2ap

Here are some different cases of the solution visualized:

https://wolfram.com/xid/0n4frng4azh-n6ui

Properties & Relations (4)Properties of the function, and connections to other functions
A Ball is the limit of SphericalShell as approaches 0:

https://wolfram.com/xid/0n4frng4azh-f4varb

A Sphere is the limit of SphericalShell as goes to
:

https://wolfram.com/xid/0n4frng4azh-ecgz0p

A SphericalShell is the closure of RegionDifference between two concentric Ball regions:

https://wolfram.com/xid/0n4frng4azh-u83u4d

https://wolfram.com/xid/0n4frng4azh-exag6m

SphericalShell is all points less than from a sphere of radius
:

https://wolfram.com/xid/0n4frng4azh-buaxwa

https://wolfram.com/xid/0n4frng4azh-bn9n3q

Neat Examples (3)Surprising or curious use cases
Wolfram Research (2015), SphericalShell, Wolfram Language function, https://reference.wolfram.com/language/ref/SphericalShell.html.
Text
Wolfram Research (2015), SphericalShell, Wolfram Language function, https://reference.wolfram.com/language/ref/SphericalShell.html.
Wolfram Research (2015), SphericalShell, Wolfram Language function, https://reference.wolfram.com/language/ref/SphericalShell.html.
CMS
Wolfram Language. 2015. "SphericalShell." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SphericalShell.html.
Wolfram Language. 2015. "SphericalShell." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SphericalShell.html.
APA
Wolfram Language. (2015). SphericalShell. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SphericalShell.html
Wolfram Language. (2015). SphericalShell. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SphericalShell.html
BibTeX
@misc{reference.wolfram_2025_sphericalshell, author="Wolfram Research", title="{SphericalShell}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/SphericalShell.html}", note=[Accessed: 21-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_sphericalshell, organization={Wolfram Research}, title={SphericalShell}, year={2015}, url={https://reference.wolfram.com/language/ref/SphericalShell.html}, note=[Accessed: 21-May-2025
]}