On a related note, some idle practice exercises have now provided the
Jayne Hat Pattern 2.0 - now with automated calculations, all thanks to javascript.
This is making me think about writing other calculators, like a simple sock calculator . . . if only I knew more about socks.