For actual code in pictures, check out Piet (a toy programming language).
This url shows some samples. I'm still amazed at computing PI, with a better approximation when using bigger circles. And note the sample displays the code zoomed out and then the actual tiny executable 1:1 pixel images.