(Mini) Earthquake in your living room

posted Nov 19th 2009 6:56am by Jakob Griffith
filed under: misc hacks

Today we stumbled upon [jimthree's] Seismic Reflector while looking at projects that employ the Processing language we mentioned a few days ago. Utilizing a Boarduino and some vibration motors from a game controller, the Seismic Reflector does just as its name implies – rattles itself around whenever there is an earthquake. While this does seem a bit silly at first, we were fascinated to learn there have been 165 earthquakes just in the past week and almost no news reports, suddenly this device got a lot more interesting!

3D Magnetometer mouse in processing

posted Oct 18th 2009 3:00pm by Zach Banks
filed under: arduino hacks, peripherals hacks

FFB4SV5G0SD7J7G_MEDIUM

[etgalim] works in Solidworks extensively and wanted a more intuitive way of rotating objects onscreen. To do this, he created a mouse that responds to rotation. He put a 3D compass module inside an old mouse and wired it up to an Arduino. The Arduino then relays the I2C sensor data to the computer. So far, he has a Processing script that uses the mouse to rotate a cube, but eventually he wants to write a Solidworks plugin. It’s a bit shaky, and we think it would be a bit smoother (and cheaper) if he used gyros like the jedipad. Video after the jump.

Read the rest of this entry »




Barcode scanner in Processing

posted Sep 22nd 2009 10:00am by James Munns
filed under: peripherals hacks

barcode_sc

Reader [Nikolaus] decided that instead of using an existing image based bar code decoder, he would write his own. Using the Processing language he created a scanner that parsed the black and white pattern when a bar code was centered on the image. His code then parsed that data and compared it with the initializing character to provide a reference. Currently his scanner supports three character sets of the Code 128 encoding, and provided his complete code so that others could add as they see fit. He admits that the code is a bit messy due to the lengthy character tables, but very straight forward.

Toyaanisqatsi: time lapse control using LEGO parts

posted Sep 6th 2009 9:00am by Phil Burgess
filed under: arduino hacks, digital cameras hacks


A simple panning motion can add impact to the already-dramatic effect of time lapse photography. To accomplish this, frugal cinematographers sometimes build [Rube Goldberg] contraptions from clock motors, VCR parts or telescope tracking mounts. Hack a Day reader [Stephan Martin] has assembled a clever bargain-basement system using an Arduino-driven stepper motor and a reduction gear system built up from LEGO Technic parts, along with some Processing code on a host PC to direct the show.

While the photography is a bit crude (using just a webcam), [Stephan’s] underlying motion control setup might interest budding filmmakers with [Ron Fricke] aspirations but Top Ramen budgets. What’s more, unlike rigid clock motor approaches, software control of the camera mount has the potential for some interesting non-linear, fluid movements.

Capacitance sensor guide (AD7746)

posted Jul 18th 2009 2:32pm by Eliot Phillips
filed under: arduino hacks

capacitive_sensor

[Marcus] has written up his experiences using the AD7746 capacitance sensor. He used the SparkFun breakout board in conjunction with an Arduino. The available Arduino code wasn’t that great so he rewrote it to be easier to understand. The AD7746 is an I2C device that can be continuously read, but this doesn’t mesh well with the Wiring libraries. Additionally, the calibration routine from the data sheet is difficult to understand. He’s included all of the code he used plus a Processing sketch to help visualize the input which will hopefully make your experience with the chip much more smooth.




Laughing Man in Processing

posted Dec 31st 2008 12:00pm by Eliot Phillips
filed under: downloads hacks, video hacks

laughing_man

The Laughing Man is the antagonist from the anime series Ghost in the Shell: Stand Alone Complex. During each of his public appearances in the series he manages to hack all video feeds/cyborg eyes in the vicinity to obscure his face with the logo above.

[Ben Kurtz] had been watching the series recently and realized he could put together a similar effect using Processing. The interesting bit, and what makes this more fun than a simple demo, is that he’s using the OpenCV library. OpenCV is a open source computer vision library. [Ben] uses it to handle the facial recognition in Processing and then apply the image.

It’s only 100 lines and we wonder what other fun tricks could be employed. Here’s a Hack a Day skull you can swap in for the logo.

[thanks dakami]

Processing 1.0

posted Nov 25th 2008 12:32pm by Kimberly Lau
filed under: digital audio hacks, news

Processing, the open source programming language designed for artists and other creative types, finally went 1.0. Processing inspired numerous outpourings of creativity and beauty, from interactive art installations to sound sculptures. Improvements to Processing include OpenGL anti-aliasing, an extensible Tools menu, and the XML library included by default. You can read up on the changes or download Processing and start playing with it yourself.

[via Create Digital Motion]

Advanced Beauty generative video art

posted Nov 22nd 2008 8:00pm by Eliot Phillips
filed under: digital audio hacks, downloads hacks

advbeau

Advanced Beauty is a collection of 18 “sound sculptures” pairing artists and programmers to create a collaborative work visualizing sound. The styles run a broad range from fluid simulations to manipulating cell animation. The demos were built using Processing. While all of these were built using human input, we see potential for them to help improve standard visualizers. Hopefully, to bring out more information about what’s actually being played. Below is just one of the videos in the series. You can find more on Vimeo. Read the rest of this entry »




Wiimote head tracking in Processing

posted Aug 25th 2008 3:00pm by Eliot Phillips
filed under: downloads hacks, nintendo hacks, wii hacks


[Manuel] has been playing around with [Johnny Lee]’s Wiimote head tracking code. He’s posted a preliminary port outlining the code in the Processing environment. It relies on darwiinremoteOSC so you won’t see this outside of OSX, but it should help you out if you’re trying to do this is in Processing on another platform.

[via Create Digital Motion]

[photo: nicolasnova]

Wii nunchuck used for mocap on 3D Studio Max

posted Jul 7th 2008 9:00pm by Juan Aguilar
filed under: arduino hacks, misc hacks


If you’ve been looking for a cheap way to do motion capture on 3D Studio Max, [melka] has devised an ingenious way to do mocap using a Wii nunchuck. As shown in his Vimeo video, the nunchuck is connected to an Arduino that feeds MIDI data to a computer running the MIDI app Ableton Live. Ableton Live feeds that data to 3D Studio Max via MIDI Yoke.

The video below the break shows that the motion of the nunchuck can be seen in real time in the 3D Studio Max Window. We’re really hoping [melka] will post a writeup of this project soon, as we are hungry for more details.

Read the rest of this entry »

Hack a Day serves up fresh hacks each day, every day from around the web and a special How-To hack each week.

Send us your hacks