This is an example of the use of the graphics library of Java to draw a stickman. We begin by calculating arm and leg angles using trig functions. We then draw the stickman in black. Next we clone the parts of the stickman and compute the new stickman changing the graphics color to white and drawing (i.e. erasing) the previous stickman. Finally, we change colors to black and draw the current stickman.