Hirst painting in python

Hirst painting in python

Introduction

A hirst painting is a random painting made with hirst. It generally creates dot patterns with different colors. We use python turtles library.

Turtle is an inbuilt module in python that is mostly useful for creating graphics. In this tutorial, we are creating a hirst painting using turtle graphics. The painting has a dot patterns. When the program is executed you can see the output forming a pattern on the screen automatically.  

While creating this painting we are using some random generated colors that are chosen randomly. First import the turtle and random module. Set the speed to the fastest and other mathematical operations are done in the code. Download the project. See the output below how the painting looks like.

hirst painting

How to use this hirst painting project?

  • Download and extract the source code.
  • Set up an editor or IDE. (pycharm, anaconda)
  • Execute the project.
  • See the making of hirst painting.
  • Enjoy and share

Click the download button below to get the source code for this project.