i have recreated a #JavaScript version here
http://iwant2study.org/ospsg/index.php/interactive-resources/physics/04-waves/04-light/116-thin-converging-diverging-lens-ray-diagram-lens-inquiry-learning

[img]http://1.bp.blogspot.com/-e8AN6TYyi-s/VV6MAPz8JWI/AAAAAAAAtmo/tY1bpco-_0w/s1600/2015-05-22_0950.png[/img]
Enjoy!