# Order and Chaos

There’s a virulent, choking sandstorm today. This has meant that attendance is virtually zero; the only poor saps required to show up are, of course, ourselves. The result is that nothing at all gets done. Not a halfway house where classes are sufficiently quorate to attempt normalcy, it’s an all or nothing event, a 1 or a 0, in effect.
The difference between order and chaos is minute. Having a few moments, therefore, I wondered whether it might be possible to generate a fractal in Excel based on a Sierpinski Triangle – the basic idea is quite straightforward,

I tried one, then fiddled with it a bit – this was the result. The simplest way turned out to be to generate a Pascal’s triangle then colour in the 1’s. leaving the 0’s blank using a +MOD operator to generate  0 or 1 based on a simple rule.

Changing the boundary conditions by less than 0.1% caused the entire structure to collapse and the pattern disappeared completely. H’m… Next project – a Mandelbrot set from scratch.
And now for the good news. It’s 8:30 in the morning and I’m going home.