The effects of geometry and dynamics on biological pattern formation