A spanking simulator library