For 6 years when I was growing up, my family lived in Indonesia. While there, I came to love batik fabrics, and even got to try making some.

Some batik is made with metal stamps, dipped in wax and pressed to the fabric before dye is applied. Some designs are free-handed, with a vaguely pen-shaped tool that has a sort of bowl on top for the wax, leading to a thin spout. After dye is applied, the wax is removed in boiling water, and if additional colors are to be added then another layer of wax goes on before more dye is applied.

Thanks to the internet, if you're interested in batik there is a ton of information available: from shopping and art books, to instructional videos and supplies.