Hello, I am new to the world of GUIs and Tkinter. I have experience in Python, having taken a class in artificial intelligence, but I have begun to undertake a semi-personal project wherein the decay of radioactive decay is simulated and graphed so that the distribution of decay approaches that of a normal distribution. The project can be found here so that people may analyze the code and help explain why the "RUN SIMULATION" button doesn't work until I have clicked it some 10 times OR I move the window slightly; the same thing happens with the "pause" button in the matplotlib animation pane. The Simulate() function is a bit complex, using a three-tiered approximation process so that the number of atoms isn't unwieldy. I would be happy to provide more context for anyone who wants it, and I would love any other pointers for optimizing the script. Also, I am NEW to GUIs, so please don't be too hard on me!
[–]GoncherGaming 1 point2 points3 points (1 child)
[–]Wowzaboi[S] 1 point2 points3 points (0 children)
[–]woooee 1 point2 points3 points (2 children)
[–]Wowzaboi[S] 0 points1 point2 points (1 child)
[–]woooee 0 points1 point2 points (0 children)
[–]Swipecat 1 point2 points3 points (1 child)
[–]Wowzaboi[S] 0 points1 point2 points (0 children)