https://github.com/artemis-beta/magnetia
Field Physics Simulations in Python
https://github.com/artemis-beta/magnetia
bokeh electric-field-lines physics python simulation
Last synced: over 1 year ago
JSON representation
Field Physics Simulations in Python
- Host: GitHub
- URL: https://github.com/artemis-beta/magnetia
- Owner: artemis-beta
- License: mit
- Created: 2022-10-26T20:16:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-13T12:21:33.000Z (about 2 years ago)
- Last Synced: 2025-01-12T00:26:24.404Z (over 1 year ago)
- Topics: bokeh, electric-field-lines, physics, python, simulation
- Language: Python
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Magnetia
Magnetia is a Physics field simulation framework under development.
## Usage
Currently Magnetia is usable only under [Poetry](https://python-poetry.org) this can be installed using `pip`:
```sh
pip install --user poetry
```
Install and setup the virtual environment by running at the root of the repository:
```sh
poetry install
```
## Electric Fields Simulation
The electric fields simulation is a web based application created using [Bokeh](https://bokeh.org/). The simulation plots electric charges and displays field
lines to illustrate the forces between them:

Launch the application by running:
```sh
poetry run bokeh serve --show magnetia/ui/efield.py
```