How the leapord got its spots ?

Leopards’ spots and tigers’ stripes are a camouflage closely tied to their habitats, researchers say.
A UK team examined the flank markings of 37 species of wild cats in a bid to understand the spectacular variety of their colour patterns.The scientists say that cats living in the trees and active at low light levels are the most likely to have complex and irregular patterns.*

From BBC.

My mind is officially blown.