Magical Marbles in Three.js
Previous demo
Article
GitHub