It’s called “bokeh” and occurs for things that are out of focus (usually implying a short-depth-of-field lens, low f-number, usually a lens that’s physically big compared to the sensor – and they use huge lenses in film-production).
The shape of the bokeh effect depends on the shape of the aperture in the camera.
Latest Answers