A simple particle system library for KPR