Other patterns of characters and asterisks

If you want the written codes for above example you can just email to me.