What is determined by motion and the spacing of particles?