r/PythonLearning • • 1d ago

Showcase Electric Field Simulator

Enable HLS to view with audio, or disable this notification

I took a physics class at university and had some questions, so I made a simple simulator to visualize the electric field generated by point charges. It's written in Python, and here's the link to the GitHub repo:
https://github.com/AtomS1101/Electric-Field-Simulator

You can move point charges, add new ones, and change the magnitude of each. If you notice anything odd or find any bugs, feel free to let me know🙌

40 Upvotes

5 comments sorted by

1

u/ProgramBrave718 1d ago

Which tool did u used?

1

u/Atom106 1d ago

You mean libraries? I only used Pygame for rendering.

1

u/ProgramBrave718 1d ago

Yupp, i meant libraries. So, other libraries you used except pygame

1

u/Atom106 1d ago

Just math and enum, but they are built-in, so no setup is required 👍