I made a bottle light,

I made a bottle light, it is not like the normal boring kind of bottle lights…! still testing stuff here so it’s plugged in via USB but it’s nearly ready, i am taking forever because i’ve been working on a complete system to make them (every one is unique since you can’t fix the lights where you want).
http://youtu.be/41aM4wr5Ivw

Love the XYZ mapping! Did you do it by hand?

It’s only XY, mapped by hand using a tool i made (click on webcam image to set light position essentially). It could be fully automated if i had more than one webcam probably, although i expect it’s fiddly.

I finally managed to fix my mapper software - I should put a small UI on it (for selecting serial port and camera/frame rate) and get that published for people on here to use. (I just used it to map a 400 led setup the other night)

@Daniel_Garcia is it in processing? i have code for UI and select somewhere i think, will have a look! i have a gigantic mess of different pieces that are in too much of a state to share at the moment but i think i specifically have a serial select template somewhere in the pile! using controlP5 as the UI lib, it’s easy and seems powerful.

Yeah - it’s in processing - I have a bunch of bookmarks for doing UI in processing - but anything you have that’d be a quick point would be great - I don’t do a whole lot in processing - but I think this is something that’d be useful to people - and the main reason why I haven’t dropped any of the code yet is right now you have to change the processing sketch for everything (number of LEDs, serial port to talk to the led controller, camera, etc…) - and it’s ugly and not newbie friendly :slight_smile:

That said, it’s nice - it spits out both a pair of X/Y int arrays, auto-scales/balances ranges, I have an idea for accounting for camera skew (maybe), and it also spits out a CSV version of the X/Y coordinates to plot in something like R to visually glance at the distribution of leds.

I have some thoughts for how to use two cameras in real time to do an X/Y/Z mapping (and/or account for occluded leds) - but no time!

For once i could actually find something quickly! - here’s a simple serial select template http://pastebin.com/CzCNbEMZ

Thanks! that’ll give me some stuff to play with. Sadly, there is $DAYJOB work between now and then.