You can do a lot with acrylic and few tools. If you’re just starting out we’d suggest taking a look at [Michael Colombo’s] guide to heating, bending, and gluing to create custom acrylic enclosures. Chances are you already have most of what you need. The one tool you might be lacking is a heat gun.
The process starts with math. Before cutting the acrylic down to size you need to calculate how much you need. Next [Michael] demonstrates his cutting technique using a Dremel and a cut-off wheel. We prefer to clamp along the cut line, score many times with a razor knife, and snap the stuff. But you can also send it through a table saw if you have the right blade.
The bending technique he uses starts by clamping boards on either side of the bend. The acrylic left sticking out is pushed with a scrap board while the bend is heated with the heat gun. Once all of the corners were made in one piece the sides were glued in place. This last step can be tricky. The acrylic glue is made to work with perfect seams, so make sure your cuts are clean and the bent pieces line up.
The process was documented in the clip found after the jump. If you’re looking for a more targeted heat source check out this dedicated acrylic bender.
Continue reading “Heating, Bending, And Gluing To Make Acrylic Enclosures”
Using animated GIF images as a crude WebSocket is an idea we’ve never come across before, but it actually makes a lot of sense. Not in terms of it’s overall usefulness, but just for the fact that the animated files work in a similar way. The nature of these animated containers is what makes it work. A GIF doesn’t tell the browser how many frames to expect, so the connection is kept open until the “hey this is the last frame” command is received. This can be used to stream data to anything that can play the animations.
The demonstration after the break shows this in action. Hello World and a couple of other test messages are pushed to the browser without refreshing the page. In our mind that’s what’s useful — real time updates without a refresh or any underlying client-side code structure. But we haven’t looked into the particulars like does this eat bandwidth even when nothing new is being sent?
When [Hans] wrote into us about this gif hack he referenced this discussion panel on WebSockets. We didn’t watch the whole thing yet, but apparently someone calls the gif trick the WebSocket of the ’90s.
Continue reading “Gifsockets: WebSockets Using Animated GIF Files”