A collection of Jupyter notebooks for visualizing and distorting a sphere using Matplotlib. This project is designed to demonstrate spherical transformations, custom distortions, and 3D plotting techniques in Python.
- Generate and visualize 3D spheres with Matplotlib.
- Apply various distortions and transformations to the sphere.
- Interactive Jupyter notebooks for hands-on experimentation.
- Python 3.8+
- Required Python libraries:
matplotlib
numpy
jupyter
Install dependencies:
pip install matplotlib numpy jupyter
-
Clone the repository:
git clone https://github.com/your-username/distort-sphere.git
cd distort-sphere -
Launch Jupyter Notebook:
jupyter notebook
- Open the notebook
distort_sphere.ipynb
in Jupyter. - Run the cells to visualize a basic sphere.
- Apply and modify distortions by editing the distortion functions in the notebook.
distort_sphere.ipynb
: Main Jupyter notebook for visualizing and distorting the sphere.README.md
: Documentation for the repository.
- Radial expansions or compressions.
- Sinusoidal surface distortions.
- Custom mathematical transformations.
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature -
Commit your changes:
git commit -m "Add your feature" -
Push the branch:
git push origin feature/your-feature -
Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Visualize and distort spheres in Python with ease! π¨π