Here's a sample README.md
file for your project:
# Hirst Art Grid Generator
A Python script that uses the Turtle graphics library to draw a 10x10 grid of circles inspired by Damien Hirst's spot paintings. Each circle is filled with a randomly chosen color from a predefined color palette.
![Hirst Art Grid](demo.png)
## Dependencies
- Python 3.x
- `colorgram`
- `turtle`
## Installation
1. Make sure you have Python 3.x installed. If you don't, download and install Python from [python.org](https://www.python.org/).
2. Install the `colorgram` library using pip:
```bash
pip install colorgram.py
-
Clone the repository or download the
hirst_art_grid.py
file. -
Run the script in your terminal or command prompt:
python hirst_art_grid.py
-
A window will open displaying the Hirst Art Grid. Click on the window to close it.
You can customize the grid by modifying the parameters in the draw_grid
function call in the hirst_art_grid.py
script:
num_rows
: Number of rows in the gridnum_columns
: Number of columns in the gridcircle_radius
: Radius of the circlescircle_spacing
: Spacing between the circlesoffset_x
: Horizontal offset of the gridoffset_y
: Vertical offset of the grid
This project is licensed under the MIT License.
Replace the `![Hirst Art Grid](demo.png)` line with an actual image of your grid by taking a screenshot of the output window and saving it as `demo.png`. Include this image file in your GitHub repository alongside the `README.md` and `hirst_art_grid.py` files.
The `README.md` file provides an overview of the project, instructions on how to install dependencies, usage information, and customization options.