The purple dots are indeed for physics, as for how I made this, I don't know, all I know is it looks nice.