Stripe generator

This is brilliant

It would be useful in determining the stripes for the socks I plan to do with my angora/lambswool samples [Ravelry] [Flickr] I bought from Orkney Angora, which might turn out something lie this.

It just needs a way of entering the proportion of each colour to be used overall, so that the stripes are constrained to available resources, rather than truly randomised.