About this demo...
The demo can render a variety of standard three.js objects with a
selection of different image textures. When animation is turned on, the
texture offset is animated, which has the effect of making the texture
move across the surface.
The "pill" object in the demo is a compond object, composed of
an open cylinder and two hemispheres. The hemispheres are added
as children of the cylinder.