A mathematical model for animal stripes