Crafty Computation: Cross-Stitch Patterns with the Wolfram Language
For many of us, programming represents leisure time just as much as work. Here at Wolfram, we have an incredibly creative group with a wide variety of hobbies, on the screen and off—including textile arts like cross-stitch. So when my colleague Jay suggested that I create a cross-stitch program using the Wolfram Language, I replied with “Challenge accepted!” Jay was looking for a simple way to generate a cross-stitch pattern from a photograph—or really any image—with the colors corresponding to the DMC thread ID numbers. We both knew that the image-processing capabilities of the Wolfram Language would make this an easy task, but incorporating the DMC thread catalog seemed a more interesting challenge. Armed with both computer and (virtual) thread, I set out on my quest to create the perfect cross-stitch pattern generator.