Worms flowing through an hourglass