Marina SunsetMy keep-alive beacon. 🙂 I’ve just been so very, very busy. My inbox is overflowing (not really – who uses 10GB of email space?), my FB is (unsurprisingly) not filled with any activity and Twitter has some hilarious mentions of my disappearance – sigh, it’s going to take a while to sift through all that. Meanwhile, enjoy some traffic lights in Kuwait, out on the Arabian Gulf Road by Marina Crescent.





Here’s a little C++ program I wrote that I wished would help me draw the Bohr model of the various elements. I wrote for two reasons:

  1. To get acquainted with PNGwriter; and,
  2. To make it easier to draw stuff like this.

It works fine for a few elements (that obey the general rules of electron configuration), but overall – it’s a disaster. There’re lots of nuances for each element that I don’t think I can code down in a general sense so I’m going to just leave it like this for now. Code and a few output pictures right after the break.

Continue reading