Disastrous events and a significant combination of numbers signalled the end – or perhaps a new beginning – in 1666. But for some, this feverish period fuelled unprecedented inventiveness and development.