Performing 2D alignment of particles