PlaidMaker 0.1

09.22.2008

PlaidMaker is an easy way to make images of different plaid patterns. Looking at my shirt, I got the notion that threads are like pixels. I tested my theory in Photoshop, but the process was tedious and manual, while the logic is basic. Here are some of my first patterns.

Plaid imageFor 4 years, I’ve wanted to write a program where I could automatically create the images outside of Photoshop but I hadn’t the know-how or time up until now. In fact, this site uses the same effect for the header and sidebars.

I did it using the PHP GD library. The algorithm is quite simple: if x+y (coordinates) is odd then use the x color, else use the y color. It’s slightly more complicated to mirror the design. I’ll probably open source the code when I get it to my liking.

I plan on adding a saving function, a viewing gallery and a color picker in later versions.

Make a plaid!

Your 2¢