Nice Three.js Animation
make sure that this is allowed to be used in commercial projects if you want to use it for that purpose:
https://threejs.org/examples/#webgl_points_dynamic
if you have knowledge about three.js it is also very easy to color the figures and make the movement controllable with the mouse