β‘
ElectriPy
Visualize the electric field of a point charges network.
π
Installation
Install ElectriPy package:
$ pip install electripy
You are all done! To start the simulation type:
$ python -m electripy
NOTE: you need to have Python and pip installed.
π
Controls
- Right click to add an electron
- Left click to add a proton
- Press r to remove all charges from screen
- Press + to increment vector scale
- Press - to decrement vector scale
- Press space to display or hide force array components
- Press m to change mode
π
Modes
Electric Field:
This mode let you display an electric field vector at mouse position. You can also show or hide its components and modify the scale. This mode does not hide charges' force vector.
Electric Force:
This is the default mode when you start running ElectriPy. This mode let you modify the scale of all charges' electric force vector and display or hide their components. When this mode is activated the electric field vector is hiden.
NOTE: controls are the same for both modes. +, - and space keys will scale either electric field vector or electric force vectors depending on the current mode.