USB keyboard volume knob with Quartz Composer
Use the volume knob on your USB keyboard with Quartz Composer compositions via the HID Input patch included with QC.
Posted: March 19th, 2012 under electronica, macintosh, visuals.
Comments: none
art & technology
Use the volume knob on your USB keyboard with Quartz Composer compositions via the HID Input patch included with QC.
Posted: March 19th, 2012 under electronica, macintosh, visuals.
Comments: none
My email breaks about once a year. Something about one of the mail clients I use, the mail server, procmail or whatever, trashes the mail file somehow. I’ve tried editing the file but that often doesn’t work. I think I’ve found another potential solution…
Posted: November 16th, 2011 under scripting, sysadmin.
Comments: none
A quick bit of bash that you can do from the command line on linux (or MacOS, if you have lame installed)…
Posted: September 29th, 2011 under scripting.
Comments: none
I’m using an Arduino to control two (maybe more – I haven’t tried yet) AD5204 digital potentiometers. Here’s some info about adapting the digital pot Arduino example to work with daisy chaining.
Posted: May 10th, 2011 under electronica.
Comments: 3
I’ve created a blog that will contain video episodes describing hardware hacks that might be useful to artists and other makers. I seem to use this blog (the one that you’re reading right now) less and less – maybe I’ll start a series of smaller ones to replace this one sometime.
Posted: March 29th, 2011 under Uncategorized.
Comments: none
During my weekend of procrastination, I created a Quartz Composer plugin. As I need some new patch I will probably add it to this plugin, so it will continue to grow.
Posted: October 19th, 2010 under macintosh, scripting.
Comments: none
A handy formula that I usually have to look for when I need it – make a value fall into a specific min-max range. This is the math that gives you a new, scaled up or down, value.
Posted: October 11th, 2010 under scripting.
Comments: none
This is a list of twenty arbitrary challenges for people who are learning to create using a tool like Processing, Quartz Composer, or the like.
Posted: January 24th, 2010 under antimusic, electronica, internet, scripting.
Comments: none
This is my tutorial for using Processing with the OSCemote iPhone app.
Posted: January 18th, 2010 under antimusic, electronica, scripting.
Comments: 1
Part of a drawing for a piece of kinetic sculpture that I’ve been working on for far too long now.
Posted: August 19th, 2009 under machina, sketchbook.
Comments: none
I made a big red button to replace the Escape key. A museum that I’m consulting for needs this for a touch-screen kiosk that runs Crayon Physics.
Posted: August 15th, 2009 under electronica.
Comments: 2
I made a couple simple demos for the VIS145A students at UCSD to show how we can use an iPhone as the interface to Processing sketches.
Posted: May 13th, 2009 under antimusic, electronica, scripting.
Comments: 1
A drawing from my sketchbook, with some additions. I kind of just did it as a stream of consciousness so I’m not quite sure what it means.
Posted: April 17th, 2009 under sketchbook.
Comments: none
I’m teaching Processing to art students at UCSD and the course’s professor has basically asked them to create visual rhythm. I made a few sketches to show a simple way in which this might be accomplished.
Posted: April 16th, 2009 under scripting.
Comments: 1
If you use Mail.app to read RSS feeds and want to export the URLs for those feeds (maybe you want to use some other RSS reader now?), you can use this command.
Posted: September 14th, 2008 under macintosh, scripting.
Comments: none
I’ve been cooking with the solar oven. Here’s a log of how it’s been going.
Posted: June 8th, 2008 under life, vegan.
Comments: none
I made a solar oven last night and I baked some potatoes with it this morning. Two words: best baked potatoes EVER.
Posted: June 2nd, 2008 under life, vegan.
Comments: 15
I modified my phpstates code include to display countries and Canadian provinces as well. The country codes come from the UPS developer’s API. This is another one of those snippets that I use often, so maybe it will help you out.
Posted: May 27th, 2008 under scripting.
Comments: 2
Here’s how you can create perl scripts in TextMate, starting from a template instead of a blank screen.
Posted: March 17th, 2008 under macintosh, scripting.
Comments: 2
I was looking for a quick and simple PHP function that would validating credit card numbers, but the code I found was mostly clunky and sometimes just wrong. I wrote this function and it seems to work correctly. Feel free to use it and leave a comment here if it works for you.
Posted: March 1st, 2008 under scripting.
Comments: none
I find things in my sketchbook that I don’t remember writing or drawing. I have no idea where I was going with this, but I like the way my alternate personality is thinking.
Posted: February 26th, 2008 under sketchbook, vegan.
Comments: none
I like the little gems of ingenuity and economy of design found inside crappy toys. I was taking apart some electronic toys yesterday, as is my wont. This particular toy had a few neat mechanisms, but I thought this use of rotary encoders and cams was especially cool.
Posted: February 22nd, 2008 under machina.
Comments: none
I created a circuit that zooms a camcorder in and out. This is the path I took.
Posted: February 15th, 2008 under electronica.
Comments: none
I’ve been using FreeMind for the past few days and it’s been amazing. I was a little skeptical but it’s been a great way of getting my mess of thoughts into visual form.
Posted: January 10th, 2008 under sketchbook.
Comments: none
I needed to hide a linux server inside a pedestal for a piece of sculpture that I’m working on. Bandsaw and drywall screws, it’s ugly but exactly what I needed.
Posted: November 5th, 2007 under electronica, sysadmin.
Comments: 2
I’m making something that requires remote control of a printing calculator. I’ve got it working.
Posted: October 29th, 2007 under electronica.
Comments: none
I had trouble using Arduino to burn the bootloader onto a blank atmega8 with my ST500v2 development board. I eventually figured it out and here’s the deal.
Posted: October 23rd, 2007 under electronica.
Comments: none
This isn’t perfect, but it should do a pretty good job of highlighting your C source if you’re using TextMate to program an AVR using AVR Libc.
Posted: September 27th, 2007 under electronica, macintosh.
Comments: none
Teach your baby to be a hip hop producer early. This is a MIDI drum kit that I made using a microcontroller and another $2 find at Savers.
Posted: September 26th, 2007 under antimusic, electronica.
Comments: 2
I made this keyboard from a $1 toy that I bought at Savers. I made some changes to the electronics including pitch control, a 555 timer circuit that adds extra resistance in secret places, a speed control for the timer, 1/4″ output jack, and a touch-contact for good measure. I fabricated the case from cold-rolled [...]
Posted: September 26th, 2007 under antimusic, electronica.
Comments: none
Just a quick experiment to show that the NESpad library I wrote for the Arduino microcontroller actually works. An NES Advantage joystick acts as a mini MIDI drum pad.
Posted: September 21st, 2007 under antimusic, electronica.
Comments: none
I wrote this library, called NESpad, for anyone who wants to interface an NES game pad with the Arduino microcontroller. I also made an SNES library (SNESpad), but I haven’t tested it with an actual SNES joystick.
Posted: September 21st, 2007 under antimusic, electronica.
Comments: 16
Joysticks 101. Basically, we’ve got two types of joysticks: analog and digital. You’ve probably used both kinds. The buttons work pretty much the same on either kind – you either click it or you don’t – but the actual “stick” part is what makes them different. This post starts out with some basic joystick info [...]
Posted: September 19th, 2007 under electronica.
Comments: 9
I have a stack of wooden church organ pipes in my studio. I was going to make a mobile, solar- and human-powered organ that is played with theremin-like controls or a tangible interface of some kind. I haven’t gotten around to it, but this sketch kind of sums it up.
Posted: September 17th, 2007 under antimusic, sketchbook.
Comments: none
A while back, I converted my 1994 Ford E-350 van to run on vegetable oil. I never took really good notes on what I did to convert the van, but I had all kinds of scribble-sketches hanging around all the time. Some of them are here.
Posted: September 17th, 2007 under sketchbook, vegan.
Comments: 1
My stylish project amp, in all its monophonic glory…
Posted: July 16th, 2007 under antimusic, electronica.
Comments: 1
I tried to make a time machine using an AVR Tiny13 and a peanut butter jar. Okay, so maybe it’s not really a time machine, but it’s definitely a kind of trippy time-manipulator ala Doc Edgerton’s stroboscope experiments. Either way, it works and it’s pretty cool.
Posted: June 14th, 2007 under electronica.
Comments: 2
Music, dancing and storytelling competition
Posted: May 31st, 2007 under sketchbook.
Comments: none
A sketch of mistaken identity
Posted: May 29th, 2007 under sketchbook.
Comments: none
A couple sketches from a church in Lachowice, Poland.
Posted: May 24th, 2007 under sketchbook.
Comments: none
TextMate is pretty incredible. I just started reading the book on it and if I can ever get used to the 8 million key combinations I’m sure it’ll shave minutes off of my year. Really, though, I’m amazed everytime I see a screencast where someone is using TextMate and the code just seems to blast [...]
Posted: May 18th, 2007 under internet.
Comments: 1
I have a few bicycles but these are the cooler ones. I bought both the Raleigh Supercourse and the Columbia Cyclone from the Greenhouse in Needham (or maybe it’s Wellesley), Massachusetts. It’s actually a greenhouse – with tons of used bikes and junk. Anyway, I bought the Columbia to turn into a crazy chopper, but [...]
Posted: May 18th, 2007 under 2 wheels.
Comments: 2
Back when I had my SV, I got a nail in my tire and I documented the process of getting it fixed so I could remember what I did the next time. This info could help you out, but obviously I’m not Suzuki so don’t come looking for me if your wheel falls off.
Posted: May 16th, 2007 under 2 wheels.
Comments: 2
motd stands for “message of the day” and it’s the message that you see when you login to a unix-like system via ssh, telnet, the console, etc. Some people like to put cute sayings or “welcome” messages, but if I’m setting up a server for someone else, I generally want to put a less friendly [...]
Posted: May 15th, 2007 under sysadmin.
Comments: none
My gallery of Tiger Boy toy camera photos
Posted: May 12th, 2007 under photography.
Comments: none
This is a list of different ways to determine exposure times for your pinhole cameras
Posted: May 12th, 2007 under electronica, photography.
Comments: 8
Vegetarians and vegans traveling to Boston, get your food on.
Posted: May 12th, 2007 under vegan.
Comments: 2
Renegade exhausts are awesome. You should own one. The people who make them are the best. But, actually, this page is for people who already own Renegade exhausts and are wondering what’s involved in replacing its wool packing. I think you’re supposed to change the wool every 4,000 miles if you have a carbon fiber [...]
Posted: May 7th, 2007 under 2 wheels.
Comments: 3
My general experience with motorcycle shops is that I haven’t really liked any service or sales departments and I’ve only liked a couple parts departments. This post is where we out the stinkers and praise the good guys.
Posted: May 6th, 2007 under 2 wheels.
Comments: none
Some information that might help you understand XHTML and use it in your next web project.
Posted: April 30th, 2007 under internet.
Comments: none
This is how I find out where a remote client is coming from. It takes into account proxies and tries to get the hostname using gethostbyaddr(). Frankly, this was written many years ago so I’m not sure if I’d do it the same way. If nothing else, it should be a good starting point for [...]
Posted: April 29th, 2007 under scripting.
Comments: none
Ever wanted to create a 1 pixel transparent GIF with Perl? Me neither, but this is still neat to have in the toolbox.
Posted: April 29th, 2007 under scripting.
Comments: none
I wrote this cross-reference a while back for people who know how to program using Perl and are looking for some of the familiar Perl functions in the php language. When I originally write it, we were stuck with php 3 so I just reworked the list to include some of the functions that were [...]
Posted: April 28th, 2007 under internet, scripting.
Comments: none
The only real way that I’ve found to extract data from an MS Access .mdb file on MacOS X is to use mdbtools. If you aren’t familiar with the unix underpinnings of MacOS X, this information might be too much for you. Otherwise, this is a step-by-step list of what I had to do to get mdbtools to compile and get useful data from a .mdb
Posted: April 11th, 2007 under macintosh.
Comments: 1
These are instructions for burning a DVD disc when what you’ve been given is a .img (Disk Image) file. The instructions are for users of MacOS X. If you’re using Windows or Linux, check Google for other pages like this one.
Posted: June 25th, 2006 under macintosh.
Comments: 1
This one time, I thought maybe I’d try compressing URLs to make the query strings shorter.
Posted: December 16th, 2005 under internet, scripting.
Comments: none
I’m posting this short chunk of php code that might save you a few minutes. It creates a list of US states in an HTML or XHTML SELECT list. Download the zip file here.
Posted: December 16th, 2005 under scripting.
Comments: 1
Part 1 of 2 – tips and information that anyone can use to help keep SPAM from filling their own inbox.
Posted: December 16th, 2005 under internet.
Comments: none
Part 2 of 2 – anti-SPAM tips and information for web developers and administrators.
Posted: December 16th, 2005 under internet.
Comments: none
My Cicero Dashboard Widget allows you to instantly copy a chunk of “Lorem Ipsum” to your clipboard with a single click on your Mac OS X Dashboard. Download it now.
Posted: October 25th, 2005 under internet, macintosh, widgets.
Comments: 8
Just in time for Halloween comes a creepy skull & crossbones to adorn your Mac OS X Dashboard. Download it here.
Posted: October 23rd, 2005 under internet, macintosh, widgets.
Comments: 4
Here’s a template for adding javascript code to an HTML page. It might save you 30 seconds someday.
Posted: July 30th, 2005 under internet, scripting.
Comments: none
Sort of weird, but a bunch of years ago I was really excited about the variety of tools that I had used in the span of only a few months of working on projects at the Massachusetts College of Art, at Handshouse Studio, and with the Timber Framer’s Guild. I guess I made this page [...]
Posted: May 17th, 2004 under electronica.
Comments: none
I wrote this list back in 2001 and I updated it for a year or two. I had a 2000 Suzuki SV650 at the time, so you’ll see a lot of references to that bike. Also, I don’t buy things made from animals and as far as I know, the only products that contain leather [...]
Posted: May 17th, 2001 under 2 wheels.
Comments: 1