Galaxy pattern generator