in the browser – random
Two random images are loaded from picsum.photos. The brightest of the two is overlayed onto the other with a blending mode of "screen". If the difference in average brightness is small, the images are darkened and lightened to make them more distinguishable. Uses CamanJS.
See some of my favourites in this Twitter thread