A Python program that generates a Hirst-style painting by extracting colors from an image using colorgram
and creating a 10x10 grid of colorful dots with turtle
.
Pranjal Sarnaik
- Extracts colors from an image using
colorgram
. - Uses
turtle
to create a 10x10 grid of randomly selected dots. - Functions handle positioning and drawing for an organized layout.
- Separate script to extract and manually transfer colors.
- Simple and visually appealing artistic output.
Intermediate
Python | Turtle | Colorgram | Random | GUI-based Programming | Automation | Image Processing
- Clone the repo:
git clone https://github.com/pranjalco/hirst-painting-intermediate.git
- Install the required dependencies:
pip install colorgram.py
- Run:
python app.py
./screenshots/hirst_painting_final_output.PNG
Created by Pranjal Sarnaik
© 2024. All rights reserved.