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:
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.