Oh, and an awful lot of ingenuity, foam-board and hot glue was involved too -- but you kind of figured that already, right? Unlike the Lego-powered contraption we've seen before, this one takes advantage of the Cupertino smartphone lens' color sensor to ID the candy's hue during free-fall after it leaves the hopper. The author has a step-by-step breakdown replete with his or her hardships (apparently finding the right motors and magnets took some experimenting) and photos detailing each part of the process, in case you're curious. Or, because maybe you'd just like to spend Christmas building your own.