News for hackers. Stuff that matters.
Re:I wired a Christmas tree with 500 LED lights and calculat... by konjin on Thursday December 24, 2020 @11:25PM (#25534178)
A rather simple improvement would be to have all the lights flash their binary encoded position for the calibration step. You go down from calibration time O(n) to O(ln(n)). Using red/blue would be better than using on off for this since you can get a more accurate position read by averaging ln(n) shots for the location of a light.

I believe something similar is used by some projection mapping software.

Re:I wired a Christmas tree with 500 LED lights and calculat... by fortzi on Friday December 25, 2020 @03:24PM (#25538778)
You might even encode the position in color, and do it in O(1)! Depending on the sensitivity of your camera, though :)