Experiments with physics-based animation in JavaScript (with three.js)