A gravitational lens simulator in a browser using HTML5's canvas and Javascript. Example here. More examples here.