Light Painting (Composition by dust)

Author: dust
License: MIT
Date: 2010.07.15
Compatibility: 10.6
Categories:
Required plugins:
(none)

here is a simple feedback based light painting example. it is made to emulate the effect of opening up your exposure on a camera. you will want to mess with the feedback level and after image life settings to paint. results will vary with room lighting and what not. this is a simple example.

you may want blend the original image with the feedback image based on motion detection or something. or maybe threshold and blur the feedback image and use it as mask with the original image to get more clear image where the streaks are not. as it is the effect is applied to the image as a whole.

if you get a white screen when you open just back the level off till you see your self then bump it back up and start painting with a lighter or led.

PreviewAttachmentSize
lightPaint.qtz12.1 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

mottafx's picture
Re: Light Paining (Composition by dust)

very good, master !!! excellent !! busted !!! wow !!

I love it all !

leegrosbauer's picture
Re: Light Paining (Composition by dust)

Slick, dust! Very nice. Thanks!

dust's picture
Re: Light Paining (Composition by dust)

thanks guys. i take it is working then. i waited till last night was dark to try it but my webcam looks like poop in the dark and was getting better results in the light.

cybero's picture
Re: Light Paining (Composition by dust)

A picture speaks a thousand words every time :-)

Using a simple blue LED torch , also have a red and a green one too, must put them to use sometime :-).

Love the spectral and chroma like effects.

dust's picture
Re: Light Painting (Composition by dust) Video

nice one cybero. your getting some good colors. here is a test in the day light with a basic white led keychain light. test is with feedback and after image set to (0.5)

cybero's picture
Re: Light Painting (Composition by dust) Video

I'm just beginning to get back into a whole load of Kineme and other 3rd party plugins, which I've been enjoying a re-introduction to following a long sojourn over to OpenCL land.

Just beginning to get used to some of them that I've hardly ever used to any great extent at all.

For instance ..

Can we track and use that graffiti and style from those light paints using CV Tools & 'recycle' them?

dust's picture
Re: Light Painting (Composition by dust) Video

yeah totally possible with things like ccv and bbtouch + tuio + qc... not sure if its possible in solely qc until someone makes blob tracker.

either way you would want to track a clean (non feedback) image preferably with a ir led and modified webcam. then queue up some of the coordinates and feed them into a gl line structure, then apply a glow effect and feedback to the line segments to get a similar effect to light painting.

i have been meaning to make a recording of something like this with ir lasers taped to my fingers. also been meaning to see if i can make blob track plugin with ofx-qc.

cybero's picture
Re: Light Painting (Composition by dust) Video

Thanks for the info.

I'll have to give that a try a little later.

Still busy tonight rendering video / audio & uploading the same.

Scratchpole's picture
Re: Light Painting (Composition by dust) Video

Very cool Dust. I just know audiences will love playing with this. Thanks for sharing.

psonice's picture
Re: Light Painting (Composition by dust)

Nice, I love playing with stuff like this.

For a really cool bonus, try doing the feedback with maximum instead of just overlaying (so the filter would be something like: return max(image, feedbackImage); ) (you'll either hit the core image memory leak or write it in glsl at this point..)

dust's picture
Re: Light Painting (Composition by dust)

just came across this on vimeo thought it was interesting. i have no idea of or if this is any derivative of this qc patch but thought it was a much cooler implementation than my little proof of concept video. using a wii mote to rotate the canvas as your painting really produces some nice light streaks.. ;)