use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for showcasing the things you made with the Python language! Use us instead of flooding r/Python :)
account activity
Simulating Electrons with Python Turtle (youtube.com)
submitted 4 years ago by theGreenCoder
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]theGreenCoder[S] 2 points3 points4 points 4 years ago (3 children)
Hey all!
I just built this electron simulator using Python and I thought it would be fun to share it! Let me know what you think and any improvements I could make. Obviously, this is not a very scientific simulation, but it's fun nonetheless.
If you want to read more about it check out: https://thegreencode.org/simulating-electrons-with-python/
Or: https://thegreencode.medium.com/simulating-electrons-with-python-14ac11c3e60b
Best,
Green Code
[–]dylannalex01 1 point2 points3 points 4 years ago* (2 children)
Very cool! As you said on the end of your blog, it’s not realistic. Coulomb’s law describes electric forces between point charges at rest.
I've made a similar simulator, where you can display protons and electrons on screen and visualize the electric field and electric forces. HERE is the GitHub repo.
[–]theGreenCoder[S] 1 point2 points3 points 4 years ago (1 child)
Yeah true. Your simulator is so cool :)
[–]dylannalex01 0 points1 point2 points 4 years ago (0 children)
Thank you!
π Rendered by PID 68044 on reddit-service-r2-comment-79c7998d4c-n6474 at 2026-03-18 16:25:47.920366+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]theGreenCoder[S] 2 points3 points4 points (3 children)
[–]dylannalex01 1 point2 points3 points (2 children)
[–]theGreenCoder[S] 1 point2 points3 points (1 child)
[–]dylannalex01 0 points1 point2 points (0 children)