Hi Overconstrained Individuals,
I built a system called Slalom for creating touch interactions with physics simulations declaratively, built on Cassowary.js. There's a write-up on it with some examples here:
One aspect that's fun and depends on Cassowary's simplex is backtracking to find out which manipulator (currently active edit) caused some motion constraint to be violated (and what the coefficient is, so which direction and how much feedback to apply).
I'd love to hear some feedback or field questions. I wasn't at all sure that this was going to work until I started doing the examples and found that most of them were pretty straightforward...
Thanks,
Ralph