YouPatch has, until now, provided pixel quilt patterns using only squares and rectangles as component pieces. We have recently been dabbling with the idea of adding half-square-triangles (HST's) to improve the capacity for creating smoother curved and diagonal lines.
My clever husband Dan Prager (the brain power behind this idea) has written about it in his blog post and we have re-published it here ...
Adding triangles to YouPatch
The Racket Logo |
Following my talk at RacketCon 2014 a few participants expressed interest in getting a quilt based on the Racket programming language logo (right).
Since I used Racket extensively both in inventing and developing YouPatch (www.youpatch.com) I thought it would be a nice gesture to make a free quilt design available to members of the Racket community.
However, just running the Racket logo through the YouPatch process (as it stood) made for an unsatisfactory result on two fronts:
- The curves of the original design are excessively pixelatedat a low resolution (right).
- YouPatch's aggregation algorithm combines neighboring squares of the same color into larger pieces to reduce the amount of cutting and sewing— a key feature. Unfortunately it did badly in a few cases (especially so on simple logos like this) because it was based on the somewhat simplistic idea of chopping each block repeatedly into quarters. By looking at the original design you can probably see several places where neighboring pieces should have been combined.
Original design: 230 pieces |
So I improved the aggregating algorithm, achieving typically a reduction of 20% in the total number of pieces. [There's a trade-off here against the number of distinct shapes involved. I could get 30%, but we decided to restrict shape dimensions to reduce confusion during construction.]
And I added an option to take a pixelated design and automatically and selectively add half-square triangles to reduce the "stair-casing" effect.
Without the schematics, here's the triangle design in all it's glory:
The Racket Logo as a pixel quilt design with triangles |
Let me know what size you'd like:
- Small wall hanging: 32" x 32"
- Medium wall hanging: 48" x 48"
- Double bed or lap quilt for the couch: 64" x 64"
- Queen bed: 80" x 80"
Now, in case you prefer another programming language to Racket, here's a sample of what happens to the logos of some other awesome languages that also have a liking for the greek letter lambda (λ):
At the time of writing the triangle-generating technology has not been built into YouPatch's self-serve features, nor have we finalized pricing.
I think you can see that this facility makes a big difference to logo-style pixelation (simple design, few colors, low-ish resolution), and of course it can be used for non-programming language logos! ;-)
No comments:
Post a Comment