Neccessity, so it's oft said, is the mother of invention.
It's certainly the father of improvisation, the great-uncle of creativity, and perhaps a distant second-cousin of genius.
Everybody who likes to cook will be instantly familiar with the following scenario:
It's late, you're hungry, you've had too many takeaways lately, and you feel like cooking something. But all the shops are closed, so you have to throw something together based on the ingredients you happen to have in the house...
So, what do you end up eating? Fuck knows. It's different every time. Sausage omelette. Herring on toast. Quince and Clam pie. Sometimes it's bad, sometimes it's good. Sometimes it's actually so unbelievably good that you turn it into a proper recipe and make it again and again and again for the remainder of your days.