Good question! The answer is that I deserve almost zero credit for it. I took the code from Antonio Sánchez Chinchón, who wrote a much better blog post about it than I ever could, and then I totally mangled his creation by adding some colored dots, because I liked the purple shirt/black tie combo I was wearing in the picture, and wanted that to come through. The complete code is here (you’ll need to put in your own image file, but the rest should work out of the box):