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

https://github.com/dorsaroh/chaos-theory

Ever wanted to visualize chaos? Compute & graph systems in chaos theory with any parameters
https://github.com/dorsaroh/chaos-theory

data-visualization math matplotlib python

Last synced: about 3 hours ago
JSON representation

Ever wanted to visualize chaos? Compute & graph systems in chaos theory with any parameters

Awesome Lists containing this project

README

          

# Chaos Theory

### Graphs and computes systems in Chaos Theory; Lorenz Attractors & Logistic Maps.

Visualize chaos with your own chosen parameters.

[3D Lorenz Attractor](https://github.com/DorsaRoh/Chaos-Theory/blob/main/3D_lorenzattractor.py) : 3D representation of the Lorenz Attractor

[2D Lorenz Attractor](https://github.com/DorsaRoh/Chaos-Theory/blob/main/2D_lorenzattractor.py) : 2D representation of the Lorenz Attractor's axes and dimension

[Logistic Map](https://github.com/DorsaRoh/Chaos-Theory/blob/main/logisticmap.py) : 2D Representation of Logistic Map


## Features:
- Computes and graphs Lorenz Attractors using values sigma, beta, Rho and time inputted by the user.
- Trajectory curve graphs, XY, YZ and XZ axis matplotlib graph visuals.
- Logistic Map using an inputted value for the r axis. Bifurcation can be controlled by the number of iterations given by the user.

## Installation

### 1. Clone the repository
```shell
git clone https://github.com/DorsaRoh/https://github.com/DorsaRoh/Chaos-Theory
```

```shell
cd Chaos-Theory
```

### 2. Install dependencies
```shell
pip install numpy matplotlib scipy
```
or
```shell
pip install -r requirements.txt
```

### 3. Usage

**Enter your parameters in [parameters.py](https://github.com/DorsaRoh/Chaos-Theory/blob/main/parameters.py) file**

Run file
```shell
python run *file name of desired chaotic system*
```

For example:
```shell
python 3D_lorenzattractor.py
```