Pete Hellicar and Joel Gethin Lewis put me on to this iPhone app that creates a Lego portrait of you which is awesome. But I thought it’d be fun to do it in Flash in realtime.
I’d like to improve the palette map but I haven’t figured out how to get the BitmapData.paletteMap command to choose from a pre-determined list of colours – it seems highly confusing to me! So if anyone knows how to make it work, please let me know! Or maybe I should use Ralph’s great dithering code?
And also, wouldn’t it be cool if it could print out instructions on how to build the real version in Lego, along with a full order for the right bricks you need? 🙂
Try it out for yourself below :
[UPDATE] see comments for how to use a predetermined colour list with paletteMap.