Figured I'd share this. It's not complete. Not even close to what I have planned for it. I plan to add backpropagation, hidden layers, and a better GUI. You can press the "See inside" button, I'm not sure many will understand the math, but I've put it into a note if you want to take a shot at it.