damonspencerroberts / hirst_project

This is a simple function that takes in an image path and returns a dot painting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a simple project to create a master piece out of dots

Using the Turtle and Colorgram packages in Python I created a function.

  • It takes a image_path as an argument
  • The color gram module converts the image and extracts its 30 prominent colours
  • Using those colors I programmed with the turtle module to create a 10 by 10 canvas of dots
  • This mirrors some of the Damien Hirst dots masterpieces

Example 1

Great Wave of Kanagawa

wave

My dot paiting:

wave_dots

Example 2

Screensaver from macOS Big Sur

saver

My dot paiting:

saver_dots

About

This is a simple function that takes in an image path and returns a dot painting.


Languages

Language:Python 100.0%