Geometric pattern abstraction