made a JavaScript version
Light and Shadow Primary School JavaScript Model Simulation Virtual Lab
http://iwant2study.org/ospsg/index.php/interactive-resources/physics/04-waves/04-light/383-light-and-shadowwee02