This example demonstrates a position-based-dynamics (PBD) simulated thread with self collision using CCD.