A geometric model for the dynamics of microchannel emulsification.