top of page

Hirst Color Painting (Go Google it!)



One of the many contemporary art pieces that could easily sell for 
$500, 000!!

Man if only my piece of artwork could fetch me that amount of money...

P.S. <I did my code on PyCharm, so there isn't a link to this code for this time, but you can imagine the dots are forming up - starting from the bottom leftmost corner, then heading towards the right and subsequently going up a row above and then heading towards the right again. Ultimately, it will stop when the image below has been formed> 
<Anyway, you could just copy the code below if you are interested to see how the image is formed!> 
ree
import colorgram
import turtle as t
import random

t.colormode(255)
tim = t.Turtle()

color_list = [(233, 172, 54), (43, 122, 154), (217, 200, 121), (123, 149, 201), (150, 21, 59), (9, 177, 143), (208, 123, 173), (25, 125, 98), (169, 162, 34), (223, 79, 102), (120, 173, 125), (17, 39, 91), (230, 101, 50), (160, 49, 84), (29, 161, 219), (129, 117, 162), (161, 11, 6), (30, 45, 106), (172, 93, 53), (159, 210, 194), (229, 170, 190), (27, 91, 77), (236, 199, 12), (176, 185, 218), (215, 181, 175), (90, 26, 65)]

tim.hideturtle()
tim.speed("fastest")
tim.penup()
y_coord = -225
def color_movement():
    global y_coord
    tim.setposition(-225, y_coord)
    tim.setheading(0)

    for num in range(10):
        tim.dot(20, random.choice(color_list))
        tim.penup()
        tim.forward(50)

    tim.setheading(90)
    tim.forward(50)
    tim.setheading(180)
    y_coord += 50

for num in range(10):
    color_movement()



Recent Posts

See All
Python Practices

Had some crazy time trying to do some of these exercises. Can't seem to solve the Pascal's Triangle Question for Day 2. (most probably...

 
 
 

Comments


Subscribe to me for updates on my life!

Thanks for submitting!

  • Instagram

©2021 by Sloppy Joel's. Proudly created with Wix.com

bottom of page