This is a simple example using the XYZ decorator to set the coordinates of some particles and compute the distance between them.