Generating textile designs using cellular automata