Particles move in beautiful patterns when they have 'spatial memory'