The circle represent the object. You can drag any point in the circle to change it's shape. You can change the focus length f with slider or drag focus point direcly. This applet assume very thin lens.
VIEW or DOWNLOAD ejs xml source
then click to translate strings for selected locale.

Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop.