An open API service indexing awesome lists of open source software.

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

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:

![example_field_app](./media/efield_demo.jpg)

Launch the application by running:

```sh
poetry run bokeh serve --show magnetia/ui/efield.py
```