Three.js Torus Grid with Magnetic Interaction