generating pateren using magickwand