Codevember 2021

17. Attraction

Desktop:
Click and drag to move the camera.
Press T to toggle a charge and move the mouse over the cube.
Press R to randomize.
Press space to stop the animation.

Mobile:
Tap and drag around the cube to move the camera.
Tap and drag inside the cube to move a charge.

Made with three.js.