Remove list items based on proximity to curve

This was already done in the other thread, version ‘Feb8c’: