This applet is a little less intuitive than previous ones; it tries to display the process of complex integration. If you draw a curve on the left-hand side of the grid, the applet will integrate the function f(z) along your curve on the right side of the grid. For instance, if f(z) = z and you drag the mouse from 1 to 2i, the pointer on the right-hand grid will be at the value of the integral of z from 1 to 2i. The value of the integral always starts at 0.
If the mouse is at a location z, and you drag the mouse by small amount dz, then the integral gets changed by an amount f(z) dz. The cyan and green lines indicate the direction the integral would move by if you moved z rightward or upward respectively; they represent the complex numbers f(z) and i f(z) respectively.
When you integrate f on a closed loop, you may or may not get 0 as the total integral. It depends a lot on what f is, and what the loop is. If f has an anti-derivative on the loop, then the integral is guaranteed to be 0 by the fundamental theorem of calculus. If f is analytic on the loop and inside the loop, then Cauchy's theorem guarantees that the integral is 0. In all other cases it is very unlikely that the integral vanishes completely.
Previous applet: The complex derivative
Next applet: Taylor and Laurent expansions