The Lorenz Attractor
Three lines of code, one butterfly
Three coupled differential equations modelling a slice of the atmosphere. Plotted in space, the trajectory loops around two centres in a shape that looks exactly like a butterfly — the visual signature of chaos theory and the source of the phrase 'butterfly effect'.