Galaxy Pattern Generator