Skip to content

This app visualizes 1D special relativity (relativistic motion) in any chosen reference frame.

License

Notifications You must be signed in to change notification settings

Deep0Thinking/1D-Special-Relativity-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1D Special Relativity Visualizer

This app visualizes 1D special relativity (relativistic motion) in any chosen reference frame.

Demo

1D-Special-Relativity-Visualizer-Demo.mov

Setup

Clone the repository:

git clone https://github.com/Deep0Thinking/1D-Special-Relativity-Visualizer.git

Navigate to the project directory:

# Create and activate a virtual environment (on macOS/Linux):
python3 -m venv virtualenv
source virtualenv/bin/activate # On Windows: `virtualenv\Scripts\activate`

# Install dependencies
pip install -r requirements.txt

# Run the app
python 1D_special_relativity_visualizer.py

Once it starts, you’ll see output like:

Dash is running on http://127.0.0.1:8050/

 * Serving Flask app '1D_special_relativity_visualizer'
 * Debug mode: on

Open the link (e.g., http://127.0.0.1:8050/) in your web browser to view the app.

Deactivate the virtual environment when done:

deactivate

About

This app visualizes 1D special relativity (relativistic motion) in any chosen reference frame.

Topics

Resources

License

Stars

Watchers

Forks

Languages