The Lorenz attractor is a three-dimensional dynamical system that exhibits chaotic behavior. It was first described by Edward Lorenz in 1963 and is often used as a simplified model for atmospheric convection. The system is defined by a set of differential equations that describe the motion of a point in three-dimensional space. The equations are highly nonlinear and can produce complex and unpredictable behavior over time.
This repository contains a simple visualization of the Lorenz attractor using p5.js, a JavaScript library for creative coding. The visualization is created using the WEBGL renderer, which allows for the creation of a 3-dimensional object that accurately represents the Lorenz attractor. The movement of particles through the attractor is visualized with trails that follow the particles' path through the system. The resulting animation provides a captivating and immersive representation of the Lorenz attractor and its chaotic behavior.
To interact with the 3D scene, use your mouse to rotate and pan the view:
- Left mouse drag: rotate the view
- Right mouse drag: pan the view
By rotating and panning the view, you can explore the Lorenz attractor from different angles and gain a deeper understanding of its chaotic behavior.
To run this project locally, you will need to follow these steps:
- Clone the repository: git clone https://github.com/zemetskiym/lorenz-attractor-visualization.git
- Navigate to the project directory: cd lorenz-attractor-visualization
- Open index.html in your preferred web browser
Contributions to this project are always welcome! If you would like to contribute, please follow these steps:
- Fork the repository
- Create a new branch: git checkout -b my-new-feature
- Make your changes and commit them: git commit -am 'Add some feature'
- Push to your branch: git push origin my-new-feature
- Submit a pull request
This project is licensed under the MIT License. See the LICENSE file for more details.