Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurtamohler/physics-sims
https://github.com/kurtamohler/physics-sims
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kurtamohler/physics-sims
- Owner: kurtamohler
- Created: 2023-08-21T02:28:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-08T01:32:33.000Z (7 months ago)
- Last Synced: 2024-10-13T05:59:16.340Z (26 days ago)
- Language: Jupyter Notebook
- Size: 2.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# physics-sims
These are my notes and simulations of physics topics that I'm learning about. I
do not have a physics degree and I am not an expert on the subject, so these
notes should be taken with a high degree of skepticism.## Installation
Install Miniconda:
[instructions](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html)Clone the repository.
```bash
git clone https://github.com/kurtamohler/physics-sims.git && cd physics-sims
```Run the following to create and activate an environment with all dependencies.
```bash
conda env create -f environment.yaml -n physics-sims && conda activate physics-sims
``````bash
pip install -e .
```## Run interactive special relativity simulation
```bash
python interactive/einsteinian.py
```Use the left and right arrow keys to accelerate in those directions.
## Run notebooks
```bash
cd notebooks
jupyter notebooks
```