Pull de Noël
from kandinsky import * background = color(5,0,35) fill_rect(0,0,320,240,background) yellow = color(255,180,50) fill_rect(41,132,111,7,yellow) fill_rect(60,129,4,3,yellow) fill_rect(117,129,4,3,yellow) fill_rect(46,124,84,5,yellow) fill_rect(42,120,4,4,yellow) fill_rect(37,116,5,4,yellow) fill_rect(33,107,4,9,yellow) fill_rect(24,98,18,4,yellow) fill_rect(20,102,17,5,yellow) fill_rect(25,107,3,4,yellow) fill_rect(42,102,4,9,yellow) fill_rect(46,107,31,4,yellow) fill_rect(73,111,4,5,yellow) fill_rect(77,116,49,4,yellow) fill_rect(126,116,4,8,yellow) fill_rect(117,111,8,5,yellow) fill_rect(112,107,9,4,yellow) fill_rect(112,102,5,5,yellow) fill_rect(99,98,13,4,yellow) fill_rect(99,102,9,4,yellow) fill_rect(126,81,21,4,yellow) fill_rect(139,85,17,4,yellow) fill_rect(156,89,75,4,yellow) fill_rect(231,85,26,4,yellow) fill_rect(253,81,26,4,yellow) fill_rect(275,85,17,4,yellow) fill_rect(288,80,4,5,yellow) fill_rect(152,124,4,14,yellow) fill_rect(147,120,5,9,yellow) fill_rect(139,116,8,9,yellow) fill_rect(134,120,5,9,yellow) red = color(155,11,22) fill_rect(46,120,80,4,red) fill_rect(42,116,35,4,red) fill_rect(37,111,36,5,red) fill_rect(37,102,5,9,red) fill_rect(73,54,22,5,red) fill_rect(64,59,26,4,red) fill_rect(60,63,8,4,red) fill_rect(77,63,9,4,red) fill_rect(82,67,4,4,red) fill_rect(81,76,18,5,red) fill_rect(81,81,27,4,red) fill_rect(85,85,32,4,red) fill_rect(89,89,10,4,red) fill_rect(103,89,14,4,red) fill_rect(73,85,8,8,red) fill_rect(81,89,4,8,red) fill_rect(85,93,4,4,red) fill_rect(73,98,4,4,red) fill_rect(77,102,18,5,red) fill_rect(86,107,9,2,red) fill_rect(76,51,16,3,red) fill_rect(80,49,9,2,red) fill_rect(70,56,3,3,red) fill_rect(75,63,2,2,red) fill_rect(297,81,4,4,red) brown = color(83,71,65) fill_rect(46,102,22,5,brown) fill_rect(42,98,22,4,brown) fill_rect(38,94,17,4,brown) fill_rect(187,124,13,4,brown) fill_rect(195,120,17,4,brown) fill_rect(209,116,9,4,brown) fill_rect(213,111,14,5,brown) fill_rect(218,107,52,4,brown) fill_rect(222,102,44,5,brown) fill_rect(213,98,31,4,brown) fill_rect(205,102,8,4,brown) fill_rect(244,111,31,5,brown) fill_rect(271,116,8,4,brown) fill_rect(266,120,9,4,brown) fill_rect(261,124,9,5,brown) fill_rect(257,98,18,4,brown) fill_rect(266,94,13,4,brown) fill_rect(271,89,13,5,brown) fill_rect(279,76,9,9,brown) fill_rect(288,76,4,4,brown) fill_rect(292,81,5,8,brown) fill_rect(297,85,4,4,brown) fill_rect(272,80,7,1,brown) fill_rect(272,77,7,1,brown) fill_rect(272,78,1,2,brown) cream = color(198,178,155) fill_rect(275,72,9,4,cream) fill_rect(275,63,4,9,cream) fill_rect(257,59,18,4,cream) fill_rect(253,55,4,4,cream) fill_rect(266,54,5,5,cream) fill_rect(261,49,5,5,cream) fill_rect(257,41,4,8,cream) fill_rect(249,41,8,4,cream) fill_rect(271,45,4,9,cream) fill_rect(275,37,4,12,cream) fill_rect(279,59,4,8,cream) fill_rect(283,54,4,9,cream) fill_rect(218,115,9,5,cream) fill_rect(227,111,17,5,cream) fill_rect(224,116,27,4,cream) fill_rect(284,89,4,5,cream) fill_rect(279,94,5,4,cream) fill_rect(275,98,4,4,cream) fill_rect(266,102,9,5,cream) fill_rect(201,102,4,4,cream) fill_rect(273,78,6,2,cream) black = color(33,33,33) fill_rect(284,78,4,2,black) fill_rect(257,124,4,5,black) fill_rect(184,124,3,4,black) fill_rect(101,61,2,2,black) fill_rect(121,85,8,8,black) fill_rect(129,85,5,4,black) fill_rect(77,81,4,4,brown) fill_rect(81,85,4,4,black) fill_rect(85,89,4,4,black) fill_rect(89,93,4,4,black) grey = color(218,218,218) fill_rect(51,65,9,9,grey) fill_rect(70,85,3,13,grey) fill_rect(73,93,8,5,grey) fill_rect(77,98,18,4,grey) fill_rect(81,97,13,1,grey) fill_rect(86,63,13,13,grey) fill_rect(99,67,9,14,grey) fill_rect(108,67,4,18,grey) fill_rect(90,59,9,4,grey) fill_rect(95,54,8,5,grey) fill_rect(85,109,11,2,grey) fill_rect(117,84,4,10,grey) beige = color(254,215,192) fill_rect(99,63,13,4,beige) fill_rect(103,59,5,4,beige) fill_rect(99,59,4,2,beige) fill_rect(99,61,2,2,beige) white = color(255,255,255) fill_rect(189,203,1,1,white) fill_rect(236,169,1,1,white) fill_rect(285,207,1,1,white) fill_rect(295,106,1,1,white) fill_rect(293,14,1,1,white) fill_rect(217,18,1,1,white) fill_rect(194,60,1,1,white) fill_rect(128,26,1,1,white) fill_rect(34,44,1,1,white) fill_rect(8,182,1,1,white) fill_rect(25,222,1,1,white) fill_rect(109,180,1,1,white)