Wiimote + Graffiti

bbinkovitz's picture

Earlier this week, cwright made a little composition that lets you draw on the screen. Then we combined it with the wiimote patch and a digital projector, and got the following nifty ability:

That's Matt Radcliffe drawing on a hotel room wall using a wiimote. The grafitti patch keeps a queue of previous images as sprites when the screen is cleared.

cwright's picture
don't try this at home

As you can see, Matt isn't wearing his wrist strap. this means that in furious bouts of drawing, lamps, TVs, and small children may become damaged by flying Wii Remotes. Don't try this at home. :)

dwskau's picture
Trying it at home.

I was actually hoping to try it at home. Any chance of getting the composition?

psonice's picture
paint

Hmmm... i happen to have done a pretty advanced paint tool with QC, like a stripped down photoshop. I'm going to have to try it with the wii stuff!

cwright's picture
eventually

Right now it's hard-wired to be controlled by midi stuff, but after our show tonight, I'll try to generalize it and post it here for others to play with :)

(The controlling is for colors and sequencing/replay... specific to our performance)

alexbeim's picture
I have done similar stuff

I have done similar stuff but using processing. http://www.vimeo.com/1432337 I would love to test how this one performs

cwright's picture
almost

This was actually inspired in part by your video :) This one isn't quite as complete as yours, but it works for our needs (quick sketches mixed live and played back in sync with audio loops)

So thank you, Alex, for the cool idea and inspiration :)

gtoledo3's picture
Chris, what kind of

Chris, what kind of performance is this.... a visual/dj thing? An art installation? Are you a musician as well?

cwright's picture
audiovideo

It's primarily a music performance, but there are interactive graphics as well. So art I guess :)

I'm not much of a musician, but I've been known to write some pretty decent code from time to time... :)

alexbeim's picture
Cool That is what I had in

Cool That is what I had in mind to work next. Simple looping animation that will respond to the music. I would love to see yours.

dnugent's picture
Re: Wiimote + Graffiti

I'd LOVE to try this at home is there a tutorial I could follow?

dust's picture
Re: Wiimote + Graffiti

there is a paint example in the developer examples you will want to hook up the wii mote x and y to the spot where the mouse patch is located. remember you will not be able to draw very good without a IR bar. it actually works backwards to meaning drawing with the IR bar instead of wii mote

dnugent's picture
Re: Wiimote + Graffiti

Sorry How do I get to the developer examples?

Is it on Kineme.net (this website) or somewhere else ?

Thanks for your patience!

(I'm such a noob!)

dust's picture
Re: Wiimote + Graffiti

/Developer/Examples/Quartz Composer/Compositions/Conceptual/Accumulator Paint.qtz

actually here is the converted developer example its pretty easy to make. i will hope this works as i don't have a wii mote handy to test. we have a bunch at school. this example is predicated on the fact you have an IR bar. press + & - to sync press A button to draw and minus button to erase.

what i did here is basically add IR functionality and feed the X&Y into a smooth patch with continuos sped to make sure you have smoother numbers. in addition i ran the X&Y coordinates into a interpolation patch with external time turned on confined to the bounds of the screen. 1 because i forgot what values this thing spits out and 2 so you can keep the drawing on the screen.

let me know if this works for you.

PreviewAttachmentSize
wiiPaint.qtz8.33 KB

gtoledo3's picture
Re: Wiimote + Graffiti

I think that Chris's setup actually did some kind of cool caching of image...

Was it posted ever?

Dust has set you up with a good one though :)

The other cool thing you might like to try is to dig in and look at the particle tools example compositions, in the particle tools plugin source download, and find the one called "particle paint". Then, you can hook in the x/y stuff in a similar manner to what Dust has posted. Things like the gravity or vortex stuff can be connected "to taste".

dnugent's picture
Re: Wiimote + Graffiti

Many many thanks you guys for responding you're AWESOME! I'll try it as soon as I get home!

Ye har!

toneburst's picture
Re: audiovideo

cwright wrote:
I'm not much of a musician, but I've been known to write some pretty decent code from time to time... :)

I'm not much of coder, but I've been known to write some pretty decent music from time to time.

No, actually, that's not true... damn.

a|x

dust's picture
Re: audiovideo

haha TB your the man. i actually listened to your music site for the first time yesterday. i really like the b/w mouse chromo zoom thing. i was checking out your tracks and i really like them. i was going to post a calling TB message in the forum and ask you if you have or by chance if i could snag a copy of some of your tracks in 320 kbs. i like the samples in duck. the siren was a sound i had been looking 4, for a long time now. one of my teachers asked us to remix a public service announcement visually. when she played "duck and cover" a 50's public service announcement my jaw hit the floor when i herd the perfect siren. so i made a track for the visual re edit of "duck and cover" . its funny i listened to your song duck and wondered if you got the sample from that movie. i think the other sample comes from a classic record called hold your wig. anyways just wanted to share this with you TB and ask about getting a 320kb version of your tracks.

http://www.pixel8r.info/emc2/OBEYNOW.aif

@ chris if art and music are not your thing you can always make electro its rather simple in comparison to other genres. music theory always helps but you gots the essentials down like midi and the audio tools etc.. so there shouldn't be any reason you can't make techno music. unless your tone deaf then i might be hard.

dnugent's picture
Re: Wiimote + Graffiti

I tried wiiPaint.qtz and got the following error I think I may have the wrong Patch

Macro Patch Cannot create connection from ["IR X" @ "WiiMoteControlPatch_1"] to ["inputValue" @ "Smooth_1"]

Macro Patch Cannot create connection from ["IR Y" @ "WiiMoteControlPatch_1"] to ["inputValue" @ "Smooth_2"]

(null) State restoration failed on

Could you post a link to the correct Patch or Attach it here?

Many many thanks and then some!

Cheers

dust's picture
Re: Wiimote + Graffiti

do you have the wii mote in your patches folder or plugins folder ??????