complex mapping with sine

You move the red and blue points in the left graphic to modify the rectangle or the circle. The GeoGebra applet illustrates how the complex sine function maps a stripe in the plane onto the whole complex plane.