Behind The Scenes Of A 1K Graphics Demo

Programmer/designer [Steven Wittens] has posted a fantastic write-up on the black art of producing compact demo code, dissecting his own entry in the 1K JavaScript Demo Contest. The goal is to produce the best JavaScript demo that can be expressed in 1024 characters or less and works reliably across all standards-compliant web browsers.

[Wittens] details several techniques for creating a lot of visual flash in very few bytes, including the use of procedural graphics rather than fixed datasets, exploiting prime numbers to avoid obvious repetitions in movement, and strategically fudging formulas to save space while adding visual interest. These methods are just as applicable to other memory-constrained situations, not just JavaScript — some of the contest entries bear a resemblance to the compact microcontroller demos we’ve previously showcased, except running in your browser window.

The contest runs through September 10th, allowing ample time to come up with something even more clever. Whether he wins or not, we think [Steven] deserves special merit on account of having one of the most stylish blogs in recent memory!

Spirograph Generator

The Agnewgraph I can turn out a pretty nice Spirograph drawing. Instead of relying on meticulously acurate CNC hardware, it uses a Spirograph stencil similiar to that business card we’re so fond of. The key to the [Mpark’s] design is an analog joystick which is attached to the pen. As the pen follows the plastic guide around, a Propeller microcontroller calculates the angle of travel based on that joystick. These measurements are used to decide how to move the two stepper motors that provide horizontal and vertical motion to the frame. We’ve attached a video after the break just in case our rough description didn’t do it for you.

Continue reading “Spirograph Generator”

That Light Switch Is Disgusting!

[Katrin Baumgarten] has fourteen switches that are made to gross you out. From a button that retreats into its hole as your finger approaches, to a mysterious goo-oozing faceplate, to a hairy housing that gets aroused as your try to flip it on, the intrigue is enough to get you to try out the next creepy node in the network. There’s a clip of several different switches after the break and if that’s not enough she’s got more on her Vimeo channel.

Continue reading “That Light Switch Is Disgusting!”

Make Your Own Toner Transfer Paper

Who would have thought that some corn starch could be made into toner transfer paper? We’re not sure of the advantages (perhaps its cheaper?), but if you have a lot of time or just love to get sticky [Matthew Sager] shows the proper method for making the paper, printing, and then etching a PCB.

If you’re just getting started making PCBs, we recommend you check out these DIY circuit etching videos to get a better grasp on the printing and etching steps.

CubeStormer; Quick Solutions From LEGO Parts

[youtube=http://www.youtube.com/watch?v=eaRcWB3jwMo]

CubeStormer solves Rubik’s cubes and it does it quickly! Made entirely out of LEGO, a Mindstorm web camera is used to scan in the cube with four mechanical hands for manipulation. The device is capable of solving a random cube in less than 11 seconds. That’s quite a bit faster than the last Minstorm solver we saw, and the CuBear solver we are so fond of.

[Thanks Ferdinand]

Three Pendulum Harmonograph

Just the other day we were thinking “You know what we need more of around here? Harmonographs!” And our requests were answered when [Paul] sent in his three pendulum harmonograph. For those unaware, it’s a mechanical device that draws Lissajous curves or “really cool circles” to quote some of our staff.

[Paul] includes all the plans necessary to make your own harmonograph and begin drawing today. If you can’t wait, there’s a video of the three pendulum harmonograph etching a masterpiece after the jump. Continue reading “Three Pendulum Harmonograph”

Power Cycling A Problematic Modem

[Gigawatts] struggled against a shoddy Internet connection for quite some time. Changing modems, having the line serviced, and spending far too much time on the phone didn’t do any good. In fact, the only thing that fixed the problem was power cycling the modem once it stopped responding. His solution was to automate the power cycling process. He added a cron task to his router which is running DD-WRT, a favorite firmware alternative for hacked routers. The script monitored the WAN connection and when it went down it would toggle one of the serial port pins. He whipped up an outlet box with a relay in it and used that serial pin to cut the power going to the modem. A workaround yes, but it was the only thing that brought an end to his frustration.