https://scratch.mit.edu/discuss/topic/236959/?page=1#post-2418257 The program once started will pick a random image from a bunch that it has and will attempt to draw it with pen. It will show you the original before it starts drawing. Press space to stop it drawing.
This program reduces the colour pallet by blending in the image with a black screen using the ghost effect (which makes it very dark), then pics random dark colours to test random darkened pixels against. If it comes up as a match, it plops a dot of the re-lightened colour on the screen. In the future I hope to switch it to doing it pixel by pixel, but heavily pixelating the image. Then I can get it to smartly choose new colours, by choosing colours close to the last found colour when moving on to an adjacent pixel.