In developing COMPASS materials we rely on JSXGraph . It is a cross-browser library from Bayreuth University which is implemented completely in JavaScript. JSXGraph supports multi-touch devices running iOS, Android, firefoxOS, Windows 8 (at least).
One of the main aims of COMPASS project is to use it to create hands-on animations with a “didactical” view. In this Physics example the student has to draw the line representing the velocity of a defined motion (for example, v=-3 m/s) then checks it.