Add Motion examples

Use https://www.processing.org/reference/dist_.html