Cuboid.
![]() |
![]() |
| JavaView Snapshot | Mathematica Snapshot |
| JavaView Applet | JavaView Lite Applet |
| Several cuboids, and additional cuboid with different surface color. | In[1]:=
cub = Graphics3D[{Cuboid[{0, 0, 0}], Cuboid[{0, 0, 1}], Cuboid[{0, 1, 1}],
Cuboid[{1, 1, 1}], {SurfaceColor[RGBColor[0, 1, 0]], Cuboid[{1.25, 0.25, 0.25}, {1.75, 0.75, 0.75}]}}]; In[2]:= JavaView[cub] |

