Skip to main content
3 of 14
added 560 characters in body
kglr
  • 400.5k
  • 18
  • 488
  • 929

Update: To generate a list of spheres similar to the circles in OP (sphere k just touching sphere k-2):

ClearAll[tr]
tr[n_] := (2 n^2 - 1 + (-1)^n)/4;

Graphics[Translate[Scale[Circle[], #], {tr @ #, 0}] & /@ Range[10]]

enter image description here

Graphics3D[{Opacity[.5], Translate[Scale[Sphere[], #], {tr@#, 0, 0}] & /@ Range[10]}, 
  Boxed -> False]

enter image description here

Original answer:

You can use Translate and Scale Sphere[] as follows:

radii = Range[5];

Graphics3D[Translate[Scale[Sphere[], #], {#^2, 0, 0}] & /@ radii]

enter image description here

or translate to leave gaps between spheres:

translations = 2 Accumulate[radii];

Graphics3D[MapThread[Translate[Scale[Sphere[], #], {#2, 0, 0}] &, {radii, translations}]]

enter image description here

kglr
  • 400.5k
  • 18
  • 488
  • 929