Prompt
"Generate an image of a diagram illustrating the photoelectric effect, showing a metal surface emitting electrons when hit by photons of light, with labels indicating the threshold frequency, work function, and energy of the emitted electrons, in a style reminiscent of physics textbooks."