Maybe something from this thread can help
You could generate the pattern in 2d first, then wrap it onto your cylinder