/python_hirst_painting

A simple turtle drawing exercise to generate an art piece written in python .

Primary LanguagePython

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

Usage

  1. Clone the repository or download the hirst_art_grid.py file.

  2. Run the script in your terminal or command prompt:

    python hirst_art_grid.py
  3. A window will open displaying the Hirst Art Grid. Click on the window to close it.

Customization

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 grid
  • num_columns: Number of columns in the grid
  • circle_radius: Radius of the circles
  • circle_spacing: Spacing between the circles
  • offset_x: Horizontal offset of the grid
  • offset_y: Vertical offset of the grid

License

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.