├── 2024.py ├── 2025.py ├── Amon_us.py ├── Bart_Simpson.py ├── Batman.py ├── Bugs_Bunny.py ├── Capibara.py ├── Cinnamoroll.py ├── Corazon_pixel.py ├── Código Happy Birthday ├── Dibujo_circular.py ├── Dino.py ├── Doraemon.py ├── Flor Amarilla 2.py ├── Flor_Minecraft.py ├── Hangyodon.py ├── Hello_Kitty.py ├── I_Love_You.py ├── Juegos_Olimpicos.py ├── Kirby.py ├── Leebit.py ├── Luffy.py ├── Melody.py ├── Messi.py ├── Panda.py ├── Pingüino.py ├── Pochacco.py ├── Pucca.py ├── Python.py ├── Santa Claus.py ├── Snoopy.py ├── Snowman.py ├── Stitch.py ├── Sunflower.py ├── Super Mario Bros.py ├── Valentines_Day.py ├── Wolf_Chan.py ├── arbol_navidad.py ├── corazon.py ├── corazon_lineas.py ├── corazon_movimiento.py ├── corazon_particulas.py ├── corazon_patrones ├── corazón_patrones.py ├── esfera_navideña.py ├── flor amarilla a naranja.py ├── flor circular.py ├── flor de loto - radial.py ├── flor_amarilla.py ├── flor_amarilla_circular.py ├── flor_de_loto.py ├── flores_radial.py ├── hearts.py ├── logo_spider.py ├── margaritas_amarillas.py ├── navidad.py ├── peluche_caligari.py ├── ramo_personalizable.py ├── telaraña.py ├── will_you_be_my_valentine.py ├── yellow_flower.py └── ying_yang.py /2024.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | turtle.bgcolor("Black") 4 | t = turtle.Turtle() 5 | t.pensize(11) 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("White") 13 | 14 | # 2 15 | go(-138.70,8.55) 16 | t.seth(22.4) 17 | t.circle(16.23,135.2) 18 | t.seth(180) 19 | t.forward(59.78) 20 | t.seth(59.23) 21 | t.circle(-121.62,21.58) 22 | t.seth(35.41) 23 | t.circle(102.86,41.45) 24 | t.seth(86.53) 25 | t.circle(52.42,182.79) 26 | t.seth(271) 27 | t.circle(14.97,174.51) 28 | t.seth(85.51) 29 | t.circle(-22.29,170.28) 30 | t.seth(254.67) 31 | t.circle(-65.20,41.13) 32 | t.seth(215.95) 33 | t.circle(164.06,17.82) 34 | t.seth(240.85) 35 | t.circle(86.83,29.88) 36 | t.seth(287.38) 37 | t.circle(17.60,53.35) 38 | t.seth(0) 39 | t.forward(82.31) 40 | 41 | # Youtube: https://www.youtube.com/@glez_rbn 42 | # TikTok: @glez_rbn 43 | # Instagram: @glez_rbn 44 | 45 | # 0 46 | go(-64.02,41.74) 47 | t.seth(51.68) 48 | t.circle(91.63,75.1) 49 | t.seth(135) 50 | t.circle(19.74,90) 51 | t.seth(233.28) 52 | t.circle(91.94,73.43) 53 | t.seth(310.38) 54 | t.circle(18.46,91.67) 55 | 56 | go(-15.15,95.05) 57 | t.seth(80.51) 58 | t.circle(30.09,18.99) 59 | 60 | go(-42.13,173.52) 61 | t.seth(137.67) 62 | t.circle(51.81,90) 63 | 64 | go(-136.72,79.24) 65 | t.seth(267.07) 66 | t.circle(48.16,29.34) 67 | 68 | go(-136.72,79.24) 69 | t.seth(267.07) 70 | t.circle(48.16,29.34) 71 | 72 | go(-110.05,21.24) 73 | t.seth(312.18) 74 | t.circle(44.57,90) 75 | 76 | # Youtube: https://www.youtube.com/@glez_rbn 77 | # TikTok: @glez_rbn 78 | # Instagram: @glez_rbn 79 | 80 | # 2 81 | go(65.26,8.55) 82 | t.seth(22.4) 83 | t.circle(16.23,135.2) 84 | t.seth(180) 85 | t.forward(59.78) 86 | t.seth(59.23) 87 | t.circle(-121.62,21.58) 88 | t.seth(35.41) 89 | t.circle(102.86,41.45) 90 | t.seth(86.53) 91 | t.circle(52.42,182.79) 92 | t.seth(271) 93 | t.circle(14.97,174.51) 94 | t.seth(85.51) 95 | t.circle(-22.29,170.28) 96 | t.seth(254.67) 97 | t.circle(-65.20,41.13) 98 | t.seth(215.95) 99 | t.circle(164.06,17.82) 100 | t.seth(240.85) 101 | t.circle(86.83,29.88) 102 | t.seth(287.38) 103 | t.circle(17.60,53.35) 104 | t.seth(0) 105 | t.forward(82.31) 106 | 107 | # Caída 108 | go(89.17,-12.35) 109 | t.seth(270) 110 | t.forward(12) 111 | 112 | go(146.23,38.57) 113 | t.seth(270) 114 | t.forward(38.57) 115 | 116 | go(146.23,-21.42) 117 | t.seth(270) 118 | t.forward(15.80) 119 | 120 | go(182.81,-71.75) 121 | t.seth(270) 122 | t.forward(26.92) 123 | 124 | go(214.99,-28.44) 125 | t.seth(270) 126 | t.forward(39.50) 127 | 128 | t.pencolor("Red") 129 | 130 | # Youtube: https://www.youtube.com/@glez_rbn 131 | # TikTok: @glez_rbn 132 | # Instagram: @glez_rbn 133 | 134 | # 3 135 | go(72.46,-97.39) 136 | t.seth(224.11) 137 | t.circle(60.52,38.53) 138 | t.seth(267.66) 139 | t.circle(15.33,180) 140 | t.seth(74.68) 141 | t.circle(-33.86,75.33) 142 | t.seth(340.67) 143 | t.circle(-23,90) 144 | t.seth(221.47) 145 | t.forward(24.32) 146 | t.seth(244.23) 147 | t.circle(15.49,145.71) 148 | t.seth(41.47) 149 | t.forward(24.20) 150 | t.seth(29.9) 151 | t.circle(-23.57,125.45) 152 | t.seth(261.42) 153 | t.circle(-44.81,69.71) 154 | t.seth(191.71) 155 | t.circle(15.28,192.62) 156 | t.seth(15.88) 157 | t.circle(81.91,51.15) 158 | t.seth(68.96) 159 | t.circle(54.95,110.38) 160 | t.seth(97.28) 161 | t.circle(53.63,130.99) 162 | 163 | t.pencolor("Gold") 164 | 165 | # Youtube: https://www.youtube.com/@glez_rbn 166 | # TikTok: @glez_rbn 167 | # Instagram: @glez_rbn 168 | 169 | # 4 170 | go(113.70,96.84) 171 | t.seth(0) 172 | t.forward(53) 173 | t.seth(270) 174 | t.forward(30.07) 175 | t.seth(281.66) 176 | t.circle(16.31,156.69) 177 | t.seth(90) 178 | t.forward(30.67) 179 | t.seth(0) 180 | t.forward(14.66) 181 | t.seth(0) 182 | t.circle(15.03,180) 183 | t.seth(180) 184 | t.forward(14.66) 185 | t.seth(90) 186 | t.forward(94.50) 187 | t.seth(94.92) 188 | t.circle(14.71,130.75) 189 | t.seth(235.77) 190 | t.forward(132.29) 191 | t.seth(234.33) 192 | t.circle(15.74,132.5) 193 | 194 | go(143.77,129.54) 195 | t.seth(0) 196 | t.forward(22.93) 197 | t.seth(90) 198 | t.forward(32.70) 199 | t.seth(234.96) 200 | t.forward(39.94) 201 | 202 | t.hideturtle() -------------------------------------------------------------------------------- /2025.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | turtle.bgcolor("black") 5 | t.shape("turtle") 6 | t.pensize(5) 7 | 8 | t.pencolor("White") 9 | 10 | def go(x, y): 11 | t.penup() 12 | t.goto(x, y) 13 | t.pendown() 14 | 15 | def arco(direc, radio, ang): 16 | t.seth(direc) 17 | t.circle(radio, ang) 18 | 19 | def linea(direc, longitud): 20 | t.seth(direc) 21 | t.forward(longitud) 22 | 23 | go(-119.44, -109.72) 24 | arco(163.11, -48.03, 72.9) 25 | linea(180, 62.22) 26 | linea(49.88, 96.56) 27 | arco(51.11, 71.72, 39.14) 28 | arco(90.25, 60.76, 89.75) 29 | linea(180, 24.33) 30 | arco(180, 63.36, 96.52) 31 | linea(0, 50.08) 32 | arco(96.29, -23.4, 125.77) 33 | arco(330.52, -19.81, 100.07) 34 | linea(230.45, 139.48) 35 | linea(270, 40.42) 36 | linea(0, 164.66) 37 | 38 | go(0, 58.06) 39 | arco(90, 57.51, 90) 40 | linea(180, 29.62) 41 | arco(180, 59.40, 56.69) 42 | arco(299.43, -74.97, 70.12) 43 | linea(270, 54.69) 44 | arco(270, 59, 90) 45 | linea(0, 28.73) 46 | arco(0, 57.5, 90) 47 | linea(90, 111.17) 48 | 49 | go(-48.44, 49.40) 50 | arco(90, 23.34, 180) 51 | linea(270, 92.77) 52 | arco(270, 23.34, 180) 53 | linea(90, 92.77) 54 | 55 | go(10, 45.42) 56 | arco(79.15, 65.58, 37.36) 57 | arco(49.72, -85.98, 69.92) 58 | arco(339.8, -60.66, 90.59) 59 | arco(249.21, -119.62, 18.67) 60 | linea(230.54, 82.99) 61 | linea(0, 102.48) 62 | linea(270, 45.40) 63 | linea(180, 170.6) 64 | linea(90, 15.48) 65 | arco(45.82, 59.28, 49.47) 66 | linea(50.54, 101.75) 67 | arco(50.54, 93.58, 8.54) 68 | arco(59.09, 19.06, 127.97) 69 | arco(187.06, 25.13, 85.68) 70 | linea(180, 33.49) 71 | 72 | t.pencolor("Red") 73 | go(146.63, 4.28) 74 | linea(243.98, 40.63) 75 | linea(270, 42.84) 76 | linea(0, 94.01) 77 | linea(270, 34.5) 78 | linea(0, 51.17) 79 | linea(90, 34.5) 80 | linea(0, 17.54) 81 | linea(90, 45.42) 82 | linea(180, 17.54) 83 | linea(90, 54.91) 84 | linea(180, 51.17) 85 | linea(270, 57.5) 86 | linea(180, 36.22) 87 | linea(63.98, 164.14) 88 | linea(180, 57.40) 89 | linea(243.82, 123.68) 90 | 91 | t.pencolor("Black") 92 | linea(243.98, 40.63) 93 | linea(270, 42.84) 94 | linea(0, 94.01) 95 | linea(270, 34.5) 96 | linea(0, 51.17) 97 | linea(90, 34.5) 98 | linea(0, 17.54) 99 | linea(90, 45.42) 100 | linea(180, 17.54) 101 | linea(90, 54.91) 102 | linea(180, 51.17) 103 | linea(270, 57.5) 104 | linea(180, 36.22) 105 | linea(63.98, 164.14) 106 | linea(180, 57.40) 107 | linea(243.82, 123.68) 108 | 109 | t.pencolor("Gold") 110 | linea(270, 19.78) 111 | linea(0, 46.85) 112 | arco(80.84, -22.31, 170.84) 113 | linea(270, 22.90) 114 | arco(270, -23.48, 180) 115 | linea(90, 3.16) 116 | linea(180, 50.63) 117 | arco(270.74, 72.69, 83.02) 118 | arco(353.76, 77.99, 88.66) 119 | arco(82.42, 103.42, 25.77) 120 | arco(108.19, 63.87, 68.77) 121 | arco(176.96, 72.03, 26.34) 122 | linea(90, 29.49) 123 | linea(0, 83.07) 124 | linea(90, 45.99) 125 | linea(180, 133.37) 126 | linea(270, 112.13) 127 | 128 | t.hideturtle() 129 | turtle.done() -------------------------------------------------------------------------------- /Amon_us.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(20) 4 | 5 | turtle.bgcolor("#757575") 6 | 7 | t.fillcolor("yellow") 8 | 9 | t.begin_fill() 10 | t.seth(270) 11 | t.forward(50) 12 | t.circle(-40, 180) 13 | t.seth(90) 14 | t.forward(200) 15 | t.right(180) 16 | t.circle(100, -180) 17 | t.backward(20) 18 | t.left(15) 19 | t.circle(500, -20) 20 | t.backward(20) 21 | t.circle(40, -180) 22 | t.left(7) 23 | t.backward(50) 24 | t.up() 25 | t.left(90) 26 | t.forward(10) 27 | t.right(90) 28 | t.down() 29 | t.right(240) 30 | t.circle(50, -70) 31 | t.end_fill() 32 | 33 | t.up() 34 | t.right(230) 35 | t.forward(100) 36 | t.left(90) 37 | t.forward(20) 38 | t.right(90) 39 | t.down() 40 | 41 | t.fillcolor('#9acedc') 42 | 43 | t.begin_fill() 44 | t.right(150) 45 | t.circle(90, -55) 46 | t.right(180) 47 | t.forward(1) 48 | t.right(180) 49 | t.circle(10, -65) 50 | t.seth(2) 51 | t.forward(110) 52 | t.right(180) 53 | t.circle(50, -190) 54 | t.right(170) 55 | t.forward(80) 56 | t.right(180) 57 | t.circle(45, -30) 58 | t.end_fill() 59 | 60 | t.up() 61 | t.right(60) 62 | t.forward(100) 63 | t.right(90) 64 | t.forward(75) 65 | t.down() 66 | 67 | t.fillcolor("yellow") 68 | 69 | t.begin_fill() 70 | t.forward(30) 71 | t.right(255) 72 | t.circle(300, -30) 73 | t.seth(0) 74 | t.forward(30) 75 | t.end_fill() 76 | 77 | t.hideturtle() -------------------------------------------------------------------------------- /Bart_Simpson.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(3) 5 | t.shape("turtle") 6 | color_blue = "#31abe8" 7 | color_red = "#ff5932" 8 | color_yellow = "#ffd64a" 9 | 10 | def go(x, y): 11 | t.penup() 12 | t.goto(x, y) 13 | t.pendown() 14 | 15 | def arco(direc, radio, ang): 16 | t.seth(direc) 17 | t.circle(radio, ang) 18 | 19 | def linea(direc, longitud): 20 | t.seth(direc) 21 | t.forward(longitud) 22 | 23 | t.fillcolor(color_yellow) 24 | go(8.87, 40.18) 25 | t.begin_fill() 26 | arco(95.05, -536.92, 23.02) 27 | arco(191.99, 27.92, 37.37) 28 | linea(98.81, 17.8) 29 | linea(218.34, 18.96) 30 | linea(98.81, 19.23) 31 | linea(228.36, 17.56) 32 | linea(110.02, 18.49) 33 | linea(228.36, 18.41) 34 | linea(110.02, 17.8) 35 | linea(228.36, 18.44) 36 | linea(110.02, 16.77) 37 | linea(233.85, 19.51) 38 | linea(118.45, 17.92) 39 | linea(243.01, 17.68) 40 | linea(128.34, 17.57) 41 | linea(247.35, 18.12) 42 | arco(120.14, 53.13, 19.41) 43 | arco(268.49, -1516.03, 3.47) 44 | arco(203.31, 12.62, 124.88) 45 | arco(270.48, -360.07, 12.7) 46 | arco(230.74, 10.91, 109.64) 47 | arco(340.38, 119.84, 25.18) 48 | arco(263.97, 10.18, 110.5) 49 | arco(350.75, -7.77, 39.56) 50 | arco(295.98, -31.57, 32.25) 51 | arco(345.36, 67.6, 55.9) 52 | t.end_fill() 53 | 54 | t.fillcolor("white") 55 | go(-77.9, 143.32) 56 | t.begin_fill() 57 | arco(90, 58.51/2, 360) 58 | t.end_fill() 59 | go(-23.04, 139.06) 60 | t.begin_fill() 61 | arco(90, 33.28, 360) 62 | t.end_fill() 63 | 64 | t.fillcolor("black") 65 | go(-103.32, 140.28) 66 | t.begin_fill() 67 | arco(90, 7.67/2, 360) 68 | t.end_fill() 69 | go(-43.87, 139.06) 70 | t.begin_fill() 71 | arco(90, 4.64, 360) 72 | t.end_fill() 73 | 74 | t.fillcolor(color_yellow) 75 | go(-85.7, 123.44) 76 | t.begin_fill() 77 | arco(190.73, -42.02, 20.76) 78 | arco(169.97, 50.43, 18.65) 79 | arco(188.62, 11.77, 148.38) 80 | arco(339.56, 48.22, 25.56) 81 | t.end_fill() 82 | go(-124.89, 62.74) 83 | arco(342.28, 161.74, 35.44) 84 | go(-30.04, 65.11) 85 | arco(289.71, 3.57, 74.13) 86 | arco(3.85, -6.13, 67.41) 87 | go(-2.72, 109.33) 88 | t.begin_fill() 89 | arco(51.95, -9.99, 90.77) 90 | arco(321.18, -15.88, 115.56) 91 | arco(205.62, -9.79, 79.15) 92 | t.end_fill() 93 | go(10.87, 99.76) 94 | arco(121.37, 6.76, 130.33) 95 | arco(58.37, -4.64, 180) 96 | 97 | t.fillcolor(color_red) 98 | go(10.21, 41.38) 99 | t.begin_fill() 100 | arco(222.77, -67.6, 59.23) 101 | arco(249.03, 280.53, 14.8) 102 | arco(229.42, 92.12, 38.25) 103 | arco(339.11, 156.31, 37.12) 104 | arco(328.99, 60.22, 57.36) 105 | arco(94.86, 117.48, 33.27) 106 | arco(91.58, 155.57, 33.66) 107 | t.end_fill() 108 | go(-58.41, 16.35) 109 | t.begin_fill() 110 | arco(219.86, 62.74, 34.96) 111 | arco(312.68, 17.93, 38.49) 112 | arco(79.06, -280.52, 7.89) 113 | t.end_fill() 114 | go(30.41, 17.7) 115 | t.begin_fill() 116 | arco(120.57, 19.76, 106.83) 117 | arco(227.4, 63.47, 45.69) 118 | arco(334.95, 80.41, 44.56) 119 | arco(90.25, 91.27, 30.31) 120 | t.end_fill() 121 | go(43.09, -28.31) 122 | arco(151.29, 69.69, 51.88) 123 | 124 | t.fillcolor(color_yellow) 125 | go(-68.32, -20.94) 126 | t.begin_fill() 127 | arco(171.16, -17.93, 13.77) 128 | arco(255.49, 278.12, 7.13) 129 | arco(56.91, -92.12, 7.5) 130 | arco(83.84, -280.52, 4.78) 131 | t.end_fill() 132 | 133 | t.fillcolor(color_blue) 134 | go(-82.13, -118.03) 135 | t.begin_fill() 136 | linea(267.36, 32.58) 137 | arco(332.83, 99.64, 31.23) 138 | linea(90, 10.85) 139 | arco(174.64, -66.45, 54.15) 140 | t.end_fill() 141 | 142 | t.fillcolor(color_yellow) 143 | go(-28.22, -161.08) 144 | t.begin_fill() 145 | arco(185.7, -99.64, 20.01) 146 | linea(267.61, 49.28) 147 | arco(328.8, 38.07, 54.09) 148 | linea(87.61, 49.19) 149 | t.end_fill() 150 | 151 | t.fillcolor(color_blue) 152 | go(56.53, -109.53) 153 | t.begin_fill() 154 | arco(199.36, -60.22, 50.37) 155 | arco(196.23, -156.31, 35.18) 156 | arco(285.51, 66.45, 69.13) 157 | linea(270, 13.35) 158 | arco(346.43, 137.8, 31.82) 159 | linea(90, 25.69) 160 | arco(44.03, 40.2, 41.16) 161 | t.end_fill() 162 | 163 | t.fillcolor(color_yellow) 164 | go(33.61, -24) 165 | t.begin_fill() 166 | arco(159.85, 69.69, 34.68) 167 | arco(263.8, 2715.5, 1.95) 168 | arco(331.95, 158.48, 14.18) 169 | arco(77.4, 571.52, 10.53) 170 | t.end_fill() 171 | 172 | t.fillcolor(color_blue) 173 | go(-69.94, -218.06) 174 | t.begin_fill() 175 | arco(194.93, 45.65, 56.79) 176 | arco(340.68, 126.18, 40.19) 177 | arco(102.44, 71.11, 23.64) 178 | arco(204.26, -47.6, 53.96) 179 | t.end_fill() 180 | 181 | t.fillcolor("white") 182 | go(-30.27, -210.23) 183 | t.begin_fill() 184 | arco(202.9, -38.07, 54.09) 185 | arco(179.77, 6.44, 127.53) 186 | arco(330.29, 47.6, 53.96) 187 | arco(36.08, 5.47, 146.47) 188 | t.end_fill() 189 | go(-29.18, -238.06) 190 | t.begin_fill() 191 | t.seth(90) 192 | t.circle(18.29/2) 193 | t.end_fill() 194 | go(-101.53, -247.85) 195 | t.begin_fill() 196 | arco(245.39, 22.2, 24.65) 197 | arco(340.98, 135.23, 39.03) 198 | arco(89.98, 29.25, 19.27) 199 | arco(200.87, -126.18, 40.19) 200 | t.end_fill() 201 | 202 | t.fillcolor(color_blue) 203 | go(-19.25, -230.62) 204 | t.begin_fill() 205 | arco(203.93, 58.19, 45.2) 206 | arco(344.05, 131.71, 37.83) 207 | arco(100.23, 62.82, 28.39) 208 | arco(204.42, -50.50, 48.84) 209 | t.end_fill() 210 | 211 | t.fillcolor("white") 212 | go(19.68, -217.4) 213 | t.begin_fill() 214 | arco(211.85, -35.25, 63.69) 215 | arco(192.26, 7.08, 140.53) 216 | arco(335.58, 50.50, 48.84) 217 | arco(40.58, 7.69, 123) 218 | t.end_fill() 219 | go(35.25, -258.67) 220 | t.begin_fill() 221 | arco(201.87, -131.71, 37.83) 222 | arco(255.76, 43.97, 11.57) 223 | arco(339.41, 108.64, 47.03) 224 | arco(82.77, 34.79, 14.46) 225 | t.end_fill() 226 | 227 | t.fillcolor(color_yellow) 228 | go(18.06, -166.65) 229 | t.begin_fill() 230 | arco(187, -137.8, 14.87) 231 | linea(270.11, 51.02) 232 | arco(328.15, 35.25, 63.69) 233 | linea(91.83, 50.77) 234 | t.end_fill() 235 | go(-16.29, -114.01) 236 | arco(331.85, 151.36, 17.16) 237 | go(-24.66, -114.78) 238 | arco(255.13, 34.22, 51.6) 239 | 240 | t.hideturtle() 241 | turtle.done() -------------------------------------------------------------------------------- /Batman.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(4) 4 | 5 | turtle.bgcolor("black") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("yellow") 13 | t.fillcolor("yellow") 14 | 15 | go(211.85,-94.91) 16 | t.begin_fill() 17 | t.seth(32.92) 18 | t.circle(106.58,113.09) 19 | t.seth(146.01) 20 | t.circle(385.89,66.66) 21 | t.seth(214.34) 22 | t.circle(108.67,114.4) 23 | t.seth(327.08) 24 | t.circle(386,65.85) 25 | t.end_fill() 26 | 27 | t.pencolor("black") 28 | t.fillcolor("black") 29 | 30 | go(15,-106) 31 | t.begin_fill() 32 | t.seth(65.31) 33 | t.forward(17.62) 34 | t.seth(65.31) 35 | t.circle(-335.72,6.8) 36 | t.seth(58.51) 37 | t.circle(-37.46,130.52) 38 | t.seth(49.71) 39 | t.circle(-82.46,37.74) 40 | t.seth(-11.97) 41 | t.circle(-25.55,107.98) 42 | t.seth(264) 43 | t.circle(-79.52,26.66) 44 | t.seth(25.15) 45 | t.circle(372.94,7.79) 46 | t.seth(32.92) 47 | t.circle(92.67,114.51) 48 | t.seth(147.32) 49 | t.circle(369.89,17.41) 50 | t.seth(322.52) 51 | t.circle(-46.55,47.05) 52 | t.seth(276.98) 53 | t.circle(-46.37,187.01) 54 | t.seth(90) 55 | t.forward(44.72) 56 | t.seth(238.67) 57 | t.forward(29.85) 58 | t.seth(160.73) 59 | t.circle(34.15,18.11) 60 | t.seth(181.16) 61 | t.circle(34.15,18.11) 62 | t.seth(121.33) 63 | t.forward(29.85) 64 | t.seth(270) 65 | t.forward(44.72) 66 | t.seth(270) 67 | t.circle(-46.37,187.01) 68 | t.seth(83.02) 69 | t.circle(-46.55,47.05) 70 | t.seth(195.27) 71 | t.circle(369.89,17.41) 72 | t.seth(212.68) 73 | t.circle(92.67,114.51) 74 | t.seth(327.08) 75 | t.circle(372.94,7.79) 76 | t.seth(122.66) 77 | t.circle(-79.52,26.66) 78 | t.seth(96) 79 | t.circle(-25.55,107.98) 80 | t.seth(348.03) 81 | t.circle(-82.46,37.74) 82 | t.seth(72.01) 83 | t.circle(-37.46,130.52) 84 | t.seth(301.49) 85 | t.circle(-335.72,6.8) 86 | t.seth(294.69) 87 | t.forward(28) 88 | t.seth(65.31) 89 | t.forward(25) 90 | t.end_fill() 91 | 92 | t.hideturtle() -------------------------------------------------------------------------------- /Bugs_Bunny.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(7) 4 | t.shape("turtle") 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | def arco(direc, radio, ang): 12 | t.seth(direc) 13 | t.circle(radio, ang) 14 | 15 | def linea(direc, longitud): 16 | t.seth(direc) 17 | t.forward(longitud) 18 | 19 | t.fillcolor("OrangeRed") 20 | go(181.85, -28.19) 21 | t.begin_fill() 22 | arco(90, 181.85, 360) 23 | t.end_fill() 24 | 25 | t.pensize(3) 26 | t.fillcolor("DarkGray") 27 | go(45.58, 77.09) 28 | t.begin_fill() 29 | arco(104.41, 153.54, 51.76) 30 | arco(156.17, -178.95, 28.78) 31 | arco(239.18, 24, 52.68) 32 | arco(291.86, 175.21, 38.83) 33 | arco(330.69, -194.67, 26.54) 34 | arco(53.7, -35.25, 32.37) 35 | t.end_fill() 36 | 37 | t.fillcolor("#ffccbc") 38 | go(35.09, 74.1) 39 | t.begin_fill() 40 | arco(104.99, 133.63, 47.08) 41 | arco(152.07, -415.54, 9.71) 42 | arco(298.73, 168.78, 29.41) 43 | arco(328.14, -262.37, 19.6) 44 | t.end_fill() 45 | 46 | go(-106.05, 212.79) 47 | arco(302.62, 69.16, 19.21) 48 | 49 | t.fillcolor("DarkGray") 50 | go(128.42, -15.2) 51 | t.begin_fill() 52 | arco(117.6, -371.2, 6.82) 53 | arco(110.78, 315.61, 8.2) 54 | arco(74.76, 161.41, 57.14) 55 | arco(131.9, -169.78, 29.47) 56 | arco(232.8, 47.89, 39.82) 57 | arco(272.62, 172.39, 28.92) 58 | arco(301.53, -500.42, 10.3) 59 | arco(148.12, 43.64, 38.19) 60 | arco(351.23, -32.95, 44.42) 61 | arco(144.34, 35.76, 56.29) 62 | arco(0.57, -35.71, 41.72) 63 | arco(173.77, 36.48, 41.87) 64 | arco(5.75, -113.12, 11.5) 65 | arco(202.11, 72.88, 26.3) 66 | arco(121.97, 20.72, 36.4) 67 | arco(158.37, 4.99, 101.21) 68 | arco(259.58, 49.75, 24.81) 69 | arco(284.39, -70.27, 50.75) 70 | arco(349.27, -43.76, 29.87) 71 | arco(329.11, 41.42, 55.33) 72 | arco(24.44, -127.89, 32.58) 73 | t.end_fill() 74 | 75 | t.fillcolor("#ffccbc") 76 | go(83.75, 89.96) 77 | t.begin_fill() 78 | arco(80.3, 126.24, 49.51) 79 | arco(129.81, -327.74, 11.57) 80 | arco(274.72, 158.98, 29.15) 81 | arco(303.87, -292.5, 17.65) 82 | t.end_fill() 83 | 84 | t.fillcolor("DarkGray") 85 | go(94.56, -100.53) 86 | t.begin_fill() 87 | arco(233.56, -52.7, 32.79) 88 | arco(200.77, -29.86, 24.96) 89 | arco(271.89, 186.9, 3.75) 90 | arco(158.15, 31.25, 25.41) 91 | arco(183.56, 23.84, 57.7) 92 | arco(241.26, 69.21, 56.53) 93 | arco(8.01, 181.85, 8.19) 94 | arco(305.39, 253.3, 24.26) 95 | arco(329.65, 11.47, 111.67) 96 | arco(81.32, 235.3, 33.42) 97 | arco(114.74, 26.7, 84.27) 98 | arco(97.63, -67.69, 15.26) 99 | t.end_fill() 100 | 101 | go(-25.56, -208.23) 102 | t.begin_fill() 103 | arco(112.45, 935.38, 6) 104 | arco(213.04, -56.22, 27.39) 105 | arco(297.16, -353.16, 12.03) 106 | arco(338.69, 181.85, 13.23) 107 | t.end_fill() 108 | 109 | t.pensize(7) 110 | t.fillcolor("White") 111 | go(99.88, -180.15) 112 | t.begin_fill() 113 | arco(213.32, -181.85, 7.11) 114 | t.pensize(3) 115 | arco(320.43, 188.94, 11.44) 116 | arco(106.1, 252.05, 7.79) 117 | t.end_fill() 118 | 119 | go(62.3, -174.86) 120 | t.begin_fill() 121 | arco(81.45, -65.19, 15.26) 122 | arco(66.18, 146.94, 13.02) 123 | arco(79.2, 27.63, 22.33) 124 | arco(28.08, 52.7, 25.48) 125 | arco(23.73, 187.85, 11.67) 126 | arco(35.4, 43.39, 29.29) 127 | arco(291.2, 5.47, 23.16) 128 | arco(314.36, 3.55, 134.34) 129 | arco(88.7, 22.67, 33.28) 130 | arco(317.07, 34.89, 11.45) 131 | arco(328.52, 2.4, 121.02) 132 | arco(89.53, 32.08, 35.33) 133 | arco(327.19, 48.43, 13.57) 134 | arco(340.75, 1.81, 139.87) 135 | arco(120.62, 43.57, 40.78) 136 | arco(161.4, 99.45, 45.61) 137 | arco(207.01, -47.76, 63.56) 138 | arco(143.46, 28.33, 66.33) 139 | arco(209.78, 35.57, 25.54) 140 | arco(235.32, 2.11, 135.44) 141 | arco(10.76, 15.17, 29.59) 142 | arco(218.54, 24.5, 44.83) 143 | arco(263.37, 2.51, 130.22) 144 | arco(33.59, 9.36, 42.18) 145 | arco(251.95, 28.46, 44.14) 146 | arco(296.09, 1.32, 121.1) 147 | arco(57.19, 18.56, 25.99) 148 | arco(308.43, 142.84, 14.8) 149 | arco(323.22, -5052.05, 0.45) 150 | arco(295.45, 29.55, 46.15) 151 | arco(276.11, -174.96, 5.69) 152 | arco(229.16, 48.28, 27.6) 153 | arco(306.84, 233.7, 5.28) 154 | t.end_fill() 155 | 156 | go(62.16, -175.18) 157 | t.begin_fill() 158 | arco(72.11, 12.88, 117.99) 159 | arco(190.1, 12.93, 18.75) 160 | arco(208.85, 26.98, 67.41) 161 | arco(276.26, 19.54, 33.19) 162 | arco(309.45, 14.31, 73.61) 163 | arco(137.46, -24.38, 32.3) 164 | arco(105.16, -14.96, 76.63) 165 | arco(28.53, -8.31, 86.84) 166 | t.end_fill() 167 | 168 | go(43.67, -159.95) 169 | t.begin_fill() 170 | arco(208.85, 26.98, 67.41) 171 | arco(276.26, 19.54, 33.19) 172 | arco(309.45, 14.31, 73.61) 173 | arco(197.17, -169.96, 25.03) 174 | arco(56.06, -114.53, 41.5) 175 | t.end_fill() 176 | 177 | go(-55.42, -101.74) 178 | t.begin_fill() 179 | arco(78.64, 12.72, 87.64) 180 | arco(166.6, 43.14, 75.75) 181 | arco(242.34, 12.63, 92.59) 182 | arco(334.93, 27.82, 30.75) 183 | arco(5.68, 56.35, 27.33) 184 | arco(33.01, 28.1, 45.63) 185 | t.end_fill() 186 | 187 | t.fillcolor("Orange") 188 | go(-58.09, -44.04) 189 | t.begin_fill() 190 | arco(117.03, 71.07, 14.79) 191 | arco(113.3, 70.23, 30.57) 192 | arco(126.12, 65.81, 32.21) 193 | arco(130.18, 67.25, 26.55) 194 | arco(234.29, -6.71, 92.54) 195 | arco(313.42, -9.02, 62.04) 196 | arco(251.38, -4.83, 118.72) 197 | arco(297.29, -35.79, 10.76) 198 | arco(286.54, -9.96, 38.63) 199 | arco(278.53, 22.75, 40.41) 200 | arco(286.37, 153.76, 22.34) 201 | arco(277.4, 64.73, 30.42) 202 | arco(307.82, 30.61, 93.22) 203 | arco(41.04, 35.13, 75.99) 204 | t.end_fill() 205 | 206 | t.fillcolor("White") 207 | go(-64.78, -33.38) 208 | t.begin_fill() 209 | arco(107.68, -81.65, 13.67) 210 | arco(94.01, -192.08, 11.83) 211 | arco(82.17, 4.19, 115.99) 212 | arco(198.16, 19.1, 45.63) 213 | arco(243.79, 62.62, 20.44) 214 | arco(322.19, -70.23, 28.89) 215 | arco(311.82, -71.07, 4.63) 216 | t.end_fill() 217 | 218 | go(-77.22, -92.6) 219 | t.begin_fill() 220 | arco(197.48, -30.61, 69.66) 221 | arco(127.82, -64.73, 17.35) 222 | arco(31.98, 39.39, 53.11) 223 | arco(85.09, 42.97, 9.82) 224 | arco(93.64, 7.37, 139.39) 225 | arco(233.03, -96.51, 13.1) 226 | arco(65.66, 50.25, 54.01) 227 | arco(119.67, 5.82, 126.65) 228 | arco(246.32, 1154.42, 1.26) 229 | arco(128.48, 72.01, 35.42) 230 | arco(163.9, 14.52, 42.88) 231 | arco(206.78, 3.99, 109.99) 232 | arco(316.77, -259.42, 12.76) 233 | arco(246.96, 25.12, 13.6) 234 | arco(260.55, 12.38, 105.37) 235 | arco(253.12, 13.29, 61.65) 236 | arco(314.77, 141.64, 5.06) 237 | arco(319.84, 141.89, 17.97) 238 | arco(337.81, 17.6, 86.82) 239 | arco(64.64, 13.98, 35.41) 240 | t.end_fill() 241 | 242 | go(81.53, -16.58) 243 | t.begin_fill() 244 | arco(72.05, 66.9, 58.72) 245 | arco(229.88, 53.52, 40.34) 246 | arco(270.22, 105.37, 20.31) 247 | arco(26.01, -99.45, 11.6) 248 | t.end_fill() 249 | 250 | go(17.89, -24.39) 251 | t.begin_fill() 252 | arco(65.09, 81.22, 51.14) 253 | arco(232.25, 34.71, 32.55) 254 | arco(264.81, 259.63, 10.39) 255 | arco(323.13, 56.88, 9.45) 256 | t.end_fill() 257 | 258 | go(11.45, 271.53) 259 | arco(277.8, 75.76, 19.72) 260 | go(86.52, 32.88) 261 | arco(90, 71.07, 31.33) 262 | arco(123.61, 7.37, 82.93) 263 | arco(206.53, 14.82, 51.42) 264 | go(81.41, 78.26) 265 | arco(76.4, 148.57, 4.6) 266 | go(75.76, 74.4) 267 | arco(90.93, 88.57, 16.27) 268 | go(63.78, 78.26) 269 | arco(149.1, 24.19, 26.58) 270 | go(68.56, 47.71) 271 | arco(132.18, 25.85, 18.07) 272 | go(28.9, 55.12) 273 | arco(101.03, 23.25, 19.51) 274 | go(17.08, 45.71) 275 | arco(114.48, 18.94, 15.65) 276 | go(44.02, -13.42) 277 | arco(138.57, 10.59, 62.65) 278 | go(44.56, -17.29) 279 | arco(145.95, 18.35, 51.11) 280 | go(-18.98, -26.02) 281 | arco(215.22, 29.15, 8.78) 282 | go(-21.93, -39.36) 283 | arco(234.97, 44.98, 4.15) 284 | go(-17.08, -55.7) 285 | arco(88.45, 12.41, 28.03) 286 | go(-6.86, -43.23) 287 | arco(314.38, 16.42, 54.71) 288 | go(8.46, -38.98) 289 | arco(243.91, 13.39, 113.76) 290 | arco(357.67, 25.46, 23.08) 291 | arco(170.26, -12.84, 50.85) 292 | go(35.16, -91.06) 293 | arco(285.32, 67.14, 12.85) 294 | go(68.43, -42.81) 295 | arco(162.89, 27.34, 30.86) 296 | go(94.56, -100.53) 297 | arco(51.3, 72.67, 8) 298 | go(105.94, -46.36) 299 | arco(14.35, 32.9, 21.91) 300 | go(137.49, -58.25) 301 | arco(291.73, 19.22, 23.82) 302 | go(138.82, -42.38) 303 | arco(299.38, 48.54, 13.79) 304 | go(144.23, -31.75) 305 | arco(320.7, 57.44, 6.1) 306 | go(40.72, -105.02) 307 | arco(298.17, 31.84, 30.79) 308 | arco(328.97, 19.74, 52.23) 309 | arco(21.2, 59.38, 30.1) 310 | go(58.04, -147.72) 311 | arco(71.67, 23.29, 24.94) 312 | go(99.88, -180.15) 313 | arco(111.99, 34.35, 31.72) 314 | go(111.59, -212.33) 315 | arco(334.76, 399.85, 2.86) 316 | go(94.56, -118.5) 317 | arco(204.05, 26.74, 29.72) 318 | arco(233.77, 57.4, 20.54) 319 | go(62.16, -175.18) 320 | arco(317.22, 635.74, 2.19) 321 | go(-152.59, -18.08) 322 | arco(244.65, 207.72, 8) 323 | go(-130.13, -39.73) 324 | arco(231.61, -95.8, 10.66) 325 | arco(219.93, 30.18, 29.48) 326 | go(-127.39, -68.51) 327 | arco(16.12, 26.2, 17.65) 328 | 329 | t.fillcolor("Black") 330 | go(24, 0) 331 | t.begin_fill() 332 | arco(103.93, 5.67, 44.13) 333 | arco(148.05, 2.61, 94.01) 334 | arco(242.06, 18.33, 50.67) 335 | arco(292.74, 3.79, 66.43) 336 | arco(71.81, 81.22, 11.25) 337 | t.end_fill() 338 | 339 | go(80.24, 2.28) 340 | t.begin_fill() 341 | arco(123.35, 3.15, 113.82) 342 | arco(237.17, 15.42, 65.66) 343 | arco(302.83, 2.85, 109.63) 344 | arco(52.46, 14.61, 70.89) 345 | t.end_fill() 346 | 347 | t.fillcolor("#11b525") 348 | go(-76.19, -67.91) 349 | t.begin_fill() 350 | arco(196.45, 10.95, 38.03) 351 | arco(298.1, -164.65, 16.26) 352 | arco(281.83, -328.84, 8.08) 353 | arco(222.32, 67.98, 49.96) 354 | arco(272.29, 6.34, 104.76) 355 | arco(259.57, 30.16, 35.87) 356 | arco(295.45, 9.2, 58.37) 357 | arco(265.27, 20.51, 66.25) 358 | arco(253.36, 31.82, 37.03) 359 | arco(290.39, 8.71, 117.03) 360 | arco(47.43, 35.49, 34.84) 361 | arco(310.09, 7.85, 125.39) 362 | arco(75.48, 34.84, 34.88) 363 | arco(327.21, 22.13, 19.86) 364 | arco(347.07, 6.22, 106.54) 365 | arco(93.6, 39.4, 32.28) 366 | arco(315.54, 6.43, 120.59) 367 | arco(76.13, 39.63, 34.92) 368 | arco(111.05, 70.11, 36.17) 369 | arco(110.03, 261.51, 17.37) 370 | arco(111.29, 146.31, 9.56) 371 | t.end_fill() 372 | 373 | t.fillcolor("FireBrick") 374 | go(105.94, -46.36) 375 | t.begin_fill() 376 | arco(188.71, -63.42, 26.66) 377 | arco(162.05, 24.77, 57.78) 378 | arco(219.83, -34.84, 41.42) 379 | arco(296.06, -2975.34, 0.89) 380 | arco(295.17, 13.82, 105.61) 381 | arco(40.78, 59.13, 26.26) 382 | arco(67.04, -207.27, 10.89) 383 | t.end_fill() 384 | 385 | t.fillcolor("LightSalmon") 386 | go(93.11, -68.28) 387 | t.begin_fill() 388 | arco(166.6, 15.37, 46.14) 389 | arco(162.85, 17.44, 57.24) 390 | arco(220.09, 45.47, 36.77) 391 | arco(295.17, 13.82, 105.61) 392 | arco(40.78, 59.13, 26.26) 393 | arco(67.04, -207.27, 3.86) 394 | t.end_fill() 395 | 396 | t.fillcolor("Salmon") 397 | go(37.84, -30.82) 398 | t.begin_fill() 399 | arco(41.47, 2.48, 124.62) 400 | arco(166.09, 50.54, 20.21) 401 | arco(186.3, 3.57, 104.97) 402 | arco(291.27, 20.51, 34.22) 403 | arco(22.6, 51.04, 18.87) 404 | t.end_fill() 405 | 406 | go(81.24, -70.3) 407 | arco(217.35, 24.18, 42.07) 408 | 409 | t.fillcolor("White") 410 | go(45.33, -53.53) 411 | t.begin_fill() 412 | arco(204.35, -34.84, 25.94) 413 | arco(200.75, -25.46, 21.6) 414 | arco(289.88, 90.99, 16.05) 415 | arco(358.74, 37.88, 17.91) 416 | linea(47.82, 6.5) 417 | arco(99.78, -603.23, 2) 418 | t.end_fill() 419 | 420 | go(28.47, -57.14) 421 | arco(289.06, 65.67, 14.86) 422 | go(-158.75, 15.78) 423 | arco(309.85, 6.79, 48.5) 424 | arco(358.35, 5.47, 86.92) 425 | arco(85.26, 19.72, 25.71) 426 | arco(354.13, 18.48, 17.57) 427 | arco(11.69, 3.78, 92.75) 428 | arco(104.45, 23.55, 24.03) 429 | go(-151.03, 7.98) 430 | arco(265.44, 58.29, 5.87) 431 | go(-131.73, 22.36) 432 | arco(185.16, 18.39, 61.93) 433 | go(-120.39, 22.36) 434 | arco(164.81, 21.06, 18.18) 435 | go(-110.42, 2.99) 436 | arco(176.24, 20.82, 54.12) 437 | go(-91.53, 0) 438 | arco(149.52, 62.61, 11.89) 439 | go(-93.07, -22.81) 440 | arco(186.95, 23.6, 23.27) 441 | go(-68.44, -28.94) 442 | arco(143.58, 35.79, 31.69) 443 | go(-64.16, -65.93) 444 | arco(170, 19.98, 97.06) 445 | 446 | t.pensize(2) 447 | go(13.45, -30.28) 448 | arco(162.14, 446.01, 12.82) 449 | go(11.88, -38.07) 450 | arco(164.17, 221.13, 28.14) 451 | go(9.53, -44.17) 452 | arco(174.3, 232.28, 26.39) 453 | go(38.85, -38.07) 454 | arco(19.42, -239.95, 32.11) 455 | go(40.85, -41.86) 456 | arco(11.12, -229.87, 33.74) 457 | go(38.85, -46.76) 458 | arco(1.37, -236.33, 29.95) 459 | 460 | t.pensize(3) 461 | go(-34.56, -260.29) 462 | arco(293.44, 20.36, 26.08) 463 | go(-53.37, -263.86) 464 | arco(345.06, 21.84, 11.75) 465 | go(-20.6, -238.5) 466 | arco(294.29, 14.19, 26.93) 467 | go(-59.19, -229.51) 468 | arco(264.61, 22.25, 50.28) 469 | arco(314.89, 7.25, 59.81) 470 | arco(14.7, 19.6, 35.62) 471 | go(-64.04, -244.14) 472 | arco(4.89, 8.35, 54.06) 473 | go(-9.31, -219.62) 474 | arco(125.25, 47.23, 18.63) 475 | go(-64.72, -199.98) 476 | arco(229.18, 38.33, 34.06) 477 | go(-34.06, -183.14) 478 | arco(150.1, 28.12, 70.32) 479 | go(-16.39, -174.6) 480 | arco(142.44, 22.56, 79.18) 481 | go(-27.53, -159.08) 482 | arco(287.99, -51.19, 13.04) 483 | go(-55.81, -114.02) 484 | arco(294.05, -185.42, 16.7) 485 | go(-65.48, -89.81) 486 | arco(290.35, -291.66, 18.03) 487 | go(-59.82, -161.74) 488 | arco(278.08, -130.71, 8.65) 489 | 490 | t.hideturtle() 491 | turtle.done() -------------------------------------------------------------------------------- /Capibara.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(6) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("Gainsboro") 21 | t.pencolor("Gainsboro") 22 | go(262.83, -206.56) 23 | t.begin_fill() 24 | arco(155.58, 513.88, 47.94) 25 | arco(203.52, 20.25, 137.24) 26 | arco(340.76, 628.92, 38.48) 27 | arco(19.25, 18.54, 136.34) 28 | t.end_fill() 29 | 30 | t.fillcolor("DarkSalmon") 31 | t.pencolor("Maroon") 32 | go(248.35, -18.63) 33 | t.begin_fill() 34 | arco(102.59, 129.92, 73.39) 35 | arco(175.98, -23.7, 91.16) 36 | arco(84.81, 88.92, 53.8) 37 | arco(52.31, 58.25, 90.74) 38 | arco(143.06, 30.69, 81.44) 39 | arco(224.5, 60.59, 30.16) 40 | arco(159.58, 125.83, 30.9) 41 | arco(190.48, 264.99, 56.24) 42 | arco(246.72, 126.73, 130.1) 43 | arco(255.83, 81.59, 61.97) 44 | arco(242.54, 97.87, 14.25) 45 | arco(238.3, 85.29, 16.3) 46 | arco(254.6, 21.87, 96.08) 47 | arco(350.68, 64.89, 42.21) 48 | arco(278.69, 23.88, 76.24) 49 | arco(354.93, 63.29, 56.23) 50 | arco(335.51, 157.16, 72.14) 51 | arco(47.65, 78.14, 30.21) 52 | arco(77.86, 312.71, 24.73) 53 | t.end_fill() 54 | 55 | go(-45.82, 242.65) 56 | t.begin_fill() 57 | arco(97.56, 57.86, 27.94) 58 | arco(125.5, 27.85, 102.31) 59 | arco(230.67, 84.23, 37.14) 60 | arco(24.96, -260.83, 16.7) 61 | t.end_fill() 62 | 63 | t.pensize(3) 64 | t.fillcolor("RosyBrown") 65 | t.pencolor("RosyBrown") 66 | go(58.84, 226.43) 67 | t.begin_fill() 68 | arco(136.5, 12.77, 95.52) 69 | arco(232.02, 18.35, 82.36) 70 | arco(314.38, 11.55, 72.68) 71 | arco(27.06, 17.17, 109.44) 72 | t.end_fill() 73 | 74 | go(-72.8, 239.87) 75 | t.begin_fill() 76 | arco(96.2, 48.28, 8.2) 77 | arco(104.4, 7.72, 120.76) 78 | arco(225.16, 26.04, 44.75) 79 | arco(27.98, -86.55, 15.4) 80 | t.end_fill() 81 | 82 | go(-125.98, 44.73) 83 | t.begin_fill() 84 | arco(130.88, -98.99, 25.74) 85 | arco(105.15, 57.59, 25.56) 86 | arco(130.71, 33.71, 96.16) 87 | arco(226.87, 4593.96, 0.89) 88 | arco(259.65, 122.34, 89.83) 89 | arco(21.05, 83.16, 109.83) 90 | t.end_fill() 91 | 92 | go(-25.42, -229.28) 93 | t.begin_fill() 94 | arco(124.19, 88.02, 44.86) 95 | arco(218.63, 25.89, 134.34) 96 | arco(358.44, 95.59, 26.63) 97 | t.end_fill() 98 | 99 | go(39.97, -234.93) 100 | t.begin_fill() 101 | arco(130.27, 164.21, 12.68) 102 | arco(142.95, 31.22, 77.65) 103 | arco(245.96, 26.12, 106.25) 104 | arco(350.57, 54.97, 50.55) 105 | t.end_fill() 106 | 107 | go(110.49, -238.25) 108 | t.begin_fill() 109 | arco(81.25, 30.05, 60.71) 110 | arco(137.53, 47.22, 44.99) 111 | arco(206.73, 21.91, 111.85) 112 | arco(346.96, 184.43, 15.58) 113 | t.end_fill() 114 | 115 | t.pencolor("Maroon") 116 | t.fillcolor("Maroon") 117 | t.pensize(6) 118 | go(-250.02, 85.49) 119 | arco(246.72, 126.73, 130.1) 120 | go(-81.06, -189.06) 121 | arco(238.3, 85.29, 16.3) 122 | arco(254.6, 21.87, 96.08) 123 | arco(350.68, 64.89, 42.21) 124 | arco(278.69, 23.88, 76.24) 125 | arco(354.93, 63.29, 56.23) 126 | arco(335.51, 157.16, 72.14) 127 | go(-54.81, 241.32) 128 | arco(190.48, 264.99, 56.24) 129 | 130 | t.pensize(2) 131 | t.pencolor("Black") 132 | t.fillcolor("Black") 133 | go(-5.43, 66.32) 134 | t.begin_fill() 135 | arco(90, 46.73/2, 360) 136 | t.end_fill() 137 | 138 | t.pencolor("Maroon") 139 | t.fillcolor("Maroon") 140 | t.pensize(6) 141 | go(-191.95, 36) 142 | arco(31.5, 36.41, 22.82) 143 | go(-218.26, 49.03) 144 | arco(291.59, 16.05, 51.26) 145 | go(-200.71, 15.39) 146 | arco(255.32, 53.03, 70.87) 147 | go(-208.07, -44.46) 148 | arco(47.64, 60.08, 23.08) 149 | go(-15.67, -174.58) 150 | arco(243.95, 116.29, 27.74) 151 | go(-23.95, -197.21) 152 | arco(140.85, 245.79, 13.47) 153 | go(48.94, -225.9) 154 | arco(51.47, 78.71, 19.08) 155 | arco(42.68, 52.2, 39.37) 156 | arco(82.06, -60.02, 55.77) 157 | 158 | t.pencolor("PapayaWhip") 159 | t.fillcolor("PapayaWhip") 160 | t.pensize(3) 161 | go(41.45, 58.67) 162 | t.begin_fill() 163 | arco(145.87, 24.04, 63.57) 164 | arco(209.44, 11.05, 107.39) 165 | arco(316.84, 20.58, 90.7) 166 | arco(47.54, 10.33, 98.34) 167 | t.end_fill() 168 | 169 | t.hideturtle() 170 | turtle.done() -------------------------------------------------------------------------------- /Cinnamoroll.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | turtle.bgcolor("pink") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | t.pencolor("black") 13 | t.fillcolor("white") 14 | 15 | go(90.36, 50.50) 16 | t.begin_fill() 17 | t.seth(335.48) 18 | t.circle(184.32, 49.04) 19 | t.seth(29.62) 20 | t.circle(43.20, 85.3) 21 | t.seth(120.63) 22 | t.circle(52.95, 94.33) 23 | t.seth(209.57) 24 | t.circle(-104.61, 54.85) 25 | t.seth(160.45) 26 | t.circle(49.63, 68.51) 27 | t.seth(160.38) 28 | t.circle(123.19, 66.97) 29 | t.seth(175.54) 30 | t.circle(51.51, 59.01) 31 | t.seth(234.55) 32 | t.circle(-193.42, 30.71) 33 | t.seth(190.87) 34 | t.circle(65.22, 29.81) 35 | t.seth(238.45) 36 | t.circle(40.72, 121.52) 37 | t.seth(0.63) 38 | t.circle(108.89, 66.86) 39 | t.seth(293.19) 40 | t.circle(63.23, 7.9) 41 | t.seth(310.94) 42 | t.circle(38.76, 38.84) 43 | t.seth(357.3) 44 | t.circle(394.86, 24.1) 45 | t.seth(19.1) 46 | t.circle(48.19, 58.73) 47 | t.seth(90) 48 | t.circle(50.57, 61.76) 49 | t.end_fill() 50 | 51 | go(52.48, 97.04) 52 | t.seth(151.45) 53 | t.circle(123.192, 83.7) 54 | 55 | go(-114.54, 34.24) 56 | t.seth(238.9) 57 | t.circle(63.23, 62.2) 58 | 59 | go(0, 0) 60 | t.seth(284.57) 61 | t.circle(-3.94, 141.58) 62 | t.seth(155.93) 63 | t.circle(19.37, 74.76) 64 | t.seth(216.84) 65 | t.circle(-5.73, 111.73) 66 | 67 | t.pensize(6) 68 | t.pencolor("DeepSkyBlue") 69 | t.fillcolor("DeepSkyBlue") 70 | t.pensize(4) 71 | 72 | go(55.06, 23.35) 73 | t.seth(168.87) 74 | t.circle(34.23, 41.37) 75 | t.seth(57.66) 76 | t.circle(-44.08,36.45) 77 | 78 | go(-71.49, -3.85) 79 | t.begin_fill() 80 | t.seth(70.71) 81 | t.circle(20.48, 72.59) 82 | t.seth(153.37) 83 | t.circle(5.41, 71.85) 84 | t.seth(225.22) 85 | t.circle(18.29, 89.94) 86 | t.seth(320.4) 87 | t.circle(8.39, 110.31) 88 | t.end_fill() 89 | 90 | t.pencolor("LightPink") 91 | t.fillcolor("LightPink") 92 | 93 | go(55.30, -8.89) 94 | t.begin_fill() 95 | t.seth(356.76) 96 | t.circle(35.78, 49.23) 97 | t.seth(61.68) 98 | t.circle(10.85, 71.8) 99 | t.seth(149.39) 100 | t.circle(25.98, 78.22) 101 | t.seth(224.84) 102 | t.circle(10.95, 127.88) 103 | t.end_fill() 104 | 105 | go(-79.52, -30.64) 106 | t.begin_fill() 107 | t.seth(43.04) 108 | t.circle(10.08, 113.14) 109 | t.seth(154.55) 110 | t.circle(26.35, 60) 111 | t.seth(219.12) 112 | t.circle(9.62, 90) 113 | t.seth(313.32) 114 | t.circle(21.61, 89.72) 115 | t.end_fill() 116 | 117 | t.pencolor("black") 118 | t.fillcolor("white") 119 | 120 | go(52.17, -71.53) 121 | t.begin_fill() 122 | t.seth(56.48) 123 | t.circle(-41.155) 124 | t.end_fill() 125 | 126 | go(52.17, -71.53) 127 | t.seth(235.37) 128 | t.circle(23.90, 164.98) 129 | t.seth(50.62) 130 | t.circle(10.70, 81.85) 131 | 132 | go(41.96, -26.99) 133 | t.begin_fill() 134 | t.seth(197.01) 135 | t.circle(-394.86, 16.06) 136 | t.seth(215.23) 137 | t.circle(25.44, 72.43) 138 | t.seth(232.24) 139 | t.circle(55.76, 31.75) 140 | t.seth(238.91) 141 | t.circle(-26.90, 71.18) 142 | t.seth(229.02) 143 | t.circle(15.89, 120.9) 144 | t.seth(349.42) 145 | t.circle(62.55, 34.42) 146 | t.seth(336.13) 147 | t.circle(109.16, 36.79) 148 | t.seth(259.29) 149 | t.circle(27.96, 53.73) 150 | t.seth(309.39) 151 | t.circle(17.50, 85.76) 152 | t.seth(85.18) 153 | t.circle(-22.97, 31.31) 154 | t.seth(60.59) 155 | t.circle(91.51, 15.57) 156 | t.seth(31.53) 157 | t.circle(60.12, 91.14) 158 | t.seth(62.33) 159 | t.circle(-69.61, 27.96) 160 | t.seth(347.04) 161 | t.circle(10.24, 165.01) 162 | t.seth(164.03) 163 | t.circle(42.22, 77.17) 164 | t.end_fill() 165 | 166 | go(-59.31, -57.97) 167 | t.seth(208.74) 168 | t.circle(55.76, 66.4) 169 | 170 | go(-81.70, -129.58) 171 | t.seth(329.65) 172 | t.circle(109.16, 49.27) 173 | 174 | go(34.17, -138.64) 175 | t.seth(23.17) 176 | t.circle(60.12, 99.51) 177 | 178 | go(58.48, -56.57) 179 | t.seth(67.48) 180 | t.circle(-69.61, 33.11) 181 | 182 | go(38.37, -35.71) 183 | t.seth(74.03) 184 | t.circle(-42.22, 90) 185 | 186 | t.hideturtle() 187 | turtle.done() -------------------------------------------------------------------------------- /Corazon_pixel.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | 5 | def cuadrado(color): 6 | t.pencolor(color) 7 | t.fillcolor(color) 8 | t.begin_fill() 9 | t.seth(0) 10 | t.forward(30) 11 | t.seth(90) 12 | t.forward(30) 13 | t.seth(180) 14 | t.forward(30) 15 | t.seth(270) 16 | t.forward(30) 17 | t.end_fill() 18 | 19 | def cuadritos(): 20 | tamaño = 10 21 | t.pencolor("black") 22 | t.fillcolor("gold") 23 | t.begin_fill() 24 | t.seth(0) 25 | t.forward(tamaño) 26 | t.seth(90) 27 | t.forward(tamaño) 28 | t.seth(180) 29 | t.forward(tamaño) 30 | t.seth(270) 31 | t.forward(tamaño) 32 | t.end_fill() 33 | 34 | def go(x,y): 35 | t.penup() 36 | t.goto(x,y) 37 | t.pendown() 38 | 39 | t.pencolor("red") 40 | t.fillcolor("red") 41 | go(-30, -180) 42 | t.begin_fill() 43 | t.forward(30) 44 | t.seth(90) 45 | t.forward(30) 46 | t.seth(0) 47 | t.forward(30) 48 | t.seth(90) 49 | t.forward(30) 50 | t.seth(0) 51 | t.forward(30) 52 | t.seth(90) 53 | t.forward(30) 54 | t.seth(0) 55 | t.forward(30) 56 | t.seth(90) 57 | t.forward(30) 58 | t.seth(0) 59 | t.forward(30) 60 | t.seth(90) 61 | t.forward(30) 62 | t.seth(0) 63 | t.forward(30) 64 | t.seth(90) 65 | t.forward(120) 66 | t.seth(0) 67 | t.forward(-30) 68 | t.seth(90) 69 | t.forward(30) 70 | t.seth(0) 71 | t.forward(-90) 72 | t.seth(90) 73 | t.forward(-30) 74 | t.seth(0) 75 | t.forward(-30) 76 | t.seth(90) 77 | t.forward(-30) 78 | t.seth(0) 79 | t.forward(-30) 80 | t.seth(90) 81 | t.forward(30) 82 | t.seth(0) 83 | t.forward(-30) 84 | t.seth(90) 85 | t.forward(30) 86 | t.seth(0) 87 | t.forward(-90) 88 | t.seth(90) 89 | t.forward(-30) 90 | t.seth(0) 91 | t.forward(-30) 92 | t.seth(90) 93 | t.forward(-120) 94 | t.seth(0) 95 | t.forward(30) 96 | t.seth(90) 97 | t.forward(-30) 98 | t.seth(0) 99 | t.forward(30) 100 | t.seth(90) 101 | t.forward(-30) 102 | t.seth(0) 103 | t.forward(30) 104 | t.seth(90) 105 | t.forward(-30) 106 | t.seth(0) 107 | t.forward(30) 108 | t.seth(90) 109 | t.forward(-30) 110 | t.seth(0) 111 | t.forward(30) 112 | t.end_fill() 113 | 114 | go(-30, -210) 115 | cuadrado("black") 116 | go(0, -180) 117 | cuadrado("black") 118 | go(30, -150) 119 | cuadrado("black") 120 | go(60, -120) 121 | cuadrado("black") 122 | go(90, -90) 123 | cuadrado("black") 124 | go(120, -60) 125 | cuadrado("black") 126 | 127 | t.pencolor("black") 128 | t.fillcolor("black") 129 | go(150, -30) 130 | t.begin_fill() 131 | t.seth(0) 132 | t.forward(30) 133 | t.seth(90) 134 | t.forward(120) 135 | t.seth(0) 136 | t.forward(-30) 137 | t.seth(90) 138 | t.forward(-120) 139 | t.end_fill() 140 | 141 | go(120, 90) 142 | cuadrado("black") 143 | 144 | go(120, 120) 145 | t.begin_fill() 146 | t.seth(0) 147 | t.forward(-90) 148 | t.seth(90) 149 | t.forward(30) 150 | t.seth(0) 151 | t.forward(90) 152 | t.seth(90) 153 | t.forward(-30) 154 | t.end_fill() 155 | 156 | go(0, 90) 157 | cuadrado("black") 158 | go(-30, 60) 159 | cuadrado("black") 160 | go(-60, 90) 161 | cuadrado("black") 162 | 163 | go(-60, 120) 164 | t.begin_fill() 165 | t.seth(0) 166 | t.forward(-90) 167 | t.seth(90) 168 | t.forward(30) 169 | t.seth(0) 170 | t.forward(90) 171 | t.seth(90) 172 | t.forward(-30) 173 | t.end_fill() 174 | 175 | go(-180, 90) 176 | cuadrado("black") 177 | 178 | go(-210, -30) 179 | t.begin_fill() 180 | t.seth(0) 181 | t.forward(30) 182 | t.seth(90) 183 | t.forward(120) 184 | t.seth(0) 185 | t.forward(-30) 186 | t.seth(90) 187 | t.forward(-120) 188 | t.end_fill() 189 | 190 | go(-180, -60) 191 | cuadrado("black") 192 | go(-150, -90) 193 | cuadrado("black") 194 | go(-120, -120) 195 | cuadrado("black") 196 | go(-90, -150) 197 | cuadrado("black") 198 | go(-60, -180) 199 | cuadrado("black") 200 | 201 | go(-150, -30) 202 | cuadrado("white") 203 | 204 | t.pencolor("white") 205 | t.fillcolor("white") 206 | go(-150, 30) 207 | t.begin_fill() 208 | t.seth(0) 209 | t.forward(30) 210 | t.seth(90) 211 | t.forward(30) 212 | t.seth(0) 213 | t.forward(30) 214 | t.seth(90) 215 | t.forward(30) 216 | t.seth(0) 217 | t.forward(-60) 218 | t.seth(90) 219 | t.forward(-60) 220 | t.end_fill() 221 | 222 | x_inicio = -75 223 | y_inicio = -40 224 | tamaño = 10 225 | t.pencolor("black") 226 | t.fillcolor("gold") 227 | go(x_inicio, y_inicio) 228 | t.begin_fill() 229 | t.seth(0) 230 | t.forward(tamaño) 231 | t.seth(90) 232 | t.forward(tamaño*5) 233 | t.seth(0) 234 | t.forward(tamaño*2) 235 | t.seth(90) 236 | t.forward(tamaño) 237 | t.seth(0) 238 | t.forward(-tamaño*5) 239 | t.seth(90) 240 | t.forward(-tamaño) 241 | t.seth(0) 242 | t.forward(tamaño*2) 243 | t.seth(90) 244 | t.forward(-tamaño*5) 245 | t.end_fill() 246 | 247 | go(x_inicio + tamaño*4, y_inicio) 248 | t.begin_fill() 249 | t.seth(0) 250 | t.forward(tamaño) 251 | t.seth(90) 252 | t.forward(tamaño*6) 253 | t.seth(0) 254 | t.forward(-tamaño) 255 | t.seth(90) 256 | t.forward(-tamaño*6) 257 | t.end_fill() 258 | 259 | go(x_inicio + tamaño*5, y_inicio + tamaño*3) 260 | cuadritos() 261 | go(x_inicio + tamaño*6, y_inicio + tamaño*4) 262 | cuadritos() 263 | go(x_inicio + tamaño*7, y_inicio + tamaño*5) 264 | cuadritos() 265 | go(x_inicio + tamaño*6, y_inicio + tamaño*2) 266 | cuadritos() 267 | 268 | go(x_inicio + tamaño*7, y_inicio) 269 | t.begin_fill() 270 | t.seth(0) 271 | t.forward(tamaño) 272 | t.seth(90) 273 | t.forward(tamaño*2) 274 | t.seth(0) 275 | t.forward(-tamaño) 276 | t.seth(90) 277 | t.forward(-tamaño*2) 278 | t.end_fill() 279 | 280 | go(x_inicio + tamaño*9, y_inicio) 281 | t.begin_fill() 282 | t.seth(0) 283 | t.forward(tamaño) 284 | t.seth(90) 285 | t.forward(tamaño*6) 286 | t.seth(0) 287 | t.forward(-tamaño) 288 | t.seth(90) 289 | t.forward(-tamaño*6) 290 | t.end_fill() 291 | 292 | go(x_inicio + tamaño*13, y_inicio) 293 | t.begin_fill() 294 | t.seth(0) 295 | t.forward(tamaño) 296 | t.seth(90) 297 | t.forward(tamaño*6) 298 | t.seth(0) 299 | t.forward(-tamaño) 300 | t.seth(90) 301 | t.forward(-tamaño*6) 302 | t.end_fill() 303 | 304 | go(x_inicio + tamaño*10, y_inicio + tamaño*4) 305 | cuadritos() 306 | go(x_inicio + tamaño*11, y_inicio + tamaño*3) 307 | cuadritos() 308 | go(x_inicio + tamaño*12, y_inicio + tamaño*4) 309 | cuadritos() 310 | 311 | t.hideturtle() 312 | turtle.done() -------------------------------------------------------------------------------- /Código Happy Birthday: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | happy=turtle.Screen() 4 | happy.bgcolor("black") 5 | turtle=turtle.Turtle() 6 | turtle.shape("circle") 7 | turtle.color("yellow") 8 | turtle.width(7) 9 | colors=["peru","ivory","dark orange","coral","cyan","hot pink","gold","ivory","yellow","red","pink","green","blue","light blue","light green",] 10 | 11 | import time 12 | 13 | time.sleep(10) 14 | 15 | def draw_happy(i,x,y): 16 | turtle.pencolor("linen") 17 | turtle.color(colors[i%7]) 18 | turtle.begin_fill() 19 | turtle.lt(70) 20 | turtle.penup() 21 | turtle.goto(x,y) 22 | turtle.pendown() 23 | turtle.circle(33) 24 | turtle.end_fill() 25 | 26 | def ballon(x,y): 27 | for i in range(5): 28 | draw_happy(i,x,y) 29 | 30 | def f1(): 31 | for i in range(7): 32 | turtle.pensize(5) 33 | turtle.pencolor('light blue') 34 | turtle.color(colors[i%19]) 35 | turtle.begin_fill() 36 | turtle.left(330) 37 | turtle.forward(55) 38 | turtle.begin_fill() 39 | turtle.rt(110) 40 | turtle.circle(33) 41 | turtle.end_fill() 42 | turtle.rt(11) 43 | turtle.backward(33) 44 | turtle.end_fill() 45 | 46 | def cake(x,y): 47 | turtle.fd(x) 48 | turtle.rt(90) 49 | turtle.fd(y) 50 | turtle.rt(90) 51 | turtle.fd(x) 52 | turtle.rt(90) 53 | turtle.fd(y) 54 | 55 | def heart(): 56 | for i in range(43): 57 | turtle.pencolor(colors[i%9]) 58 | turtle.rt(5) 59 | turtle.fd(5) 60 | turtle.fd(150) 61 | turtle.penup() 62 | turtle.rt(140) 63 | turtle.fd(147) 64 | turtle.pendown() 65 | for i in range(43): 66 | turtle.pencolor(colors[i%9]) 67 | turtle.lt(5) 68 | turtle.fd(5) 69 | turtle.lt(7) 70 | turtle.fd(151) 71 | 72 | def move(x,y): 73 | turtle.up() 74 | turtle.setposition(0,0) 75 | turtle.setheading(90) 76 | turtle.rt(90) 77 | turtle.fd(x) 78 | turtle.lt(90) 79 | turtle.fd(y) 80 | turtle.pendown() 81 | 82 | def mov(x,y): 83 | turtle.up() 84 | turtle.setposition(0,0) 85 | turtle.setheading(90) 86 | turtle.lt(90) 87 | turtle.fd(x) 88 | turtle.rt(90) 89 | turtle.fd(y) 90 | turtle.pendown() 91 | 92 | def A(size): 93 | turtle.rt(19) 94 | turtle.forward(size) 95 | turtle.rt(141) 96 | turtle.fd(size) 97 | turtle.backward(size/2) 98 | turtle.rt(105) 99 | turtle.fd(int(size/3)) 100 | 101 | def B(size): 102 | turtle.forward(size) 103 | turtle.rt(90) 104 | for i in range(18): 105 | turtle.rt(9) 106 | turtle.fd(size//20) 107 | for i in range(18): 108 | turtle.rt(size//5) 109 | turtle.backward(size//20) 110 | 111 | def D(size): 112 | turtle.fd(size) 113 | turtle.rt(90) 114 | turtle.fd(size//10) 115 | for i in range(13): 116 | turtle.rt(13) 117 | turtle.fd(size//8) 118 | 119 | def H(size): 120 | turtle.fd(size) 121 | turtle.backward(size//2) 122 | turtle.rt(90) 123 | turtle.fd(size//2) 124 | turtle.lt(90) 125 | turtle.fd(size//2) 126 | turtle.backward(size) 127 | 128 | def I(size): 129 | turtle.fd(size) 130 | turtle.rt(90) 131 | turtle.circle(size//8) 132 | 133 | def P(size): 134 | turtle.fd(size) 135 | turtle.rt(90) 136 | turtle.fd(size//8) 137 | for i in range(8): 138 | turtle.rt(20) 139 | turtle.fd(size//9) 140 | 141 | def R(): 142 | turtle.fd(60) 143 | turtle.rt(90) 144 | turtle.fd(7) 145 | for i in range(15): 146 | turtle.rt(12) 147 | turtle.fd(3) 148 | turtle.lt(120) 149 | turtle.fd(40) 150 | 151 | def T(size): 152 | turtle.fd(size) 153 | turtle.rt(90) 154 | turtle.fd(size//2) 155 | turtle.backward(size//2) 156 | 157 | def Y(size): 158 | turtle.fd(size) 159 | turtle.left(60) 160 | turtle.fd(size//2) 161 | turtle.backward(size//2) 162 | turtle.rt(90) 163 | turtle.fd(size//1.5) 164 | 165 | turtle.speed(19) 166 | 167 | from turtle import * 168 | from random import randint 169 | 170 | def Spiral(): 171 | x=1 172 | turtle.speed(0) 173 | while x<260: 174 | turtle.pencolor(colors[x%9]) 175 | turtle.fd(10+x) 176 | turtle.rt(90.991) 177 | x=x+1 178 | 179 | def triangle(size): 180 | turtle.color(colors[5%3]) 181 | turtle.begin_fill() 182 | for i in range(3): 183 | turtle.pencolor(colors[i%4]) 184 | turtle.left(120) 185 | turtle.fd(size) 186 | turtle.end_fill() 187 | 188 | def triflow(): 189 | for i in range(12): 190 | triangle(140) 191 | turtle.left(30) 192 | turtle.fd(10) 193 | triangle(151) 194 | 195 | def spiral(): 196 | for i in range(60): 197 | turtle.pencolor(colors[i%5]) 198 | turtle.circle(2*i) 199 | turtle.circle(-2*i) 200 | turtle.left(i) 201 | 202 | def draw_leaf(leaf): #cretes leaf function 203 | for i in range(0,2): 204 | leaf.forward(90) 205 | leaf.right(40+i) 206 | for j in range(0,21): 207 | leaf.right(3) 208 | leaf.forward(5) 209 | leaf.right(145) 210 | 211 | def draw_flower(pen): 212 | for i in range(0,8): 213 | pen.color(colors[i%8]) 214 | pen.begin_fill() 215 | draw_leaf(pen) 216 | pen.end_fill() 217 | pen.right(10) 218 | 219 | turtle.width(1) 220 | mov(480,240) 221 | Spiral() 222 | mov(-480,240) 223 | Spiral() 224 | 225 | #section of Ballons 226 | move(180,307) 227 | mov(0,0) 228 | ballon(-460, 200) 229 | ballon(490, 200) 230 | ballon(183,-80) 231 | ballon(-133,-80) 232 | turtle.width(5) 233 | mov(-450,-250) 234 | draw_flower(turtle) 235 | mov(450,-250) 236 | draw_flower(turtle) 237 | mov(-30,-120) 238 | turtle.width(13) 239 | heart() 240 | #end Section of ballons 241 | 242 | 243 | #Cake maker section 244 | turtle.shape('turtle') 245 | mov(120,100) 246 | turtle.color(colors[8%5]) 247 | turtle.begin_fill() 248 | cake(40,180) 249 | turtle.end_fill() 250 | mov(110,135) 251 | turtle.color("hot pink") 252 | turtle.begin_fill() 253 | cake(40,160) 254 | turtle.end_fill() 255 | mov(100,170) 256 | turtle.color("blanched almond") 257 | turtle.begin_fill() 258 | cake(40,140) 259 | turtle.end_fill() 260 | mov(30,210) 261 | turtle.width(11) 262 | turtle.pencolor("red") 263 | turtle.circle(7) 264 | # #end Of Cake Section 265 | 266 | 267 | # #happybithday 268 | turtle.pencolor("cyan") 269 | turtle.width(13) 270 | mov(260,0) 271 | H(100) 272 | turtle.width(7) 273 | mov(190,0) 274 | A(65) 275 | mov(135,0) 276 | P(60) 277 | mov(100,0) 278 | P(60) 279 | mov(52,0) 280 | Y(60) 281 | mov(28,0) 282 | B(60) 283 | move(12,0) 284 | I(60) 285 | move(36,0) 286 | R() 287 | move(80,0) 288 | T(100) 289 | move(102,0) 290 | H(60) 291 | move(150,0) 292 | turtle.pencolor('hotpink') 293 | D(200) 294 | move(160,0) 295 | A(60) 296 | move(220,0) 297 | Y(60) 298 | 299 | happy.exitonclick() 300 | -------------------------------------------------------------------------------- /Dibujo_circular.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | import colorsys 3 | speed(0) 4 | bgcolor("black") 5 | h = 0.1 6 | pensize(4) 7 | 8 | def fun(): 9 | global h 10 | for i in range(4): 11 | c = colorsys.hsv_to_rgb(h, 1, 1) 12 | fillcolor(c) 13 | h += 0.004 14 | begin_fill() 15 | fd(50) 16 | rt(20) 17 | fd(40) 18 | rt(9) 19 | end_fill() 20 | 21 | for j in range(300): 22 | fun() 23 | goto(0,0) 24 | rt(10) 25 | 26 | done() -------------------------------------------------------------------------------- /Dino.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(4) 4 | 5 | turtle.bgcolor("black") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("#006400") 13 | t.fillcolor("#00FF7F") 14 | 15 | go(59, -25) 16 | 17 | t.begin_fill() 18 | t.seth(139) 19 | t.circle(119,124) 20 | t.seth(273) 21 | t.circle(-63,108) 22 | t.seth(308) 23 | t.circle(100,60) 24 | t.seth(290) 25 | t.circle(122,14) 26 | t.seth(0) 27 | t.forward(25) 28 | t.seth(42) 29 | t.forward(13) 30 | t.seth(90) 31 | t.forward(18) 32 | t.seth(270) 33 | t.forward(8) 34 | t.seth(0) 35 | t.forward(123) 36 | t.seth(275) 37 | t.circle(23,180) 38 | t.seth(0) 39 | t.forward(8) 40 | t.seth(272) 41 | t.circle(24,123) 42 | t.seth(52) 43 | t.circle(125,32) 44 | t.seth(72) 45 | t.circle(473,38) 46 | t.seth(102) 47 | t.circle(130,109) 48 | t.seth(209) 49 | t.circle(109,71) 50 | t.seth(286) 51 | t.circle(126,81) 52 | t.seth(301) 53 | t.circle(-106,36) 54 | t.end_fill() 55 | 56 | go(47, 26) 57 | t.seth(15) 58 | t.circle(126,28) 59 | 60 | go(-130, -165) 61 | t.seth(270) 62 | t.circle(122,18) 63 | 64 | go(47, -198) 65 | t.seth(270) 66 | t.forward(16) 67 | 68 | go(-61, -212) 69 | t.begin_fill() 70 | t.seth(270) 71 | t.circle(22,180) 72 | t.end_fill() 73 | 74 | go(-55, 63) 75 | t.seth(337) 76 | t.circle(62,90) 77 | 78 | t.fillcolor("#00CC00") 79 | 80 | go(-149, -141) 81 | t.begin_fill() 82 | t.seth(127) 83 | t.circle(19,180) 84 | t.end_fill() 85 | 86 | go(-132, -76) 87 | t.begin_fill() 88 | t.seth(170) 89 | t.circle(23,180) 90 | t.end_fill() 91 | 92 | go(-89, -20) 93 | t.begin_fill() 94 | t.seth(136) 95 | t.circle(29,180) 96 | t.end_fill() 97 | 98 | go(-22, 4) 99 | t.begin_fill() 100 | t.seth(104) 101 | t.circle(27,180) 102 | t.end_fill() 103 | 104 | go(59, -25) 105 | t.seth(139) 106 | t.circle(119,124) 107 | t.seth(273) 108 | t.circle(-63,108) 109 | 110 | t.fillcolor("#FFF176") 111 | 112 | go(91, -206) 113 | t.begin_fill() 114 | t.seth(4) 115 | t.circle(87,66) 116 | t.seth(72) 117 | t.circle(473,11) 118 | t.seth(186) 119 | t.circle(50,58) 120 | t.seth(266) 121 | t.circle(-75,36) 122 | t.seth(192) 123 | t.circle(50,61) 124 | t.seth(268) 125 | t.forward(38) 126 | t.end_fill() 127 | 128 | t.pencolor("#F48FB1") 129 | t.fillcolor("#F48FB1") 130 | 131 | go(76, 116) 132 | t.begin_fill() 133 | t.seth(90) 134 | t.circle(17) 135 | t.end_fill() 136 | 137 | t.pencolor("black") 138 | t.fillcolor("black") 139 | 140 | go(39, 140) 141 | t.begin_fill() 142 | t.seth(90) 143 | t.forward(13) 144 | t.circle(12, 180) 145 | t.forward(13) 146 | t.circle(12, 180) 147 | t.end_fill() 148 | 149 | t.hideturtle() -------------------------------------------------------------------------------- /Doraemon.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(3) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | t.pencolor("Black") 13 | t.fillcolor("DodgerBlue") 14 | 15 | go(199.24, 96.01) 16 | t.begin_fill() 17 | t.seth(98.66) 18 | t.circle(191.14, 60.3) 19 | t.seth(158.96) 20 | t.circle(248.66, 46.37) 21 | t.seth(205.32) 22 | t.circle(170.60, 101.56) 23 | t.seth(306.89) 24 | t.circle(127.96, 35.81) 25 | t.seth(225) 26 | t.forward(77.29) 27 | t.seth(238.51) 28 | t.circle(20.16, 90) 29 | t.seth(330.94) 30 | t.circle(49.40, 58.12) 31 | t.seth(277.24) 32 | t.circle(109.44, 28.71) 33 | t.seth(325.92) 34 | t.circle(139.25, 44.21) 35 | t.seth(45) 36 | t.circle(-27.72, 90) 37 | t.seth(0.14) 38 | t.circle(143.29, 20.77) 39 | t.seth(20.91) 40 | t.circle(54.57, 65.84) 41 | t.seth(86.75) 42 | t.forward(64.65) 43 | t.seth(39.54) 44 | t.circle(208.21, 25.33) 45 | t.seth(196.18) 46 | t.circle(-77.95, 54.99) 47 | t.seth(141.2) 48 | t.circle(-59.57, 88.93) 49 | t.seth(52.26) 50 | t.circle(-74.99, 75.12) 51 | t.end_fill() 52 | 53 | t.fillcolor("White") 54 | 55 | go(199.24, 96.01) 56 | t.begin_fill() 57 | t.seth(114.01) 58 | t.circle(134.75, 43.31) 59 | t.seth(157.32) 60 | t.circle(324.77, 46.38) 61 | t.seth(203.7) 62 | t.circle(132.15, 70.6) 63 | t.seth(287.68) 64 | t.circle(170.60, 19.21) 65 | t.seth(306.89) 66 | t.circle(127.96, 35.81) 67 | t.seth(337.31) 68 | t.circle(254.25, 49.16) 69 | t.seth(59.69) 70 | t.circle(195.29, 16.07) 71 | t.seth(135.51) 72 | t.circle(-59.57, 83.25) 73 | t.seth(52.26) 74 | t.circle(-74.99, 75.12) 75 | t.end_fill() 76 | 77 | go(87.03, -68.22) 78 | t.begin_fill() 79 | t.seth(213.51) 80 | t.circle(-189.37, 51.59) 81 | t.seth(223.25) 82 | t.circle(68.49, 92.49) 83 | t.seth(315.74) 84 | t.circle(95.43, 58.57) 85 | t.seth(28.26) 86 | t.circle(-27.72, 56.52) 87 | t.seth(11.84) 88 | t.circle(112.61, 30.74) 89 | t.seth(42.58) 90 | t.circle(77, 100.03) 91 | t.end_fill() 92 | 93 | go(67.02, -140.22) 94 | t.begin_fill() 95 | t.seth(202.38) 96 | t.circle(-199.18, 36.54) 97 | t.seth(262.98) 98 | t.circle(46.95, 73.34) 99 | t.seth(336.33) 100 | t.circle(79.46, 63.2) 101 | t.seth(39.53) 102 | t.circle(44.14, 66.46) 103 | t.end_fill() 104 | 105 | go(120.6, -10.08) 106 | t.begin_fill() 107 | t.seth(321.2) 108 | t.circle(77.95, 54.99) 109 | t.seth(19.15) 110 | t.circle(65.44, 134) 111 | t.seth(157.15) 112 | t.circle(74.99, 75.12) 113 | t.seth(232.26) 114 | t.circle(59.57, 88.93) 115 | t.end_fill() 116 | 117 | go(42.31, 180.81) 118 | t.begin_fill() 119 | t.seth(90) 120 | t.circle(94.34/2) 121 | t.end_fill() 122 | 123 | go(-59.72, 144.39) 124 | t.begin_fill() 125 | t.seth(65.03) 126 | t.circle(80.18, 22.08) 127 | t.seth(87.11) 128 | t.circle(47.50, 48.21) 129 | t.seth(135.32) 130 | t.circle(21.41, 57.59) 131 | t.seth(192.91) 132 | t.circle(48.87, 115.39) 133 | t.seth(308.3) 134 | t.circle(31.88, 116.73) 135 | t.end_fill() 136 | 137 | go(-115.93, -146.02) 138 | t.begin_fill() 139 | t.seth(209.06) 140 | t.circle(-49.40, 58.12) 141 | t.seth(148.51) 142 | t.circle(-20.16, 90) 143 | t.seth(45) 144 | t.forward(9.42) 145 | t.seth(180) 146 | t.forward(25.05) 147 | t.seth(201.75) 148 | t.circle(36.5, 55.41) 149 | t.seth(260.48) 150 | t.circle(36.75, 98.58) 151 | t.seth(359.06) 152 | t.circle(66.86, 61.74) 153 | t.end_fill() 154 | 155 | go(-95.95, -196.47) 156 | t.begin_fill() 157 | t.seth(233.03) 158 | t.circle(58.02, 48.59) 159 | t.seth(295.71) 160 | t.circle(44.46, 97.13) 161 | t.seth(32.83) 162 | t.circle(220.54, 16.95) 163 | t.seth(190.13) 164 | t.circle(-139.25, 44.21) 165 | t.end_fill() 166 | 167 | go(131.55, -160.89) 168 | t.begin_fill() 169 | t.seth(266.75) 170 | t.circle(-54.57, 65.84) 171 | t.seth(200.91) 172 | t.circle(-143.29, 20.77) 173 | t.seth(272.9) 174 | t.circle(56.61, 70.4) 175 | t.seth(343.31) 176 | t.circle(55.39, 56.6) 177 | t.seth(39.9) 178 | t.circle(55.16, 68.64) 179 | t.seth(108.54) 180 | t.circle(104.58, 24.6) 181 | t.end_fill() 182 | 183 | t.fillcolor("Red") 184 | 185 | go(95.49, -56.68) 186 | t.begin_fill() 187 | t.seth(206.47) 188 | t.circle(-254.25, 49.16) 189 | t.seth(310.17) 190 | t.circle(87.36, 31.75) 191 | t.seth(341.92) 192 | t.circle(189.37, 51.59) 193 | t.seth(33.51) 194 | t.circle(20.66, 40.51) 195 | t.end_fill() 196 | 197 | go(-23.82, 119.62) 198 | t.begin_fill() 199 | t.seth(90) 200 | t.circle(48.97/2) 201 | t.end_fill() 202 | 203 | t.pencolor("White") 204 | t.fillcolor("White") 205 | 206 | go(-47.94, 126.04) 207 | t.begin_fill() 208 | t.seth(90) 209 | t.circle(10.25/2) 210 | t.end_fill() 211 | 212 | t.pencolor("Black") 213 | t.fillcolor("Gold") 214 | 215 | go(19.84, -104.84) 216 | t.begin_fill() 217 | t.seth(90) 218 | t.circle(58.27/2) 219 | t.end_fill() 220 | 221 | t.fillcolor("Black") 222 | 223 | go(4.76, -111.45) 224 | t.begin_fill() 225 | t.seth(145.38) 226 | t.circle(20.08, 69.23) 227 | t.seth(214.62) 228 | t.circle(2.23, 115.8) 229 | t.seth(330.41) 230 | t.circle(20.85, 66.09) 231 | t.seth(36.51) 232 | t.circle(1.48, 108.88) 233 | t.end_fill() 234 | 235 | go(-35.73, -92.58) 236 | t.seth(344.9) 237 | t.circle(87.46, 34.52) 238 | go(-38.23, -102.35) 239 | t.seth(338.9) 240 | t.circle(79.12, 42.67) 241 | 242 | t.pensize(6) 243 | go(0, -116.51) 244 | t.seth(270) 245 | t.forward(15.95) 246 | 247 | t.pensize(4) 248 | go(-115.03, 77.07) 249 | t.seth(132.24) 250 | t.circle(28.05, 82.3) 251 | t.seth(214.54) 252 | t.circle(21.14, 90.15) 253 | t.seth(304.69) 254 | t.circle(48.5, 54.44) 255 | t.seth(359.13) 256 | t.circle(520.77, 21.01) 257 | t.seth(20.14) 258 | t.circle(85.90, 54.26) 259 | 260 | go(-44.85, 35.02) 261 | t.seth(112.94) 262 | t.circle(-123.11, 29.5) 263 | go(-154.61, 118.54) 264 | t.seth(153.83) 265 | t.circle(201.52, 23.61) 266 | go(-164.83, 91.06) 267 | t.seth(181.6) 268 | t.circle(323.54, 12.48) 269 | go(-170.59, 64.86) 270 | t.seth(209.17) 271 | t.circle(343.92, 10.05) 272 | 273 | go(-62.28, 154.86) 274 | t.seth(81.15) 275 | t.circle(58.95, 24.12) 276 | t.seth(105.27) 277 | t.circle(12.65, 133.78) 278 | t.seth(239.05) 279 | t.circle(41.24, 43.82) 280 | 281 | go(10.65, 159.42) 282 | t.seth(87.83) 283 | t.circle(42.34, 28.83) 284 | t.seth(116.66) 285 | t.circle(19.06, 102.2) 286 | t.seth(218.86) 287 | t.circle(18.78, 85.71) 288 | 289 | go(123.39, 170.94) 290 | t.seth(164.41) 291 | t.circle(179.60, 21.2) 292 | go(103.58, 159.44) 293 | t.seth(185.94) 294 | t.circle(93.96, 38.65) 295 | go(127.86, 138.99) 296 | t.seth(185.9) 297 | t.circle(145.58, 25.42) 298 | 299 | t.pencolor("IndianRed") 300 | t.fillcolor("LightCoral") 301 | 302 | go(168.55, 50.70) 303 | t.begin_fill() 304 | t.seth(27.81) 305 | t.circle(150.17, 43.28) 306 | t.seth(71.09) 307 | t.circle(69.29, 44.24) 308 | t.seth(115.34) 309 | t.circle(43.84, 163.03) 310 | t.seth(95.92) 311 | t.circle(43.84, 163.03) 312 | t.seth(258.95) 313 | t.circle(69.29, 44.24) 314 | t.seth(303.19) 315 | t.circle(150.17, 43.28) 316 | t.end_fill() 317 | 318 | t.pensize(4) 319 | go(149.33, 245.92) 320 | t.seth(105.07) 321 | t.forward(23.66) 322 | go(178.77, 250.75) 323 | t.seth(90) 324 | t.forward(18.02) 325 | go(213.92, 245.92) 326 | t.seth(60.02) 327 | t.forward(26.38) 328 | 329 | t.hideturtle() 330 | turtle.done() -------------------------------------------------------------------------------- /Flor Amarilla 2.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | import turtle, 3 | 4 | tracer(2) 5 | h = 0 6 | bgcolor('black') 7 | pensize(2) 8 | color('yellow') 9 | 10 | for i in range(195): 11 | h += 0.006 12 | lt(179) 13 | backward(i*0.1) 14 | circle(i*0.3, 120) 15 | rt(14) 16 | forward(i*0.1) 17 | circle(i*0.3, 120) 18 | 19 | turtle.shape('turtle') 20 | turtle.pencolor('orangered') 21 | turtle.fillcolor('orange') 22 | phi = 137.508 * (math.pi / 180.0) 23 | for i in range(300): 24 | r = 4 * math.sqrt(i) 25 | theta = i * phi 26 | x = r * math.cos(theta) 27 | y = r * math.sin(theta) 28 | turtle.penup() 29 | turtle.goto(x, y) 30 | turtle.setheading(i * 137.508) 31 | turtle.pendown() 32 | turtle.stamp() 33 | 34 | done() -------------------------------------------------------------------------------- /Flor_Minecraft.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | turtle.bgcolor("black") 5 | cafe1 = "#6D4C41" 6 | cafe2 = "#5D4037" 7 | cafe3 = "#4E342E" 8 | cafe4 = "#3E2723" 9 | verde1 = "#00FF00" 10 | verde2 = "#229954" 11 | verde3 = "#006600" 12 | blanco = "white" 13 | amarillo1 = "#FFEB3B" 14 | amarillo2 = "#FFCA28" 15 | amarillo3 = "#FFA000" 16 | rojo1 = "#FF0000" 17 | rojo2 = "#E53935" 18 | rojo3 = "#B71C1C" 19 | 20 | def cuadrado(color): 21 | t.pencolor(color) 22 | t.fillcolor(color) 23 | t.begin_fill() 24 | t.seth(0) 25 | t.forward(30) 26 | t.seth(90) 27 | t.forward(30) 28 | t.seth(180) 29 | t.forward(30) 30 | t.seth(270) 31 | t.forward(30) 32 | t.end_fill() 33 | 34 | def go(x,y): 35 | t.penup() 36 | t.goto(x,y) 37 | t.pendown() 38 | 39 | def maceta(x, y): 40 | go(x, y) 41 | cuadrado(cafe1) 42 | go(x+30, y) 43 | cuadrado(cafe2) 44 | go(x+60, y) 45 | cuadrado(cafe3) 46 | go(x+90, y) 47 | cuadrado(cafe3) 48 | go(x+120, y) 49 | cuadrado(cafe3) 50 | go(x+150, y) 51 | cuadrado(cafe4) 52 | 53 | go(x, y+30) 54 | cuadrado(cafe1) 55 | go(x+30, y+30) 56 | cuadrado(cafe1) 57 | go(x+60, y+30) 58 | cuadrado(cafe2) 59 | go(x+90, y+30) 60 | cuadrado(cafe1) 61 | go(x+120, y+30) 62 | cuadrado(cafe3) 63 | go(x+150, y+30) 64 | cuadrado(cafe4) 65 | 66 | go(x, y+60) 67 | cuadrado(cafe1) 68 | go(x+30, y+60) 69 | cuadrado(cafe1) 70 | go(x+60, y+60) 71 | cuadrado(cafe1) 72 | go(x+90, y+60) 73 | cuadrado(cafe2) 74 | go(x+120, y+60) 75 | cuadrado(cafe3) 76 | go(x+150, y+60) 77 | cuadrado(cafe4) 78 | 79 | go(x, y+90) 80 | cuadrado(cafe1) 81 | go(x+30, y+90) 82 | cuadrado(cafe1) 83 | go(x+60, y+90) 84 | cuadrado(cafe2) 85 | go(x+90, y+90) 86 | cuadrado(cafe3) 87 | go(x+120, y+90) 88 | cuadrado(cafe2) 89 | go(x+150, y+90) 90 | cuadrado(cafe4) 91 | 92 | go(x, y+120) 93 | cuadrado(cafe1) 94 | go(x+30, y+120) 95 | cuadrado(cafe2) 96 | go(x+60, y+120) 97 | cuadrado(cafe1) 98 | go(x+90, y+120) 99 | cuadrado(cafe1) 100 | go(x+120, y+120) 101 | cuadrado(cafe3) 102 | go(x+150, y+120) 103 | cuadrado(cafe2) 104 | 105 | go(x, y+150) 106 | cuadrado(cafe1) 107 | go(x+30, y+150) 108 | cuadrado(cafe1) 109 | go(x+60, y+150) 110 | cuadrado(cafe1) 111 | go(x+90, y+150) 112 | cuadrado(cafe2) 113 | go(x+120, y+150) 114 | cuadrado(cafe1) 115 | go(x+150, y+150) 116 | cuadrado(cafe2) 117 | 118 | maceta(-210, -300) 119 | 120 | go(-150, -120) 121 | cuadrado(verde1) 122 | go(-150, -90) 123 | cuadrado(verde1) 124 | go(-120, -90) 125 | cuadrado(verde2) 126 | go(-150, -60) 127 | cuadrado(verde1) 128 | go(-120, -60) 129 | cuadrado(verde2) 130 | go(-180, -30) 131 | cuadrado(verde2) 132 | go(-150, -30) 133 | cuadrado(verde1) 134 | go(-120, -30) 135 | cuadrado(verde2) 136 | go(-90, -30) 137 | cuadrado(verde2) 138 | go(-210, 0) 139 | cuadrado(verde2) 140 | go(-180, 0) 141 | cuadrado(verde1) 142 | go(-150, 0) 143 | cuadrado(verde1) 144 | go(-150, 30) 145 | cuadrado(verde1) 146 | go(-150, 60) 147 | cuadrado(verde1) 148 | go(-120, 60) 149 | cuadrado(verde2) 150 | 151 | go(-180, 90) 152 | cuadrado(blanco) 153 | go(-150, 90) 154 | cuadrado(blanco) 155 | go(-120, 90) 156 | cuadrado(blanco) 157 | go(-210, 120) 158 | cuadrado(blanco) 159 | go(-180, 120) 160 | cuadrado(blanco) 161 | go(-150, 120) 162 | cuadrado(blanco) 163 | go(-120, 120) 164 | cuadrado(blanco) 165 | go(-90, 120) 166 | cuadrado(blanco) 167 | go(-240, 150) 168 | cuadrado(blanco) 169 | go(-210, 150) 170 | cuadrado(blanco) 171 | go(-180, 150) 172 | cuadrado(amarillo2) 173 | go(-150, 150) 174 | cuadrado(amarillo1) 175 | go(-120, 150) 176 | cuadrado(amarillo3) 177 | go(-90, 150) 178 | cuadrado(blanco) 179 | go(-60, 150) 180 | cuadrado(blanco) 181 | go(-240, 180) 182 | cuadrado(blanco) 183 | go(-210, 180) 184 | cuadrado(blanco) 185 | go(-180, 180) 186 | cuadrado(amarillo1) 187 | go(-150, 180) 188 | cuadrado(amarillo1) 189 | go(-120, 180) 190 | cuadrado(amarillo2) 191 | go(-90, 180) 192 | cuadrado(blanco) 193 | go(-60, 180) 194 | cuadrado(blanco) 195 | go(-240, 210) 196 | cuadrado(blanco) 197 | go(-210, 210) 198 | cuadrado(blanco) 199 | go(-180, 210) 200 | cuadrado(amarillo2) 201 | go(-150, 210) 202 | cuadrado(amarillo1) 203 | go(-120, 210) 204 | cuadrado(amarillo1) 205 | go(-90, 210) 206 | cuadrado(blanco) 207 | go(-60, 210) 208 | cuadrado(blanco) 209 | go(-210, 240) 210 | cuadrado(blanco) 211 | go(-180, 240) 212 | cuadrado(blanco) 213 | go(-150, 240) 214 | cuadrado(blanco) 215 | go(-120, 240) 216 | cuadrado(blanco) 217 | go(-90, 240) 218 | cuadrado(blanco) 219 | go(-180, 270) 220 | cuadrado(blanco) 221 | go(-150, 270) 222 | cuadrado(blanco) 223 | go(-120, 270) 224 | cuadrado(blanco) 225 | 226 | maceta(90, -300) 227 | 228 | go(150, -120) 229 | cuadrado(verde3) 230 | go(180, -120) 231 | cuadrado(verde3) 232 | go(90, -90) 233 | cuadrado(verde3) 234 | go(120, -90) 235 | cuadrado(verde3) 236 | go(150, -90) 237 | cuadrado(verde3) 238 | go(180, -90) 239 | cuadrado(verde3) 240 | go(60, -60) 241 | cuadrado(verde3) 242 | go(90, -60) 243 | cuadrado(verde3) 244 | go(150, -60) 245 | cuadrado(verde1) 246 | go(180, -60) 247 | cuadrado(verde3) 248 | go(210, -60) 249 | cuadrado(verde3) 250 | go(240, -60) 251 | cuadrado(verde3) 252 | go(150, -30) 253 | cuadrado(verde1) 254 | go(150, 0) 255 | cuadrado(verde1) 256 | go(150, 30) 257 | cuadrado(verde1) 258 | go(90, 60) 259 | cuadrado(rojo1) 260 | go(120, 60) 261 | cuadrado(verde3) 262 | go(150, 60) 263 | cuadrado(verde3) 264 | go(60, 90) 265 | cuadrado(rojo1) 266 | go(90, 90) 267 | cuadrado(rojo1) 268 | go(120, 90) 269 | cuadrado(rojo1) 270 | go(150, 90) 271 | cuadrado(rojo1) 272 | go(180, 90) 273 | cuadrado(rojo3) 274 | go(60, 120) 275 | cuadrado(rojo1) 276 | go(90, 120) 277 | cuadrado(rojo2) 278 | go(120, 120) 279 | cuadrado(rojo3) 280 | go(150, 120) 281 | cuadrado(rojo2) 282 | go(180, 120) 283 | cuadrado(rojo1) 284 | go(210, 120) 285 | cuadrado(rojo3) 286 | go(90, 150) 287 | cuadrado(rojo1) 288 | go(120, 150) 289 | cuadrado(rojo2) 290 | go(150, 150) 291 | cuadrado(rojo3) 292 | go(180, 150) 293 | cuadrado(rojo1) 294 | go(210, 150) 295 | cuadrado(rojo2) 296 | go(150, 180) 297 | cuadrado(rojo3) 298 | go(180, 180) 299 | cuadrado(rojo3) 300 | 301 | t.hideturtle() 302 | turtle.done() -------------------------------------------------------------------------------- /Hangyodon.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(7) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("LightSeaGreen") 21 | go(127.05, -59.49) 22 | t.begin_fill() 23 | arco(56.91, 203.4, 59.35) 24 | arco(116.26, 127.7, 35.89) 25 | arco(152.16, 176.08, 80.14) 26 | arco(232.3, 161.45, 23.71) 27 | arco(256.02, 234.54, 40.92) 28 | arco(209.66, 84.85, 36.55) 29 | arco(163.02, 23.09, 107.57) 30 | arco(270, 22.84, 63.27) 31 | arco(255.38, 17.83, 159.74) 32 | arco(333.16, 37.74, 26.42) 33 | arco(266.26, 137.63, 24.01) 34 | arco(197.64, 58.35, 17.95) 35 | arco(217.17, 22.71, 90) 36 | arco(324.82, 32.23, 59.65) 37 | arco(285.74, 23.45, 62.69) 38 | arco(348.43, 50.4, 42.29) 39 | arco(325.71, 47.62, 71.33) 40 | arco(37.04, 39.53, 47.57) 41 | arco(95.65, 8.34, 81.08) 42 | arco(51.14, -11.96, 90) 43 | arco(228.19, 24.49, 113.53) 44 | arco(333.53, 30.18, 70.75) 45 | arco(317.48, 38.01, 90) 46 | arco(331.82, 42.56, 46.68) 47 | arco(18.5, 26.25, 136.9) 48 | arco(71.61, 77.7, 36.77) 49 | arco(316.05, 28.65, 42.91) 50 | arco(358.96, 15.44, 83.36) 51 | arco(26.09, 25.94, 126.83) 52 | arco(103.9, 133.51, 36.48) 53 | t.end_fill() 54 | 55 | go(-152.07, -173.37) 56 | arco(359.16, 24.17, 140.13) 57 | go(136.17, -181.99) 58 | arco(226.44, -18.51, 199.53) 59 | 60 | t.fillcolor("DeepSkyBlue") 61 | go(148.24, -16.72) 62 | t.begin_fill() 63 | arco(305.26, 25.62, 91.22) 64 | arco(36.48, 62.63, 91.15) 65 | arco(127.63, 28.26, 70.7) 66 | arco(198.33, 20.94, 20.28) 67 | arco(275.79, -203.49, 25.41) 68 | t.end_fill() 69 | 70 | go(159.81, 41.75) 71 | linea(357.23, 24.61) 72 | go(155.25, 7.66) 73 | arco(15.33, -27.33, 55.59) 74 | 75 | go(-169.46, 75.63) 76 | t.begin_fill() 77 | arco(135, 13.01, 83.87) 78 | arco(218.87, 69.96, 79.03) 79 | arco(297.9, 58.22, 31.83) 80 | arco(329.72, 13.96, 83.3) 81 | arco(105.74, -234.54, 26.06) 82 | t.end_fill() 83 | 84 | go(-173.23, 36.38) 85 | linea(180, 21.98) 86 | go(-170.98, 1.09) 87 | linea(187.97, 21.86) 88 | 89 | go(106.95, 182.66) 90 | t.begin_fill() 91 | arco(94.04, -40.53, 39.74) 92 | arco(54.31, 26.03, 77.68) 93 | arco(131.99, 42.55, 54.05) 94 | arco(88.93, 34.97, 94.3) 95 | arco(183.23, 74.32, 87.98) 96 | arco(10.61, -176.08, 38.45) 97 | arco(332.16, -127.7, 12.36) 98 | t.end_fill() 99 | 100 | t.fillcolor("Black") 101 | go(74.71, 218.1) 102 | t.begin_fill() 103 | linea(36.59, 20.42) 104 | arco(121.37, 13.58, 52.19) 105 | arco(206.21, 13.89, 90) 106 | t.end_fill() 107 | 108 | go(26.53, 234.84) 109 | t.begin_fill() 110 | linea(49.14, 24.81) 111 | arco(127.41, 17.23, 52.59) 112 | arco(241.76, 33.46, 45.09) 113 | t.end_fill() 114 | 115 | t.fillcolor("White") 116 | go(-15.5, 56.49) 117 | t.begin_fill() 118 | arco(90, 59.54, 360) 119 | t.end_fill() 120 | 121 | go(135.59, 59.91) 122 | t.begin_fill() 123 | arco(90, 62.66, 360) 124 | t.end_fill() 125 | 126 | t.fillcolor("Black") 127 | go(-37.34, 48.85) 128 | t.begin_fill() 129 | arco(90, 12.36, 360) 130 | t.end_fill() 131 | 132 | go(63.48, 48.85) 133 | t.begin_fill() 134 | arco(90, 11.9, 360) 135 | t.end_fill() 136 | 137 | t.fillcolor("LightPink") 138 | go(141.97, -38.01) 139 | t.begin_fill() 140 | arco(166.07, 584.79, 29.28) 141 | arco(195.35, 14.07, 157.53) 142 | arco(352.88, 1147.19, 14.62) 143 | arco(7.5, 15.4, 158.57) 144 | t.end_fill() 145 | 146 | go(-143.38, -58.54) 147 | arco(19.61, -118.32, 39.76) 148 | arco(339.85, 159.09, 38.44) 149 | arco(18.29, -171.55, 31.45) 150 | 151 | go(-99.03, -110.71) 152 | arco(287.26, 18.08, 131.29) 153 | go(-29.6, -112.24) 154 | arco(299.56, 21.3, 112.67) 155 | go(40.25, -112.24) 156 | arco(289.75, 16.93, 134.03) 157 | go(-68.06, -160.7) 158 | arco(294.63, 21.22, 114.49) 159 | go(8.64, -164.3) 160 | arco(304.94, 26.12, 90) 161 | 162 | t.hideturtle() 163 | turtle.done() -------------------------------------------------------------------------------- /Hello_Kitty.py: -------------------------------------------------------------------------------- 1 | import math 2 | import turtle as t 3 | 4 | def go(x,y): 5 | t.penup() 6 | t.goto(x,y) 7 | t.pendown() 8 | 9 | def polyline(t1, n, long, ang): 10 | for index in range(n): 11 | t1.fd(long) 12 | t1.lt(ang) 13 | 14 | def flower(n): 15 | for x in range(n): 16 | t.forward(0.5) 17 | if x < 80: 18 | t.left(1) 19 | elif x < 120: 20 | t.left(2.3) 21 | else: 22 | t.left(1) 23 | 24 | t.bgcolor("white") 25 | t.pensize(8) 26 | t.speed(100) 27 | 28 | go(-130,170) 29 | t.setheading(220) 30 | for x in range(580): 31 | t.forward(1) 32 | if x < 250: 33 | t.left(0.5) 34 | elif x < 350: 35 | t.left(0.1) 36 | else: 37 | t.left(0.5) 38 | 39 | t.setheading(70) 40 | for y in range(150): 41 | t.forward(1) 42 | if y < 80: 43 | t.left(0.2) 44 | elif y < 90: 45 | t.left(10) 46 | else: 47 | t.left(0.2) 48 | t.setheading(160) 49 | for y1 in range(140): 50 | t.forward(1) 51 | t.left(0.15) 52 | t.setheading(140) 53 | for y2 in range(157): 54 | t.forward(1) 55 | if y2 < 65: 56 | t.left(0.2) 57 | elif y2 < 75: 58 | t.left(8) 59 | else: 60 | t.left(0.5) 61 | 62 | t.pensize(5) 63 | go(-100,60) 64 | t.setheading(350) 65 | t.fillcolor("black") 66 | t.begin_fill() 67 | step = 0.3 68 | for i in range(2): 69 | for j in range(60): 70 | if j < 30: 71 | step += 0.02 72 | else: 73 | step -= 0.02 74 | t.forward(step) 75 | t.left(3) 76 | t.end_fill() 77 | 78 | go(50, 40) 79 | t.setheading(350) 80 | t.fillcolor("black") 81 | t.begin_fill() 82 | step = 0.3 83 | for i in range(2): 84 | for j in range(60): 85 | if j < 30: 86 | step += 0.02 87 | else: 88 | step -= 0.02 89 | t.forward(step) 90 | t.left(3) 91 | t.end_fill() 92 | 93 | go(-40, 30) 94 | t. setheading(260) 95 | t.fillcolor("#EBC70E") 96 | t.begin_fill() 97 | step = 0.3 98 | for i in range(2): 99 | for j in range(60): 100 | if j < 30: 101 | step += 0.02 102 | else: 103 | step -= 0.02 104 | t.forward(step) 105 | t.left(3) 106 | t.end_fill() 107 | 108 | go(20, 180) 109 | t.fillcolor("#DD4A76") 110 | t.begin_fill() 111 | t.setheading(175) 112 | flower(200) 113 | t.setheading(250) 114 | flower(200) 115 | t.setheading(325) 116 | flower(200) 117 | t.setheading(40) 118 | flower(200) 119 | t.setheading(115) 120 | flower(200) 121 | t.end_fill() 122 | 123 | go(30, 180) 124 | t.setheading(270) 125 | t.fillcolor("#E7BE04") 126 | t.begin_fill() 127 | t.circle(10) 128 | t.end_fill() 129 | 130 | go(-150, 65) 131 | t.setheading(170) 132 | t.pensize(6) 133 | for y in range(40): 134 | t.forward(1) 135 | t.left(0.3) 136 | 137 | go(-150, 85) 138 | t.setheading(160) 139 | for y in range(50): 140 | t.forward(1) 141 | t.left(0.3) 142 | 143 | go(-150, 45) 144 | t.setheading(180) 145 | for y in range(55): 146 | t.forward(1) 147 | t.left(0.3) 148 | 149 | go(110, 10) 150 | t.setheading(340) 151 | for y in range(40): 152 | t.forward(1) 153 | t.left(0.3) 154 | 155 | go(120, 30) 156 | t.setheading(350) 157 | for y in range(30): 158 | t.forward(1) 159 | t.right(0.3) 160 | 161 | go(115, 50) 162 | t.setheading(360) 163 | for y in range(50): 164 | t.forward(1) 165 | t.right(0.3) 166 | 167 | t.pensize(8) 168 | go(-100, -30) 169 | t.setheading(230) 170 | t.fillcolor("#EFA9C1") 171 | t.begin_fill() 172 | for z in range(140): 173 | t.forward(1) 174 | t.left(0.2) 175 | 176 | t.setheading(340) 177 | for z in range(200): 178 | t.forward(1) 179 | t.left(0.1) 180 | 181 | t.setheading(85) 182 | for z in range(140): 183 | t.forward(1) 184 | t.left(0.1) 185 | t.end_fill() 186 | 187 | go(-73, -33) 188 | t.setheading(250) 189 | t.fillcolor("#DA4B76") 190 | t.begin_fill() 191 | t.circle(40, 205) 192 | t.setheading(170) 193 | t.pensize(6) 194 | t.forward(75) 195 | t.end_fill() 196 | 197 | t.pensize(8) 198 | go(-120, -17) 199 | t.setheading(230) 200 | t.fillcolor("#D64B75") 201 | t.begin_fill() 202 | t.forward(50) 203 | t.setheading(320) 204 | for k in range(27): 205 | t.forward(1) 206 | t.left(1) 207 | t.setheading(75) 208 | for k in range(50): 209 | t.forward(1) 210 | t.right(1) 211 | t.end_fill() 212 | 213 | go(-125, -15) 214 | t.setheading(140) 215 | t.fillcolor("white") 216 | t.begin_fill() 217 | t.forward(8) 218 | t.setheading(50) 219 | t.circle(10, 190) 220 | t.setheading(150) 221 | for j in range(80): 222 | t.forward(1) 223 | t.left(2.2) 224 | t.forward(24) 225 | t.end_fill() 226 | 227 | go(27, -45) 228 | t.fillcolor("#DB4E79") 229 | t.setheading(350) 230 | t.begin_fill() 231 | for x in range(50): 232 | t.forward(1) 233 | t.right(1) 234 | t.setheading(220) 235 | t.forward(40) 236 | t.setheading(100) 237 | for x in range(50): 238 | t.forward(1) 239 | t.left(0.2) 240 | t.end_fill() 241 | 242 | go(70, -75) 243 | t.setheading(300) 244 | t.forward(8) 245 | t.setheading(30) 246 | for x in range(40): 247 | t.forward(1) 248 | t.right(5) 249 | t.setheading(280) 250 | for x in range(70): 251 | t.forward(1) 252 | t.right(2) 253 | 254 | go(-70, -180) 255 | t.setheading(250) 256 | for x in range(30): 257 | t.forward(1) 258 | t.left(0.3) 259 | for x in range(160): 260 | t.forward(1) 261 | if x < 30: 262 | t.left(3) 263 | elif x < 65: 264 | t.left(0.1) 265 | else: 266 | t.left(1) 267 | 268 | go(-150, -210) 269 | t.setheading(340) 270 | t.fillcolor("white") 271 | t.begin_fill() 272 | step = 1.5 273 | for i in range(2): 274 | for j in range(60): 275 | if j < 30: 276 | step += 0.1 277 | else: 278 | step -= 0.1 279 | t.forward(step) 280 | t.left(3) 281 | t.end_fill() 282 | 283 | t.hideturtle() -------------------------------------------------------------------------------- /I_Love_You.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(7) 4 | t.shape("turtle") 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | def arco(direc, radio, ang): 12 | t.seth(direc) 13 | t.circle(radio, ang) 14 | 15 | def linea(direc, longitud): 16 | t.seth(direc) 17 | t.forward(longitud) 18 | 19 | t.pencolor("Red") 20 | go(41.44, -94.01) 21 | arco(69.76, -94.78, 35.72) 22 | arco(34.04, 1421.55, 2.27) 23 | arco(36.32, 144.27, 57.34) 24 | arco(93.66, 88.76, 65.48) 25 | arco(159.14, 46.59, 67.28) 26 | arco(226.42, 121.8, 41.08) 27 | arco(267.49, 6.59, 169.43) 28 | arco(76.92, 92.51, 58.55) 29 | arco(135.47, 34.47, 107.48) 30 | arco(242.95, 132.63, 48.22) 31 | arco(291.17, 257.98, 15.98) 32 | arco(307.15, -185.99, 21.58) 33 | 34 | t.pencolor("Black") 35 | go(-284.66, 17.63) 36 | arco(353.09, 297.11, 13.81) 37 | go(-252.75, 15.5) 38 | arco(288.44, -159.6, 26.37) 39 | arco(262.06, 212.73, 23.42) 40 | go(-274.99, -145.21) 41 | arco(0.63, 360.61, 11.71) 42 | 43 | go(-166.64, -111.77) 44 | arco(49.07, 175.3, 45.09) 45 | arco(94.16, 4.65, 158.97) 46 | arco(253.13, 322.84, 33.46) 47 | 48 | go(-83.36, -95.21) 49 | arco(99.78, 13.81, 95.66) 50 | arco(195.44, 29.27, 102.62) 51 | arco(298.06, 14.91, 103.77) 52 | arco(41.83, 38.38, 57.95) 53 | 54 | go(-74.48, -77.25) 55 | linea(301.02, 68.4) 56 | arco(91.21, -389.65, 10.98) 57 | 58 | go(-16.21, -92) 59 | arco(341.96, 38.12, 58.33) 60 | arco(40.29, 4.41, 90.75) 61 | arco(131.04, 20.64, 115.43) 62 | arco(246.47, 35.54, 43.6) 63 | arco(290.07, 59.3, 9.13) 64 | arco(299.2, 27.24, 60.81) 65 | arco(0, 29.59, 47.43) 66 | 67 | go(67.06, -70.48) 68 | arco(306.86, -206.02, 12.33) 69 | arco(294.53, 33.33, 41.02) 70 | go(124.94, -68.59) 71 | arco(242.67, 183.31, 16) 72 | arco(258.67, -162.37, 18.3) 73 | arco(240.36, -33.87, 95.35) 74 | 75 | go(187.44, -107.14) 76 | arco(90, 26.10, 360) 77 | 78 | go(208.54, -76.64) 79 | arco(258.35, 52.01, 63.8) 80 | arco(322.15, 9.46, 92.3) 81 | arco(54.45, 76.62, 41.53) 82 | arco(275.98, 49.35, 40.9) 83 | 84 | t.hideturtle() 85 | turtle.done() -------------------------------------------------------------------------------- /Juegos_Olimpicos.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | turtle.bgcolor("white") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | t.pencolor("darkkhaki") 13 | t.fillcolor("darkkhaki") 14 | 15 | go(29, -31.57) 16 | t.begin_fill() 17 | t.seth(12.73) 18 | t.circle(131.65, 332.69) 19 | t.seth(152.5) 20 | t.circle(-94.46, 90) 21 | t.seth(281.44) 22 | t.circle(59.22, 53.3) 23 | t.seth(113.13) 24 | t.circle(-132.18, 75.47) 25 | t.seth(262.13) 26 | t.circle(87.54, 63.6) 27 | t.seth(325.73) 28 | t.circle(-70.66, 101.89) 29 | t.seth(9.11) 30 | t.circle(52.26, 41.69) 31 | t.seth(260.6) 32 | t.circle(-93.20, 53.88) 33 | t.end_fill() 34 | 35 | go(0, 0) 36 | t.begin_fill() 37 | t.seth(139.18) 38 | t.circle(18.43, 81.63) 39 | t.seth(298.13) 40 | t.circle(27.20, 123.74) 41 | t.seth(139.91) 42 | t.circle(18.49, 80.19) 43 | t.end_fill() 44 | 45 | t.pensize(6) 46 | t.pencolor("black") 47 | 48 | go(-202.69, -108.3) 49 | t.seth(90) 50 | t.forward(41.25) 51 | t.seth(0) 52 | t.forward(13.75) 53 | t.seth(348.91) 54 | t.circle(-11.43, 134.29) 55 | t.seth(209.74) 56 | t.forward(20.79) 57 | 58 | go(-155.99, -108.3) 59 | t.seth(90) 60 | t.forward(30.04) 61 | t.seth(90) 62 | t.circle(-10.6, 180) 63 | t.seth(270) 64 | t.forward(30.04) 65 | 66 | go(-155.99, -90.82) 67 | t.seth(16.01) 68 | t.circle(-17.14, 90) 69 | 70 | go(-107.57, -108.3) 71 | t.seth(90) 72 | t.forward(41.25) 73 | t.seth(0) 74 | t.forward(13.75) 75 | t.seth(348.91) 76 | t.circle(-11.43, 134.29) 77 | t.seth(209.74) 78 | t.forward(20.79) 79 | 80 | go(-84.08, -108.3) 81 | t.seth(81.16) 82 | t.circle(14.60, 90) 83 | 84 | go(-58.29, -108.3) 85 | t.seth(90) 86 | t.forward(31.37) 87 | 88 | go(-58.29, -69.05) 89 | t.seth(90) 90 | t.forward(3.5) 91 | 92 | go(-33.37, -97.98) 93 | t.seth(278.46) 94 | t.circle(10.72, 180) 95 | t.seth(100.95) 96 | t.circle(9.05, 90) 97 | t.seth(183.86) 98 | t.circle(-9.95, 90) 99 | t.seth(90) 100 | t.circle(-10.6, 180) 101 | 102 | go(52.45, -106.05) 103 | t.seth(180) 104 | t.forward(25.04) 105 | t.seth(48.4) 106 | t.forward(27.31) 107 | t.seth(48.4) 108 | t.circle(10.88, 264.28) 109 | 110 | go(109.56, -87.67) 111 | t.seth(90) 112 | t.circle(37.89/2) 113 | 114 | go(159.1, -106.05) 115 | t.seth(180) 116 | t.forward(25.04) 117 | t.seth(48.4) 118 | t.forward(27.31) 119 | t.seth(48.4) 120 | t.circle(10.88, 264.28) 121 | 122 | go(200.53, -108.3) 123 | t.seth(90) 124 | t.forward(29.89) 125 | 126 | go(200.53, -94.83) 127 | t.seth(183.43) 128 | t.circle(-18.55, 93.43) 129 | t.seth(90) 130 | t.forward(9.28) 131 | 132 | t.pensize(7) 133 | t.pencolor("royalblue") 134 | go(-44.47, -179.48) 135 | t.seth(90) 136 | t.circle(62.3/2) 137 | 138 | t.pencolor("gold") 139 | go(-6.15, -210.63) 140 | t.seth(90) 141 | t.circle(62.3/2) 142 | 143 | t.pencolor("black") 144 | go(31.15, -179.48) 145 | t.seth(90) 146 | t.circle(62.3/2) 147 | 148 | t.pencolor("forestgreen") 149 | go(66.98, -210.63) 150 | t.seth(90) 151 | t.circle(62.3/2) 152 | 153 | t.pencolor("crimson") 154 | go(104.49, -179.48) 155 | t.seth(90) 156 | t.circle(62.3/2) 157 | 158 | t.hideturtle() 159 | turtle.done() -------------------------------------------------------------------------------- /Kirby.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(6) 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | t.pencolor("black") 12 | t.fillcolor("#D81B60") 13 | 14 | go(-5.32, -145.46) 15 | t.begin_fill() 16 | t.seth(124.94) 17 | t.circle(147.16, 108.48) 18 | t.seth(233.42) 19 | t.circle(153.95, 12.36) 20 | t.seth(245.78) 21 | t.circle(29.32, 88.26) 22 | t.seth(339.69) 23 | t.circle(319.52, 40.61) 24 | t.seth(20.31) 25 | t.circle(42.08, 104.63) 26 | t.end_fill() 27 | 28 | go(5.32, -145.46) 29 | t.begin_fill() 30 | t.seth(55.06) 31 | t.circle(-147.16, 108.48) 32 | t.seth(306.58) 33 | t.circle(-153.95, 12.36) 34 | t.seth(294.22) 35 | t.circle(-29.32, 88.26) 36 | t.seth(200.31) 37 | t.circle(-319.52, 40.61) 38 | t.seth(159.69) 39 | t.circle(-42.08, 104.63) 40 | t.end_fill() 41 | 42 | t.fillcolor("#F48FB1") 43 | 44 | go(213.46, 68.13) 45 | t.begin_fill() 46 | t.seth(102.01) 47 | t.circle(218.52, 118.66) 48 | t.seth(128.91) 49 | t.circle(79.45, 61.02) 50 | t.seth(189.93) 51 | t.circle(50.36, 64.28) 52 | t.seth(254.22) 53 | t.circle(141.93, 62.78) 54 | t.seth(265.86) 55 | t.circle(218.52, 155) 56 | t.seth(346.79) 57 | t.circle(73.08, 16.02) 58 | t.seth(2.81) 59 | t.circle(49.84, 78.77) 60 | t.seth(81.58) 61 | t.circle(119.31, 60.23) 62 | t.end_fill() 63 | 64 | go(-142.70, 188.37) 65 | t.seth(220.68) 66 | t.circle(98.41, 16.17) 67 | 68 | go(-216.54, 55.06) 69 | t.seth(261.71) 70 | t.circle(218.52, 9.92) 71 | 72 | go(168.79, -74.03) 73 | t.seth(325.1) 74 | t.circle(63.43, 21.7) 75 | 76 | t.pensize(4) 77 | t.fillcolor("black") 78 | 79 | go(-33.62, 35.94) 80 | t.begin_fill() 81 | t.seth(65.26) 82 | t.circle(135.98, 47.41) 83 | t.seth(112.66) 84 | t.circle(14.92, 138.01) 85 | t.seth(250.67) 86 | t.circle(153.58, 41.14) 87 | t.seth(291.81) 88 | t.circle(12.81, 133.44) 89 | t.end_fill() 90 | 91 | go(62.23, 35.94) 92 | t.begin_fill() 93 | t.seth(65.26) 94 | t.circle(135.98, 47.41) 95 | t.seth(112.66) 96 | t.circle(14.92, 138.01) 97 | t.seth(250.67) 98 | t.circle(153.58, 41.14) 99 | t.seth(291.81) 100 | t.circle(12.81, 133.44) 101 | t.end_fill() 102 | 103 | t.fillcolor("white") 104 | 105 | go(-37.62, 101.39) 106 | t.begin_fill() 107 | t.seth(57.69) 108 | t.circle(41.81, 60.37) 109 | t.seth(118.06) 110 | t.circle(10.28, 125.72) 111 | t.seth(243.78) 112 | t.circle(44.04, 56.09) 113 | t.seth(299.87) 114 | t.circle(9, 117.81) 115 | t.end_fill() 116 | 117 | go(58.12, 101.39) 118 | t.begin_fill() 119 | t.seth(57.69) 120 | t.circle(41.81, 60.37) 121 | t.seth(118.06) 122 | t.circle(10.28, 125.72) 123 | t.seth(243.78) 124 | t.circle(44.04, 56.09) 125 | t.seth(299.87) 126 | t.circle(9, 117.81) 127 | t.end_fill() 128 | 129 | t.fillcolor("#01579B") 130 | 131 | go(-37.91, 33.99) 132 | t.begin_fill() 133 | t.seth(62.28) 134 | t.circle(66.45, 29.65) 135 | t.seth(237.95) 136 | t.circle(-17.55, 115.9) 137 | t.seth(265.87) 138 | t.circle(61.72, 31.85) 139 | t.seth(297.72) 140 | t.circle(8.61, 124.57) 141 | t.end_fill() 142 | 143 | go(58.25, 33.99) 144 | t.begin_fill() 145 | t.seth(62.28) 146 | t.circle(66.45, 29.65) 147 | t.seth(237.95) 148 | t.circle(-17.55, 115.9) 149 | t.seth(265.87) 150 | t.circle(61.72, 31.85) 151 | t.seth(297.72) 152 | t.circle(8.61, 124.57) 153 | t.end_fill() 154 | 155 | t.fillcolor("#CB4335") 156 | 157 | go(10.37, -13.92) 158 | t.begin_fill() 159 | t.seth(38.2) 160 | t.circle(36.59, 61.28) 161 | t.seth(130.04) 162 | t.circle(27.2, 99.91) 163 | t.seth(258.7) 164 | t.circle(35.89, 61.31) 165 | t.seth(320.01) 166 | t.circle(12.73, 78.19) 167 | t.end_fill() 168 | 169 | t.fillcolor("#FF8A65") 170 | t.pensize(3) 171 | 172 | go(10.37, -13.92) 173 | t.begin_fill() 174 | t.seth(38.2) 175 | t.circle(36.59, 35.15) 176 | t.seth(123.95) 177 | t.circle(23.75, 114.03) 178 | t.seth(286.42) 179 | t.circle(35.89, 33.59) 180 | t.seth(320.01) 181 | t.circle(12.73, 78.19) 182 | t.end_fill() 183 | 184 | t.pencolor("#FFAB91") 185 | t.fillcolor("#FFAB91") 186 | 187 | go(-84.35, 18.02) 188 | t.begin_fill() 189 | t.seth(18.16) 190 | t.circle(14.99, 117.16) 191 | t.seth(135.32) 192 | t.circle(45.56, 69.36) 193 | t.seth(204.67) 194 | t.circle(15.47, 119.84) 195 | t.seth(324.52) 196 | t.circle(53.47, 53.65) 197 | t.end_fill() 198 | 199 | go(137.14, 25.29) 200 | t.begin_fill() 201 | t.seth(35.48) 202 | t.circle(15.47, 119.84) 203 | t.seth(155.33) 204 | t.circle(45.56, 69.36) 205 | t.seth(224.68) 206 | t.circle(14.99, 117.16) 207 | t.seth(341.84) 208 | t.circle(53.47, 53.65) 209 | t.end_fill() 210 | 211 | go(-210.98, -133.44) 212 | t.begin_fill() 213 | t.seth(186.18) 214 | t.circle(27.40, 81.02) 215 | t.seth(267.2) 216 | t.circle(8.59, 86.96) 217 | t.seth(354.16) 218 | t.circle(26.71, 85.13) 219 | t.seth(79.29) 220 | t.circle(11.24, 106.89) 221 | t.end_fill() 222 | 223 | go(210.98, -133.44) 224 | t.begin_fill() 225 | t.seth(353.82) 226 | t.circle(-27.40, 81.02) 227 | t.seth(272.8) 228 | t.circle(-8.59, 86.96) 229 | t.seth(185.84) 230 | t.circle(-26.71, 85.13) 231 | t.seth(100.71) 232 | t.circle(-11.24, 106.89) 233 | t.end_fill() 234 | 235 | t.hideturtle() 236 | turtle.done() -------------------------------------------------------------------------------- /Leebit.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(7) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("White") 21 | t.pencolor("DarkGray") 22 | go(-142.19, 51.83) 23 | arco(213.26, 177.19, 118.61) 24 | arco(331.88, 265.89, 56.24) 25 | arco(28.12, 173.73, 118.65) 26 | go(126.27, 21.96) 27 | linea(70.8, 157.64) 28 | arco(70.8, 66.72, 172.57) 29 | linea(243.37, 177.73) 30 | go(5.88, 59.46) 31 | t.begin_fill() 32 | arco(92.91, 514.43, 20.1) 33 | arco(113.01, 71.86, 162.45) 34 | arco(275.46, 668.37, 15.6) 35 | t.end_fill() 36 | 37 | t.fillcolor("LightPink") 38 | t.pencolor("LightPink") 39 | t.pensize(3) 40 | go(163.92, -185.92) 41 | t.begin_fill() 42 | arco(90, 79.55/2, 360) 43 | t.end_fill() 44 | go(-51.89, -177.58) 45 | t.begin_fill() 46 | arco(90, 42.85, 360) 47 | t.end_fill() 48 | go(98.24, 57.84) 49 | t.begin_fill() 50 | arco(66.64, 395.45, 18.17) 51 | arco(84.81, 22.85, 158.53) 52 | arco(243.34, 542.32, 13.65) 53 | arco(256.99, 13.47, 69.57) 54 | arco(326.56, 72.33, 22.52) 55 | arco(349.08, 21.89, 77.56) 56 | t.end_fill() 57 | go(-40.49, 80.75) 58 | t.begin_fill() 59 | arco(97.19, 348.16, 20.53) 60 | arco(117.72, 19.76, 145.47) 61 | arco(263.19, 273.42, 27.41) 62 | arco(290.6, 19.68, 64.64) 63 | arco(355.25, 50.28, 38.82) 64 | arco(34.06, 22.37, 63.13) 65 | t.end_fill() 66 | 67 | t.fillcolor("MidnightBlue") 68 | t.pencolor("MidnightBlue") 69 | t.pensize(6) 70 | go(-85.83, -139.73) 71 | arco(8.46, -121.04, 29.14) 72 | arco(126.54, 90.08, 56.4) 73 | go(123.09, -149.24) 74 | arco(166.84, 117.14, 34.23) 75 | arco(46.74, -104.49, 45.81) 76 | t.pensize(4) 77 | go(14.35, -174.36) 78 | t.begin_fill() 79 | arco(320.24, 8.12, 74.43) 80 | linea(34.67, 11.85) 81 | arco(34.67, 6.55, 102.64) 82 | arco(137.3, 22.89, 84.6) 83 | arco(221.9, 5.34, 98.34) 84 | linea(320.24, 13.5) 85 | t.end_fill() 86 | go(-25.35, -182.58) 87 | arco(307.87, 31.6, 90) 88 | arco(315, 31.36, 90) 89 | 90 | t.fillcolor("Black") 91 | go(52.23, -195.28) 92 | t.begin_fill() 93 | arco(200.69, -31.36, 65.69) 94 | arco(217.87, -31.60, 64.11) 95 | arco(258.03, 60.41, 33.22) 96 | arco(291.25, 29.37, 118.55) 97 | arco(49.8, 59.37, 40.84) 98 | t.end_fill() 99 | 100 | t.fillcolor("DeepPink") 101 | t.pencolor("DeepPink") 102 | t.pensize(2) 103 | go(36.67, -228.79) 104 | t.begin_fill() 105 | arco(131.63, 28.03, 94.72) 106 | arco(301.68, 24.5, 114.62) 107 | t.end_fill() 108 | 109 | t.fillcolor("White") 110 | t.pencolor("MidnightBlue") 111 | t.pensize(3) 112 | go(27.99, -194.41) 113 | t.begin_fill() 114 | arco(155.18, -31.36, 20.18) 115 | arco(217.87, -31.6, 21.25) 116 | linea(270, 12.49) 117 | arco(296.68, 10.84, 126.64) 118 | linea(90, 11.54) 119 | t.end_fill() 120 | 121 | t.hideturtle() 122 | turtle.done() -------------------------------------------------------------------------------- /Luffy.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | t.pencolor("black") 12 | t.fillcolor("#F8C471") 13 | 14 | go(174.95, 79.12) 15 | t.begin_fill() 16 | t.seth(92.22) 17 | t.circle(166.67, 172.02) 18 | t.end_fill() 19 | 20 | go(282.64, -19.81) 21 | t.begin_fill() 22 | t.seth(98.73) 23 | t.circle(77.11, 43.92) 24 | t.seth(142.65) 25 | t.circle(517.78, 10.25) 26 | t.seth(155.31) 27 | t.circle(427.02, 45.83) 28 | t.seth(205.68) 29 | t.circle(827.76, 5.76) 30 | t.seth(211.45) 31 | t.circle(119.59, 39.36) 32 | t.seth(261.99) 33 | t.circle(87.85, 68.82) 34 | t.seth(325.22) 35 | t.circle(417.55, 70.47) 36 | t.seth(38.54) 37 | t.circle(100.14, 51.49) 38 | t.end_fill() 39 | 40 | t.fillcolor("#C0392B") 41 | 42 | go(146.08, 91.13) 43 | t.begin_fill() 44 | t.seth(140.88) 45 | t.circle(228.05, 75.35) 46 | t.seth(17.61) 47 | t.circle(-427.02, 38.1) 48 | t.end_fill() 49 | 50 | t.fillcolor("#F5CBA7") 51 | 52 | go(136.72, 23.81) 53 | t.begin_fill() 54 | t.seth(129.53) 55 | t.circle(175.80, 97.43) 56 | t.seth(273.9) 57 | t.circle(945.89, 10.66) 58 | t.seth(284.56) 59 | t.circle(79.53, 34.38) 60 | t.seth(318.94) 61 | t.circle(172.93, 27.87) 62 | t.seth(346.8) 63 | t.circle(31.03, 30.48) 64 | t.seth(17.29) 65 | t.circle(201.46, 24.61) 66 | t.seth(41.9) 67 | t.circle(47.84, 30.6) 68 | t.seth(72.5) 69 | t.circle(720.90, 14.51) 70 | t.end_fill() 71 | 72 | go(121.73, -89.41) 73 | t.begin_fill() 74 | t.seth(256.74) 75 | t.circle(-882.26, 5.02) 76 | t.seth(359.52) 77 | t.circle(38.60, 47.13) 78 | t.seth(46.65) 79 | t.circle(57.22, 57.88) 80 | t.seth(112.74) 81 | t.circle(16.16, 90) 82 | t.end_fill() 83 | 84 | go(-109.76, -96.27) 85 | t.begin_fill() 86 | t.seth(131.34) 87 | t.circle(20.21, 47.29) 88 | t.seth(195.36) 89 | t.circle(20.88, 90) 90 | t.seth(280.18) 91 | t.circle(57.46, 43.42) 92 | t.seth(317.26) 93 | t.circle(42.06, 39.35) 94 | t.seth(112.41) 95 | t.circle(-319.81, 12.34) 96 | t.end_fill() 97 | 98 | t.fillcolor("black") 99 | 100 | go(34.13, -42.54) 101 | t.begin_fill() 102 | t.seth(111.13) 103 | t.circle(422.83, 18.83) 104 | t.seth(263.15) 105 | t.circle(316.64, 20.79) 106 | t.seth(122.35) 107 | t.circle(-173.14, 38.35) 108 | t.seth(242.15) 109 | t.circle(283.75, 28.21) 110 | t.seth(133.87) 111 | t.circle(34.06, 24.9) 112 | t.seth(270) 113 | t.forward(35.66) 114 | t.seth(157.77) 115 | t.circle(-20.24, 52.93) 116 | t.seth(275.5) 117 | t.circle(204.38, 10.83) 118 | t.seth(139.2) 119 | t.circle(-70.44, 8.4) 120 | t.seth(287) 121 | t.circle(-118.09, 9.17) 122 | t.seth(126.45) 123 | t.circle(264.43, 10.28) 124 | t.seth(221.59) 125 | t.circle(-78.11, 23.94) 126 | t.seth(60.7) 127 | t.circle(138.61, 23.31) 128 | t.seth(202.81) 129 | t.circle(-60.36, 33.4) 130 | t.seth(44.33) 131 | t.circle(148.38, 29.19) 132 | t.seth(54.15) 133 | t.circle(-267.44, 5.03) 134 | t.seth(49.96) 135 | t.circle(-175.80, 97.43) 136 | t.seth(311.72) 137 | t.circle(-101.56, 25.25) 138 | t.seth(289.67) 139 | t.circle(95.96, 29.45) 140 | t.seth(195.88) 141 | t.circle(-50.36, 31.76) 142 | t.seth(278.06) 143 | t.circle(174.76, 13.06) 144 | t.seth(169.64) 145 | t.circle(-46.47, 33.62) 146 | t.seth(242.84) 147 | t.circle(-127.09, 22.07) 148 | t.seth(76.93) 149 | t.circle(207.52, 13.22) 150 | t.seth(253.577) 151 | t.circle(-23.15, 36.99) 152 | t.seth(82.95) 153 | t.circle(145.57, 21.16) 154 | t.seth(254.66) 155 | t.circle(-72, 21.75) 156 | t.seth(93.3) 157 | t.circle(218.19, 30.03) 158 | t.seth(277.47) 159 | t.circle(-444.77, 8.97) 160 | t.seth(125.89) 161 | t.circle(-234.11, 15.63) 162 | t.seth(283.73) 163 | t.circle(-240.73, 21.45) 164 | t.end_fill() 165 | 166 | t.fillcolor("white") 167 | 168 | go(97.44, -114.79) 169 | t.begin_fill() 170 | t.seth(197.41) 171 | t.circle(-374.02, 28.96) 172 | t.seth(268.81) 173 | t.circle(71.12, 70.58) 174 | t.seth(339.38) 175 | t.circle(132.11, 43.8) 176 | t.seth(23.18) 177 | t.circle(70.83, 75.18) 178 | t.end_fill() 179 | 180 | t.fillcolor("black") 181 | t.pensize(3) 182 | 183 | # Dientes 184 | go(93.18, -153.11) 185 | t.seth(182.07) 186 | t.forward(87.09) 187 | 188 | go(84.32, -136.40) 189 | t.seth(255.98) 190 | t.forward(25.30) 191 | 192 | go(-16.73, -156.26) 193 | t.seth(187.85) 194 | t.circle(-182.55, 21.09) 195 | 196 | go(-66.02, -162.18) 197 | t.seth(112.43) 198 | t.forward(22.88) 199 | 200 | # Nariz 201 | go(-5.88, -58.98) 202 | t.seth(284.03) 203 | t.circle(-109.74, 23.22) 204 | 205 | go(-5.88, -111.51) 206 | t.seth(282.57) 207 | t.circle(12.33, 54.92) 208 | 209 | go(15.09, -115.73) 210 | t.seth(239.41) 211 | t.circle(-7.26, 36.87) 212 | 213 | go(99.97, -40.25) 214 | t.seth(135) 215 | t.circle(46.38, 90) 216 | 217 | go(-30.28, -40.25) 218 | t.seth(154.96) 219 | t.circle(62.16, 59.47) 220 | 221 | go(58.55, -64.03) 222 | t.seth(194.9) 223 | t.circle(47.54, 27.66) 224 | 225 | go(-31.43, -74.96) 226 | t.seth(128.94) 227 | t.circle(27.14, 56.03) 228 | 229 | go(93.18, -80.91) 230 | t.begin_fill() 231 | t.seth(131.11) 232 | t.circle(36.24, 100.54) 233 | t.seth(28.32) 234 | t.circle(-61.51, 53.88) 235 | t.end_fill() 236 | 237 | go(-31.43, -82.25) 238 | t.begin_fill() 239 | t.seth(124.18) 240 | t.circle(31.66, 122.28) 241 | t.seth(45.9) 242 | t.circle(-42.62, 81.17) 243 | t.end_fill() 244 | 245 | go(96.30, -90.24) 246 | t.seth(212.84) 247 | t.circle(-54.42, 49.82) 248 | 249 | go(90.28, -100.03) 250 | t.seth(118.87) 251 | t.forward(9.16) 252 | 253 | go(69.10, -105.67) 254 | t.seth(105.79) 255 | t.forward(11.82) 256 | 257 | go(-107.54, -117.05) 258 | t.seth(121.52) 259 | t.circle(61.64, 16.99) 260 | t.seth(142.04) 261 | t.circle(9.43, 90) 262 | 263 | go(-107.54, -120.34) 264 | t.seth(137.19) 265 | t.circle(3.54, 180) 266 | t.seth(308.1) 267 | t.circle(50.62, 18.18) 268 | 269 | go(-116.19, -120.53) 270 | t.seth(211.59) 271 | t.circle(9.31, 90) 272 | t.seth(309.02) 273 | t.circle(49.62, 32.91) 274 | 275 | go(137.61, -101.92) 276 | t.seth(114.19) 277 | t.circle(6.90, 141.97) 278 | 279 | go(105.16, -153.11) 280 | t.seth(9.34) 281 | t.circle(29.91, 90) 282 | 283 | go(109.05, -141.04) 284 | t.seth(35.7) 285 | t.circle(48.17, 18.46) 286 | t.seth(61.58) 287 | t.circle(9.65, 90) 288 | 289 | go(-149.12, -118.08) 290 | t.seth(160.22) 291 | t.circle(-148.71, 23.43) 292 | 293 | go(-219.17, -62.41) 294 | t.seth(135) 295 | t.circle(-44.13, 90) 296 | 297 | go(-176.48, 41.5) 298 | t.seth(34.6) 299 | t.circle(-330.54, 17.91) 300 | 301 | go(85.14, 86.03) 302 | t.seth(346.06) 303 | t.circle(-257.06, 23.19) 304 | 305 | go(221.06, 4.39) 306 | t.seth(312.22) 307 | t.circle(-47.29, 90) 308 | 309 | go(204.36, -86.53) 310 | t.seth(222.53) 311 | t.circle(-151.58, 23.44) 312 | 313 | t.hideturtle() 314 | turtle.done() -------------------------------------------------------------------------------- /Melody.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(3) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("HotPink") 21 | go(-25.52, -130.25) 22 | t.begin_fill() 23 | arco(76.17, -277.86, 8.62) 24 | arco(67.56, -17.82, 127.68) 25 | arco(299.88, -264.5, 7.33) 26 | arco(15.15, 109.72, 33.02) 27 | linea(143.4, 37.49) 28 | arco(20.37, 186.05, 24.52) 29 | arco(44.89, 63.09, 60.09) 30 | arco(104.97, 212.95, 23.19) 31 | arco(341.87, 315.63, 10.99) 32 | arco(352.86, 91.56, 37.63) 33 | arco(30.49, 20.47, 88.93) 34 | arco(119.42, 148.67, 30.12) 35 | arco(149.55, 226.87, 30.83) 36 | arco(180.38, 82.87, 33.6) 37 | arco(113.82, 144.49, 37.05) 38 | arco(150.87, 48.29, 58.25) 39 | arco(209.13, 56.79, 35.38) 40 | arco(244.51, 415.36, 19.48) 41 | arco(224.9, 175.93, 16.53) 42 | arco(241.43, 100.13, 83.44) 43 | arco(324.87, 115.17, 33.03) 44 | arco(212.9, -129.14, 18.14) 45 | arco(310.37, 129.83, 54.72) 46 | t.end_fill() 47 | 48 | t.fillcolor("White") 49 | go(-25.52, -130.25) 50 | t.begin_fill() 51 | arco(76.17, -277.86, 8.62) 52 | arco(67.56, -17.82, 127.68) 53 | arco(299.88, -264.5, 7.33) 54 | arco(15.15, 109.72, 7.39) 55 | arco(281.21, -89.69, 42.45) 56 | arco(287.85, -97.33, 31.72) 57 | arco(324.41, -43.29, 42.04) 58 | arco(282.37, -14.35, 92.2) 59 | linea(178.25, 92.65) 60 | linea(217.81, 21.66) 61 | arco(217.81, -14.28, 94.51) 62 | linea(123.3, 93.21) 63 | arco(206.06, -37.97, 228.12) 64 | arco(102.41, -39.32, 63.7) 65 | arco(316.54, 129.83, 48.54) 66 | t.end_fill() 67 | 68 | go(-98.7, -68.57) 69 | t.begin_fill() 70 | arco(12.92, -72.72, 36.46) 71 | linea(336.45, 18.62) 72 | arco(336.45, 22.37, 27.92) 73 | arco(4.37, 303.66, 16.09) 74 | arco(19.43, 133.45, 23.87) 75 | arco(43.31, 37.46, 46.89) 76 | arco(90.19, 32.15, 43.99) 77 | arco(134.18, 88.40, 24.72) 78 | arco(158.9, 187.6, 47.26) 79 | arco(206.16, 106.33, 35.89) 80 | arco(242.05, 27.3, 61.25) 81 | arco(303.3, 105.92, 17.62) 82 | t.end_fill() 83 | 84 | go(-90.55, 191.56) 85 | arco(291.81, 153.77, 30.21) 86 | arco(322.02, 43.63, 22.03) 87 | arco(344.05, 42.42, 120.67) 88 | arco(104.72, 291.32, 9.1) 89 | go(54.02, 136.68) 90 | arco(332.31, 312.34, 9.56) 91 | go(-93.45, -117.85) 92 | linea(223.83, 40.64) 93 | arco(223.83, 56.75, 63.25) 94 | go(-140.14, -134.3) 95 | linea(310.82, 20.76) 96 | go(38.25, -231.38) 97 | arco(157.45, 29.22, 45.81) 98 | go(-48.73, -271.67) 99 | linea(43.1, 78.78) 100 | arco(43.1, 11.07, 76.95) 101 | arco(120.05, 32.39, 90.57) 102 | arco(210.62, 37.19, 27.62) 103 | 104 | t.fillcolor("Black") 105 | go(-77.88, 7.22) 106 | t.begin_fill() 107 | arco(137.7, 8.71, 77.21) 108 | arco(214.91, 29.28, 86.01) 109 | arco(300.92, 12.93, 104.46) 110 | arco(45.38, 28.29, 92.32) 111 | t.end_fill() 112 | 113 | go(80.61, 22.65) 114 | t.begin_fill() 115 | arco(152.81, 10.34, 83.82) 116 | arco(236.63, 27.89, 88.86) 117 | arco(325.48, 12.19, 96.7) 118 | arco(62.18, 27.63, 90.62) 119 | t.end_fill() 120 | 121 | t.fillcolor("Gold") 122 | go(16, -19.21) 123 | t.begin_fill() 124 | arco(144.87, 18.28, 90.39) 125 | arco(235.26, 6.86, 79.2) 126 | arco(314.46, 18.63, 86.61) 127 | arco(41.07, 9.06, 103.81) 128 | t.end_fill() 129 | 130 | go(-21.92, -46.95) 131 | arco(316.59, 32.43, 102.4) 132 | 133 | t.hideturtle() 134 | turtle.done() -------------------------------------------------------------------------------- /Panda.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(4) 4 | 5 | turtle.bgcolor("#FFCCBC") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("black") 13 | t.fillcolor("black") 14 | 15 | go(-98.5,-143.1) 16 | t.begin_fill() 17 | t.seth(199.1) 18 | t.circle(34.3,54.4) 19 | t.seth(253.5) 20 | t.circle(17.7,64.2) 21 | t.seth(317.8) 22 | t.circle(81.9,52.6) 23 | t.seth(10.4) 24 | t.circle(38.7,100.3) 25 | t.end_fill() 26 | 27 | go(-1.9,-152.1) 28 | t.begin_fill() 29 | t.seth(245.8) 30 | t.circle(38.4,113.6) 31 | t.seth(0) 32 | t.circle(102.3,32.9) 33 | t.seth(22.3) 34 | t.circle(24.4,69.8) 35 | t.seth(97.5) 36 | t.circle(37.1,18.4) 37 | t.end_fill() 38 | 39 | t.pencolor("#EEEEEE") 40 | t.fillcolor("white") 41 | 42 | go(-126,-29.2) 43 | t.begin_fill() 44 | t.seth(217.1) 45 | t.circle(66.4,67.2) 46 | t.seth(284.4) 47 | t.circle(82.4,60.8) 48 | t.seth(345.3) 49 | t.circle(371.5,24.1) 50 | t.seth(9.4) 51 | t.circle(108.4,58.5) 52 | t.seth(68) 53 | t.circle(54.8,93.1) 54 | t.end_fill() 55 | 56 | t.pencolor("black") 57 | t.fillcolor("black") 58 | 59 | go(-116.8,38.1) 60 | t.begin_fill() 61 | t.seth(196.3) 62 | t.circle(100,77.2) 63 | t.seth(273.5) 64 | t.circle(23,134.2) 65 | t.seth(47.8) 66 | t.circle(-134,28.8) 67 | t.seth(18.9) 68 | t.circle(-278,42.4) 69 | t.seth(341.5) 70 | t.circle(-136.6,23.2) 71 | t.seth(318.2) 72 | t.circle(18.4,125.9) 73 | t.seth(79) 74 | t.circle(91.3,91.4) 75 | t.end_fill() 76 | 77 | go(-70.8,235.7) 78 | t.begin_fill() 79 | t.seth(94.5) 80 | t.circle(34.7,81.9) 81 | t.seth(176.4) 82 | t.circle(62.4,87) 83 | t.seth(263.5) 84 | t.circle(31.5,88.7) 85 | t.end_fill() 86 | 87 | go(130.9,189.1) 88 | t.begin_fill() 89 | t.seth(14.7) 90 | t.circle(35.1,91.7) 91 | t.seth(106.4) 92 | t.circle(63.3,74.1) 93 | t.seth(180) 94 | t.circle(43.4,69.4) 95 | t.end_fill() 96 | 97 | t.pencolor("#EEEEEE") 98 | t.fillcolor("white") 99 | 100 | go(0,0) 101 | t.begin_fill() 102 | t.seth(6.1) 103 | t.circle(561.8,12.6) 104 | t.seth(18.8) 105 | t.circle(80.2,64.6) 106 | t.seth(83.5) 107 | t.circle(153.2,82.1) 108 | t.seth(165.6) 109 | t.circle(214,57.2) 110 | t.seth(222.9) 111 | t.circle(122,64.9) 112 | t.seth(287.8) 113 | t.circle(114.4,54.9) 114 | t.seth(345.9) 115 | t.circle(257,23.3) 116 | t.end_fill() 117 | 118 | t.pencolor("black") 119 | t.fillcolor("black") 120 | 121 | go(71.2,91.4) 122 | t.begin_fill() 123 | t.seth(8.4) 124 | t.circle(23.7,76.1) 125 | t.seth(84.6) 126 | t.circle(80.1,10.3) 127 | t.seth(94.9) 128 | t.circle(46.6,72.7) 129 | t.seth(167.6) 130 | t.circle(22.7,71.6) 131 | t.seth(239.2) 132 | t.circle(44.1,124.2) 133 | t.end_fill() 134 | 135 | go(-65.5,84.9) 136 | t.begin_fill() 137 | t.seth(8.4) 138 | t.circle(43.9,107.5) 139 | t.seth(115.9) 140 | t.circle(27.3,70) 141 | t.seth(195.7) 142 | t.circle(48.9,78.3) 143 | t.seth(277) 144 | t.circle(47,20) 145 | t.seth(300) 146 | t.circle(25.4,78) 147 | t.end_fill() 148 | 149 | go(18.5,89.7) 150 | t.begin_fill() 151 | t.seth(44.9) 152 | t.circle(3.5,92.6) 153 | t.seth(137.5) 154 | t.circle(25,50.4) 155 | t.seth(188) 156 | t.circle(27,39.5) 157 | t.seth(227.5) 158 | t.circle(3.4,109.6) 159 | t.seth(337.2) 160 | t.circle(47.1,27.3) 161 | t.seth(4.5) 162 | t.circle(21.5,40.3) 163 | t.end_fill() 164 | 165 | t.pensize(6) 166 | go(0,94.6) 167 | t.goto(0,75) 168 | 169 | go(0,75) 170 | t.seth(270) 171 | t.circle(14,170) 172 | 173 | go(0,75) 174 | t.seth(270) 175 | t.circle(-14,170) 176 | 177 | t.pencolor("white") 178 | t.fillcolor("white") 179 | 180 | go(55.3,140.9) 181 | t.begin_fill() 182 | t.seth(90) 183 | t.circle(7.4) 184 | t.end_fill() 185 | 186 | go(-45.12,136.4) 187 | t.begin_fill() 188 | t.seth(90) 189 | t.circle(7.4) 190 | t.end_fill() 191 | 192 | t.pencolor("#F06292") 193 | t.fillcolor("#F06292") 194 | 195 | go(102,78) 196 | t.begin_fill() 197 | t.seth(90) 198 | t.circle(15) 199 | t.end_fill() 200 | 201 | go(-80.3,74) 202 | t.begin_fill() 203 | t.seth(90) 204 | t.circle(15) 205 | t.end_fill() 206 | 207 | t.hideturtle() -------------------------------------------------------------------------------- /Pingüino.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(6) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("Red") 21 | go(0.66, -231.64) 22 | t.begin_fill() 23 | arco(11.57, 412.33, 45.78) 24 | arco(57.36, 161.3, 40.3) 25 | arco(97.66, 163.75, 101.18) 26 | arco(198.84, 212.44, 23.33) 27 | arco(138.03, 212.44, 23.33) 28 | arco(161.36, 163.75, 101.18) 29 | arco(262.55, 161.3, 40.3) 30 | arco(302.85, 412.33, 45.78) 31 | t.end_fill() 32 | 33 | t.fillcolor("SlateGray") 34 | go(0, 147.93) 35 | t.begin_fill() 36 | arco(138.03, 212.44, 23.33) 37 | arco(161.36, 163.75, 16.4) 38 | arco(55.87, 18.22, 170.11) 39 | arco(225.98, 35.76, 49.96) 40 | arco(106.44, 32.99, 60.7) 41 | arco(170.63, 16.8, 166.59) 42 | arco(204.2, 163.75, 58.35) 43 | arco(262.55, 161.3, 40.3) 44 | arco(302.85, 412.33, 45.78) 45 | arco(11.57, 412.33, 9.39) 46 | arco(112.22, 373.48, 10.64) 47 | arco(2.69, 16.66, 103.38) 48 | arco(106.08, 49.03, 29.74) 49 | arco(135.82, 185.2, 21.85) 50 | arco(14.11, 85.48, 60.34) 51 | arco(74.45, 75.9, 46.18) 52 | arco(91.76, 193.82, 31) 53 | t.end_fill() 54 | 55 | t.pensize(1) 56 | t.fillcolor("White") 57 | t.pencolor("White") 58 | go(0.66, -231.64) 59 | t.begin_fill() 60 | arco(11.57, 412.33, 9.39) 61 | arco(112.22, 373.48, 10.64) 62 | arco(176.71, 139.48, 17.25) 63 | arco(193.96, -69.26, 7.91) 64 | arco(186.06, -11.52, 110.92) 65 | arco(75.14, -41.74, 64) 66 | arco(125.64, 510.91, 5.77) 67 | arco(11.56, 90.28, 61.4) 68 | arco(74.45, 75.9, 46.18) 69 | arco(93.77, 155.36, 20.58) 70 | arco(114.35, 68.9, 54.04) 71 | arco(168.39, 33.21, 55.08) 72 | arco(223.47, 36.34, 36.71) 73 | arco(260.18, 49.85, 21.06) 74 | linea(281.24, 36.94) 75 | arco(281.24, -23.23, 184.27) 76 | arco(96.97, 183.33, 14.94) 77 | arco(111.91, 40.56, 78.9) 78 | arco(190.81, 191.74, 3.96) 79 | arco(194.76, 81.42, 60.66) 80 | arco(255.42, 151.49, 10.74) 81 | arco(266.16, 156.36, 30.9) 82 | arco(297.06, 83.36, 50.88) 83 | linea(282.4, 35.38) 84 | arco(306.25, 71.47, 20.35) 85 | arco(326.61, 46.37, 53.26) 86 | arco(19.87, -122.32, 21.08) 87 | arco(358.78, -30.98, 48.2) 88 | arco(310.59, -7.5, 102.07) 89 | arco(208.52, 196.51, 10.98) 90 | arco(219.5, -71.52, 21.85) 91 | arco(333.39, 427.15, 13.3) 92 | t.end_fill() 93 | 94 | t.pensize(5) 95 | t.pencolor("Black") 96 | go(-120.12, 199.74) 97 | arco(223.72, -65.19, 21.3) 98 | go(-193.61, 185.48) 99 | arco(333.14, 53.04, 19.96) 100 | go(-264.44, -51.04) 101 | arco(309.73, 120.03, 60.82) 102 | go(-49.68, -78.55) 103 | arco(17.15, 1395.2, 1.15) 104 | arco(14.11, 85.48, 60.34) 105 | arco(74.45, 75.9, 44.18) 106 | go(-164.76, -122.72) 107 | arco(303.9, 77.72, 22.25) 108 | arco(327.26, 47.46, 51.95) 109 | arco(19.21, -130.38, 19.77) 110 | arco(359.44, -30.20, 49.52) 111 | arco(309.93, -7.58, 100.75) 112 | arco(209.18, 223.21, 9.67) 113 | arco(218.85, -73.25, 24.92) 114 | go(-14.1, -90.55) 115 | arco(308.69, -510.91, 3.05) 116 | go(-106.61, -194.08) 117 | arco(332.78, 412.33, 15.85) 118 | arco(11.57, 412.33, 9.39) 119 | arco(112.22, 373.48, 10.64) 120 | arco(176.71, 139.48, 17.25) 121 | arco(193.96, -69.26, 7.91) 122 | arco(186.06, -11.52, 110.92) 123 | arco(75.14, -41.85, 77.15) 124 | 125 | t.fillcolor("Black") 126 | go(-183.2, 19.76) 127 | t.begin_fill() 128 | arco(58.22, -83.68, 19.43) 129 | arco(38.79, -28.63, 106.21) 130 | arco(90.39, 28.11, 113.13) 131 | arco(203.52, 39.55, 65.25) 132 | t.end_fill() 133 | 134 | go(-48.39, 42.96) 135 | t.begin_fill() 136 | arco(86.03, -24.18, 115.67) 137 | arco(330.37, -64.71, 18.81) 138 | arco(101.99, 37.99, 4.74) 139 | arco(106.73, 35.49, 55.84) 140 | arco(162.56, 23.61, 133.02) 141 | t.end_fill() 142 | 143 | go(-110.08, 25.66) 144 | t.begin_fill() 145 | arco(284.53, 68.99, 33.95) 146 | arco(318.47, 16.44, 100.05) 147 | arco(56.38, 60.06, 33.62) 148 | arco(201.14, -88.67, 36.03) 149 | t.end_fill() 150 | 151 | t.fillcolor("Gold") 152 | go(-110.08, 25.66) 153 | t.begin_fill() 154 | arco(75.13, -36.12, 134) 155 | arco(211.92, -82.46, 47.56) 156 | t.end_fill() 157 | 158 | t.pensize(3) 159 | t.fillcolor("LightYellow") 160 | t.pencolor("LightYellow") 161 | go(-64.53, 41.57) 162 | t.begin_fill() 163 | arco(206.12, -44.09, 38.79) 164 | arco(42.88, -24.81, 72.32) 165 | t.end_fill() 166 | 167 | t.fillcolor("LightPink") 168 | t.pencolor("LightPink") 169 | go(-61.76, 6.56) 170 | t.begin_fill() 171 | arco(136.6, 10.6, 102.17) 172 | arco(149.93, 13.41, 75.57) 173 | arco(299.93, 26.42, 36.23) 174 | arco(336.15, 11.73, 59.04) 175 | arco(35.19, 21.71, 45.56) 176 | t.end_fill() 177 | 178 | go(-181.51, -11.5) 179 | t.begin_fill() 180 | arco(146.4, 22.13, 74.39) 181 | arco(220.8, 9.59, 115.75) 182 | arco(336.55, 22.13, 74.41) 183 | arco(50.96, 7.78, 95.44) 184 | t.end_fill() 185 | 186 | go(35, 26.51) 187 | t.begin_fill() 188 | arco(164.19, 18.92, 74.06) 189 | arco(238.25, 6.69, 79.79) 190 | arco(318.04, 19.87, 66.72) 191 | arco(84.5, 57.6, 20.06) 192 | t.end_fill() 193 | 194 | t.pensize(5) 195 | t.pencolor("Black") 196 | go(-75.17, 0.57) 197 | arco(110.18, 7.93, 35.18) 198 | 199 | t.hideturtle() 200 | turtle.done() -------------------------------------------------------------------------------- /Pochacco.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(5) 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | def arco(direc, radio, ang): 12 | t.seth(direc) 13 | t.circle(radio, ang) 14 | 15 | t.fillcolor("#d7006e") 16 | 17 | go(71.43, -75.53) 18 | t.begin_fill() 19 | arco(218.41, -95.41, 133.03) 20 | arco(163.42, 73.32, 63.95) 21 | arco(264.06, 110.29, 38.62) 22 | arco(223.18, 171.54, 25.43) 23 | arco(3.04, -480.16, 31.01) 24 | arco(84.11, 111.46, 19.1) 25 | arco(0, 74.12, 41.43) 26 | arco(86.01, 73.09, 69.55) 27 | t.end_fill() 28 | 29 | go(-108.67, -63.93) 30 | arco(208.03, 171.54, 60.09) 31 | go(46.52, -122.52) 32 | arco(304.42, -119.98, 48.99) 33 | go(-219.07, -220.52) 34 | arco(197.84, 42, 56.12) 35 | arco(253.95, 18.76, 94.06) 36 | arco(348.01, 165.21, 27.71) 37 | arco(15.72, 30.29, 88.54) 38 | arco(323.1, 142.82, 55.88) 39 | arco(239.47, 13.59, 116.43) 40 | arco(355.9, 610.76, 8.21) 41 | arco(4.1, 20.01, 132.49) 42 | arco(136.59, 59.53, 34.72) 43 | 44 | go(71.43, -75.53) 45 | arco(335.56, -73.09, 69.55) 46 | arco(22.05, 220.02, 9.24) 47 | arco(31.29, 25.52, 117.42) 48 | arco(148.71, 100.33, 44.1) 49 | 50 | go(-82.95, 6.93) 51 | arco(91.13, 78.05, 44.99) 52 | arco(136.12, 27.39, 115.98) 53 | arco(252.1, 146.75, 25.3) 54 | 55 | t.fillcolor("White") 56 | go(-5.81, -69.42) 57 | t.begin_fill() 58 | arco(327.85, 123.69, 53.63) 59 | arco(21.48, 23.78, 98.32) 60 | t.end_fill() 61 | 62 | go(-37.47, -59.21) 63 | t.begin_fill() 64 | arco(155.4, -138.25, 44.37) 65 | arco(111.03, -26.92, 102.07) 66 | t.end_fill() 67 | 68 | go(67.11, 176.12) 69 | arco(164.11, 106.15, 74.14) 70 | arco(238.25, 250.43, 16.06) 71 | 72 | go(128.64, -22.54) 73 | arco(51.18, 160.03, 32.48) 74 | arco(83.66, 92.95, 46.99) 75 | 76 | t.fillcolor("Black") 77 | go(15.25, 177.7) 78 | t.begin_fill() 79 | arco(63.5, -89.73, 24.41) 80 | arco(39.08, 97.43, 54.71) 81 | arco(180.36, 66.65, 57.91) 82 | arco(239.73, 175.8, 30.27) 83 | arco(25.54, -106.15, 13.13) 84 | t.end_fill() 85 | 86 | go(160.31, 43.66) 87 | t.begin_fill() 88 | arco(304.71, 401.98, 12.31) 89 | arco(317.02, 43.38, 63.45) 90 | arco(96.9, 83.23, 63.88) 91 | arco(160.78, -180.93, 15.25) 92 | arco(263.66, -160.03, 5.97) 93 | t.end_fill() 94 | 95 | t.pensize(3) 96 | go(-2.07, -7.15) 97 | t.begin_fill() 98 | arco(304.97, 23.25, 34.41) 99 | arco(339.38, 9.87, 141.06) 100 | arco(120.44, 15.14, 86.76) 101 | arco(207.2, 7.93, 97.76) 102 | t.end_fill() 103 | 104 | go(-33.57, 26.12) 105 | t.begin_fill() 106 | arco(34.26, 19.91, 50.15) 107 | arco(84.41, 9.45, 147.99) 108 | arco(232.4, 26.02, 33.31) 109 | arco(269.47, 8.71, 124.79) 110 | t.end_fill() 111 | 112 | go(57.61, -21.18) 113 | t.begin_fill() 114 | arco(283.82, 7.87, 123.19) 115 | arco(47.01, 33.55, 24.48) 116 | arco(71.49, 8.12, 127.61) 117 | arco(199.1, 16.04, 84.72) 118 | t.end_fill() 119 | 120 | go(86.02, 173.87) 121 | t.begin_fill() 122 | t.seth(45) 123 | t.forward(6.92) 124 | t.seth(109.25) 125 | t.forward(19.78) 126 | arco(156.63, 24.12, 46.73) 127 | arco(317.04, -159.47, 11.3) 128 | t.end_fill() 129 | 130 | go(105.27, 177.13) 131 | t.begin_fill() 132 | t.seth(19.27) 133 | t.forward(4.94) 134 | t.seth(82.71) 135 | t.forward(18.83) 136 | arco(130.38, 21.04, 48.74) 137 | t.seth(287.34) 138 | t.forward(29.03) 139 | t.end_fill() 140 | 141 | go(148.23, 166.26) 142 | t.begin_fill() 143 | t.seth(192.06) 144 | t.forward(28.61) 145 | t.seth(302.15) 146 | t.forward(11.23) 147 | arco(8.15, -57.22, 38.1) 148 | arco(78.05, 19.02, 90) 149 | t.end_fill() 150 | 151 | t.hideturtle() 152 | turtle.done() -------------------------------------------------------------------------------- /Pucca.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(3) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | t.pencolor("Black") 13 | t.fillcolor("Black") 14 | go(146.75, 61.41) 15 | t.begin_fill() 16 | t.seth(116.22) 17 | t.circle(223.74, 55.25) 18 | t.seth(69.37) 19 | t.circle(70.50, 195.81) 20 | t.seth(264.94) 21 | t.circle(71.50, 46.5) 22 | t.seth(210.88) 23 | t.circle(125.94, 105.88) 24 | t.seth(316.76) 25 | t.circle(326.73, 33.75) 26 | t.seth(350.51) 27 | t.circle(143.90, 69.11) 28 | t.seth(59.62) 29 | t.circle(-9.14, 88.4) 30 | t.seth(331.22) 31 | t.circle(70.07, 129.45) 32 | t.seth(100.67) 33 | t.circle(73.39, 125.37) 34 | t.end_fill() 35 | 36 | t.fillcolor("Red") 37 | go(-143.73, -53.76) 38 | t.begin_fill() 39 | t.seth(242.3) 40 | t.forward(80.81) 41 | t.seth(292.77) 42 | t.circle(120.52, 120.33) 43 | t.seth(121.55) 44 | t.forward(33.01) 45 | t.seth(170.51) 46 | t.circle(-326.73, 29.72) 47 | t.end_fill() 48 | 49 | go(-43.78, 185.89) 50 | t.begin_fill() 51 | t.seth(148.07) 52 | t.circle(60.99, 90) 53 | t.seth(28.74) 54 | t.circle(-159.63, 31.35) 55 | t.end_fill() 56 | 57 | go(151.88, 41.57) 58 | t.begin_fill() 59 | t.seth(298.74) 60 | t.circle(-118.8, 41.6) 61 | t.seth(40.3) 62 | t.circle(50.13, 114.6) 63 | t.end_fill() 64 | 65 | go(-87.36, -90.78) 66 | t.begin_fill() 67 | t.seth(152.63) 68 | t.circle(-326.73, 8.65) 69 | t.seth(230.19) 70 | t.circle(46.39, 44.18) 71 | t.seth(274.38) 72 | t.circle(191.01, 20.76) 73 | t.seth(15.37) 74 | t.forward(60.13) 75 | t.seth(99.2) 76 | t.circle(145.01, 24.85) 77 | t.end_fill() 78 | 79 | go(-40.21, -110.67) 80 | t.begin_fill() 81 | t.seth(235.38) 82 | t.circle(101.83, 32.48) 83 | t.seth(343.4) 84 | t.forward(48.03) 85 | t.seth(53.77) 86 | t.circle(87.43, 39.27) 87 | t.seth(169.74) 88 | t.circle(-326.73, 8.12) 89 | t.end_fill() 90 | 91 | t.fillcolor("Black") 92 | go(-67.36, -199.14) 93 | t.begin_fill() 94 | t.seth(181.34) 95 | t.circle(-120.52, 39.02) 96 | t.seth(291.91) 97 | t.forward(80.35) 98 | t.seth(291.91) 99 | t.circle(30.85, 180.21) 100 | t.seth(112.13) 101 | t.forward(28.39) 102 | t.end_fill() 103 | 104 | go(7.85, -170.51) 105 | t.begin_fill() 106 | t.seth(220.35) 107 | t.circle(-120.52, 31.39) 108 | t.seth(302.04) 109 | t.forward(68.19) 110 | t.seth(302.04) 111 | t.circle(31.25, 177.94) 112 | t.seth(119.98) 113 | t.forward(60.97) 114 | t.end_fill() 115 | 116 | t.fillcolor("#f5cba7") 117 | go(-76.42, -152.09) 118 | t.begin_fill() 119 | t.seth(195.37) 120 | t.forward(36.27) 121 | t.seth(285.37) 122 | t.circle(18.13, 180) 123 | t.end_fill() 124 | 125 | go(-17.33, -176.89) 126 | t.begin_fill() 127 | t.seth(163.4) 128 | t.forward(36.20) 129 | t.seth(253.4) 130 | t.circle(18.03, 180) 131 | t.end_fill() 132 | 133 | go(112.48, 42.15) 134 | t.begin_fill() 135 | t.seth(124.34) 136 | t.circle(239.53, 36.71) 137 | t.seth(161.05) 138 | t.circle(152.34, 31.22) 139 | t.seth(192.26) 140 | t.circle(139.94, 24.86) 141 | t.seth(217.12) 142 | t.circle(90.49, 13.36) 143 | t.seth(230.49) 144 | t.circle(96.48, 90.95) 145 | t.seth(321.44) 146 | t.circle(383.96, 24.82) 147 | t.seth(346.26) 148 | t.circle(103.17, 60.96) 149 | t.seth(47.23) 150 | t.circle(98.89, 77.11) 151 | t.end_fill() 152 | 153 | t.pensize(5) 154 | go(-35.83, -45.75) 155 | t.seth(247.15) 156 | t.circle(-16.08, 180) 157 | go(99.59, -45.75) 158 | t.seth(171.63) 159 | t.forward(85.77) 160 | go(-88.47, 15.35) 161 | t.seth(138.78) 162 | t.forward(84.45) 163 | go(-65.48, 115.57) 164 | t.seth(137.36) 165 | t.circle(78.33, 54.71) 166 | go(135.99, 15.35) 167 | t.seth(123.84) 168 | t.circle(69.07, 55.73) 169 | 170 | t.pencolor("Crimson") 171 | t.fillcolor("Red") 172 | go(122.21, 155.92) 173 | t.begin_fill() 174 | t.seth(355.15) 175 | t.circle(131.59, 30.77) 176 | t.seth(25.92) 177 | t.circle(37.49, 130.38) 178 | t.seth(156.29) 179 | t.circle(30.96, 66.92) 180 | t.seth(88.45) 181 | t.circle(30.96, 66.92) 182 | t.seth(155.37) 183 | t.circle(37.49, 130.38) 184 | t.seth(285.74) 185 | t.circle(131.59, 30.77) 186 | t.end_fill() 187 | 188 | t.pensize(3) 189 | t.fillcolor("#ffab91") 190 | t.pencolor("#ffab91") 191 | go(-122.43, -6.65) 192 | t.begin_fill() 193 | t.seth(90) 194 | t.circle(15.5) 195 | go(49.75, -86.10) 196 | t.seth(90) 197 | t.circle(31.96/2) 198 | t.end_fill() 199 | 200 | t.hideturtle() 201 | turtle.done() -------------------------------------------------------------------------------- /Python.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | s = turtle.Screen() 4 | s.screensize(1000,1500) 5 | 6 | t.speed(5) 7 | t.width(4) 8 | t.up() 9 | t.goto(-100, 50) 10 | t.down() 11 | 12 | def face(rad, x, y, h, color): 13 | t.up() 14 | t.goto(x, y) 15 | t.down() 16 | t.seth(h) 17 | t.begin_fill() 18 | t.fillcolor(color) 19 | for i in range(2): 20 | t.circle(rad, 90) 21 | t.circle(rad//2, 90) 22 | t.end_fill() 23 | 24 | face(150, -100, 50, -45, "white") 25 | face(40, -80, 70, 10, "black") 26 | face(40, 115, 90, 80, "black") 27 | t.color("white") 28 | face(10, -60, 100, 10, "white") 29 | face(10, 80, 110, 80, "white") 30 | t.color("pink") 31 | face(15, -80, 50, -45, "pink") 32 | face(15, 75, 50, -45, "pink") 33 | 34 | t.up() 35 | t.goto(0, 55) 36 | t.down() 37 | t.color("red") 38 | t.begin_fill() 39 | t.fillcolor("red") 40 | t.seth(-100) 41 | t.circle(10, 200) 42 | t.end_fill() 43 | 44 | t.color("black") 45 | 46 | def lips(a, b): 47 | t.up() 48 | t.goto(10, 60) 49 | t.down() 50 | t.seth(a) 51 | t.circle(b, 100) 52 | lips(-45, 40) 53 | lips(-135, -40) 54 | 55 | def teeth(x, y, a, b): 56 | t.up() 57 | t.goto(x, y) 58 | t.down() 59 | t.begin_fill() 60 | t.fillcolor("black") 61 | t.seth(0) 62 | t.rt(60) 63 | t.fd(a) 64 | t.lt(130) 65 | t.fd(b) 66 | t.end_fill() 67 | 68 | teeth(-40, 55, 30, 20) 69 | teeth(40, 46, 20, 30) 70 | 71 | t.up() 72 | t.goto(-80, 30) 73 | t.down() 74 | t.seth(-90) 75 | t.circle(400, 50) 76 | t.circle(100, 50) 77 | t.forward(100) 78 | t.circle(100, 70) 79 | t.fd(20) 80 | t.circle(80, 90) 81 | t.fd(170) 82 | 83 | t.up() 84 | t.goto(85, -290) 85 | t.down() 86 | t.circle(-80, 10) 87 | t.fd(120) 88 | t.circle(-80, 10) 89 | t.fd(60) 90 | t.circle(-80, 10) 91 | t.fd(70) 92 | t.circle(-80, 70) 93 | t.fd(30) 94 | t.circle(-80, 90) 95 | 96 | t.up() 97 | t.goto(85, -10) 98 | t.down() 99 | t.circle(-80, 20) 100 | t.fd(10) 101 | t.circle(100, 50) 102 | t.fd(120) 103 | t.circle(-100, 100) 104 | t.fd(10) 105 | t.circle(-100, 105) 106 | 107 | t.up() 108 | t.goto(340, -30) 109 | t.down() 110 | t.circle(-100, 20) 111 | t.circle(200, 30) 112 | t.fd(30) 113 | t.circle(200, 20) 114 | t.fd(25) 115 | 116 | t.up() 117 | t.goto(280, 0) 118 | t.down() 119 | t.rt(50) 120 | t.circle(-100, 100) 121 | t.rt(150) 122 | t.circle(100, 70) 123 | t.fd(30) 124 | t.circle(-100, 45) 125 | 126 | t.up() 127 | t.goto(85, 30) 128 | t.down() 129 | t.seth(-90) 130 | t.circle(400, 30) 131 | t.color("black") 132 | t.begin_fill() 133 | t.lt(30) 134 | t.circle(100, 30) 135 | t.lt(150) 136 | t.circle(80, 30) 137 | t.end_fill() 138 | 139 | def pattern(x, y, h): 140 | t.up() 141 | t.goto(x, y) 142 | t.seth(h) 143 | t.down() 144 | t.begin_fill() 145 | t.color("yellow") 146 | t.fillcolor("yellow") 147 | t.fd(5) 148 | t.circle(100, 30) 149 | t.lt(30) 150 | t.circle(50, 70) 151 | t.circle(-50, 30) 152 | t.lt(90) 153 | t.circle(50, 50) 154 | t.fd(32) 155 | t.end_fill() 156 | pattern(30, -130, 0) 157 | pattern(-70, -190, 55) 158 | pattern(130, -200, -120) 159 | pattern(380, -130, 70) 160 | 161 | def leaf(x, y, r, h): 162 | t.up() 163 | t.goto(x, y) 164 | t.down() 165 | t.seth(h) 166 | t.begin_fill() 167 | t.fillcolor("yellow") 168 | t.circle(r, 90) 169 | t.lt(90) 170 | t.circle(r, 90) 171 | t.end_fill() 172 | leaf(330, -10, 50, 90) 173 | leaf(220, 0, 40, 140) 174 | leaf(220, -10, 20, 90) 175 | leaf(320, -140, 70, -160) 176 | leaf(-130, -10, 50, -160) 177 | leaf(10, -200, 50, -70) 178 | leaf(10, 185, 40, -160) 179 | leaf(10, 193, 40, 160) 180 | 181 | def oval(x, y, rad, h): 182 | t.up() 183 | t.goto(x, y) 184 | t.down() 185 | t.seth(h) 186 | t.begin_fill() 187 | t.fillcolor("yellow") 188 | for i in range(2): 189 | t.circle(rad, 90) 190 | t.circle(rad//2, 90) 191 | t.end_fill() 192 | oval(-50, -40, 18, 0) 193 | oval(250, -60, 10, -45) 194 | oval(200, -130, 15, 60) 195 | oval(220, -150, 20, -60) 196 | oval(370, -200, 15, 60) 197 | oval(30, 130, 15, -20) 198 | oval(250, 90, 10, -160) 199 | 200 | t.hideturtle() 201 | -------------------------------------------------------------------------------- /Santa Claus.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(5) 4 | 5 | turtle.bgcolor("black") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("#B71C1C") 13 | t.fillcolor("#FF0000") 14 | 15 | go(-140, 105) 16 | 17 | t.begin_fill() 18 | t.goto(-75, 210) 19 | t.goto(0,262.5) 20 | t.goto(75, 210) 21 | t.goto(140, 105) 22 | t.end_fill() 23 | 24 | t.pencolor("#F5CBA7") 25 | t.fillcolor("#F5CBA7") 26 | 27 | go(-157.5, 87.5) 28 | 29 | t.begin_fill() 30 | t.goto(157.5, 87.5) 31 | t.goto(157.5, -35) 32 | t.goto(-157.5, -35) 33 | t.end_fill() 34 | 35 | t.pencolor("#1C2833") 36 | t.fillcolor("#1C2833") 37 | 38 | go(-85, 18) 39 | 40 | t.begin_fill() 41 | t.goto(-85, 35) 42 | t.seth(90) 43 | t.circle(-12, 180) 44 | t.goto(-61, 18) 45 | t.seth(270) 46 | t.circle(-12, 180) 47 | t.end_fill() 48 | 49 | go(85, 18) 50 | 51 | t.begin_fill() 52 | t.goto(85, 35) 53 | t.seth(90) 54 | t.circle(12, 180) 55 | t.goto(61, 18) 56 | t.seth(270) 57 | t.circle(12, 180) 58 | t.end_fill() 59 | 60 | t.pencolor("#BDC3C7") 61 | t.fillcolor("#ECF0F1") 62 | 63 | go(0, 0) 64 | 65 | t.begin_fill() 66 | t.goto(-52.5, 0) 67 | t.goto(-105, -11.5) 68 | t.goto(-157.5, 35) 69 | t.goto(-175, 0) 70 | t.goto(-157.5, -70) 71 | t.goto(-140, -70) 72 | t.goto(-140, -105) 73 | t.goto(-122.5, -140) 74 | t.goto(-105, -140) 75 | t.goto(-55, -180.5) 76 | t.goto(55, -180.5) 77 | t.goto(105, -140) 78 | t.goto(122.5, -140) 79 | t.goto(140, -105) 80 | t.goto(140, -70) 81 | t.goto(157.5, -70) 82 | t.goto(175, 0) 83 | t.goto(157.5, 35) 84 | t.goto(105, -11.5) 85 | t.goto(52.5, 0) 86 | t.goto(0, 0) 87 | t.end_fill() 88 | 89 | go(-105, 70) 90 | 91 | t.begin_fill() 92 | t.goto(-105, 58) 93 | t.goto(-35, 75.5) 94 | t.goto(-35, 87.5) 95 | t.goto(-105, 70) 96 | t.end_fill() 97 | 98 | go(105, 70) 99 | 100 | t.begin_fill() 101 | t.goto(105, 58) 102 | t.goto(35, 75.5) 103 | t.goto(35, 87.5) 104 | t.goto(105, 70) 105 | t.end_fill() 106 | 107 | t.pencolor("#BDC3C7") 108 | t.fillcolor("#FDFEFE") 109 | 110 | go(0, 280) 111 | 112 | t.begin_fill() 113 | t.goto(0, 245) 114 | t.goto(35, 210) 115 | t.goto(70, 210) 116 | t.goto(105, 245) 117 | t.goto(105, 280) 118 | t.goto(70, 315) 119 | t.goto(35, 315) 120 | t.goto(0, 280) 121 | t.end_fill() 122 | 123 | go(0, 140) 124 | 125 | t.begin_fill() 126 | t.goto(-70, 140) 127 | t.goto(-157.5, 100) 128 | t.goto(-157.5, 35) 129 | t.goto(-105, 70) 130 | t.goto(-35, 87.5) 131 | t.goto(0, 87.5) 132 | t.goto(35, 87.5) 133 | t.goto(105, 70) 134 | t.goto(157.5, 35) 135 | t.goto(157.5, 100) 136 | t.goto(70, 140) 137 | t.goto(0, 140) 138 | t.end_fill() 139 | 140 | t.pencolor("#FDFEFE") 141 | t.fillcolor("#FDFEFE") 142 | 143 | go(80, 35) 144 | 145 | t.begin_fill() 146 | t.circle(5) 147 | t.end_fill() 148 | 149 | go(-70, 35) 150 | 151 | t.begin_fill() 152 | t.circle(5) 153 | t.end_fill() 154 | 155 | t.pencolor("#17202A") 156 | 157 | go(-35, -33.5) 158 | t.goto(-17.5, -50) 159 | t.goto(17.5, -50) 160 | t.goto(35, -33.5) 161 | 162 | t.pencolor("#F39C12") 163 | t.fillcolor("#F8C471") 164 | 165 | go(0, 23) 166 | 167 | t.begin_fill() 168 | t.goto(-17.5, 23) 169 | t.goto(-35, 17.5) 170 | t.goto(-35, 0) 171 | t.goto(0, -17.5) 172 | t.goto(35, 0) 173 | t.goto(35, 17.5) 174 | t.goto(17.5, 23) 175 | t.goto(0, 23) 176 | t.end_fill() 177 | 178 | 179 | -------------------------------------------------------------------------------- /Snoopy.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | go(86.17, 168.35) 13 | t.seth(223.85) 14 | t.circle(92.62, 28.1) 15 | t.seth(251.95) 16 | t.circle(78.38, 51.57) 17 | t.seth(303.52) 18 | t.circle(44.15, 100.97) 19 | t.seth(44.49) 20 | t.circle(80.90, 49.14) 21 | t.seth(93.63) 22 | t.circle(240.24, 28.78) 23 | t.seth(114.62) 24 | t.circle(79.81, 107.71) 25 | t.seth(237.08) 26 | t.circle(-85.50, 55.88) 27 | t.seth(181.2) 28 | t.circle(90.86, 166.53) 29 | t.seth(328.76) 30 | t.circle(75.33, 96.22) 31 | 32 | go(90.27, 62.39) 33 | t.begin_fill() 34 | t.seth(318.45) 35 | t.circle(33.33, 111.44) 36 | t.seth(69.89) 37 | t.circle(119.84, 52.97) 38 | t.seth(160.04) 39 | t.circle(30.13, 69.68) 40 | t.seth(229.72) 41 | t.circle(105.60, 46.4) 42 | t.seth(276.12) 43 | t.circle(48.85, 42.33) 44 | t.end_fill() 45 | 46 | go(-70.61, 123.61) 47 | t.begin_fill() 48 | t.seth(41.27) 49 | t.circle(12.29, 101.84) 50 | t.seth(143.11) 51 | t.circle(31.87, 79.18) 52 | t.seth(222.29) 53 | t.circle(12.84, 105.86) 54 | t.seth(328.15) 55 | t.circle(33.22, 73.12) 56 | t.end_fill() 57 | 58 | def ojos(x, y): 59 | go(x, y) 60 | t.begin_fill() 61 | t.seth(35.39) 62 | t.circle(21.41, 99.61) 63 | t.seth(135) 64 | t.circle(8.24, 84.98) 65 | t.seth(219.98) 66 | t.circle(22.40, 90.52) 67 | t.seth(310.49) 68 | t.circle(8.23, 84.9) 69 | t.end_fill() 70 | 71 | ojos(18.25, 164.85) 72 | ojos(-24.40, 166.22) 73 | 74 | go(30.71, 211.68) 75 | t.begin_fill() 76 | t.seth(124.25) 77 | t.circle(18.61, 69.03) 78 | t.seth(193.28) 79 | t.circle(5.75, 145.59) 80 | t.seth(338.87) 81 | t.circle(7.20, 39.99) 82 | t.seth(18.86) 83 | t.circle(-11.24, 49.7) 84 | t.seth(329.16) 85 | t.circle(7.5, 21.95) 86 | t.seth(351.11) 87 | t.circle(3.47, 133.14) 88 | t.end_fill() 89 | 90 | go(-26.16, 208.37) 91 | t.begin_fill() 92 | t.seth(19.01) 93 | t.circle(5.80, 147.94) 94 | t.seth(166.95) 95 | t.circle(18.12, 74.23) 96 | t.seth(241.18) 97 | t.circle(2.75, 103.17) 98 | t.seth(344.35) 99 | t.circle(5.42, 48.74) 100 | t.seth(33.09) 101 | t.circle(-10.03, 52.11) 102 | t.seth(340.98) 103 | t.circle(8.78, 38.02) 104 | t.end_fill() 105 | 106 | def circulos(x, y, diametro): 107 | go(x, y) 108 | t.begin_fill() 109 | t.seth(90) 110 | t.circle(diametro/2) 111 | t.end_fill() 112 | 113 | t.pensize(1) 114 | t.pencolor("White") 115 | t.fillcolor("White") 116 | circulos(25.89, 181.84, 2.57) 117 | circulos(25.15, 187.62, 5.52) 118 | circulos(-19.85, 181.84, 2.57) 119 | circulos(-20.74, 187.62, 5.52) 120 | 121 | t.pensize(4) 122 | t.pencolor("Black") 123 | t.fillcolor("Red") 124 | go(0, 0) 125 | t.begin_fill() 126 | t.seth(117.4) 127 | t.circle(83.63, 146.91) 128 | t.seth(264.32) 129 | t.circle(136.7, 40.19) 130 | t.seth(304.5) 131 | t.circle(375.86, 27.64) 132 | t.seth(27.86) 133 | t.circle(375.86, 27.64) 134 | t.seth(55.5) 135 | t.circle(136.7, 40.19) 136 | t.seth(95.68) 137 | t.circle(83.63, 146.91) 138 | t.end_fill() 139 | 140 | t.fillcolor("White") 141 | go(107.36, 31.22) 142 | t.begin_fill() 143 | t.seth(219.38) 144 | t.circle(14.02, 145.79) 145 | t.seth(204.18) 146 | t.circle(15.73, 180) 147 | t.seth(219.74) 148 | t.circle(13.97, 97.23) 149 | t.seth(316.97) 150 | t.circle(19.78, 127.65) 151 | t.seth(84.62) 152 | t.circle(67.5, 63.06) 153 | t.seth(147.68) 154 | t.circle(20.97, 71.69) 155 | t.end_fill() 156 | 157 | go(-107.36, 31.22) 158 | t.begin_fill() 159 | t.seth(320.62) 160 | t.circle(-14.02, 145.79) 161 | t.seth(335.82) 162 | t.circle(-15.73, 180) 163 | t.seth(320.26) 164 | t.circle(-13.97, 97.23) 165 | t.seth(223.03) 166 | t.circle(-19.78, 127.65) 167 | t.seth(95.38) 168 | t.circle(-67.5, 63.06) 169 | t.seth(32.32) 170 | t.circle(-20.97, 71.69) 171 | t.end_fill() 172 | 173 | t.color("White") 174 | go(120, -130) 175 | t.write("Te Amo", False, "right", \ 176 | ("Bradley Hand ITC", 55, "bold")) 177 | 178 | t.hideturtle() 179 | turtle.done() -------------------------------------------------------------------------------- /Snowman.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("#f8fcfe") 21 | go(141.16, -167.06) 22 | t.begin_fill() 23 | arco(106.99, 171.94, 136.73) 24 | arco(243.72, 85.76, 90) 25 | arco(334.16, 275.47, 51.67) 26 | arco(25.84, 74.88, 81.15) 27 | t.end_fill() 28 | 29 | go(136.40, 63.04) 30 | t.begin_fill() 31 | arco(117.14, 175.35, 136.8) 32 | arco(253.94, 79.28, 90.96) 33 | arco(344.9, 410.23, 29.72) 34 | arco(14.63, 91.88, 102.51) 35 | t.end_fill() 36 | 37 | t.fillcolor("red") 38 | go(100.23, -58.65) 39 | t.begin_fill() 40 | arco(209.75, -91.88, 15.13) 41 | arco(194.63, -410.23, 29.72) 42 | arco(164.9, -79.28, 23.39) 43 | arco(238.15, 39.84, 90) 44 | arco(335.35, 298.14, 49.3) 45 | arco(28.09, 27.57, 123.83) 46 | t.end_fill() 47 | 48 | go(66.38, -120.41) 49 | t.begin_fill() 50 | arco(197.67, -298.14, 9.06) 51 | arco(290.94, -176.02, 30.75) 52 | arco(260.19, 20.55, 65.56) 53 | arco(344.96, 42.64, 57.5) 54 | arco(42.46, 50.75, 56.51) 55 | arco(98.96, 167.2, 25.69) 56 | t.end_fill() 57 | 58 | t.fillcolor("black") 59 | go(-13.53, -169.16) 60 | t.begin_fill() 61 | t.circle(34.79/2) 62 | t.end_fill() 63 | go(-13.53, -226.31) 64 | t.begin_fill() 65 | t.circle(34.79/2) 66 | t.end_fill() 67 | 68 | t.pencolor("LightPink") 69 | t.fillcolor("LightPink") 70 | go(95.59, -12.09) 71 | t.begin_fill() 72 | t.circle(45.84/2) 73 | t.end_fill() 74 | go(-100.19, -12.09) 75 | t.begin_fill() 76 | t.circle(45.84/2) 77 | t.end_fill() 78 | 79 | t.pencolor("black") 80 | t.fillcolor("black") 81 | go(-6.39, -5.39) 82 | arco(256.11, -20.71, 152.23) 83 | go(76.32, 13.81) 84 | t.begin_fill() 85 | t.circle(68.6/2) 86 | t.end_fill() 87 | go(-59.8, 13.81) 88 | t.begin_fill() 89 | t.circle(67.22/2) 90 | t.end_fill() 91 | 92 | t.pencolor("white") 93 | t.fillcolor("white") 94 | go(-69.38, 20.21) 95 | t.begin_fill() 96 | t.circle(29.1/2) 97 | t.end_fill() 98 | go(-99.05, -2.74) 99 | t.begin_fill() 100 | t.circle(12.87/2) 101 | t.end_fill() 102 | go(47.87, 20.21) 103 | t.begin_fill() 104 | t.circle(27.98/2) 105 | t.end_fill() 106 | go(60.85, -2.74) 107 | t.begin_fill() 108 | t.circle(11.89/2) 109 | t.end_fill() 110 | 111 | t.pencolor("black") 112 | t.fillcolor("white") 113 | go(227.43, 159.97) 114 | t.begin_fill() 115 | arco(6.7, 33.11, 138.77) 116 | arco(121.09, 43.83, 270) 117 | t.end_fill() 118 | 119 | 120 | t.fillcolor("red") 121 | go(136.4, 63.04) 122 | t.begin_fill() 123 | arco(47.24, 93.65, 75.03) 124 | arco(18.07, 76.02, 33.3) 125 | arco(133.71, 250.71, 74.91) 126 | arco(208.62, 165, 87.21) 127 | arco(73.94, -175.35, 136.8) 128 | t.end_fill() 129 | go(146.83, 176.63) 130 | arco(112.27, 134.48, 22.7) 131 | 132 | t.fillcolor("white") 133 | go(146.52, 21.12) 134 | t.begin_fill() 135 | arco(22.31, 58.49, 128.41) 136 | arco(123.02, 133.25, 74.99) 137 | arco(163.19, 165.39, 64.54) 138 | arco(194.47, 68.73, 131.75) 139 | arco(85.99, -92.66, 50.18) 140 | arco(8.45, 172.89, 31.14) 141 | arco(354.18, 115.31, 30.8) 142 | arco(8.56, -95.7, 29.89) 143 | arco(334.95, 109.69, 31.57) 144 | arco(319.39, -134.57, 44.22) 145 | t.end_fill() 146 | 147 | t.hideturtle() 148 | turtle.done() -------------------------------------------------------------------------------- /Stitch.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | t.pencolor("#1F618D") 12 | t.fillcolor("#85C1E9") 13 | 14 | go(19.93, 123.63) 15 | t.begin_fill() 16 | t.seth(35.94) 17 | t.circle(27.63, 28.78) 18 | t.seth(64.72) 19 | t.circle(11.75, 127.06) 20 | t.seth(191.78) 21 | t.circle(41.65, 58.14) 22 | t.seth(183.3) 23 | t.circle(151.04, 48.69) 24 | t.seth(231.99) 25 | t.circle(81.49, 36.67) 26 | t.seth(268.65) 27 | t.circle(180.32, 20.63) 28 | t.seth(309.66) 29 | t.circle(100.17, 44.13) 30 | t.seth(353.79) 31 | t.circle(566.75, 12.77) 32 | t.seth(1.31) 33 | t.circle(117.27, 36.15) 34 | t.seth(53.82) 35 | t.circle(104.48, 91.6) 36 | t.seth(140.75) 37 | t.circle(140.22, 9.48) 38 | t.seth(150.23) 39 | t.circle(150.42, 25.89) 40 | t.end_fill() 41 | 42 | go(134.11, -48.29) 43 | t.begin_fill() 44 | t.seth(347.07) 45 | t.circle(116.04, 39.55) 46 | t.seth(27.44) 47 | t.circle(73.85, 54.58) 48 | t.seth(189.6) 49 | t.circle(-22.87, 49.66) 50 | t.seth(135) 51 | t.circle(-7.05,90) 52 | t.seth(10.75) 53 | t.circle(47.04, 34.12) 54 | t.seth(43.52) 55 | t.circle(12.17, 46.44) 56 | t.seth(86.8) 57 | t.circle(232.05, 11.08) 58 | t.seth(98.76) 59 | t.circle(82.11, 36.02) 60 | t.seth(134.78) 61 | t.circle(34.04, 45.26) 62 | t.seth(180.04) 63 | t.circle(49.43, 97.84) 64 | t.seth(284.9) 65 | t.circle(-118.42, 34.62) 66 | t.seth(243.5) 67 | t.circle(-49.34, 22.17) 68 | t.seth(273.62) 69 | t.circle(-104.48, 34.27) 70 | t.end_fill() 71 | 72 | go(-132.44, -45.58) 73 | t.begin_fill() 74 | t.seth(109.28) 75 | t.circle(-180.32, 17.85) 76 | t.seth(144.32) 77 | t.circle(-49.56, 58.2) 78 | t.seth(90.19) 79 | t.circle(-278, 8.15) 80 | t.seth(83.17) 81 | t.circle(60.58,60.73) 82 | t.seth(153.11) 83 | t.circle(43.72, 71.55) 84 | t.seth(306.29) 85 | t.circle(-67.02, 23.59) 86 | t.seth(274.85) 87 | t.circle(-5.74, 126.69) 88 | t.seth(159.9) 89 | t.circle(-37.31, 27.17) 90 | t.seth(249.69) 91 | t.circle(165.70, 46.51) 92 | t.seth(302.02) 93 | t.circle(81.45, 51.88) 94 | t.seth(345.61) 95 | t.circle(78.87, 35.27) 96 | t.end_fill() 97 | 98 | t.fillcolor("#F8BBD0") 99 | 100 | go(145.82, -19.44) 101 | t.begin_fill() 102 | t.seth(340.22) 103 | t.circle(107.18, 55.33) 104 | t.seth(63.99) 105 | t.circle(73.85, 18.03) 106 | t.seth(189.6) 107 | t.circle(-22.87, 49.66) 108 | t.seth(135) 109 | t.circle(-7.05,90) 110 | t.seth(10.75) 111 | t.circle(47.04, 34.12) 112 | t.seth(43.52) 113 | t.circle(12.17, 46.44) 114 | t.seth(86.8) 115 | t.circle(232.05, 11.08) 116 | t.seth(98.76) 117 | t.circle(82.11, 36.02) 118 | t.seth(134.78) 119 | t.circle(34.04, 45.26) 120 | t.seth(180.04) 121 | t.circle(49.43, 56.81) 122 | t.seth(252.32) 123 | t.circle(56.99, 41.67) 124 | t.seth(302.21) 125 | t.circle(-109.20, 23.72) 126 | t.seth(275.74) 127 | t.circle(-65.07, 75.87) 128 | t.end_fill() 129 | 130 | go(-139.62, -18.46) 131 | t.begin_fill() 132 | t.seth(164.2) 133 | t.circle(-62.17, 71.93) 134 | t.seth(89.38) 135 | t.circle(-86.23, 29.08) 136 | t.seth(60.31) 137 | t.circle(69.26, 37.06) 138 | t.seth(113.54) 139 | t.circle(60.58,30.36) 140 | t.seth(153.11) 141 | t.circle(43.72, 71.55) 142 | t.seth(306.29) 143 | t.circle(-67.02, 23.59) 144 | t.seth(274.85) 145 | t.circle(-5.74, 126.69) 146 | t.seth(159.9) 147 | t.circle(-37.31, 27.17) 148 | t.seth(249.69) 149 | t.circle(165.70, 46.51) 150 | t.seth(327.65) 151 | t.circle(108.45, 55.66) 152 | t.end_fill() 153 | 154 | t.fillcolor("#1976D2") 155 | go(26.67, -40.92) 156 | t.begin_fill() 157 | t.seth(146.98) 158 | t.circle(46.90, 51.87) 159 | t.seth(198.84) 160 | t.circle(29.21, 38.33) 161 | t.seth(237.17) 162 | t.circle(8.23, 87.79) 163 | t.seth(324.96) 164 | t.circle(79.57,19.14) 165 | t.seth(344.1) 166 | t.circle(18.39, 37.03) 167 | t.seth(21.14) 168 | t.circle(97.95, 14.44) 169 | t.seth(35.58) 170 | t.circle(7.23, 63.22) 171 | t.seth(98.79) 172 | t.circle(14.76, 48.19) 173 | t.end_fill() 174 | 175 | t.pensize(1) 176 | t.pencolor("#AED6F1") 177 | t.fillcolor("#AED6F1") 178 | 179 | go(39.35, -46.17) 180 | t.begin_fill() 181 | t.seth(314.15) 182 | t.circle(60.14, 80.99) 183 | t.seth(42.76) 184 | t.circle(63.15, 33.78) 185 | t.seth(76.54) 186 | t.circle(83.08, 35.07) 187 | t.seth(111.6) 188 | t.circle(37.64,19.91) 189 | t.seth(131.52) 190 | t.circle(43.35, 105.62) 191 | t.seth(237.14) 192 | t.circle(115.17, 41.69) 193 | t.end_fill() 194 | 195 | go(-35.74, -44.04) 196 | t.begin_fill() 197 | t.seth(227.26) 198 | t.circle(-61.86, 61.83) 199 | t.seth(160.34) 200 | t.circle(-54.95, 45.27) 201 | t.seth(115.68) 202 | t.circle(-71.15, 62.47) 203 | t.seth(47.63) 204 | t.circle(-39.55,40.27) 205 | t.seth(7.32) 206 | t.circle(-45.55, 61.75) 207 | t.seth(305.58) 208 | t.circle(-104.63, 44.94) 209 | t.end_fill() 210 | 211 | t.pencolor("#1B4F72") 212 | t.fillcolor("#1B4F72") 213 | 214 | go(53.55, -14.46) 215 | t.begin_fill() 216 | t.seth(253.71) 217 | t.circle(89.44, 13.8) 218 | t.seth(267.51) 219 | t.circle(15.41, 67.31) 220 | t.seth(334.82) 221 | t.circle(53.65, 42.39) 222 | t.seth(21.91) 223 | t.circle(13.11,31.26) 224 | t.seth(48.57) 225 | t.circle(23.76, 22.48) 226 | t.seth(71.05) 227 | t.circle(43.09, 41.55) 228 | t.seth(119.9) 229 | t.circle(29.80, 66.39) 230 | t.seth(182.84) 231 | t.circle(26.61, 70.86) 232 | t.end_fill() 233 | 234 | go(-48.17, -20.54) 235 | t.begin_fill() 236 | t.seth(99.5) 237 | t.circle(31.92, 60.54) 238 | t.seth(165.07) 239 | t.circle(32.05, 48.5) 240 | t.seth(217.36) 241 | t.circle(30.35, 35.39) 242 | t.seth(259.82) 243 | t.circle(55.65,32.12) 244 | t.seth(303.83) 245 | t.circle(20.69, 43.5) 246 | t.seth(351.02) 247 | t.circle(58.95, 39.35) 248 | t.seth(42.65) 249 | t.circle(10.30, 43.51) 250 | t.seth(86.16) 251 | t.circle(84.85, 13.34) 252 | t.end_fill() 253 | 254 | t.pencolor("white") 255 | t.fillcolor("white") 256 | 257 | go(54.85, -42.62) 258 | t.begin_fill() 259 | t.seth(293.34) 260 | t.circle(7.49, 36.3) 261 | t.seth(329.64) 262 | t.circle(7.80, 85.94) 263 | t.seth(69.44) 264 | t.circle(4.46, 40.8) 265 | t.seth(122.45) 266 | t.circle(10.53,44.71) 267 | t.seth(171.59) 268 | t.circle(7.24, 48.97) 269 | t.seth(226.08) 270 | t.circle(4.94, 61.19) 271 | t.end_fill() 272 | 273 | go(53.89, -22.73) 274 | t.begin_fill() 275 | t.seth(225) 276 | t.circle(1.71, 90) 277 | t.seth(0.88) 278 | t.circle(-6.99, 90) 279 | t.seth(315) 280 | t.circle(1.91, 90) 281 | t.seth(88.14) 282 | t.circle(-6.69,90) 283 | t.seth(45) 284 | t.circle(2, 90) 285 | t.seth(181.49) 286 | t.circle(-6.73, 90) 287 | t.seth(135) 288 | t.circle(1.91, 90) 289 | t.seth(267.75) 290 | t.circle(-6.83, 90) 291 | t.end_fill() 292 | 293 | go(68.57, -9.74) 294 | t.begin_fill() 295 | t.seth(256.32) 296 | t.circle(10, 36.54) 297 | t.seth(295.12) 298 | t.circle(19.98, 58.18) 299 | t.seth(347.63) 300 | t.circle(16.42, 71.77) 301 | t.seth(72.14) 302 | t.circle(7.94,35.73) 303 | t.seth(104.23) 304 | t.circle(17.86, 54.4) 305 | t.seth(153.75) 306 | t.circle(17.39, 46.94) 307 | t.seth(196.74) 308 | t.circle(15.25, 46.96) 309 | t.end_fill() 310 | 311 | go(-50.61, -41.77) 312 | t.begin_fill() 313 | t.seth(84.74) 314 | t.circle(5.21, 61.17) 315 | t.seth(145.91) 316 | t.circle(6.49, 65.96) 317 | t.seth(206.57) 318 | t.circle(10.02, 36.66) 319 | t.seth(234.92) 320 | t.circle(2.55,90) 321 | t.seth(317.04) 322 | t.circle(8.20, 60.88) 323 | t.seth(15.66) 324 | t.circle(7.41, 56.62) 325 | t.end_fill() 326 | 327 | go(-50.58, -22.73) 328 | t.begin_fill() 329 | t.seth(183.06) 330 | t.circle(-6.57, 90) 331 | t.seth(136.48) 332 | t.circle(1.73, 90) 333 | t.seth(267.69) 334 | t.circle(-6.83, 90) 335 | t.seth(233.6) 336 | t.circle(1.74,90) 337 | t.seth(1.24) 338 | t.circle(-6.59, 90) 339 | t.seth(315) 340 | t.circle(1.73, 90) 341 | t.seth(89.76) 342 | t.circle(-6.88, 90) 343 | t.seth(45) 344 | t.circle(1.71, 90) 345 | t.end_fill() 346 | 347 | go(-64.98, -10.59) 348 | t.begin_fill() 349 | t.seth(103.98) 350 | t.circle(11.58, 56.43) 351 | t.seth(160.41) 352 | t.circle(21.49, 39.85) 353 | t.seth(199.41) 354 | t.circle(19.95, 46.97) 355 | t.seth(242.74) 356 | t.circle(8.72,54.51) 357 | t.seth(307.67) 358 | t.circle(15.61, 47.58) 359 | t.seth(351.78) 360 | t.circle(21.28, 67.28) 361 | t.seth(59.05) 362 | t.circle(9.89, 40.24) 363 | t.end_fill() 364 | 365 | t.pensize(4) 366 | t.pencolor("#1F618D") 367 | 368 | go(125.28, 39.22) 369 | t.seth(131.52) 370 | t.circle(43.35, 101.08) 371 | 372 | go(-56.18, 36.82) 373 | t.seth(130.27) 374 | t.circle(45.50, 57.09) 375 | t.seth(187.36) 376 | t.circle(39.55, 40.27) 377 | 378 | go(19.93, 123.63) 379 | t.seth(160.36) 380 | t.circle(4.73, 21.43) 381 | t.seth(181.79) 382 | t.circle(2.29, 150.33) 383 | t.seth(332.12) 384 | t.circle(-16.06, 5.33) 385 | t.seth(326.79) 386 | t.circle(-7.36, 139.87) 387 | t.seth(186.92) 388 | t.circle(-26.91, 15.76) 389 | t.seth(321.94) 390 | t.circle(-9.73, 16.73) 391 | t.seth(305.21) 392 | t.circle(-6.78, 154.81) 393 | t.seth(150.41) 394 | t.circle(-39.45, 11.19) 395 | 396 | t.pencolor("#F06292") 397 | t.fillcolor("#F06292") 398 | 399 | go(85.91, -73.25) 400 | t.begin_fill() 401 | t.seth(10.39) 402 | t.circle(82.47, 23.98) 403 | t.seth(111.94) 404 | t.circle(18.80, 46.42) 405 | t.seth(158.76) 406 | t.circle(17.81, 118.96) 407 | t.seth(277.71) 408 | t.circle(6.21,52.3) 409 | t.end_fill() 410 | 411 | go(-81.56, -74.25) 412 | t.begin_fill() 413 | t.seth(40.8) 414 | t.circle(13.89, 59.63) 415 | t.seth(117.43) 416 | t.circle(19.66, 92.52) 417 | t.seth(209.96) 418 | t.circle(12.26, 51.17) 419 | t.seth(323.52) 420 | t.circle(67.25,29.43) 421 | t.end_fill() 422 | 423 | t.pencolor("#1F618D") 424 | t.fillcolor("#85C1E9") 425 | 426 | go(46.38, -82.24) 427 | t.begin_fill() 428 | t.seth(185.19) 429 | t.circle(-566.75, 9.7) 430 | t.seth(229.3) 431 | t.circle(59.64, 90) 432 | t.seth(314.02) 433 | t.circle(61.91, 110.48) 434 | t.seth(64.49) 435 | t.circle(60.94,69.18) 436 | t.end_fill() 437 | 438 | t.pensize(1) 439 | t.pencolor("#AED6F1") 440 | t.fillcolor("#AED6F1") 441 | 442 | go(40.61, -84.74) 443 | t.begin_fill() 444 | t.seth(184.6) 445 | t.circle(-566.75, 8.64) 446 | t.seth(232.64) 447 | t.circle(54.80, 90) 448 | t.seth(321.48) 449 | t.circle(58.01, 85.58) 450 | t.seth(47.06) 451 | t.circle(49.85,91.57) 452 | t.end_fill() 453 | 454 | t.pensize(4) 455 | t.pencolor("#1F618D") 456 | t.fillcolor("#85C1E9") 457 | 458 | go(43.67, -67.49) 459 | t.begin_fill() 460 | t.seth(139.97) 461 | t.circle(5.87, 90) 462 | t.seth(234.13) 463 | t.circle(6.18, 90) 464 | t.seth(312.17) 465 | t.circle(-1.87, 180) 466 | t.seth(120.99) 467 | t.circle(7.34,90) 468 | t.seth(214.9) 469 | t.circle(5.39,90) 470 | t.seth(300.36) 471 | t.circle(26.34,9.09) 472 | t.seth(333.22) 473 | t.circle(-1.40,180) 474 | t.seth(140.83) 475 | t.circle(6.82,90.38) 476 | t.seth(231.21) 477 | t.circle(5.25,91.15) 478 | t.seth(328.4) 479 | t.circle(-32.52,26.65) 480 | t.seth(302.88) 481 | t.circle(43.92,41.21) 482 | t.seth(345.48) 483 | t.circle(27.94,42.08) 484 | t.seth(43.02) 485 | t.circle(19.87,64.91) 486 | t.seth(103.68) 487 | t.circle(39.96,46.77) 488 | t.seth(154.21) 489 | t.circle(-30.15,34.05) 490 | t.end_fill() 491 | 492 | go(-12.56, -89.68) 493 | t.begin_fill() 494 | t.seth(140.15) 495 | t.circle(4.65, 90) 496 | t.seth(230.15) 497 | t.circle(-1.86, 180) 498 | t.seth(35.9) 499 | t.circle(9.56, 48.82) 500 | t.seth(91.15) 501 | t.circle(5.65,90) 502 | t.seth(189.95) 503 | t.circle(11.69,39.18) 504 | t.seth(240.47) 505 | t.circle(-1.76,180) 506 | t.seth(35.95) 507 | t.circle(7.04,49.04) 508 | t.seth(80.17) 509 | t.circle(5.23,120.55) 510 | t.seth(195.36) 511 | t.circle(8.26,45.98) 512 | t.seth(244.7) 513 | t.circle(-15.17,44.32) 514 | t.seth(210.97) 515 | t.circle(49.44,39.28) 516 | t.seth(252.85) 517 | t.circle(20.88,69.38) 518 | t.seth(331.42) 519 | t.circle(23.30,60.92) 520 | t.seth(24.71) 521 | t.circle(49.15,32.06) 522 | t.seth(68.64) 523 | t.circle(-12.69,51.53) 524 | t.seth(19.41) 525 | t.circle(6.01,136.94) 526 | t.end_fill() 527 | 528 | go(52.10, -127.11) 529 | t.begin_fill() 530 | t.seth(182.1) 531 | t.circle(33.54, 43.19) 532 | t.seth(225.29) 533 | t.circle(24.84, 61.67) 534 | t.seth(297.45) 535 | t.circle(44.91, 59.03) 536 | t.seth(356.48) 537 | t.circle(19.23,2.58) 538 | t.seth(359.06) 539 | t.circle(22.12,66.59) 540 | t.seth(65.65) 541 | t.circle(32.85,67.76) 542 | t.seth(133.41) 543 | t.circle(31.06,48.69) 544 | t.end_fill() 545 | 546 | go(-21.69, -143.37) 547 | t.begin_fill() 548 | t.seth(118.1) 549 | t.circle(47.45, 2.26) 550 | t.seth(119.52) 551 | t.circle(30.36, 90.24) 552 | t.seth(209.76) 553 | t.circle(34.6, 75.55) 554 | t.seth(285.31) 555 | t.circle(22.29,78.28) 556 | t.seth(3.58) 557 | t.circle(44.27, 54.47) 558 | t.seth(58.05) 559 | t.circle(22.01, 59.21) 560 | t.end_fill() 561 | 562 | t.fillcolor("#1976D2") 563 | 564 | go(84.74, -161.06) 565 | t.begin_fill() 566 | t.seth(356.03) 567 | t.circle(8.28, 210.21) 568 | t.seth(295.21) 569 | t.circle(-32.85, 28.16) 570 | t.end_fill() 571 | 572 | go(80.39, -142.95) 573 | t.begin_fill() 574 | t.seth(28.2) 575 | t.circle(8.59, 213.14) 576 | t.seth(329.92) 577 | t.circle(-31.51, 30.3) 578 | t.end_fill() 579 | 580 | go(65.54, -129.63) 581 | t.begin_fill() 582 | t.seth(64.6) 583 | t.circle(7.45, 210.85) 584 | t.seth(2.23) 585 | t.circle(-33.95, 24.41) 586 | t.end_fill() 587 | 588 | go(47.55, -127.59) 589 | t.begin_fill() 590 | t.seth(101.97) 591 | t.circle(7.39, 200.96) 592 | t.seth(34.97) 593 | t.circle(-33.54, 25.04) 594 | t.end_fill() 595 | 596 | go(-31.26, -132.24) 597 | t.begin_fill() 598 | t.seth(53.54) 599 | t.circle(6.83, 205.47) 600 | t.seth(348.94) 601 | t.circle(-30.36, 25.34) 602 | t.end_fill() 603 | 604 | go(-49.27, -126.32) 605 | t.begin_fill() 606 | t.seth(84.62) 607 | t.circle(7.14, 216.58) 608 | t.seth(25.81) 609 | t.circle(-30.36, 25.81) 610 | t.end_fill() 611 | 612 | go(-65.88, -131.26) 613 | t.begin_fill() 614 | t.seth(114.21) 615 | t.circle(8.14, 222.38) 616 | t.seth(58.06) 617 | t.circle(-34.60, 25.33) 618 | t.end_fill() 619 | 620 | go(-78.36, -145.38) 621 | t.begin_fill() 622 | t.seth(159.41) 623 | t.circle(8.59, 198.27) 624 | t.seth(92.74) 625 | t.circle(-34.60, 28.4) 626 | t.end_fill() 627 | 628 | t.fillcolor("#42A5F5") 629 | 630 | go(67.21, -152.85) 631 | t.begin_fill() 632 | t.seth(136.91) 633 | t.circle(8.61, 80.49) 634 | t.seth(87.84) 635 | t.circle(8.53, 82.2) 636 | t.seth(170.03) 637 | t.circle(9.85, 104.54) 638 | t.seth(274.57) 639 | t.circle(23.51, 47.77) 640 | t.seth(344.02) 641 | t.circle(22.59, 53.19) 642 | t.seth(37.21) 643 | t.circle(9.32, 99.7) 644 | t.end_fill() 645 | 646 | go(-35.24, -148.68) 647 | t.begin_fill() 648 | t.seth(108.14) 649 | t.circle(8.84, 173.69) 650 | t.seth(135.44) 651 | t.circle(8.84, 143.32) 652 | t.seth(278.76) 653 | t.circle(11.55, 65.95) 654 | t.seth(344.71) 655 | t.circle(34.54, 27.03) 656 | t.seth(40.1) 657 | t.circle(23.45, 42.94) 658 | t.seth(83.03) 659 | t.circle(16.19, 25.11) 660 | t.end_fill() 661 | 662 | t.hideturtle() 663 | turtle.done() -------------------------------------------------------------------------------- /Sunflower.py: -------------------------------------------------------------------------------- 1 | import math 2 | import turtle 3 | turtle.bgcolor("black") 4 | turtle.shape("turtle") 5 | turtle.speed(0) 6 | turtle.fillcolor("brown") 7 | phi = 137.508 * (math.pi / 180.0) 8 | for i in range (160 + 40): 9 | r = 4 * math.sqrt(i) 10 | theta = i * phi 11 | x = r * math.cos(theta) 12 | y = r * math.sin(theta) 13 | turtle.penup() 14 | turtle.goto(x, y) 15 | turtle.setheading(i * 137.508) 16 | turtle.pendown() 17 | if i < 160: 18 | turtle.stamp() 19 | else: 20 | turtle.fillcolor("yellow") 21 | turtle.begin_fill() 22 | turtle.right(20) 23 | turtle.forward(70) 24 | turtle.left(40) 25 | turtle.forward(70) 26 | turtle.left(140) 27 | turtle.forward(70) 28 | turtle.left(40) 29 | turtle.forward(70) 30 | turtle.end_fill() 31 | turtle.hideturtle() -------------------------------------------------------------------------------- /Super Mario Bros.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(4) 4 | 5 | turtle.bgcolor("black") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("#C0392B") 13 | t.fillcolor("red") 14 | 15 | go(-213.46,-258.66) 16 | t.begin_fill() 17 | t.seth(0) 18 | t.forward(427.87) 19 | t.seth(128.62) 20 | t.forward(118.98) 21 | t.seth(135) 22 | t.circle(197.88,90) 23 | t.seth(231.56) 24 | t.forward(118.67) 25 | t.end_fill() 26 | 27 | go(-96.56,-191.77) 28 | t.seth(241.5) 29 | t.circle(339.56,12.23) 30 | 31 | go(98.89,-188.94) 32 | t.seth(294.96) 33 | t.circle(-553.03,7.75) 34 | 35 | t.pencolor("#1A237E") 36 | t.fillcolor("blue") 37 | 38 | go(-124.11,-258.66) 39 | t.begin_fill() 40 | t.seth(0) 41 | t.forward(249.88) 42 | t.seth(119.07) 43 | t.forward(91.37) 44 | t.seth(180) 45 | t.forward(159.26) 46 | t.seth(239.94) 47 | t.forward(88) 48 | t.end_fill() 49 | 50 | go(-44.95,-112.98) 51 | t.begin_fill() 52 | t.seth(193.2) 53 | t.circle(197.88,10.79) 54 | t.seth(261.15) 55 | t.forward(107.94) 56 | t.seth(334.45) 57 | t.forward(21.69) 58 | t.seth(29.35) 59 | t.forward(32.35) 60 | t.seth(87.61) 61 | t.forward(113.23) 62 | t.end_fill() 63 | 64 | go(48.48,-113.73) 65 | t.begin_fill() 66 | t.seth(345.89) 67 | t.circle(-197.88,10.1) 68 | t.seth(279.78) 69 | t.forward(109.28) 70 | t.seth(202) 71 | t.forward(24.59) 72 | t.seth(145.87) 73 | t.forward(32.83) 74 | t.seth(90.77) 75 | t.forward(109.91) 76 | t.end_fill() 77 | 78 | t.pencolor("#FFA000") 79 | t.fillcolor("#FFEB3B") 80 | 81 | go(-54.02,-213.03) 82 | t.begin_fill() 83 | t.seth(90) 84 | t.circle(16.12) 85 | t.end_fill() 86 | 87 | go(93.505,-209.09) 88 | t.begin_fill() 89 | t.seth(90) 90 | t.circle(16.88) 91 | t.end_fill() 92 | 93 | t.pencolor("#E59866") 94 | t.fillcolor("#F5CBA7") 95 | 96 | go(117.46,2.70) 97 | t.begin_fill() 98 | t.seth(66.24) 99 | t.circle(-27.84,56.69) 100 | t.seth(349.93) 101 | t.circle(-22.32,65.02) 102 | t.seth(281.24) 103 | t.circle(-80.71,54.65) 104 | t.seth(229.65) 105 | t.circle(-28.15,42.59) 106 | t.end_fill() 107 | 108 | go(-108.89,5.74) 109 | t.begin_fill() 110 | t.seth(129.86) 111 | t.circle(36.80,48.19) 112 | t.seth(191.9) 113 | t.circle(25.33,64.74) 114 | t.seth(264.08) 115 | t.circle(87.84,49.9) 116 | t.seth(312.33) 117 | t.circle(25.64,55.09) 118 | t.end_fill() 119 | 120 | go(108.23,46.68) 121 | t.begin_fill() 122 | t.seth(129.09) 123 | t.circle(136.65,101.82) 124 | t.seth(262.42) 125 | t.circle(144.43,23.95) 126 | t.seth(228.95) 127 | t.circle(67.5,99.01) 128 | t.seth(327.96) 129 | t.forward(40.71) 130 | t.seth(327.96) 131 | t.circle(97.10,62.26) 132 | t.seth(30.22) 133 | t.forward(42.14) 134 | t.seth(30.22) 135 | t.circle(66.93,102.83) 136 | t.seth(75.43) 137 | t.circle(193.63,17.57) 138 | t.end_fill() 139 | 140 | go(-44.90,-109) 141 | t.seth(335.81) 142 | t.circle(113.77,48.39) 143 | 144 | t.pencolor("black") 145 | t.fillcolor("black") 146 | 147 | go(86.77,-23.64) 148 | t.begin_fill() 149 | t.seth(225) 150 | t.circle(-121.67,90) 151 | t.seth(212.08) 152 | t.circle(25.61,145.4) 153 | t.seth(286.39) 154 | t.circle(29.09,90) 155 | t.seth(304.08) 156 | t.circle(26.96,90) 157 | t.seth(325.39) 158 | t.circle(28.33,90) 159 | t.seth(343.61) 160 | t.circle(29.09,90) 161 | t.seth(3.33) 162 | t.circle(25.18,148.29) 163 | t.end_fill() 164 | 165 | go(80.65,42.43) 166 | t.begin_fill() 167 | t.seth(76.38) 168 | t.circle(27.43,90) 169 | t.seth(180.8) 170 | t.circle(35.50,90) 171 | t.seth(54.85) 172 | t.circle(-35.13,103.75) 173 | t.end_fill() 174 | 175 | go(-24.18,39.11) 176 | t.begin_fill() 177 | t.seth(85.29) 178 | t.circle(36.03,90) 179 | t.seth(194.54) 180 | t.circle(31.11,90) 181 | t.seth(53.83) 182 | t.circle(-33.81,109.63) 183 | t.end_fill() 184 | 185 | t.pencolor("#641E16") 186 | t.fillcolor("#78281F") 187 | 188 | go(105.59,51.75) 189 | t.begin_fill() 190 | t.seth(0) 191 | t.forward(18.85) 192 | t.seth(270) 193 | t.forward(78.63) 194 | t.seth(273.17) 195 | t.circle(-26.02,50.44) 196 | t.seth(97.91) 197 | t.circle(76.25,27) 198 | t.seth(90) 199 | t.forward(69.80) 200 | t.end_fill() 201 | 202 | go(-98.90,-17.05) 203 | t.begin_fill() 204 | t.seth(90) 205 | t.forward(86.36) 206 | t.seth(180) 207 | t.forward(23.77) 208 | t.seth(270) 209 | t.forward(97.62) 210 | t.seth(271.53) 211 | t.circle(25.32,49.85) 212 | t.seth(97.52) 213 | t.circle(-31.07,65.36) 214 | t.end_fill() 215 | 216 | t.pencolor("#EAEDED") 217 | t.fillcolor("white") 218 | 219 | go(29.51,33.13) 220 | t.begin_fill() 221 | t.seth(236.32) 222 | t.circle(48.78,72.59) 223 | t.seth(334.98) 224 | t.circle(34.19,58.31) 225 | t.seth(57.71) 226 | t.circle(43.60,90) 227 | t.seth(147.15) 228 | t.circle(16,89.17) 229 | t.end_fill() 230 | 231 | go(-29.30,35.28) 232 | t.begin_fill() 233 | t.seth(132.26) 234 | t.circle(22,107.16) 235 | t.seth(236.95) 236 | t.circle(47.89,66.1) 237 | t.seth(312.1) 238 | t.circle(26.38,100.88) 239 | t.seth(65.83) 240 | t.circle(54.51,59.75) 241 | t.end_fill() 242 | 243 | t.pencolor("#1976D2") 244 | t.fillcolor("#0033FF") 245 | 246 | go(26,29) 247 | t.begin_fill() 248 | t.seth(241.91) 249 | t.circle(48.78,54.21) 250 | t.seth(302.16) 251 | t.circle(16.78,90) 252 | t.seth(42.79) 253 | t.circle(32.62,97.46) 254 | t.seth(149.36) 255 | t.circle(20.90,57.41) 256 | t.end_fill() 257 | 258 | go(-26,29) 259 | t.begin_fill() 260 | t.seth(151.31) 261 | t.circle(16.88,41.11) 262 | t.seth(185.49) 263 | t.circle(17.77,61.93) 264 | t.seth(242.04) 265 | t.circle(34.16,76.05) 266 | t.seth(337.7) 267 | t.circle(18.11,90) 268 | t.seth(74.5) 269 | t.circle(54.51,44.53) 270 | t.end_fill() 271 | 272 | t.pencolor("#000066") 273 | t.fillcolor("#330066") 274 | 275 | go(27.33,14.11) 276 | t.begin_fill() 277 | t.seth(243.07) 278 | t.circle(21.27,60.18) 279 | t.seth(304.96) 280 | t.circle(11.52,90) 281 | t.seth(57.11) 282 | t.circle(27.66,52.12) 283 | t.seth(114.55) 284 | t.circle(11.06,130.9) 285 | t.end_fill() 286 | 287 | go(-25.70,16.33) 288 | t.begin_fill() 289 | t.seth(126.46) 290 | t.circle(11.30,120.1) 291 | t.seth(249.7) 292 | t.circle(28.39,50.5) 293 | t.seth(307.04) 294 | t.circle(10.63,129.27) 295 | t.seth(67.33) 296 | t.circle(25.38,52.65) 297 | t.end_fill() 298 | 299 | t.pencolor("#EAEDED") 300 | t.fillcolor("white") 301 | 302 | go(40.8,11.88) 303 | t.begin_fill() 304 | t.seth(90) 305 | t.circle(4.4) 306 | t.end_fill() 307 | 308 | go(-30.35,11.88) 309 | t.begin_fill() 310 | t.seth(90) 311 | t.circle(4.58) 312 | t.end_fill() 313 | 314 | t.pencolor("#E59866") 315 | t.fillcolor("#F5CBA7") 316 | 317 | go(-22.54,-3.59) 318 | t.begin_fill() 319 | t.seth(199.19) 320 | t.circle(42.12, 144.89) 321 | t.seth(344.08) 322 | t.circle(73.27, 36.44) 323 | t.seth(20.53) 324 | t.circle(42.48, 148.96) 325 | t.seth(169.48) 326 | t.circle(80.08, 29.71) 327 | t.end_fill() 328 | 329 | t.pencolor("#C0392B") 330 | t.fillcolor("red") 331 | 332 | go(125.49,25) 333 | t.begin_fill() 334 | t.seth(128.3) 335 | t.circle(159.90, 101.75) 336 | t.seth(270) 337 | t.forward(16.69) 338 | t.seth(140.02) 339 | t.circle(34, 27.78) 340 | t.seth(118.9) 341 | t.circle(-57.90, 20.83) 342 | t.seth(98.07) 343 | t.circle(-147, 81.74) 344 | t.seth(16.33) 345 | t.circle(-141.41, 84.57) 346 | t.seth(291.76) 347 | t.circle(-287.87, 13.24) 348 | t.seth(278.52) 349 | t.circle(-46.86, 44.07) 350 | t.seth(198.59) 351 | t.circle(35.39, 29.51) 352 | t.seth(90) 353 | t.forward(15.85) 354 | t.end_fill() 355 | 356 | t.pensize(8) 357 | 358 | t.pencolor("#EAEDED") 359 | t.fillcolor("white") 360 | 361 | go(30.32,109.53) 362 | t.begin_fill() 363 | t.seth(180) 364 | t.forward(58.53) 365 | t.seth(150.62) 366 | t.circle(-33.69, 90) 367 | t.seth(57.61) 368 | t.circle(-49.64, 115.21) 369 | t.seth(299.8) 370 | t.circle(-33.62, 90) 371 | t.end_fill() 372 | 373 | t.pensize(4) 374 | 375 | t.pencolor("#C0392B") 376 | t.fillcolor("#C0392B") 377 | 378 | go(1.04,132.68) 379 | t.begin_fill() 380 | t.seth(128.84) 381 | t.forward(22.53) 382 | t.seth(252.99) 383 | t.forward(37.62) 384 | t.seth(141.55) 385 | t.forward(18.64) 386 | t.seth(64.15) 387 | t.forward(51.63) 388 | t.seth(312.37) 389 | t.forward(25.54) 390 | t.seth(46.55) 391 | t.forward(25.99) 392 | t.seth(296.29) 393 | t.forward(51.82) 394 | t.seth(217.07) 395 | t.forward(19.22) 396 | t.seth(106.76) 397 | t.forward(38.26) 398 | t.seth(231.55) 399 | t.forward(23.25) 400 | t.end_fill() 401 | 402 | go(112.62,39.41) 403 | t.begin_fill() 404 | t.seth(0.39) 405 | t.circle(17.55, 32.68) 406 | t.seth(65.94) 407 | t.circle(8.36, 64.25) 408 | t.seth(137.63) 409 | t.circle(176.35, 86.95) 410 | t.seth(225) 411 | t.circle(4.98, 90) 412 | t.seth(306.18) 413 | t.circle(5.89, 77.62) 414 | t.seth(44.77) 415 | t.circle(-159.90, 89.54) 416 | t.end_fill() 417 | 418 | t.pencolor("#C0392B") 419 | t.fillcolor("red") 420 | 421 | go(122.72,46.83) 422 | t.begin_fill() 423 | t.seth(85.31) 424 | t.circle(27.95, 56.56) 425 | t.seth(141.86) 426 | t.circle(178.28, 76.14) 427 | t.seth(220.34) 428 | t.circle(38.43, 45.51) 429 | t.seth(45.47) 430 | t.circle(-172.48, 90) 431 | t.end_fill() 432 | 433 | t.hideturtle() -------------------------------------------------------------------------------- /Valentines_Day.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(5) 4 | t.shape("turtle") 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | def arco(direc, radio, ang): 12 | t.seth(direc) 13 | t.circle(radio, ang) 14 | 15 | def linea(direc, longitud): 16 | t.seth(direc) 17 | t.forward(longitud) 18 | 19 | t.fillcolor("Red") 20 | go(32.15, -144.71) 21 | t.begin_fill() 22 | arco(32.08, 948.48, 11.05) 23 | arco(43.14, 129.85, 56.62) 24 | arco(99.75, 88.28, 107.9) 25 | arco(207.65, 98.43, 41.89) 26 | arco(110.67, 100.34, 62.41) 27 | arco(173.07, 85.77, 93.96) 28 | arco(267.03, 188.94, 56.54) 29 | arco(323.57, 1009.44, 6.24) 30 | t.end_fill() 31 | 32 | t.fillcolor("Gold") 33 | go(181.88, -76.75) 34 | t.begin_fill() 35 | arco(60.35, -245.32, 13.22) 36 | arco(47.12, 92.81, 40.38) 37 | arco(145.39, 243.3, 32.09) 38 | arco(177.48, 325.06, 27.47) 39 | arco(204.95, -5219.17, 1.38) 40 | arco(203.57, -24.12, 85.81) 41 | arco(272.57, 123.85, 45.22) 42 | arco(347.29, 89.62, 39.28) 43 | arco(26.57, -377.01, 12.09) 44 | arco(14.48, -288.21, 27.12) 45 | arco(347.36, -132.34, 27.47) 46 | t.end_fill() 47 | 48 | go(-136.34, 75.19) 49 | t.begin_fill() 50 | arco(163.89, 38.19, 36.04) 51 | arco(199.93, 80.3, 24.39) 52 | arco(224.31, -74.73, 41.26) 53 | arco(183.05, -32.36, 66.11) 54 | arco(272.69, 53.24, 71.61) 55 | arco(232.86, -39.21, 90) 56 | arco(298.92, 71.11, 67.91) 57 | arco(6.82, 46.04, 46.77) 58 | arco(102.55, -123.85, 9.98) 59 | arco(92.57, -40.83, 75.94) 60 | arco(16.63, -69.03, 16.92) 61 | arco(97.23, -188.94, 9.51) 62 | t.end_fill() 63 | 64 | go(286.18, 2.02) 65 | t.begin_fill() 66 | arco(149.37, 36.95, 41.49) 67 | arco(190.86, 86.03, 19.66) 68 | arco(247.31, -92.81, 20.19) 69 | arco(227.12, 245.32, 13.22) 70 | arco(222.69, -24.3, 45.38) 71 | arco(177.32, 27.35, 52.19) 72 | arco(229.51, 13.09, 105.66) 73 | arco(335.17, 30.99, 58.45) 74 | arco(33.62, -232.13, 17.19) 75 | arco(16.43, -62.28, 36.23) 76 | arco(79.37, 54.75, 24.86) 77 | arco(104.24, 34.25, 74.25) 78 | arco(56.12, -101.97, 30.66) 79 | t.end_fill() 80 | 81 | t.fillcolor("DarkGoldenrod") 82 | go(-134.99, 43.89) 83 | t.begin_fill() 84 | arco(179.72, 69.03, 16.92) 85 | arco(196.63, 40.83, 75.94) 86 | arco(297.76, 24.12, 85.81) 87 | arco(23.57, -5219.17, 0.34) 88 | arco(110.42, -188.94, 13.19) 89 | t.end_fill() 90 | 91 | go(181.88, -76.75) 92 | t.begin_fill() 93 | arco(139.9, 132.34, 15.63) 94 | arco(242.95, 85.37, 24.62) 95 | arco(49.51, -27.35, 52.19) 96 | arco(357.32, 24.3, 45.38) 97 | t.end_fill() 98 | 99 | t.pensize(8) 100 | go(-115.17, -10.38) 101 | arco(296.97, -514.75, 6.25) 102 | go(-65.8, 12.73) 103 | arco(280.45, 169.36, 18.41) 104 | arco(9.16, 93.12, 16.65) 105 | go(11.29, 19.4) 106 | arco(110.66, 15.51, 130.64) 107 | arco(241.29, 13.48, 21.62) 108 | arco(262.91, 50.52, 39.08) 109 | arco(301.99, 12.2, 124.5) 110 | arco(66.49, 45.54, 44.17) 111 | go(22.99, 36.33) 112 | linea(294.7, 56.32) 113 | linea(60.7, 62.01) 114 | go(97.28, 44.62) 115 | arco(249.86, 196.59, 17.36) 116 | arco(5.29, -62.82, 23.54) 117 | go(89.47, 17.42) 118 | arco(0, -67.87, 18.45) 119 | go(97.28, 44.62) 120 | arco(1.65, -45.46, 29.84) 121 | go(155.7, 36.33) 122 | arco(243.47, 82.99, 34.76) 123 | arco(278.23, 13.81, 109.9) 124 | arco(28.13, 29.59, 24.88) 125 | arco(53.01, 116.76, 19.88) 126 | 127 | t.pensize(5) 128 | t.fillcolor("Pink") 129 | go(192.07, 140.95) 130 | t.begin_fill() 131 | arco(74.97, 24.32, 298.49) 132 | arco(193.46, 31.09, 66.98) 133 | arco(260.45, 14.13, 97.3) 134 | arco(0, 25.15, 100.54) 135 | arco(263.8, 46.75, 32.76) 136 | arco(296.55, 19.1, 170.29) 137 | arco(106.84, 28.37, 76.5) 138 | arco(339.17, 27.39, 84.13) 139 | arco(63.31, 19.96, 118.17) 140 | arco(181.47, 26.52, 75.01) 141 | t.end_fill() 142 | 143 | t.fillcolor("Yellow") 144 | go(205.18, 127.38) 145 | t.begin_fill() 146 | arco(90, 16.01, 360) 147 | t.end_fill() 148 | 149 | t.hideturtle() 150 | turtle.done() -------------------------------------------------------------------------------- /Wolf_Chan.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(6) 4 | t.shape("turtle") 5 | blue1 = "#161d51" 6 | blue2 = "#4652ab" 7 | blue3 = "#6c78da" 8 | blue4 = "#bdc3f2" 9 | 10 | def go(x, y): 11 | t.penup() 12 | t.goto(x, y) 13 | t.pendown() 14 | 15 | def arco(direc, radio, ang): 16 | t.seth(direc) 17 | t.circle(radio, ang) 18 | 19 | def linea(direc, longitud): 20 | t.seth(direc) 21 | t.forward(longitud) 22 | 23 | t.fillcolor(blue4) 24 | t.pencolor(blue3) 25 | go(14.01, 123.12) 26 | t.begin_fill() 27 | arco(169.96, 80.43, 20.08) 28 | linea(90, 136.54) 29 | arco(90, 25.58, 123.38) 30 | arco(213.38, 212.59, 26.95) 31 | arco(240.32, 631.42, 23.17) 32 | arco(263.49, 499.63, 17.23) 33 | arco(280.73, 54.13, 42.17) 34 | arco(322.89, 318.72, 33.05) 35 | arco(355.94, 62.29, 8.12) 36 | arco(4.06, 318.72, 33.05) 37 | arco(37.11, 54.13, 42.17) 38 | arco(79.27, 499.63, 17.23) 39 | arco(96.51, 631.42, 23.17) 40 | arco(119.68, 212.59, 26.95) 41 | arco(146.62, 25.58, 123.38) 42 | linea(270, 136.54) 43 | t.end_fill() 44 | 45 | t.pensize(3) 46 | t.fillcolor(blue2) 47 | t.pencolor(blue2) 48 | go(56.45, 224.37) 49 | t.begin_fill() 50 | arco(140.11, 8.51, 128.72) 51 | linea(268.83, 84.1) 52 | arco(268.83, 10.76, 65.54) 53 | arco(334.37, -240.5, 17.96) 54 | arco(316.41, 11.34, 139.68) 55 | arco(96.09, 202.04, 44.02) 56 | t.end_fill() 57 | go(-56.45, 224.37) 58 | t.begin_fill() 59 | arco(39.88, -8.51, 128.72) 60 | linea(271.17, 84.1) 61 | arco(271.17, -10.76, 65.54) 62 | arco(205.63, 240.5, 17.96) 63 | arco(223.59, -11.34, 139.68) 64 | arco(83.91, -202.04, 44.02) 65 | t.end_fill() 66 | 67 | t.fillcolor("White") 68 | t.pencolor("White") 69 | go(0, -131.71) 70 | t.begin_fill() 71 | linea(0, 56.28/2) 72 | arco(95.08, -128.04, 32.31) 73 | arco(62.78, -38.79, 50.17) 74 | arco(12.61, -56.79, 78.14) 75 | arco(294.47, -194.58, 21.15) 76 | arco(273.32, 15.79, 87.18) 77 | linea(0, 33.63) 78 | arco(262.08, -499.63, 2.8) 79 | arco(259.27, -54.13, 42.17) 80 | arco(217.11, -318.72, 33.05) 81 | arco(184.06, -62.29, 8.12) 82 | arco(175.94, -318.72, 33.05) 83 | arco(142.89, -54.13, 42.17) 84 | arco(100.73, -499.63, 2.8) 85 | linea(0, 33.63) 86 | arco(0, 15.79, 87.18) 87 | arco(86.68, -194.58, 21.15) 88 | arco(65.53, -56.79, 78.14) 89 | arco(347.39, -38.79, 50.17) 90 | arco(297.22, -128.04, 32.31) 91 | linea(0, 56.28/2) 92 | t.end_fill() 93 | 94 | t.pencolor(blue3) 95 | t.pensize(6) 96 | go(198.61, -157.79) 97 | arco(262.08, -499.63, 2.8) 98 | arco(259.27, -54.13, 42.17) 99 | arco(217.11, -318.72, 33.05) 100 | arco(184.06, -62.29, 8.12) 101 | arco(175.94, -318.72, 33.05) 102 | arco(142.89, -54.13, 42.17) 103 | arco(100.73, -499.63, 2.8) 104 | go(26.68, 120.62) 105 | arco(166.36, 113.51, 54.7) 106 | arco(221.06, 75.96, 78.62) 107 | arco(299.68, 82.45, 55.06) 108 | arco(354.74, 7.12, 134.53) 109 | arco(129.27, -48.25, 91.4) 110 | 111 | t.pencolor(blue1) 112 | t.fillcolor(blue1) 113 | t.pensize(8) 114 | go(-53.17, -178.25) 115 | arco(333.21, 118.05, 53.58) 116 | t.pensize(3) 117 | go(118.62, -122.5) 118 | t.begin_fill() 119 | arco(56.43, 13.73, 113.56) 120 | arco(169.99, 170.87, 10.6) 121 | arco(180.58, 97.38, 19.04) 122 | arco(199.63, 4.9, 159.36) 123 | arco(358.98, -347.58, 11.75) 124 | t.end_fill() 125 | go(-118.62, -122.5) 126 | t.begin_fill() 127 | arco(123.57, -13.73, 113.56) 128 | arco(10.01, -170.87, 10.6) 129 | arco(359.42, -97.38, 19.04) 130 | arco(340.37, -4.9, 159.36) 131 | arco(181.02, 347.58, 11.75) 132 | t.end_fill() 133 | go(0, -113.27) 134 | t.begin_fill() 135 | arco(2.08, -66.33, 23.3) 136 | arco(338.78, -16.52, 69.83) 137 | arco(268.95, -28.35, 55.76) 138 | arco(213.18, -45, 32.35) 139 | arco(179.35, -45, 32.35) 140 | arco(146.82, -28.35, 55.76) 141 | arco(91.05, -16.52, 69.83) 142 | arco(21.22, -66.33, 23.3) 143 | t.end_fill() 144 | 145 | t.pencolor(blue4) 146 | t.fillcolor(blue4) 147 | go(-92.63, -180.07) 148 | t.begin_fill() 149 | arco(90, 11, 360) 150 | t.end_fill() 151 | go(114.64, -180.07) 152 | t.begin_fill() 153 | arco(90, 11, 360) 154 | t.end_fill() 155 | 156 | t.hideturtle() 157 | turtle.done() -------------------------------------------------------------------------------- /arbol_navidad.py: -------------------------------------------------------------------------------- 1 | import time 2 | from colorama import Fore, Style 3 | 4 | lines = [ 5 | Fore.YELLOW + " **" + Style.RESET_ALL, 6 | Fore.GREEN + " Te" + Style.RESET_ALL, 7 | Fore.GREEN + " Te a" + Style.RESET_ALL, 8 | Fore.GREEN + " Te amo" + Style.RESET_ALL, 9 | Fore.GREEN + " Te amo m" + Style.RESET_ALL, 10 | Fore.GREEN + " Te amo muc" + Style.RESET_ALL, 11 | Fore.GREEN + " Te amo mucho" + Style.RESET_ALL, 12 | Fore.GREEN + " Te amo mucho mi" + Style.RESET_ALL, 13 | Fore.GREEN + " Te amo mucho mi am" + Style.RESET_ALL, 14 | Fore.GREEN + "Te amo mucho mi amor" + Style.RESET_ALL, 15 | Fore.WHITE + " | |" + Style.RESET_ALL, 16 | Fore.WHITE + " | |" + Style.RESET_ALL 17 | ] 18 | 19 | for line in lines: 20 | print(line) 21 | time.sleep(0.5) -------------------------------------------------------------------------------- /corazon.py: -------------------------------------------------------------------------------- 1 | import math 2 | import turtle 3 | 4 | def xt(t): 5 | return 16*math.sin(t)**3 6 | 7 | def yt(t): 8 | return 13*math.cos(t)-5*\ 9 | math.cos(2*t)-2*\ 10 | math.cos(3*t)-\ 11 | math.cos(4*t) 12 | 13 | t = turtle.Turtle() 14 | t.speed(500) 15 | turtle.bgcolor('black') 16 | 17 | for i in range (2550): 18 | t.goto((xt(i)*20, yt(i)*20)) 19 | t.pencolor('red') 20 | t.goto(0, 0) -------------------------------------------------------------------------------- /corazon_lineas.py: -------------------------------------------------------------------------------- 1 | import math 2 | import turtle 3 | 4 | t = turtle.Turtle() 5 | turtle.speed(2000) 6 | turtle.bgcolor("black") 7 | 8 | def corazon(k): 9 | return 15*math.sin(k)**3 10 | 11 | def corazon1(k): 12 | return 12*math.cos(k)-5*\ 13 | math.cos(2*k)-2*\ 14 | math.cos(3*k)-\ 15 | math.cos(4*k) 16 | 17 | t.color("gold") 18 | t.penup() 19 | t.goto(115,-40) 20 | t.pendown() 21 | t.write("I Love You", True, 22 | "right", ("indie flower", 30, "bold")) 23 | 24 | for i in range(600): 25 | t.goto(corazon(i)*18, corazon1(i)*18) 26 | for j in range(5): 27 | t.color("red") 28 | 29 | t.hideturtle() 30 | turtle.done() -------------------------------------------------------------------------------- /corazon_movimiento.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | bgcolor(0, 0, 0), setup(500, 500) 3 | hideturtle(), tracer(0), penup() 4 | from math import sin, cos 5 | from time import perf_counter 6 | def _loop(): 7 | update(), clear() 8 | t = perf_counter() 9 | X, Y = 0, 0 10 | for i in range(1, 400): 11 | if cos(i)<0: continue 12 | X = sin(2-0.2*sin(3*t+X/20)**8+i/2) 13 | X = 200*cos(i)*X 14 | Y = 200*sin(i + 0.7**cos(i)**0.05)-30 15 | goto(X, Y) 16 | dot(20, (1, 0, sin(i+t+sin(t/2))/2+.5)) 17 | ontimer(_loop, 10) 18 | _loop() 19 | mainloop() -------------------------------------------------------------------------------- /corazon_particulas.py: -------------------------------------------------------------------------------- 1 | import pygame 2 | import math 3 | import random 4 | 5 | pygame.init() 6 | 7 | ANCHO_VENTANA = 800 8 | ALTURA_VENTANA = 600 9 | COLOR_FONDO = (0, 0, 0) 10 | TAMAÑO_PARTICULA = 10 11 | DURACION_PARTICULA = 5 12 | NUM_PARTICULAS = 10000 13 | 14 | COLOR_PARTICULAS = [(234, 128, 176)] 15 | 16 | screen = pygame.display.set_mode((ANCHO_VENTANA, ALTURA_VENTANA)) 17 | pygame.display.set_caption("I Love You <3") 18 | 19 | class Particle: 20 | def __init__(self): 21 | self.position = [0, 0] 22 | self.velocity = [0, 0] 23 | self.acceleration = [0, 0] 24 | self.age = 0 25 | self.color = (0, 0, 0) 26 | 27 | def initialize(self, x, y, dx, dy, color): 28 | self.position = [x, y] 29 | self.velocity = [dx, dy] 30 | self.acceleration = [dx*-0.75, dy*-0.75] 31 | self.age = 0 32 | self.color = color 33 | 34 | def update(self, delta_time): 35 | self.position[0] += self.velocity[0]*delta_time 36 | self.position[1] += self.velocity[1]*delta_time 37 | self.velocity[0] += self.acceleration[0]*delta_time 38 | self.velocity[1] += self.acceleration[1]*delta_time 39 | self.age += delta_time 40 | 41 | def draw(self, surface): 42 | size = TAMAÑO_PARTICULA * (1-self.age/DURACION_PARTICULA) 43 | alpha = int(255*(1-self.age/DURACION_PARTICULA)) 44 | pygame.draw.circle(surface, self.color, (int(self.position[0]), int(self.position[1])), int(size/2), 0, alpha) 45 | 46 | class ParticlePool: 47 | def __init__(self, length): 48 | self.particles = [Particle() for _ in range(length)] 49 | self.first_active = 0 50 | self.first_free = 0 51 | 52 | def add(self, x, y, dx, dy, color): 53 | self.particles[self.first_free].initialize(x, y, dx, dy, color) 54 | self.first_free = (self.first_free + 1) % len(self.particles) 55 | if self.first_active == self.first_free: 56 | self.first_active = (self.first_active + 1) % len(self.particles) 57 | 58 | def update(self, delta_time): 59 | if self.first_active < self.first_free: 60 | for i in range(self.first_active, self.first_free): 61 | self.particles[i].update(delta_time) 62 | if self.first_free < self.first_active: 63 | for i in range(self.first_active, len(self.particles)): 64 | self.particles[i].update(delta_time) 65 | for i in range(0, self.first_free): 66 | self.particles[i].update(delta_time) 67 | 68 | def draw(self, surface): 69 | for i in range(len(self.particles)): 70 | if self.first_active < self.first_free: 71 | if self.first_active <= i < self.first_free: 72 | self.particles[i].draw(surface) 73 | elif self.first_free < self.first_active: 74 | if not (self.first_free <= i < self.first_active): 75 | self.particles[i].draw(surface) 76 | 77 | def point_on_heart(t): 78 | x = 160 * math.pow(math.sin(t), 3) 79 | y = 130 * math.cos(t) - 50*math.cos(2*t) - 20*math.cos(3*t) - 10*math.cos(4*t) + 25 80 | return [x, y] 81 | 82 | particles = ParticlePool(NUM_PARTICULAS) 83 | particle_rate = NUM_PARTICULAS / DURACION_PARTICULA 84 | 85 | running = True 86 | clock = pygame.time.Clock() 87 | time = None 88 | 89 | while running: 90 | for event in pygame.event.get(): 91 | if event.type == pygame.QUIT: 92 | running = False 93 | 94 | new_time = pygame.time.get_ticks() / 1000 95 | delta_time = new_time - (time or new_time) 96 | time = new_time 97 | 98 | screen.fill(COLOR_FONDO) 99 | 100 | amount = particle_rate * delta_time 101 | for _ in range(int(amount)): 102 | pos = point_on_heart(math.pi - 2 * math.pi * random.random()) 103 | dir = [pos[0], -pos[1]] 104 | length = math.sqrt(dir[0] ** 2 + dir[1] ** 2) 105 | dir[0] = dir[0] * random.uniform(50, 150) / length 106 | dir[1] = dir[1] * random.uniform(50, 150) / length 107 | color = random.choice(COLOR_PARTICULAS) 108 | particles.add(ANCHO_VENTANA / 2 + pos[0], ALTURA_VENTANA / 2-pos[1], dir[0], dir[1], color) 109 | 110 | particles.update(delta_time) 111 | particles.draw(screen) 112 | 113 | pygame.display.flip() 114 | 115 | clock.tick(60) 116 | 117 | pygame.quit() -------------------------------------------------------------------------------- /corazon_patrones: -------------------------------------------------------------------------------- 1 | import turtle 2 | import math 3 | 4 | t = turtle.Turtle() 5 | t.speed(0) 6 | t.color("red") 7 | turtle.bgcolor("black") 8 | 9 | def corazon(n): 10 | x = 16 * math.sin(n) ** 3 11 | y = 13 * math.cos(n) - 5 * \ 12 | math.cos(2*n) - 2*math.cos(3*n) - \ 13 | math.cos(4*n) 14 | return x, y 15 | 16 | t.penup() 17 | for i in range(15): 18 | t.goto(0, 0) 19 | t.pendown() 20 | for n in range(0, 100, 2): 21 | x, y = corazon(n/10) 22 | t.goto(x*i, y*i) 23 | t.penup() 24 | 25 | t.hideturtle() 26 | turtle.done() 27 | -------------------------------------------------------------------------------- /corazón_patrones.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | import math 3 | 4 | t = turtle.Turtle() 5 | t.speed(0) 6 | t.color("red") 7 | turtle.bgcolor("black") 8 | 9 | def corazon(n): 10 | x = 16 * math.sin(n) ** 3 11 | y = 13 * math.cos(n) - 5 * \ 12 | math.cos(2*n) - 2*math.cos(3*n) - \ 13 | math.cos(4*n) 14 | return x, y 15 | 16 | t.penup() 17 | for i in range(15): 18 | t.goto(0, 0) 19 | t.pendown() 20 | for n in range(0, 100, 2): 21 | x, y = corazon(n/10) 22 | t.goto(x*i, y*i) 23 | t.penup() 24 | 25 | t.hideturtle() 26 | turtle.done() -------------------------------------------------------------------------------- /esfera_navideña.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | turtle.bgcolor("Snow") 4 | t = turtle.Turtle() 5 | t.pensize(3) 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("black") 13 | t.fillcolor("DarkGreen") 14 | 15 | go(37.15,65.01) 16 | t.begin_fill() 17 | t.seth(3.37) 18 | t.circle(-175.10,38.39) 19 | t.seth(45) 20 | t.circle(-47.24,90) 21 | t.seth(117.26) 22 | t.circle(-31.37,144.53) 23 | t.seth(147.93) 24 | t.circle(-25.27,90) 25 | t.seth(187.35) 26 | t.circle(-33.71,90) 27 | t.seth(229.19) 28 | t.circle(-30.26,134.18) 29 | t.seth(230.2) 30 | t.circle(-87.34,51.51) 31 | t.seth(274.35) 32 | t.circle(-56.41,90) 33 | t.end_fill() 34 | 35 | go(12.24,63.36) 36 | t.begin_fill() 37 | t.seth(45) 38 | t.circle(-25.99,90) 39 | t.seth(62.23) 40 | t.circle(-52.65,90) 41 | t.seth(110.08) 42 | t.circle(-43.48,120.66) 43 | t.seth(133.55) 44 | t.circle(-35.63,127.33) 45 | t.seth(171.33) 46 | t.circle(-27.61,124.933) 47 | t.seth(220.24) 48 | t.circle(-64.18,52.38) 49 | t.seth(244.96) 50 | t.circle(-56.62,67.98) 51 | t.seth(273.62) 52 | t.circle(-26.63,125.31) 53 | t.seth(300.96) 54 | t.circle(-37.91,90) 55 | t.seth(291.34) 56 | t.circle(-87.01,42.68) 57 | t.end_fill() 58 | 59 | # Youtube: https://www.youtube.com/@glez_rbn 60 | # TikTok: @glez_rbn 61 | # Instagram: @glez_rbn 62 | 63 | t.seth(40.23) 64 | t.circle(424.49,11.86) 65 | go(86.24,142.33) 66 | t.seth(32.27) 67 | t.circle(152.68,29.49) 68 | 69 | t.fillcolor("Gold") 70 | 71 | go(-27.89,105.84) 72 | t.begin_fill() 73 | t.seth(39.26) 74 | t.circle(132.67,58) 75 | t.seth(97.26) 76 | t.circle(91.10,11.84) 77 | t.seth(109.1) 78 | t.circle(53.99,141.81) 79 | t.seth(250.9) 80 | t.circle(104.93,59.39) 81 | t.seth(310.3) 82 | t.circle(198.41,15.41) 83 | t.end_fill() 84 | 85 | t.fillcolor("Snow") 86 | 87 | go(-27.89,118.92) 88 | t.begin_fill() 89 | t.seth(42.49) 90 | t.circle(99.93,66.66) 91 | t.seth(109.15) 92 | t.circle(68.63,25.06) 93 | t.seth(134.21) 94 | t.circle(26.17,90) 95 | t.seth(224.21) 96 | t.circle(70.41,63.97) 97 | t.seth(288.18) 98 | t.circle(120.81,35.69) 99 | t.end_fill() 100 | 101 | # Youtube: https://www.youtube.com/@glez_rbn 102 | # TikTok: @glez_rbn 103 | 104 | t.fillcolor("Gold") 105 | 106 | go(36.37,74.39) 107 | t.begin_fill() 108 | t.seth(90) 109 | t.forward(47.32) 110 | t.seth(155.85) 111 | t.circle(171.86,52.71) 112 | t.seth(262.43) 113 | t.forward(44.62) 114 | t.seth(24.4) 115 | t.circle(-199.43,46.79) 116 | t.end_fill() 117 | 118 | 119 | t.fillcolor("Red") 120 | 121 | go(146.11,-87.77) 122 | t.begin_fill() 123 | t.seth(90) 124 | t.circle(367.89/2) 125 | t.end_fill() 126 | 127 | t.fillcolor("#C62828") 128 | t.pencolor("#C62828") 129 | t.pensize(1) 130 | 131 | go(-23.31,-271.13) 132 | t.begin_fill() 133 | t.seth(4.53) 134 | t.circle(183.94, 182.88) 135 | t.seth(320.97) 136 | t.circle(-260.05, 90) 137 | t.end_fill() 138 | 139 | t.fillcolor("Black") 140 | t.pencolor("Black") 141 | t.pensize(3) 142 | 143 | go(146.11,-87.77) 144 | t.seth(90) 145 | t.circle(367.89/2) 146 | 147 | go(74.07,-79.11) 148 | t.begin_fill() 149 | t.seth(90) 150 | t.circle(56.35/2) 151 | t.end_fill() 152 | 153 | go(-80.63,-99.04) 154 | t.begin_fill() 155 | t.seth(90) 156 | t.circle(56.60/2) 157 | t.end_fill() 158 | 159 | t.pensize(5) 160 | 161 | go(-160.26,-123.20) 162 | t.seth(90) 163 | t.circle(30.20/2) 164 | 165 | go(-39.48,-99.04) 166 | t.seth(270) 167 | t.circle(22.65, 180) 168 | 169 | t.fillcolor("white") 170 | t.pensize(3) 171 | 172 | go(-97.21,35.89) 173 | t.begin_fill() 174 | t.seth(141.84) 175 | t.circle(45.27, 33.05) 176 | t.seth(208.08) 177 | t.circle(112.67, 74.43) 178 | t.seth(76.32) 179 | t.circle(-190.22, 43.2) 180 | t.end_fill() 181 | 182 | t.hideturtle() -------------------------------------------------------------------------------- /flor amarilla a naranja.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | import colorsys 3 | 4 | speed(0) 5 | pensize(2) 6 | h = 0.18 7 | bgcolor("black") 8 | 9 | for i in range(200): 10 | c = colorsys.hsv_to_rgb(h,1,1) 11 | color(c) 12 | h -= 0.0012 13 | circle(200-i, 100) 14 | lt(100) 15 | circle(200-i, 100) 16 | rt(100) 17 | 18 | for j in range(3): 19 | rt(20) 20 | 21 | done() -------------------------------------------------------------------------------- /flor circular.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | import colorsys 3 | 4 | tracer(100) 5 | bgcolor("black") 6 | pensize(20) 7 | h = 0.6 8 | up() 9 | goto(-100, -60) 10 | down() 11 | 12 | for i in range(580): 13 | c = colorsys.hsv_to_rgb(h, 1, 1) 14 | h += 0.001 15 | color(c) 16 | up() 17 | circle(i, 20) 18 | down() 19 | circle(65, 145) 20 | lt(141) 21 | 22 | done() -------------------------------------------------------------------------------- /flor de loto - radial.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | from turtle import * 3 | import colorsys 4 | 5 | tracer(100) 6 | h = 0.85 7 | speed(25) 8 | bgcolor("black") 9 | 10 | for i in range(190): 11 | c = colorsys.hsv_to_rgb(h,1,1) 12 | fillcolor(c) 13 | h += 0.0015 14 | begin_fill() 15 | circle(190-i, 90) 16 | lt(75) 17 | lt(20) 18 | circle(190-i, 90) 19 | lt(18) 20 | end_fill() 21 | 22 | done() -------------------------------------------------------------------------------- /flor_amarilla.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | 6 | turtle.bgcolor("black") 7 | 8 | def go(x, y): 9 | t.penup() 10 | t.goto(x, y) 11 | t.pendown() 12 | 13 | t.pencolor("#006400") 14 | t.fillcolor("#9ACD32") 15 | 16 | go(94.85, -121.007) 17 | t.begin_fill() 18 | t.seth(126.77) 19 | t.circle(66.84, 109.32) 20 | t.seth(307.27) 21 | t.circle(67.25, 108.33) 22 | t.end_fill() 23 | 24 | go(-14.16, -123.79) 25 | t.seth(16.41) 26 | t.circle(-163.40, 29.01) 27 | 28 | go(-6.78, -130.23) 29 | t.begin_fill() 30 | t.seth(81.81) 31 | t.circle(62.22, 123.09) 32 | t.seth(257.18) 33 | t.circle(59.80, 132.25) 34 | t.end_fill() 35 | 36 | t.seth(124.58) 37 | t.circle(106.79, 32.98) 38 | 39 | go(-14.16, -16.05) 40 | t.begin_fill() 41 | t.seth(263.79) 42 | t.circle(652.34,21.75) 43 | t.seth(45) 44 | t.forward(20.19) 45 | t.seth(101.81) 46 | t.circle(-973.65,13.61) 47 | t.end_fill() 48 | 49 | t.pencolor("#A0522D") 50 | t.fillcolor("#A0522D") 51 | 52 | go(107.5,82) 53 | t.begin_fill() 54 | t.seth(90) 55 | t.circle(101) 56 | t.end_fill() 57 | 58 | t.pencolor("white") 59 | t.fillcolor("white") 60 | 61 | go(73, 77) 62 | t.begin_fill() 63 | t.seth(12.26) 64 | t.forward(13.34) 65 | t.seth(81.54) 66 | t.circle(71.42, 98.46) 67 | t.seth(344.59) 68 | t.circle(-79.07,80.79) 69 | t.end_fill() 70 | 71 | t.pencolor("#641E16") 72 | t.fillcolor("#641E16") 73 | 74 | go(46.60, 93.85) 75 | t.seth(217.77) 76 | t.forward(22.62) 77 | t.seth(330.02) 78 | t.forward(24.44) 79 | 80 | go(10.53, 70.67) 81 | t.seth(270) 82 | t.circle(-7.89, 180) 83 | 84 | go(-33.95, 85.70) 85 | t.begin_fill() 86 | t.seth(90) 87 | t.circle(8) 88 | t.end_fill() 89 | 90 | t.pencolor("gold") 91 | t.fillcolor("yellow") 92 | 93 | def petalo(angulo): 94 | t.begin_fill() 95 | t.seth(angulo) 96 | t.circle(62.19, 119.89) 97 | t.seth(angulo-209.77) 98 | t.circle(66.45, 102.89) 99 | t.seth(angulo-31.91) 100 | t.circle(-100.68, 40.36) 101 | t.end_fill() 102 | 103 | go(0, -18.04) 104 | petalo(248.33) 105 | go(100.30, 44.78) 106 | petalo(320.33) 107 | go(71.55, 159.59) 108 | petalo(32.33) 109 | go(-46.52, 167.72) 110 | petalo(104.33) 111 | go(-90.74, 57.94) 112 | petalo(176.33) 113 | go(-57.71, 5.21) 114 | petalo(212.33) 115 | go(60.36, -2.93) 116 | petalo(284.33) 117 | go(104.58, 106.85) 118 | petalo(356.33) 119 | go(13.83, 182.83) 120 | petalo(68.33) 121 | go(-86.47, 120.01) 122 | petalo(140.33) 123 | 124 | t.hideturtle() 125 | turtle.done() -------------------------------------------------------------------------------- /flor_amarilla_circular.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | from colorsys import * 3 | 4 | bgcolor("black") 5 | pu() 6 | setpos(190, -60) 7 | pd() 8 | width(5) 9 | speed(15) 10 | 11 | R = 1 12 | G = 1 13 | B = 0 14 | 15 | for i in range(150): 16 | begin_fill() 17 | color((R, G, B)) 18 | circle(150-i, 50) 19 | lt(80) 20 | circle(150-i, 50) 21 | rt(150) 22 | R -= 0.0065 23 | G -= 0.0065 24 | end_fill() 25 | 26 | done() -------------------------------------------------------------------------------- /flor_de_loto.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | import math 3 | turtle.bgcolor("black") 4 | t = turtle.Turtle() 5 | t.pensize(3) 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | def petalo1(angulo_eje): 13 | t.seth(angulo_eje - 38.79) 14 | t.circle(212.08, 77.58) 15 | t.seth(angulo_eje - 32.42 + 180) 16 | t.circle(247.82, 64.48) 17 | 18 | def petalo2(angulo_eje): 19 | t.seth(angulo_eje - 45) 20 | t.circle(154.24, 90) 21 | t.seth(angulo_eje - 45 + 180) 22 | t.circle(154.24, 90) 23 | 24 | def petalo3(angulo_eje): 25 | t.seth(angulo_eje - 45) 26 | t.circle(126.27, 90) 27 | t.seth(angulo_eje - 45 + 180) 28 | t.circle(126.27, 90) 29 | 30 | def petalo4(angulo_eje): 31 | t.seth(angulo_eje - 18.58) 32 | t.circle(158.94, 37.16) 33 | t.seth(angulo_eje - 17.32 + 180) 34 | t.circle(170.11, 34.63) 35 | 36 | t.pencolor("#a72545") 37 | t.fillcolor("#fd2157") 38 | 39 | petalos_capa1 = [65.2, 168.29, 250.8, 327.29] 40 | for angulo in petalos_capa1: 41 | go(0,0) 42 | t.begin_fill() 43 | petalo1(angulo) 44 | t.end_fill() 45 | 46 | 47 | t.pencolor("#df347d") 48 | t.fillcolor("#ff80b6") 49 | 50 | petalos_capa2 = [12.51, 119.16, 216.07, 293.71] 51 | for angulo in petalos_capa2: 52 | go(0,0) 53 | t.begin_fill() 54 | petalo1(angulo) 55 | t.end_fill() 56 | 57 | petalos_capa3 = [350.43, 78.47, 137.49, 193.74, 58 | 264.44, 41.44, 112.74, 168.29, 59 | 236.28, 307.56] 60 | for angulo in petalos_capa3: 61 | go(0,0) 62 | t.begin_fill() 63 | petalo2(angulo) 64 | t.end_fill() 65 | 66 | 67 | petalos_capa4 = [3.29, 59.45, 125.24, 176.54, 68 | 247.16, 312.27, 24.57, 93.79, 69 | 152.34, 214.16, 276.63, 340.03] 70 | for angulo in petalos_capa4: 71 | go(0,0) 72 | t.begin_fill() 73 | petalo3(angulo) 74 | t.end_fill() 75 | 76 | t.pencolor("#ffc414") 77 | t.fillcolor("#e5e619") 78 | 79 | petalos_capa4 = [17.45, 53.49, 79.61, 102.65, 80 | 129.66, 168.29, 199.65, 234.34, 81 | 258.19, 296.7, 310.05, 345.98] 82 | for angulo in petalos_capa4: 83 | go(0,0) 84 | t.begin_fill() 85 | petalo4(angulo) 86 | t.end_fill() 87 | 88 | turtle.speed(0) 89 | phi = 137.508 * (math.pi / 180.0) 90 | for i in range (200): 91 | r = 4 * math.sqrt(i) 92 | x = r * math.cos(i * phi) 93 | y = r * math.sin(i * phi) 94 | t.penup() 95 | t.goto(x, y) 96 | t.setheading(i * 137.508) 97 | t.pendown() 98 | t.stamp() 99 | 100 | t.hideturtle() -------------------------------------------------------------------------------- /flores_radial.py: -------------------------------------------------------------------------------- 1 | import turtle as t 2 | import colorsys 3 | 4 | t.bgcolor("black") 5 | t.tracer(968) 6 | 7 | def draw(): 8 | h = 0 9 | n = 20 10 | t.up() 11 | t.goto(0, 0) 12 | t.down() 13 | t.pensize() 14 | for i in range(73): 15 | c = colorsys.hsv_to_rgb(h,1,1) 16 | h += 1/n 17 | t.color(c) 18 | t.fd(10) 19 | t.circle(i, 4.5) 20 | for j in range(550): 21 | t.lt(971) 22 | t.circle(i*.1, j , steps=2) 23 | t.circle(i,2) 24 | draw() 25 | t.done() -------------------------------------------------------------------------------- /hearts.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(5) 4 | t.shape("turtle") 5 | 6 | def go(x, y): 7 | t.penup() 8 | t.goto(x, y) 9 | t.pendown() 10 | 11 | def arco(direc, radio, ang): 12 | t.seth(direc) 13 | t.circle(radio, ang) 14 | 15 | def linea(direc, longitud): 16 | t.seth(direc) 17 | t.forward(longitud) 18 | 19 | x = [78.71, -28.25, -96.17, -31.18, 76.9] 20 | y = [55.28, 91.94, 1.53, -90.99, -57.77] 21 | angle = [326, 38, 110, 182, 254] 22 | t.fillcolor("Pink") 23 | for i in range(5): 24 | go(x[i], y[i]) 25 | t.begin_fill() 26 | linea(angle[i], 92.97) 27 | arco(angle[i], 98.45, 41.46) 28 | arco(angle[i]+41.45, 65.99, 58.91) 29 | arco(angle[i]+100.36, 59.51, 98.77) 30 | arco(angle[i]+85.51, 59.51, 98.77) 31 | arco(angle[i]-175.13, 65.99, 58.91) 32 | arco(angle[i]-116.94, 98.45, 41.46) 33 | linea(angle[i]-75.24, 92.97) 34 | t.end_fill() 35 | 36 | x = [-61.89, -188.06, -54.33, 154.48, 149.81] 37 | y = [177.63, -3.97, -180.09, -107.32, 113.75] 38 | angle = [29.6, 101.6, 173.6, 245.6, 317.6] 39 | t.fillcolor("DeepPink") 40 | for i in range(5): 41 | go(x[i], y[i]) 42 | t.begin_fill() 43 | arco(angle[i], 263.13, 9.56) 44 | arco(angle[i]+9.57, 24.6, 131.78) 45 | arco(angle[i]+141.34, 22.27, 54.38) 46 | arco(angle[i]+95.49, 22.27, 54.38) 47 | arco(angle[i]+149.86, 24.6, 131.78) 48 | arco(angle[i]+281.64, 263.13, 9.56) 49 | t.end_fill() 50 | 51 | x = [59.74, -57.28, -95.14, -1.51, 94.2] 52 | y = [79.64, 81.42, -29.32, -99.54, -32.2] 53 | angle = [31.85, 103.85, 175.85, 247.85, 319.85] 54 | t.fillcolor("Red") 55 | for i in range(5): 56 | go(x[i], y[i]) 57 | t.begin_fill() 58 | arco(angle[i], 251.38, 19.33) 59 | arco(angle[i]+19.33, 47.45, 38.59) 60 | arco(angle[i]+57.92, 38.43, 156.78) 61 | arco(angle[i]+81.6, 38.43, 156.78) 62 | arco(angle[i]+238.38, 47.45, 38.59) 63 | arco(angle[i]+276.97, 251.38, 19.33) 64 | t.end_fill() 65 | 66 | x = [127.9, -169.63, -232.74, 25.79, 248.68] 67 | y = [219.92, 189.6, -102.74, -253.1, -53.68] 68 | angle = [348.54, 72, 144, 216, 288] 69 | t.fillcolor("MediumVioletRed") 70 | for i in range(5): 71 | go(x[i], y[i]) 72 | t.begin_fill() 73 | arco(angle[i], 40.4, 47.5) 74 | arco(angle[i]+47.5, 13.4, 161.89) 75 | arco(angle[i]-252.41, 13.4, 161.89) 76 | arco(angle[i]-90.52, 40.4, 47.5) 77 | t.end_fill() 78 | 79 | t.hideturtle() 80 | turtle.done() -------------------------------------------------------------------------------- /logo_spider.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(3) 4 | 5 | turtle.bgcolor("red") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("black") 13 | t.fillcolor("black") 14 | 15 | go(0,113.5) 16 | t.begin_fill() 17 | t.seth(137.28) 18 | t.forward(12.27) 19 | t.seth(225) 20 | t.forward(10.64) 21 | t.seth(92.28) 22 | t.forward(10.24) 23 | t.seth(47.28) 24 | t.forward(11.24) 25 | t.seth(208.65) 26 | t.forward(10.65) 27 | t.seth(253.65) 28 | t.forward(10.71) 29 | t.seth(137.28) 30 | t.forward(30.30) 31 | t.seth(182.28) 32 | t.forward(57.11) 33 | t.seth(84.84) 34 | t.circle(-744.24, 9.86) 35 | t.seth(244.44) 36 | t.circle(521.55, 15.15) 37 | t.seth(319.82) 38 | t.forward(18.08) 39 | t.seth(29.61) 40 | t.forward(12.02) 41 | t.seth(0) 42 | t.forward(52.91) 43 | t.seth(299.61) 44 | t.forward(21.74) 45 | t.seth(157.33) 46 | t.forward(28.94) 47 | t.seth(194.98) 48 | t.forward(86.30) 49 | t.seth(92.15) 50 | t.circle(-335.48, 29.01) 51 | t.seth(237.87) 52 | t.circle(420.98, 23.97) 53 | t.seth(320.86) 54 | t.forward(31.24) 55 | t.seth(32.25) 56 | t.forward(17.84) 57 | t.seth(24.98) 58 | t.forward(20.19) 59 | t.seth(10.21) 60 | t.forward(50.78) 61 | t.seth(349.91) 62 | t.forward(18.99) 63 | t.seth(315) 64 | t.forward(11.31) 65 | t.seth(183.71) 66 | t.forward(40.30) 67 | t.seth(220.59) 68 | t.forward(123.90) 69 | t.seth(154.88) 70 | t.forward(15.38) 71 | t.seth(269.34) 72 | t.circle(404.46, 30.41) 73 | t.seth(112.84) 74 | t.circle(-413.64, 26.25) 75 | t.seth(41.34) 76 | t.forward(117.73) 77 | t.seth(23.17) 78 | t.forward(8.67) 79 | t.seth(5.41) 80 | t.forward(29.05) 81 | t.seth(218.84) 82 | t.forward(49.87) 83 | t.seth(153.16) 84 | t.forward(9.61) 85 | t.seth(272.86) 86 | t.forward(131.79) 87 | t.seth(272.86) 88 | t.circle(326.82, 29.62) 89 | t.seth(114.94) 90 | t.circle(-363.55, 26.48) 91 | t.seth(88.46) 92 | t.forward(102.62) 93 | t.seth(135) 94 | t.forward(7.96) 95 | t.seth(61.85) 96 | t.circle(-89.39, 33.63) 97 | t.seth(270) 98 | t.forward(4.78) 99 | t.seth(243.16) 100 | t.forward(18.61) 101 | t.seth(270.04) 102 | t.circle(221.25, 31.61) 103 | 104 | t.seth(58.36) 105 | t.circle(221.25, 31.61) 106 | t.seth(116.8) 107 | t.forward(18.61) 108 | t.seth(90) 109 | t.forward(4.78) 110 | t.seth(331.79) 111 | t.circle(-89.39, 33.63) 112 | t.seth(225) 113 | t.forward(7.96) 114 | t.seth(271.54) 115 | t.forward(102.62) 116 | t.seth(271.54) 117 | t.circle(-363.55, 26.48) 118 | t.seth(57.52) 119 | t.circle(326.82, 29.62) 120 | t.seth(87.14) 121 | t.forward(131.79) 122 | t.seth(206.84) 123 | t.forward(9.61) 124 | t.seth(141.12) 125 | t.forward(49.87) 126 | t.seth(354.59) 127 | t.forward(29.05) 128 | t.seth(336.83) 129 | t.forward(8.67) 130 | t.seth(318.66) 131 | t.forward(117.73) 132 | t.seth(273.41) 133 | t.circle(-413.64, 26.25) 134 | t.seth(60.26) 135 | t.circle(404.46, 30.41) 136 | t.seth(205.12) 137 | t.forward(15.38) 138 | t.seth(139.41) 139 | t.forward(123.90) 140 | t.seth(176.29) 141 | t.forward(40.30) 142 | t.seth(45) 143 | t.forward(11.31) 144 | t.seth(10.09) 145 | t.forward(18.99) 146 | t.seth(349.79) 147 | t.forward(50.78) 148 | t.seth(335.02) 149 | t.forward(20.19) 150 | t.seth(327.75) 151 | t.forward(17.84) 152 | t.seth(39.14) 153 | t.forward(31.24) 154 | t.seth(98.15) 155 | t.circle(420.98, 23.97) 156 | t.seth(296.87) 157 | t.circle(-335.48, 29.01) 158 | t.seth(165.02) 159 | t.forward(86.30) 160 | t.seth(202.67) 161 | t.forward(28.94) 162 | t.seth(60.39) 163 | t.forward(21.74) 164 | t.seth(0) 165 | t.forward(52.91) 166 | t.seth(330.39) 167 | t.forward(12.02) 168 | t.seth(40.18) 169 | t.forward(18.08) 170 | t.seth(100.42) 171 | t.circle(521.55, 15.15) 172 | t.seth(285.02) 173 | t.circle(-744.24, 9.86) 174 | t.seth(177.72) 175 | t.forward(57.11) 176 | t.seth(222.72) 177 | t.forward(30.30) 178 | t.seth(106.35) 179 | t.forward(10.71) 180 | t.seth(151.35) 181 | t.forward(10.65) 182 | t.seth(312.72) 183 | t.forward(11.24) 184 | t.seth(267.72) 185 | t.forward(10.24) 186 | t.seth(132.72) 187 | t.forward(10.64) 188 | t.seth(222.72) 189 | t.forward(12.27) 190 | t.end_fill() 191 | 192 | t.hideturtle() -------------------------------------------------------------------------------- /margaritas_amarillas.py: -------------------------------------------------------------------------------- 1 | import math 2 | import turtle 3 | turtle.bgcolor("black") 4 | turtle.pencolor("black") 5 | turtle.shape("triangle") 6 | turtle.speed(0) 7 | turtle.fillcolor("orangered") 8 | phi = 137.508 * (math.pi / 180.0) 9 | for i in range (180 + 40): 10 | r = 4 * math.sqrt(i) 11 | theta = i * phi 12 | x = r * math.cos(theta) 13 | y = r * math.sin(theta) 14 | turtle.penup() 15 | turtle.goto(x, y) 16 | turtle.setheading(i * 137.508) 17 | turtle.pendown() 18 | if i < 160: 19 | turtle.stamp() 20 | else: 21 | turtle.fillcolor("yellow") 22 | turtle.begin_fill() 23 | turtle.left(-5) 24 | turtle.circle(500, 25) 25 | turtle.right(-155) 26 | turtle.circle(500, 25) 27 | turtle.end_fill() 28 | turtle.hideturtle() 29 | turtle.done() -------------------------------------------------------------------------------- /navidad.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | t = turtle.Turtle() 3 | t.pensize(5) 4 | 5 | turtle.bgcolor("black") 6 | 7 | def go(x,y): 8 | t.penup() 9 | t.goto(x,y) 10 | t.pendown() 11 | 12 | t.pencolor("#663333") 13 | t.fillcolor("#663333") 14 | 15 | go(-40, -210) 16 | 17 | t.begin_fill() 18 | t.seth(270) 19 | t.goto(-40,-270) 20 | t.circle(10,90) 21 | t.goto(30,-280) 22 | t.circle(10,90) 23 | t.goto(40,-210) 24 | t.end_fill() 25 | 26 | t.pencolor("#1B5E20") 27 | t.fillcolor("#008000") 28 | 29 | go(0, 245) 30 | 31 | t.begin_fill() 32 | t.goto(-105, 122.5) 33 | t.goto(-70, 122.5) 34 | t.goto(-140, 35) 35 | t.goto(-105, 35) 36 | t.goto(-210, -87.5) 37 | t.goto(-175, -87.5) 38 | t.goto(-245, -210) 39 | t.goto(-105, -192.5) 40 | t.goto(-140, -227.5) 41 | t.goto(-0, -210) 42 | t.goto(140, -227.5) 43 | t.goto(105, -192.5) 44 | t.goto(245, -210) 45 | t.goto(175, -87.5) 46 | t.goto(210, -87.5) 47 | t.goto(105, 35) 48 | t.goto(140, 35) 49 | t.goto(70, 122.5) 50 | t.goto(105, 122.5) 51 | t.goto(0, 245) 52 | t.end_fill() 53 | 54 | t.pencolor("#F9A825") 55 | t.fillcolor("#FFEE58") 56 | 57 | go(0, 315) 58 | 59 | t.begin_fill() 60 | t.goto(-15, 280) 61 | t.goto(-50, 280) 62 | t.goto(-20, 258) 63 | t.goto(-35, 225) 64 | t.goto(0, 238) 65 | t.goto(35, 225) 66 | t.goto(20, 258) 67 | t.goto(50, 280) 68 | t.goto(15, 280) 69 | t.goto(0, 315) 70 | t.end_fill() 71 | 72 | go(70, 175) 73 | 74 | t.begin_fill() 75 | t.goto(-98, 139) 76 | t.goto(-77, 162) 77 | t.goto(52.5, 192.5) 78 | t.goto(70, 175) 79 | t.end_fill() 80 | 81 | go(105, 87.5) 82 | 83 | t.begin_fill() 84 | t.goto(-140, 38) 85 | t.goto(-122.5, 59) 86 | t.goto(87.5, 105) 87 | t.goto(105, 87.5) 88 | t.end_fill() 89 | 90 | go(140, 0) 91 | 92 | t.begin_fill() 93 | t.goto(-194, -70) 94 | t.goto(-175, -48) 95 | t.goto(122.5, 17.5) 96 | t.goto(140, 0) 97 | t.end_fill() 98 | 99 | go(192.5, -105) 100 | 101 | t.begin_fill() 102 | t.goto(-235, -180) 103 | t.goto(-215, -157.5) 104 | t.goto(175, -87.5) 105 | t.goto(192.5, -105) 106 | t.end_fill() 107 | 108 | t.pencolor("#B71C1C") 109 | t.fillcolor("#FF0000") 110 | 111 | go(0, 192.5) 112 | 113 | t.begin_fill() 114 | t.circle(12) 115 | go(0, 17.5) 116 | t.circle(12) 117 | t.end_fill() 118 | 119 | go(-122.5, -122.5) 120 | 121 | t.begin_fill() 122 | t.circle(12) 123 | go(122.5, -175) 124 | t.circle(12) 125 | t.end_fill() 126 | 127 | t.pencolor("#880E4F") 128 | t.fillcolor("#E91E63") 129 | 130 | go(-35, 105) 131 | 132 | t.begin_fill() 133 | t.circle(12) 134 | go(70, 38) 135 | t.circle(12) 136 | t.end_fill() 137 | 138 | go(-17.5, -87.5) 139 | 140 | t.begin_fill() 141 | t.circle(12) 142 | t.end_fill() 143 | 144 | t.pencolor("#1A237E") 145 | t.fillcolor("#0000FF") 146 | 147 | go(52.5, 122.5) 148 | 149 | t.begin_fill() 150 | t.circle(12) 151 | go(-87.5, -17.5) 152 | t.circle(12) 153 | t.end_fill() 154 | 155 | go(-52.5, -192.5) 156 | 157 | t.begin_fill() 158 | t.circle(12) 159 | t.end_fill() 160 | 161 | go(87.5, -70) 162 | 163 | t.begin_fill() 164 | t.circle(12) 165 | t.end_fill() 166 | 167 | t.hideturtle() -------------------------------------------------------------------------------- /peluche_caligari.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(2) 5 | turtle.bgcolor("black") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | t.pencolor("#A93226") 13 | t.fillcolor("#A93226") 14 | 15 | go(197.99, -14.77) 16 | t.begin_fill() 17 | t.seth(85.29) 18 | t.forward(86.90) 19 | t.seth(180) 20 | t.forward(407.99) 21 | t.seth(275.04) 22 | t.forward(86.94) 23 | t.seth(0) 24 | t.forward(393.21) 25 | t.end_fill() 26 | 27 | go(188.88, -85.90) 28 | t.begin_fill() 29 | t.seth(180) 30 | t.forward(374.98) 31 | t.seth(279.07) 32 | t.forward(45.43) 33 | t.seth(315.22) 34 | t.forward(70.11) 35 | t.seth(0) 36 | t.forward(43.35) 37 | t.seth(117.64) 38 | t.forward(66.93) 39 | t.seth(312.68) 40 | t.forward(71.94) 41 | t.seth(107.33) 42 | t.forward(36.60) 43 | t.seth(317.7) 44 | t.forward(25.95) 45 | t.seth(99.07) 46 | t.forward(48.54) 47 | t.seth(297.64) 48 | t.forward(81.06) 49 | t.seth(0) 50 | t.forward(62.51) 51 | t.seth(62.36) 52 | t.forward(81.06) 53 | t.seth(260.93) 54 | t.forward(48.54) 55 | t.seth(42.3) 56 | t.forward(25.95) 57 | t.seth(252.67) 58 | t.forward(36.60) 59 | t.seth(47.32) 60 | t.forward(71.94) 61 | t.seth(242.36) 62 | t.forward(66.93) 63 | t.seth(0) 64 | t.forward(43.35) 65 | t.seth(44.78) 66 | t.forward(70.11) 67 | t.seth(80.93) 68 | t.forward(45.43) 69 | t.end_fill() 70 | 71 | t.pencolor("#9A7D0A") 72 | t.fillcolor("gold") 73 | t.pensize(4) 74 | 75 | go(0, -260.97) 76 | t.begin_fill() 77 | t.seth(157.05) 78 | t.circle(-497.47, 25.74) 79 | t.seth(96.68) 80 | t.forward(216.77) 81 | t.seth(63.43) 82 | t.forward(35.68) 83 | t.seth(221.8) 84 | t.forward(51.88) 85 | t.seth(277) 86 | t.forward(289.77) 87 | t.seth(77.07) 88 | t.forward(42.85) 89 | t.seth(313.76) 90 | t.circle(528.44, 24.12) 91 | t.seth(22.12) 92 | t.circle(528.44, 24.12) 93 | t.seth(282.93) 94 | t.forward(42.85) 95 | t.seth(83) 96 | t.forward(289.77) 97 | t.seth(138.2) 98 | t.forward(51.88) 99 | t.seth(296.57) 100 | t.forward(35.68) 101 | t.seth(263.32) 102 | t.forward(216.77) 103 | t.seth(228.69) 104 | t.circle(-497.47, 25.74) 105 | t.end_fill() 106 | 107 | go(0, 194.99) 108 | t.begin_fill() 109 | t.seth(207.96) 110 | t.forward(12.85) 111 | t.seth(138.9) 112 | t.forward(9.16) 113 | t.seth(100.08) 114 | t.forward(25.03) 115 | t.seth(246.88) 116 | t.forward(41.45) 117 | t.seth(297.96) 118 | t.forward(7.18) 119 | t.seth(207.96) 120 | t.forward(18.32) 121 | t.seth(130.16) 122 | t.circle(100.13,48.05) 123 | t.seth(242.08) 124 | t.circle(-33,107.74) 125 | t.seth(134.34) 126 | t.circle(-78.06,63.25) 127 | t.seth(231.18) 128 | t.circle(106.82,75.63) 129 | t.seth(210.31) 130 | t.circle(54.89,47.84) 131 | t.seth(18.48) 132 | t.forward(39.12) 133 | t.seth(251.35) 134 | t.forward(34.66) 135 | t.seth(17.7) 136 | t.circle(69.99,50.97) 137 | t.seth(294.12) 138 | t.circle(-59.38,48.24) 139 | t.seth(23.4) 140 | t.circle(53.65,62.72) 141 | t.seth(95.33) 142 | t.circle(-22.44,111.31) 143 | t.seth(328.22) 144 | t.circle(-138.80,52.04) 145 | t.seth(71.78) 146 | t.forward(19.22) 147 | t.seth(280.88) 148 | t.circle(-355.02,36.93) 149 | t.seth(244.22) 150 | t.circle(57.29,117.41) 151 | t.seth(358.8) 152 | t.circle(57.29,117.41) 153 | t.seth(116.21) 154 | t.circle(-355.02,36.93) 155 | t.seth(288.65) 156 | t.forward(19.22) 157 | t.seth(84.25) 158 | t.circle(-138.80,52.04) 159 | t.seth(16.41) 160 | t.circle(-22.44,111.31) 161 | t.seth(274.31) 162 | t.circle(53.65,62.72) 163 | t.seth(114.55) 164 | t.circle(-59.38,48.24) 165 | t.seth(291.75) 166 | t.circle(69.99,50.97) 167 | t.seth(109.08) 168 | t.forward(34.66) 169 | t.seth(341.95) 170 | t.forward(39.12) 171 | t.seth(102.28) 172 | t.circle(54.89,47.84) 173 | t.seth(53.62) 174 | t.circle(106.82,75.63) 175 | t.seth(289.34) 176 | t.circle(-78.06,63.25) 177 | t.seth(226.09) 178 | t.circle(-33,107.74) 179 | t.seth(182.22) 180 | t.circle(100.13,48.05) 181 | t.seth(152.47) 182 | t.forward(18.32) 183 | t.seth(62.47) 184 | t.forward(7.18) 185 | t.seth(113.55) 186 | t.forward(41.45) 187 | t.seth(260.35) 188 | t.forward(25.03) 189 | t.seth(221.52) 190 | t.forward(9.16) 191 | t.seth(152.47) 192 | t.forward(12.85) 193 | t.end_fill() 194 | 195 | go(-46.43, 62.82) 196 | t.begin_fill() 197 | t.seth(229.17) 198 | t.forward(22.55) 199 | t.seth(172.78) 200 | t.forward(129.80) 201 | t.seth(325.81) 202 | t.forward(43.41) 203 | t.seth(348.29) 204 | t.forward(76.42) 205 | t.seth(271.08) 206 | t.forward(90.68) 207 | t.seth(171.87) 208 | t.forward(79.88) 209 | t.seth(135.73) 210 | t.forward(31.16) 211 | t.seth(282.32) 212 | t.forward(91.35) 213 | t.seth(325.81) 214 | t.forward(18.09) 215 | t.seth(93.2) 216 | t.forward(45.54) 217 | t.seth(353.59) 218 | t.forward(98.62) 219 | t.seth(89.11) 220 | t.forward(163.26) 221 | t.end_fill() 222 | 223 | go(46.43, 62.82) 224 | t.begin_fill() 225 | t.seth(311.26) 226 | t.forward(22.55) 227 | t.seth(7.65) 228 | t.forward(129.80) 229 | t.seth(214.62) 230 | t.forward(43.41) 231 | t.seth(192.14) 232 | t.forward(76.42) 233 | t.seth(269.35) 234 | t.forward(90.68) 235 | t.seth(8.56) 236 | t.forward(79.88) 237 | t.seth(44.7) 238 | t.forward(31.16) 239 | t.seth(258.11) 240 | t.forward(91.35) 241 | t.seth(214.62) 242 | t.forward(18.09) 243 | t.seth(87.23) 244 | t.forward(45.54) 245 | t.seth(186.84) 246 | t.forward(98.62) 247 | t.seth(91.32) 248 | t.forward(163.26) 249 | t.end_fill() 250 | 251 | t.pencolor("black") 252 | t.fillcolor("white") 253 | t.pensize(4) 254 | 255 | go(60.13, -182.33) 256 | t.begin_fill() 257 | t.seth(90) 258 | t.circle(60.12) 259 | t.end_fill() 260 | 261 | t.fillcolor("black") 262 | t.pensize(2) 263 | 264 | go(-20.12, -126.21) 265 | t.begin_fill() 266 | t.seth(200.99) 267 | t.circle(60.12, 52.01) 268 | t.seth(10.6) 269 | t.forward(15.77) 270 | t.seth(43.63) 271 | t.forward(25.41) 272 | t.seth(83.5) 273 | t.forward(18.24) 274 | t.end_fill() 275 | 276 | go(48.92, -145.49) 277 | t.begin_fill() 278 | t.seth(307.8) 279 | t.circle(-60.12, 45.73) 280 | t.seth(127.91) 281 | t.forward(10.51) 282 | t.seth(104.09) 283 | t.forward(22.92) 284 | t.seth(90) 285 | t.forward(14.61) 286 | t.end_fill() 287 | 288 | go(17.25, -138.77) 289 | t.begin_fill() 290 | t.seth(202.01) 291 | t.forward(21.30) 292 | t.seth(280.6) 293 | t.forward(21.26) 294 | t.seth(347.63) 295 | t.forward(21.90) 296 | t.seth(55.07) 297 | t.forward(19.53) 298 | t.seth(133.63) 299 | t.forward(24.26) 300 | t.end_fill() 301 | 302 | go(-14.91, -182.33) 303 | t.begin_fill() 304 | t.seth(176.65) 305 | t.forward(21.04) 306 | t.seth(254.4) 307 | t.forward(20.92) 308 | t.seth(318.41) 309 | t.forward(23.54) 310 | t.seth(34.86) 311 | t.forward(17.80) 312 | t.seth(102.9) 313 | t.forward(25) 314 | t.end_fill() 315 | 316 | go(46.29, -199.81) 317 | t.begin_fill() 318 | t.seth(159.43) 319 | t.forward(17.25) 320 | t.seth(228.41) 321 | t.forward(24.12) 322 | t.seth(292.01) 323 | t.forward(16.64) 324 | t.seth(20.98) 325 | t.forward(21.92) 326 | t.seth(74.4) 327 | t.forward(20.30) 328 | t.end_fill() 329 | 330 | go(17.25, -124.34) 331 | t.seth(270) 332 | t.forward(14.43) 333 | go(-2.5, -146.75) 334 | t.seth(172.97) 335 | t.forward(19.84) 336 | go(48.92, -160.10) 337 | t.seth(165.82) 338 | t.forward(15.40) 339 | go(54.50, -182.33) 340 | t.seth(244.85) 341 | t.forward(19.31) 342 | go(30.14, -193.75) 343 | t.seth(108.92) 344 | t.forward(22.63) 345 | go(1.41, -167.65) 346 | t.seth(221.97) 347 | t.forward(21.96) 348 | go(-35.92, -181.10) 349 | t.seth(103.61) 350 | t.forward(19.81) 351 | go(14.13, -211.79) 352 | t.seth(167.77) 353 | t.forward(24.01) 354 | go(-41.54, -201.25) 355 | t.seth(180) 356 | t.forward(14.11) 357 | go(20.37, -227.21) 358 | t.seth(213.47) 359 | t.forward(27.41) 360 | go(-14.9, -240.19) 361 | t.seth(111.16) 362 | t.forward(25) 363 | 364 | t.hideturtle() 365 | turtle.done() -------------------------------------------------------------------------------- /ramo_personalizable.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(4) 5 | t.shape("turtle") 6 | turtle.bgcolor("black") 7 | 8 | def go(x, y): 9 | t.penup() 10 | t.goto(x, y) 11 | t.pendown() 12 | 13 | t.pencolor("DarkKhaki") 14 | t.fillcolor("Khaki") 15 | 16 | go(40.03, -167.53) 17 | t.begin_fill() 18 | t.seth(104.91) 19 | t.circle(120.54, 29.94) 20 | t.seth(49.57) 21 | t.circle(-315.30, 15.58) 22 | t.seth(33.99) 23 | t.circle(172.07, 64.94) 24 | t.seth(185.9) 25 | t.circle(227.51, 53.26) 26 | t.seth(239.17) 27 | t.circle(99.15, 72.41) 28 | t.seth(213.64) 29 | t.circle(74.25, 50.32) 30 | t.seth(336.29) 31 | t.circle(108.41, 47.43) 32 | t.end_fill() 33 | 34 | go(-37.02, -69.53) 35 | t.begin_fill() 36 | t.seth(98.75) 37 | t.circle(-121.74, 54.75) 38 | t.seth(131.6) 39 | t.circle(187.54, 48.16) 40 | t.seth(253.4) 41 | t.circle(134.51, 95.25) 42 | t.end_fill() 43 | 44 | t.pencolor("MediumVioletRed") 45 | t.fillcolor("HotPink") 46 | 47 | go(69.69, -55.52) 48 | t.begin_fill() 49 | t.seth(184.72) 50 | t.circle(90.59, 53.66) 51 | t.seth(127.63) 52 | t.circle(111.93, 45.5) 53 | t.seth(234.89) 54 | t.circle(80.10, 70.23) 55 | t.seth(9.8) 56 | t.circle(152.91, 31.68) 57 | t.seth(311.3) 58 | t.circle(108.05, 42.6) 59 | t.seth(58.45) 60 | t.circle(88.07, 63.09) 61 | t.end_fill() 62 | 63 | go(16.3, -99.27) 64 | t.begin_fill() 65 | t.seth(90) 66 | t.circle(19.5) 67 | t.end_fill() 68 | 69 | def hojas(angulo): 70 | t.begin_fill() 71 | t.seth(angulo) 72 | t.circle(75.61,121.08) 73 | t.seth(angulo+175.63) 74 | t.circle(72.70, 129.82) 75 | t.end_fill() 76 | 77 | t.pencolor("DarkGreen") 78 | t.fillcolor("LimeGreen") 79 | 80 | go(-79.30, 110.03) 81 | hojas(165.01) 82 | go(-122.12, 151) 83 | hojas(79.67) 84 | 85 | t.fillcolor("LawnGreen") 86 | 87 | go(-100.51, 123.98) 88 | hojas(119.46) 89 | go(-90.46, 135.14) 90 | hojas(22.07) 91 | 92 | def flor(x, y): 93 | go(x, y) 94 | t.begin_fill() 95 | t.seth(330.2) 96 | t.circle(22.66, 236.14) 97 | t.seth(42.2) 98 | t.circle(22.66, 236.14) 99 | t.seth(114.2) 100 | t.circle(22.66, 236.14) 101 | t.seth(186.2) 102 | t.circle(22.66, 236.14) 103 | t.seth(258.2) 104 | t.circle(22.66, 236.14) 105 | t.end_fill() 106 | t.pencolor("Gold") 107 | t.fillcolor("Gold") 108 | go(x-4.81, y+20.88) 109 | t.begin_fill() 110 | t.seth(90) 111 | t.circle(22.5) 112 | t.end_fill() 113 | 114 | t.pencolor("Tomato") 115 | t.fillcolor("Orange") 116 | flor(155.36, 115.58) 117 | t.pencolor("SteelBlue") 118 | t.fillcolor("DarkTurquoise") 119 | flor(60.97, 170) 120 | t.pencolor("IndianRed") 121 | t.fillcolor("LightSalmon") 122 | flor(-45.377, 120) 123 | t.pencolor("MediumOrchid") 124 | t.fillcolor("Violet") 125 | flor(-11.60, 41.39) 126 | t.pencolor("DarkGray") 127 | t.fillcolor("White") 128 | flor(65.71, 85.27) 129 | 130 | t.color("Chocolate") 131 | go(100, -250) 132 | t.write("I love you", False, "right", \ 133 | ("Bradley Hand ITC", 40, "bold")) 134 | 135 | t.hideturtle() 136 | turtle.done() -------------------------------------------------------------------------------- /telaraña.py: -------------------------------------------------------------------------------- 1 | import turtle as t 2 | import colorsys as cs 3 | 4 | t.bgcolor("black") 5 | c = 0 6 | t.tracer(2,1) 7 | 8 | for i in range(80): 9 | c += 0.15 10 | color = cs.hsv_to_rgb(c,1,1) 11 | t.pencolor(color) 12 | x = 2 13 | for j in range(1, 90): 14 | x += 2 15 | t.circle(x, j, steps=5) 16 | t.rt(60) 17 | t.right(j) 18 | t.reset() 19 | 20 | t.exitonclick -------------------------------------------------------------------------------- /will_you_be_my_valentine.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(5) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("white") 21 | go(-186.78, -8.13) 22 | t.begin_fill() 23 | linea(270, 267.92) 24 | linea(0, 467.72) 25 | linea(90, 267.92) 26 | linea(180, 467.72) 27 | t.end_fill() 28 | t.begin_fill() 29 | linea(39.37, 268.77) 30 | arco(39.37, -41.11, 78.73) 31 | linea(320.63, 268.77) 32 | linea(180, 467.72) 33 | t.end_fill() 34 | 35 | t.fillcolor("Silver") 36 | t.begin_fill() 37 | linea(337.55, 221.41) 38 | arco(337.55, 76.55, 44.91) 39 | linea(22.45, 221.41) 40 | linea(180, 467.72) 41 | t.end_fill() 42 | 43 | t.fillcolor("Black") 44 | go(-14.61, -153.89) 45 | t.begin_fill() 46 | arco(90, 64.84, 360) 47 | t.end_fill() 48 | go(239.54, -155.77) 49 | t.begin_fill() 50 | arco(90, 63.91, 360) 51 | t.end_fill() 52 | 53 | t.pensize(1) 54 | t.fillcolor("Pink") 55 | t.pencolor("Pink") 56 | go(-108.02, -232.42) 57 | t.begin_fill() 58 | arco(90, 31.52, 360) 59 | t.end_fill() 60 | go(271.49, -229.91) 61 | t.begin_fill() 62 | arco(90, 30.95, 360) 63 | t.end_fill() 64 | 65 | t.fillcolor("White") 66 | t.pencolor("White") 67 | go(-66.09, -136.21) 68 | t.begin_fill() 69 | arco(90, 26.94, 360) 70 | t.end_fill() 71 | go(188.23, -139.16) 72 | t.begin_fill() 73 | arco(90, 26.95, 360) 74 | t.end_fill() 75 | go(-48.14, -182.03) 76 | t.begin_fill() 77 | arco(90, 12.77, 360) 78 | t.end_fill() 79 | go(205.76, -184.78) 80 | t.begin_fill() 81 | arco(90, 12.41, 360) 82 | t.end_fill() 83 | 84 | t.pensize(8) 85 | t.pencolor("Black") 86 | go(80.05, -181.18) 87 | arco(219.25, -71.6, 65.45) 88 | go(81.89, -210.84) 89 | arco(232.2, -24.96, 70.62) 90 | 91 | t.pensize(5) 92 | t.fillcolor("Wheat") 93 | go(-114.49, -38) 94 | t.begin_fill() 95 | linea(337.55, 143.19) 96 | arco(337.55, 76.55, 44.91) 97 | linea(22.45, 138.66) 98 | linea(90, 129.48) 99 | linea(180, 318.96) 100 | linea(270, 129.48) 101 | t.end_fill() 102 | 103 | go(130, 30) 104 | t.write("Will you be", False, 105 | "right", ("arial", 25)) 106 | go(70, -10) 107 | t.write("my", False, 108 | "right", ("arial", 25)) 109 | t.color("red") 110 | go(150, -60) 111 | t.write("valentine?", False, 112 | "right", ("arial", 30, "bold")) 113 | 114 | t.fillcolor("Red") 115 | t.pencolor("Black") 116 | go(-152.96, 83.47) 117 | t.begin_fill() 118 | arco(69.88, -286.51, 5.74) 119 | arco(64.14, 149.59, 18.81) 120 | arco(82.94, 50.57, 45.28) 121 | arco(128.23, 39.43, 148.4) 122 | arco(148, 45.33, 28.96) 123 | arco(176.96, 34.04, 97.51) 124 | arco(274.46, 55.53, 76.12) 125 | arco(350.58, 237.37, 16.14) 126 | t.end_fill() 127 | 128 | go(158.67, 146.56) 129 | t.begin_fill() 130 | arco(16.32, -487.58, 5.43) 131 | arco(10.9, 76.98, 23.98) 132 | arco(34.88, 32.51, 73.83) 133 | arco(108.71, 30.29, 116.87) 134 | arco(78.83, 22.46, 57.98) 135 | arco(136.81, 30.96, 100.17) 136 | arco(236.99, 45.87, 39.56) 137 | arco(276.55, 105.7, 34.01) 138 | t.end_fill() 139 | 140 | t.pensize(9) 141 | t.pencolor("White") 142 | go(177.46, 215.19) 143 | arco(85.42, 24.28, 60.67) 144 | go(-153.02, 166.3) 145 | arco(95.23, 30.25, 73.55) 146 | 147 | t.hideturtle() 148 | turtle.done() -------------------------------------------------------------------------------- /yellow_flower.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | 3 | t = turtle.Turtle() 4 | t.pensize(3) 5 | t.shape("turtle") 6 | 7 | def go(x, y): 8 | t.penup() 9 | t.goto(x, y) 10 | t.pendown() 11 | 12 | def arco(direc, radio, ang): 13 | t.seth(direc) 14 | t.circle(radio, ang) 15 | 16 | def linea(direc, longitud): 17 | t.seth(direc) 18 | t.forward(longitud) 19 | 20 | t.fillcolor("LimeGreen") 21 | go(52.29, 104.26) 22 | t.begin_fill() 23 | arco(206.44, -26.96, 26.44) 24 | arco(281.55, -460.92, 33.98) 25 | arco(247.57, 175.21, 38.2) 26 | arco(285.77, 6.92, 180) 27 | arco(103.48, -182.9, 35.42) 28 | arco(68.06, 460.63, 34.33) 29 | t.end_fill() 30 | 31 | t.fillcolor("Gold") 32 | go(82.67, 105.89) 33 | ang = 334.09 34 | t.begin_fill() 35 | for i in range(6): 36 | arco(ang, 242.88, 10.31) 37 | arco(ang+10.31, 115.26, 41.29) 38 | arco(ang+51.6, 41, 40.58) 39 | arco(ang+92.18, 10.04, 84.73) 40 | arco(ang+176.91, 100.83, 9.63) 41 | arco(ang+45.45, 60.81, 14.09) 42 | arco(ang+59.53, 11.72, 83.9) 43 | arco(ang+143.43, 40.17, 43.69) 44 | arco(ang+187.12, 108.31, 46.5) 45 | arco(ang+233.62, 462.65, 4.51) 46 | ang += 60 47 | t.end_fill() 48 | 49 | t.fillcolor("#D2691E") 50 | go(82.24, 130.4) 51 | t.begin_fill() 52 | arco(90, 41.96, 360) 53 | t.end_fill() 54 | 55 | t.fillcolor("Green") 56 | go(13.18, -256.53) 57 | t.begin_fill() 58 | arco(68.04, 57.26, 82.02) 59 | arco(150.06, 130.63, 48.22) 60 | arco(281.62, 178.19, 14.31) 61 | arco(295.93, 96.09, 57.53) 62 | arco(353.47, 51.19, 49.84) 63 | t.end_fill() 64 | t.pencolor("DarkGreen") 65 | arco(132.51, 265.41, 28.11) 66 | 67 | t.pencolor("Black") 68 | t.fillcolor("Green") 69 | go(25.87, -163.07) 70 | t.begin_fill() 71 | arco(302.06, 58.79, 64.32) 72 | arco(6.38, 160.35, 57.18) 73 | arco(63.56, 331.87, 9.82) 74 | arco(163.06, 230.85, 35.56) 75 | arco(198.62, 94.76, 84.61) 76 | t.end_fill() 77 | t.pencolor("DarkGreen") 78 | arco(45.23, -387.9, 28.66) 79 | 80 | t.hideturtle() 81 | turtle.done() -------------------------------------------------------------------------------- /ying_yang.py: -------------------------------------------------------------------------------- 1 | from turtle import * 2 | 3 | goto(0, -205) 4 | width(10) 5 | circle(200, 360) 6 | width(2) 7 | home() 8 | begin_fill() 9 | seth(180) 10 | circle(100, 180) 11 | home() 12 | circle(100, 180) 13 | seth(0) 14 | 15 | for i in range(181): 16 | fd(3.5) 17 | rt(1) 18 | 19 | end_fill() 20 | pu() 21 | goto(-10, 100) 22 | dot(50) 23 | goto(10, -100) 24 | color('white') 25 | dot(50) 26 | 27 | done() --------------------------------------------------------------------------------