Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

Obama-m-and-ms.jpg

George Hart @ MAKE writes:

Tim Chartier at Davidson College has discovered that if you make things out of candy there’s no lack of volunteers to help you clean up. He takes images and transforms them mathematically into arrays of candy pieces. Here you can see President Obama, as rounded to the set of m&m color values. Mathematically, the algorithm picks the available color which is closest in red-green-blue-space to the average of the pixels it replaces.

Tim’s program has controls that allow the user to change the image, the candy, and the resolution. Since Easter is coming up, you may find a use for this recipe to make another U.S. president, this time from 400 peeps.

More:

How-To: Preserve a Candy Portrait


George Hart @ MAKE writes: “Tim Chartier at Davidson College has discovered that if you make things out of candy there’s no lack of volunteers to help you clean up.”

becky-stern-headshot

Becky Stern

Becky Stern is head of wearable electronics at Adafruit Industries. Her personal site: sternlab.org


Related
blog comments powered by Disqus

Featured Products from the MakerShed

Follow

Get every new post delivered to your Inbox.

Join 25,454 other followers