Script sur le thème Pull de Noël.
from kandinsky import* def draw_reindeer(x,y) : brown = color(160,110,70) fill_rect(x+121,y+95,12,11,brown) fill_rect(x+124,y+106,9,24,brown) fill_rect(x+133,y+102,5,41,brown) fill_rect(x+137,y+102,6,83,brown) fill_rect(x+143,y+102,6,70,brown) fill_rect(x+149,y+102,8,67,brown) fill_rect(x+157,y+102,6,69,brown) fill_rect(x+163,y+102,8,67,brown) fill_rect(x+171,y+102,6,70,brown) fill_rect(x+177,y+102,6,83,brown) fill_rect(x+183,y+102,4,41,brown) fill_rect(x+187,y+106,9,24,brown) fill_rect(x+187,y+95,12,11,brown) fill_rect(x+143,y+177,2,2,brown) fill_rect(x+175,y+177,2,2,brown) fill_rect(x+143,y+179,4,3,brown) fill_rect(x+142,y+182,7,12,brown) fill_rect(x+149,y+187,8,13,brown) fill_rect(x+149,y+185,5,2,brown) fill_rect(x+157,y+187,6,15,brown) fill_rect(x+163,y+187,8,13,brown) fill_rect(x+166,y+185,5,2,brown) fill_rect(x+171,y+182,7,12,brown) fill_rect(x+173,y+179,4,3,brown) fill_rect(x+143,y+172,2,2,brown) fill_rect(x+175,y+172,2,2,brown) blue = color(15,0,75) fill_rect(x+149,y+171,22,14,blue) fill_rect(x+149,y+169,8,2,blue) fill_rect(x+163,y+169,8,2,blue) fill_rect(x+175,y+174,2,3,blue) fill_rect(x+171,y+179,2,3,blue) fill_rect(x+171,y+172,4,7,blue) fill_rect(x+145,y+172,4,7,blue) fill_rect(x+143,y+174,2,3,blue) fill_rect(x+147,y+179,2,3,blue) fill_rect(x+154,y+184,12,3,blue) fill_rect(x+157,y+78,6,2,blue) fill_rect(x+154,y+80,12,3,blue) fill_rect(x+150,y+83,20,3,blue) fill_rect(x+146,y+86,28,4,blue) fill_rect(x+140,y+90,40,5,blue) fill_rect(x+133,y+95,54,7,blue) red = color(220,30,35) fill_rect(x+133,y+78,7,7,red) fill_rect(x+110,y+59,4,3,red) fill_rect(x+106,y+84,4,3,red) fill_rect(x+134,y+60,4,10,red) fill_rect(x+130,y+64,4,3,red) fill_rect(x+126,y+63,4,9,red) fill_rect(x+102,y+82,4,9,red) fill_rect(x+110,y+77,4,15,red) fill_rect(x+114,y+82,2,3,red) fill_rect(x+116,y+78,4,7,red) fill_rect(x+120,y+62,3,10,red) fill_rect(x+113,y+54,7,8,red) fill_rect(x+100,y+65,7,7,red) fill_rect(x+107,y+62,13,13,red) fill_rect(x+120,y+72,13,13,red) fill_rect(x+127,y+85,19,5,red) fill_rect(x+121,y+90,19,5,red) fill_rect(x+180,y+78,7,7,red) fill_rect(x+206,y+59,4,3,red) fill_rect(x+210,y+84,4,3,red) fill_rect(x+182,y+60,4,10,red) fill_rect(x+186,y+64,4,3,red) fill_rect(x+190,y+63,4,9,red) fill_rect(x+214,y+82,4,9,red) fill_rect(x+206,y+77,4,15,red) fill_rect(x+204,y+82,2,3,red) fill_rect(x+200,y+78,4,7,red) fill_rect(x+197,y+62,3,10,red) fill_rect(x+200,y+54,7,8,red) fill_rect(x+213,y+65,7,7,red) fill_rect(x+200,y+62,13,13,red) fill_rect(x+187,y+72,13,13,red) fill_rect(x+174,y+85,19,5,red) fill_rect(x+180,y+90,19,5,red) draw_reindeer(0, -20) draw_reindeer(150, -20) draw_reindeer(-150, -20)