Welcome to PyPatterns, a collection of shapes and patterns created with Python using asterisk (*) characters. This repository is perfect for exploring text-based designs and honing your Python programming skills!
- A variety of patterns and shapes including:
- Triangles
- Squares
- Diamonds
- Pyramids
- Custom designs
- Simple and beginner-friendly Python code.
- Great for learning loops and creative coding.
- Python 3.x installed on your machine.
- A code editor or IDE (e.g., VS Code, PyCharm, or even a text editor).
-
Clone this repository to your local machine:
git clone https://github.com/wyattmatt/PyPatterns.git
-
Navigate to the project folder:
cd PyPatterns
-
Open any of the Python files in your editor.
-
Run the script to see the pattern printed in the terminal.
python filename.py
-
Modify the parameters (if applicable) to customize the patterns.
Here are some example patterns you can generate:
*
***
*****
*******
*
***
*****
*******
*****
***
*
*****
* *
* *
* *
*****
Contributions are welcome! If you'd like to add new patterns or improve existing ones:
- Fork the repository.
- Create a new branch.
- Commit your changes.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any suggestions, questions, or issues, feel free to open an issue or contact me directly.
Happy coding and enjoy creating awesome patterns with PyPatterns! 🎉