PhET Interactive Simulations from University of Colorado publish free, open source, educational interactive educational software.  These slides provide a technical overview of the machinery that drives PhET sims and their development.