simonh #1 skidracer posted some code for doing this in the code archives - I think his term for them was 'pixies'.