*Codigo
from Tkinter import *VentanaPrincipal= Tk() VentanaPrincipal.title("Ventana Principal") VentanaPrincipal.config(bg="black") VentanaPrincipal.geometry("1300x25") def ocultar(ventana): ventana.destroy() def ejecutar(f): VentanaPrincipal.after(200, f) def ventanas(num): venhija=Toplevel(VentanaPrincipal) venhija.title("Ventana") venhija.protocol("WM_DELETE_WINDOW", "onexit") venhija.geometry("500x500") if num==1: Circulo = Canvas(venhija, width=210, height=210, bg="black") Circulo.pack(expand=YES, fill=BOTH) Circulo.create_oval(10, 10, 200, 200, width=3, fill='blue') salir= Button(Circulo, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=3) elif num==2: Rectangulo = Canvas(venhija, width=210, height=210, bg="#2E2250") Rectangulo.pack(expand=YES, fill=BOTH) Rectangulo.create_rectangle(10, 10, 200, 200, width=3, fill='#408CBE') salir= Button(Rectangulo, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=3) elif num==3: linea = Canvas(venhija, width=210, height=210, bg='black') linea.pack(expand=YES, fill=BOTH) linea.create_line(0, 200, 200, 0, width=10, fill='#72954F') linea.create_line(0, 0, 200, 200, width=10, fill='#72954F') salir= Button(linea, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==4: queso = Canvas(venhija, width=300, height=200, bg='black') queso.pack(expand=YES, fill=BOTH) queso.create_arc(10, 10, 190, 190, start=270, extent=90, fill='DEEPPINK') salir= Button(queso, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=3) elif num==5: arco = Canvas(venhija, width=300, height=200, bg='white') arco.pack(expand=YES, fill=BOTH) xy = 40, 40, 190, 190 arco.create_arc(xy, start=0, extent=270, fill='#1164BD') salir= Button(arco, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=3) elif num==6: Quecomp= Canvas(venhija, width=300, height=200, bg='black') Quecomp.pack(expand=YES, fill=BOTH) Quecomp.create_arc(60, 60, 200, 200, start=270, extent=90, fill='#3C9E7C') Quecomp.pack(expand=YES, fill=BOTH) xy = 50, 50, 200, 200 Quecomp.create_arc(xy, start=0, extent=270, fill='#CC223E') salir= Button(Quecomp, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=3) elif num==7: texto = Canvas(venhija, width=300, height=200, bg='black') texto.pack(expand=YES, fill=BOTH) texto.create_text(150, 70, fill="#4A85A2", font="Arial 30", text="Romeo Cruz \n ISC") salir= Button(texto, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==8: CabMar= Canvas(venhija, width=200, height=10, bg="black") CabMar.pack(expand=YES, fill=BOTH) c = [35, 65, 50, 55, 50, 50, 47.5, 40, 50, 35, 45, 25, 55, 30, 50, 20, 62.5, 27.5, 70, 15, 72.5, 25, 85, 15, 80, 27.5, 90, 25, 97.5, 27.5, 87.5, 32.5, 105, 35, 95, 47.5, 107.5, 52.5, 95, 62.5, 107.5, 70, 95, 80, 105, 85, 90, 100, 97.5, 105, 82.5, 125, 92.5, 122.5, 105, 110, 110, 100, 112.5, 115, 117.5, 122.5, 105, 127.5, 90, 132.5, 80, 135, 90, 137.5, 100, 135, 115, 130, 112.5, 140, 117.5, 147.5, 95, 147.5, 75, 140, 85, 150, 95, 155, 115, 157.5, 100, 172.5, 110, 180, 120, 195, 125, 205, 127.5, 215, 127.5, 235, 122.5, 255, 115, 275, 105, 290, 90, 300, 75, 305, 60, 300, 50, 295, 40, 282.5, 37.5, 265, 39, 255, 45, 240, 55, 232.5, 65, 230, 75, 235, 80, 240, 80, 250, 70, 260, 60, 262.5, 57.5, 250, 60, 245, 65, 245, 62.5, 250, 65, 255, 75, 250, 75, 242.5, 65, 237.5, 55, 240, 50, 245, 46.5, 255, 45, 265, 47.5, 275, 55, 285, 65, 287.5, 75, 287.5, 85, 282.5, 92.5, 275, 97.5, 265, 100, 255, 102.5, 245, 102.5, 235, 100, 225, 95, 215, 85, 205, 75, 197.5, 65, 192.5, 55, 182.5, 47.5, 175, 40, 165, 32.5, 155, 30, 145, 30, 120, 35, 110, 45, 100, 55, 90, 65, 80, 71, 71, 75, 60, 70, 55, 60, 60, 50, 65, 40, 67.5, 35, 65] for i in range(0, len(c)): c[i] = c[i] + 20 CabMar.create_polygon(c, fill="#BC6539") salir= Button(CabMar, text="Cerrar)", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==9: venado= Canvas(venhija, width=200, height=10, bg="black") venado.pack(expand=YES, fill=BOTH) venado.create_polygon(150, 130, 135, 150, 140, 190, 155, 230, 180, 260, 200, 280, 195, 290, 160, 260, 120, 250, 130, 295, 160, 310, 190, 310, 195, 360, 190, 420, 180, 430, 180, 455, 150, 470, 110, 560, 140, 620, 180, 640, 195, 660, 240, 640, 270, 610, 300, 590, 310, 540, 290, 465, 295, 410, 280, 360, 295, 315, 320, 315, 350, 295, 360, 250, 320, 260, 285, 290, 280, 280, 300, 255, 325, 230, 340, 190, 345, 150, 330, 130, 330, 170, 320, 160, 310, 160, 320, 170, 330, 190, 310, 220, 290, 250, 275, 260, 290, 200, 270, 180, 280, 200, 260, 270, 220, 270, 200, 200, 210, 180, 190, 200, 205, 260, 190, 250, 170, 220, 150, 190, 160, 170, 170, 160, 160, 160, 150, 170, 150, 130, fill="#BEA498") salir= Button(venado, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==10: mariposa = Canvas(venhija, width=300, height=300, bg="Pale Turquoise") mariposa.pack(expand=YES, fill=BOTH) mariposa.create_polygon(40, 20, 20, 60, 40, 100, 80, 120, 40, 160, 80, 220, 60, 240, 120, 220, 140, 140, 150, 180, 160, 140, 180, 220, 240, 240, 220, 220, 260, 160, 220, 120, 260, 100, 280, 60, 260, 20, 220, 30, 180, 60, 160, 100, 150, 80, 140, 100, 120, 60, 80, 30, 40, 20, fill="Lime Green") salir= Button(mariposa, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==11: caballo= Canvas(venhija, width=200, height=10, bg="black") caballo.pack(expand=YES, fill=BOTH) caballo.create_polygon(80, 10, 110, 40, 40, 100, 60, 100, 20, 140, 40, 140, 10, 190, 30, 190, 20, 220, 50, 200, 60, 220, 40, 260, 140, 240, 190, 210, 170, 190, 150, 140, 160, 140, 190, 150, 200, 150, 220, 140, 210, 110, 180, 80, 180, 70, 150, 30, 140, 30, 120, 4, 120, 30, 80, 10, fill="PERU") salir= Button(caballo, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==12: estrella= Canvas(venhija, width=200, height=10, bg="#1FB4D1") estrella.pack(expand=YES, fill=BOTH) estrella.create_polygon(130, 20, 150, 90, 210, 90, 160, 130, 180, 200, 130, 160, 80, 200, 100, 130, 50, 90, 110, 90, fill="black") salir= Button(estrella, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==13: conejo= Canvas(venhija, width=390, height=350, bg='black') conejo.pack(expand=YES, fill=BOTH) puntos=[00, 20, 60, 20, 80, 80, 120, 80, 160, 20, 220, 40, 180, 40, 140, 80, 160, 100, 160, 120, 160, 140, 140, 160, 180, 180, 200, 200, 200, 240, 180, 280, 140, 300, 180, 320, 180, 340, 120, 340, 100, 320, 80, 340, 20, 340, 20, 320, 60, 300, 20, 280, 00, 240, 00, 200, 20, 180, 60, 160, 40, 140, 40, 120, 40, 100, 60, 80, 40, 40] conejo.create_polygon(puntos, fill="yellow") salir = Button(conejo, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==14: manzana= Canvas(venhija, width=700, height=600, bg='white') manzana.pack(expand=YES, fill=BOTH) manzana.create_polygon((100, 200), (50, 250), (50, 300), (100, 250), (150, 300), (150, 250), (100, 200), (150, 150), fill="green", outline="black", width=2) manzana.create_polygon((100, 100), (150, 50), (250, 50), (250, 150), (200, 200), (150, 150), fill="red", outline="black", width=2) salir = Button(manzana, text="Cerrar)", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==15: perrito = Canvas(venhija, width=300, height=200, bg='black') perrito.pack(expand=YES, fill=BOTH) perrito.create_polygon(180, 60, 200, 80, 180, 120, 200, 140, 240, 120, 240, 180, 260, 180, 260, 140, 300, 140, 300, 180, 320, 180, 320, 120, 340, 60, 300, 100, 240, 100, 220, 80, fill="Burlywood", outline="black") salir = Button(perrito, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==16: gato= Canvas(venhija, width=300, height=200, bg='black') gato.pack(expand=YES, fill=BOTH) gato.create_polygon(420, 180,420, 60,380, 100,300, 100,260, 60,260, 140,220, 100, 180, 100,140, 140,140, 80,150, 80,200, 40, 200, 20,160, 20,90, 80,100, 160, 120, 270,200, 270, 200, 230,160, 230,160, 210,180, 190,220, 190,220, 270, 280, 270,280, 230,260, 230,260, 180,400, 200,360, 220,320, 220,280, 180, fill="Blue", outline="black", width=4) salir = Button(gato, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==17: puntos = [226, 42, 198, 42, 170, 50, 141, 71, 127, 60, 108, 52, 94, 57, 85, 71, 85, 85, 95, 99, 108, 106, 120, 109, 127, 113, 127, 123, 142, 119, 161, 119, 178, 122, 189, 134, 192, 148, 189, 161, 176, 166, 160, 165, 142, 162, 156, 178, 170, 192, 192, 198, 207, 198, 198, 212, 170, 209, 151, 205, 132, 202, 113, 195, 108, 180, 99, 164, 80, 153, 57, 156, 38, 170, 34, 183, 35, 198, 42, 212, 56, 221, 71, 226, 85, 221, 104, 212, 127, 223, 152, 226, 175, 232, 189, 234, 184, 250, 184, 270, 184, 283, 190, 297, 196, 306, 184, 321, 180, 334, 178, 346, 180, 353, 188, 372, 212, 390, 194, 402, 181, 411, 170, 425, 170, 443, 176, 456, 190, 467, 208, 468, 227, 456, 275, 419, 276, 404, 269, 393, 252, 383, 236, 382, 221, 371, 206, 361, 201, 350, 203, 340, 209, 333, 221, 326, 237, 326, 255, 322, 270, 314, 280, 305, 297, 291, 311, 288, 335, 288, 354, 293, 368, 301, 378, 311, 386, 326, 403, 330, 411, 330, 462, 265, 461, 240, 450, 230, 435, 226, 421, 226, 406, 230, 396, 240, 380, 270, 354, 265, 332, 260, 311, 263, 297, 263, 283, 263, 278, 250, 264, 226, 283, 226, 297, 221, 312, 212, 330, 198, 346, 198, 363, 198, 375, 188, 382, 175, 386, 160, 382, 141, 362, 127, 334, 127, 326, 133, 312, 148, 312, 163, 315, 180, 304, 192, 290, 204, 273, 206, 255, 205, 241, 204, 234, 198, 255, 189, 269, 180, 278, 166, 286, 151, 291, 132, 292, 113, 289, 99, 283, 85, 280, 74, 269, 63, 255, 51, 234, 42] monito= Canvas(venhija, width=500, height=500, bg='black') monito.pack(expand=YES, fill=BOTH) monito.create_polygon(puntos, fill="black", outline="white", width=6) salir = Button(monito, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num==18: figura = Canvas(venhija) figura.config(width=400, height=600,bg='white') figura.pack(expand=YES, fill=BOTH) # Sirve para cargar la figura figura.create_polygon(52.5, 14.5, 37, 59.1, 51, 59.1, fill="#5C554E", outline="#5C554E", width=1) figura.create_polygon(19.3, 56.8, 58, 59.1, 67, 91, 37.5, 83, fill="#C3BAB5", outline="#C3BAB5", width=1) figura.create_polygon(58, 57.8, 78, 77, 71, 103, fill="#D4CCC1", outline="#D4CCC1", width=1) figura.create_polygon(37.5, 83, 67.4, 91, 71, 103, fill="#998C8A", outline="#998C8A", width=1) figura.create_polygon(71, 103, 71, 104.8, 59.1, 104.8, 53.2, 91, fill="#665B57", outline="#665B57", width=1) figura.create_polygon(86, 105.6, 98.2, 148.6, 47, 133.6, 24.2, 103.6, fill="#C3BAB5", outline="#C3BAB5", width=1) figura.create_polygon(98.2, 148.6, 102, 165.2, 47, 133.6, fill="#9B8D8A", outline="#9B8D8A", width=1) figura.create_polygon(86, 105.6, 124, 169, 120, 196, 110.8, 196, fill="#D5CDC2", outline="#D5CDC2", width=1) figura.create_polygon(102, 165.2, 110.8, 196, 99, 196, 80.6, 153, fill="#605550", outline="#605550", width=1) figura.create_polygon(139.5, 197, 147, 241, 71, 220.4, 46, 193, fill="#C3BAB5", outline="#C3BAB5", width=1) figura.create_polygon(147, 241, 150, 261.4, 71, 220.4, fill="#968B87", outline="#968B87", width=1) figura.create_polygon(139.5, 197, 193, 274.2, 189, 307.8, 176, 321, 161.6, 321, fill="#D4CCC1", outline="#D4CCC1", width=1) figura.create_polygon(150, 261.4, 161.6, 321, 126.8, 249, fill="#605551", outline="#605551", width=1) figura.create_polygon(199.4, 307.8, 189, 307.8, 176, 321, 186.6, 461, 184, 448.8, 171, 479.5, 199.4, 503, fill="#C2AD9C", outline="#C2AD9C", width=1) figura.create_polygon(176, 321, 161.6, 321, 186.6, 461, fill="#615652", outline="#615652", width=1) figura.create_polygon(161.6, 321, 136, 359.4, 177.2, 409, fill="#D9C6B7", outline="#D9C6B7", width=1) figura.create_polygon(144.4, 369.8, 139.6, 384.6, 160, 389.4, fill="#443232", outline="#443232", width=1) figura.create_polygon(139.6, 384.6, 160, 389.4, 177.2, 409, 169.2, 450, fill="#826E65", outline="#826E65", width=1) figura.create_polygon(171, 479.5, 180.6, 497.8, 191.2, 496.8, fill="#463334", outline="#463334", width=1) figura.create_polygon(177.2, 409, 164.8, 475, 176.5, 511, 199.4, 522, 199.4, 502.8, 191.2, 496.8, 180.6, 497.8, 171, 479.5, 184, 448.8, fill="#9B7F79", outline="#9B7F79", width=1) figura.create_polygon(151.8, 335.4, 109.6, 280, 142.2, 349.2, fill="#5F5150", outline="#5F5150", width=1) figura.create_polygon(109.6, 280, 70.3, 266, 94.3, 329, 131.3, 326, fill="#483636", outline="#483636", width=1) figura.create_polygon(94.3, 329, 137, 336, 132, 326.8, fill="#C2AF9D", outline="#C2AF9D", width=1) figura.create_polygon(115, 333, 136, 359.4, 142.2, 349.2, 137, 336, fill="#826E65", outline="#826E65", width=1) # Lado inverso figura.create_polygon(346.5, 14.5, 347.5, 59.1, 361, 59.1, fill="#2E2621", outline="#2E2621", width=1) figura.create_polygon(379.4, 56.8, 341.8, 59.1, 332, 91, 361, 83, fill="#908782", outline="#908782", width=1) figura.create_polygon(341.5, 57.8, 324, 75, 327.6, 103, fill="#A29B8F", outline="#A29B8F", width=1) figura.create_polygon(361, 83, 332.4, 91, 329, 103, fill="#685D59", outline="#685D59", width=1) figura.create_polygon(329, 103, 326.8, 104.8, 340, 104.8, 345.6, 91, fill="#2D2220", outline="#2D2220", width=1) figura.create_polygon(313, 105.6, 301, 148.6, 352, 133.6, 374.5, 103.6, fill="#908782", outline="#908782", width=1) figura.create_polygon(301, 148.6, 297, 165.2, 352, 133.6, fill="#625755", outline="#625755", width=1) figura.create_polygon(313, 105.6, 274, 169, 279, 196, 288, 196, fill="#A1998E", outline="#A1998E", width=1) figura.create_polygon(297, 165.2, 288, 196, 300, 196, 318, 153, fill="#2D221E", outline="#2D221E", width=1) figura.create_polygon(260, 197, 252, 241, 331, 220.4, 352.4, 193, fill="#908782", outline="#908782", width=1) figura.create_polygon(252, 241, 249, 261.4, 331, 220.4, fill="#645955", outline="#645955", width=1) figura.create_polygon(260, 197, 205, 274.2, 209.8, 307.8, 223, 321, 238, 321, fill="#A1998E", outline="#A1998E", width=1) figura.create_polygon(249, 261.4, 238.6, 321, 271.8, 249, fill="#2D221E", outline="#2D221E", width=1) figura.create_polygon(199.4, 307.8, 209.8, 307.8, 223, 321, 212.6, 461, 215, 448.8, 228, 479.5, 199.4, 503, fill="#8E7968", outline="#8E7968", width=1) figura.create_polygon(223, 321, 238.6, 321, 212.6, 461, fill="#302722", outline="#302722", width=1) figura.create_polygon(238, 321, 262.8, 359.4, 222.5, 409, fill="#A69384", outline="#A69384", width=1) figura.create_polygon(254.4, 369.8, 259.6, 384.6, 238, 389.4, fill="#120001", outline="#120001", width=1) figura.create_polygon(259.6, 384.6, 238, 389.4, 222.5, 409, 229.5, 450, fill="#4F3B32", outline="#4F3B32", width=1) figura.create_polygon(228, 479.5, 218.3, 497.8, 207.5, 496.8, fill="#180A04", outline="#180A04", width=1) figura.create_polygon(222.5, 409, 234, 475, 223, 511, 199.4, 522, 199.4, 502.8, 207.5, 496.8, 218.3, 497.8, 228, 479.5, 215, 448.8, fill="#674C45", outline="#674C45", width=1) figura.create_polygon(247, 335.4, 290.6, 280, 256.8, 349.2, fill="#281F1D", outline="#281F1D", width=1) figura.create_polygon(290.6, 280, 328, 266, 304.8, 329, 267.5, 326, fill="#140202", outline="#140202", width=1) figura.create_polygon(304.8, 329, 262.5, 336, 267.5, 326.8, fill="#8D7B66", outline="#8D7B66", width=1) figura.create_polygon(283, 333, 262.8, 359.4, 256.8, 349.2, 262.5, 336, fill="#4D3930", outline="#4D3930", width=1) salir = Button(figura, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num == 19: figura = Canvas(venhija) figura.config(width=400, height=600, bg='black') figura.pack(expand=YES, fill=BOTH) # Sirve para cargar la figura figura.create_polygon(215.67, 383.84, 260.97, 383.84, 239.05, 402.62, fill="#16092F") figura.create_polygon(215.67, 383.84, 239.05, 402.62, 230.01, 414.54, 217.08, 413.77, fill="#421C47") figura.create_polygon(239.05, 402.62, 260.97, 383.84, 259, 414, 248.36, 414.03, fill="#421C47") figura.create_polygon(239.05, 402.62, 230.01, 414.54, 230.52, 436, 239.05, 430.31, 248, 438, 248, 438, 248.36, 414.03, fill="#421C47") figura.create_polygon(217.08, 413.77, 230.01, 414.54, 230.52, 436, 218.63, 426.69, fill="#16092F") figura.create_polygon(248, 438, 248.36, 414.03, 259, 414, 260, 425.4, fill="#16092F") figura.create_polygon(218.63, 426.69, 202.6, 399.29, 203.64, 423.59, fill="#7E6A88") figura.create_polygon(260, 425.4, 276.28, 400.84, 273.44, 423.85, fill="#7E6A88") figura.create_polygon(215.67, 383.84, 217.08, 413.77, 218.63, 426.69, 202.6, 399.29, fill="#384C69") figura.create_polygon(260.97, 383.84, 259, 414, 260, 425.4, 276.28, 400.84, fill="#384C69") figura.create_polygon(218.63, 426.69, 202.6, 399.29, 203.64, 423.59, fill="#7E6A88") figura.create_polygon(260, 425.4, 276.28, 400.84, 273.44, 423.85, fill="#7E6A88") figura.create_polygon(218.63, 426.69, 203.64, 423.59, 223.03, 446.34, 230.52, 436, fill="#51287F") figura.create_polygon(260, 425.4, 273.44, 423.85, 257, 446, 248, 438, fill="#51287F") figura.create_polygon(230.52, 436, 239.05, 430.31, 248, 438, 257, 446, 239.57, 450.22, 223.03, 446.34, fill="#384C69") figura.create_polygon(215.67, 383.84, 260.97, 383.84, 239.38, 368.7, fill="#E0D9F8") figura.create_polygon(215.67, 383.84, 239.38, 368.7, 201.27, 383.44, fill="#ACCBDB") figura.create_polygon(260.97, 383.84, 239.38, 368.7, 278.04, 384.16, fill="#ACCBDB") figura.create_polygon(215.67, 383.84, 202.6, 399.29, 201.27, 383.44, fill="#B2CEE0") figura.create_polygon(260.97, 383.84, 276.28, 400.84, 278.04, 384.16, fill="#B2CEE0") figura.create_polygon(201.27, 383.44, 202.6, 399.29, 203.64, 423.59, 164.82, 412.31, fill="#FAF7DE") figura.create_polygon(278.04, 384.16, 276.28, 400.84, 273.44, 423.85, 313.55, 412.23, fill="#FAF7DE") figura.create_polygon(203.64, 423.59, 223.03, 446.34, 205.76, 442.84, fill="#E3DBF2") figura.create_polygon(273.44, 423.85, 257, 446, 272.31, 442.58, fill="#E3DBF2") figura.create_polygon(205.76, 442.84, 223.03, 446.34, 239.57, 450.22, 211.89, 455.47, fill="#92B094") figura.create_polygon(239.57, 450.22, 257, 446, 272.31, 442.58, 266.3, 454.61, fill="#92B094") figura.create_polygon(201.27, 383.44, 239.38, 368.7, 214.45, 320.86, fill="#B9A4BE") figura.create_polygon(239.38, 368.7, 278.04, 384.16, 262.28, 319.76, fill="#B9A4BE") figura.create_polygon(201.27, 383.44, 214.45, 320.86, 165.22, 372.56, fill="#B1C7D6") figura.create_polygon(278.04, 384.16, 262.28, 319.76, 311.57, 373.1, fill="#B1C7D6") figura.create_polygon(201.27, 383.44, 164.82, 412.31, 165.22, 372.56, fill="#EFEEEC") figura.create_polygon(278.04, 384.16, 311.57, 373.1, 313.55, 412.23, fill="#EFEEEC") figura.create_polygon(164.82, 412.31, 165.22, 372.56, 154.52, 397.98, fill="#CDBCDB") figura.create_polygon(311.57, 373.1, 313.55, 412.23, 323.54, 399.1, fill="#CDBCDB") figura.create_polygon(164.82, 412.31, 154.52, 397.98, 151.18, 410.36, fill="#234C78") figura.create_polygon(313.55, 412.23, 323.54, 399.1, 326.44, 409.53, fill="#234C78") figura.create_polygon(164.82, 412.31, 151.18, 410.36, 173.25, 445.81, fill="#55476A") figura.create_polygon(313.55, 412.23, 326.44, 409.53, 305.3, 443.12, fill="#55476A") figura.create_polygon(164.82, 412.31, 173.25, 445.81, 203.64, 423.59, fill="#F7EED4") figura.create_polygon(313.55, 412.23, 305.3, 443.12, 273.44, 423.85, fill="#F7EED4") figura.create_polygon(173.25, 445.81, 203.64, 423.59, 205.76, 442.84, fill="#DDD5DC") figura.create_polygon(305.3, 443.12, 273.44, 423.85, 272.31, 442.58, fill="#DDD5DC") figura.create_polygon(173.25, 445.81, 205.76, 442.84, 194.69, 461.04, fill="#C4C3DD") figura.create_polygon(305.3, 443.12, 272.31, 442.58, 283, 460.49, fill="#C4C3DD") figura.create_polygon(205.76, 442.84, 194.69, 461.04, 211.89, 455.47, fill="#CAB4CE") figura.create_polygon(272.31, 442.58, 283, 460.49, 266.3, 454.61, fill="#CAB4CE") figura.create_polygon(194.69, 461.04, 211.89, 455.47, 239.57, 450.22, 266.3, 454.61, 283, 460.49, 258.71, 468.68, 216.98, 468.36, fill="#395772") figura.create_polygon(239.38, 368.7, 214.45, 320.86, 238.55, 298.06, fill="#87A4B8") figura.create_polygon(239.38, 368.7, 238.55, 298.06, 262.28, 319.76, fill="#AFBFCA") figura.create_polygon(214.45, 320.86, 238.55, 298.06, 214.55, 263.4, fill="#A8B5CE") figura.create_polygon(238.55, 298.06, 262.28, 319.76, 263.73, 264.29, fill="#B7C5DE") figura.create_polygon(214.45, 320.86, 214.55, 263.4, 193.82, 286.21, fill="#F7EDD6") figura.create_polygon(262.28, 319.76, 263.73, 264.29, 284.76, 287.4, fill="#F7EDD6") figura.create_polygon(214.45, 320.86, 193.82, 286.21, 176.34, 307.25, fill="#F7E8D2") figura.create_polygon(262.28, 319.76, 284.76, 287.4, 302.24, 309.02, fill="#F7E8D2") figura.create_polygon(214.45, 320.86, 165.97, 328.58, 176.34, 307.25, fill="#E9E2DA") figura.create_polygon(262.28, 319.76, 312.61, 328.58, 302.24, 309.02, fill="#E9E2DA") figura.create_polygon(214.45, 320.86, 165.97, 328.58, 165.22, 372.56, fill="#D1C0B6") figura.create_polygon(262.28, 319.76, 312.61, 328.58, 311.57, 373.1, fill="#D1C0B6") figura.create_polygon(165.97, 328.58, 165.22, 372.56, 124.93, 351.32, fill="#D1D0D0") figura.create_polygon(312.61, 328.58, 311.57, 373.1, 353.52, 350.46, fill="#D1D0D0") figura.create_polygon(165.22, 372.56, 124.93, 351.32, 154.52, 397.98, fill="#AFA2B9") figura.create_polygon(311.57, 373.1, 353.52, 350.46, 323.54, 399.1, fill="#AFA2B9") figura.create_polygon(124.93, 351.32, 154.52, 397.98, 112.6, 389.69, fill="#F3E9DA") figura.create_polygon(353.52, 350.46, 323.54, 399.1, 366, 390, fill="#F3E9DA") figura.create_polygon(154.52, 397.98, 112.6, 389.69, 151.18, 410.36, fill="#AFBCCD") figura.create_polygon(323.54, 399.1, 366, 390, 326.44, 409.53, fill="#AFBCCD") figura.create_polygon(112.6, 389.69, 151.18, 410.36, 108.1, 423.82, fill="#E8DED1") figura.create_polygon(366, 390, 326.44, 409.53, 369.94, 424.52, fill="#E8DED1") figura.create_polygon(151.18, 410.36, 108.1, 423.82, 103.84, 464.97, fill="#D5DBE8") figura.create_polygon(326.44, 409.53, 369.94, 424.52, 374.19, 465.3, fill="#D5DBE8") figura.create_polygon(151.18, 410.36, 103.84, 464.97, 130.67, 456.24, fill="#F7EDE1") figura.create_polygon(326.44, 409.53, 374.19, 465.3, 350.66, 458.23, fill="#F7EDE1") figura.create_polygon(151.18, 410.36, 130.67, 456.24, 173.25, 445.81, fill="#DDDFE5") figura.create_polygon(326.44, 409.53, 350.66, 458.23, 305.3, 443.12, fill="#DDDFE5") figura.create_polygon(103.84, 464.97, 130.67, 456.24, 124.3, 483.41, fill="#DBE0EB") figura.create_polygon(374.19, 465.3, 350.66, 458.23, 352.34, 482.71, fill="#DBE0EB") figura.create_polygon(130.67, 456.24, 124.3, 483.41, 173.25, 445.81, fill="#C8B1A1") figura.create_polygon(350.66, 458.23, 352.34, 482.71, 305.3, 443.12, fill="#C8B1A1") figura.create_polygon(124.3, 483.41, 173.25, 445.81, 167.23, 473.69, fill="#CECFE7") figura.create_polygon(352.34, 482.71, 305.3, 443.12, 310.74, 472.99, fill="#CECFE7") figura.create_polygon(173.25, 445.81, 167.23, 473.69, 194.69, 461.04, fill="#789FB0") figura.create_polygon(305.3, 443.12, 310.74, 472.99, 283, 460.49, fill="#789FB0") figura.create_polygon(167.23, 473.69, 194.69, 461.04, 183, 495.83, fill="#CECFE7") figura.create_polygon(310.74, 472.99, 283, 460.49, 292, 494, fill="#CECFE7") figura.create_polygon(194.69, 461.04, 183, 495.83, 213.86, 478.38, fill="#B2A4C0") figura.create_polygon(283, 460.49, 292, 494, 262.16, 478.38, fill="#B2A4C0") figura.create_polygon(194.69, 461.04, 213.86, 478.38, 216.98, 468.36, fill="#F3F2F4") figura.create_polygon(283, 460.49, 262.16, 478.38, 258.71, 468.68, fill="#F3F2F4") figura.create_polygon(213.86, 478.38, 216.98, 468.36, 258.71, 468.68, 262.16, 478.38, fill="#E3E1E7") figura.create_polygon(238.55, 298.06, 239.63, 237.71, 214.55, 263.4, fill="#BBA7C5") figura.create_polygon(238.55, 298.06, 239.63, 237.71, 263.73, 264.29, fill="#C1B1CD") figura.create_polygon(239.63, 237.71, 214.55, 263.4, 214.6, 224.49, fill="#8794B8") figura.create_polygon(239.63, 237.71, 263.73, 264.29, 264.42, 223.33, fill="#8794B8") figura.create_polygon(214.55, 263.4, 214.6, 224.49, 198.51, 224.49, fill="#BEC4D3") figura.create_polygon(263.73, 264.29, 264.42, 223.33, 280.63, 223.33, fill="#B4C4CD") figura.create_polygon(198.51, 224.49, 214.55, 263.4, 197.44, 263.46, 187, 265, fill="#E6E7EF") figura.create_polygon(280.63, 223.33, 263.73, 264.29, 280.63, 264.1, 292.91, 264.59, fill="#E6E7EF") figura.create_polygon(214.55, 263.4, 197.44, 263.46, 193.82, 286.21, fill="#EEEEEE") figura.create_polygon(263.73, 264.29, 280.63, 264.1, 284.76, 287.4, fill="#EEEEEE") figura.create_polygon(197.44, 263.46, 187, 265, 172.41, 274.18, 193.82, 286.21, fill="#111331") # ojos figura.create_polygon(280.63, 264.1, 292.91, 264.59, 304.7, 274.91, 284.76, 287.4, fill="#111331") # ojos figura.create_polygon(172.41, 274.18, 193.82, 286.21, 176.34, 307.25, fill="#C9D2DD") figura.create_polygon(304.7, 274.91, 284.76, 287.4, 302.24, 309.02, fill="#C9D2DD") figura.create_polygon(172.41, 274.18, 176.34, 307.25, 158.4, 293.46, fill="#C6D1E3") figura.create_polygon(304.7, 274.91, 302.24, 309.02, 319.93, 294.55, fill="#C6D1E3") figura.create_polygon(176.34, 307.25, 158.4, 293.46, 155.38, 321.57, 165.97, 328.58, fill="#C4BCD7") figura.create_polygon(302.24, 309.02, 319.93, 294.55, 324.35, 321.57, 312.61, 328.58, fill="#C4BCD7") figura.create_polygon(155.38, 321.57, 165.97, 328.58, 124.93, 351.32, 139, 317, fill="#FCF9F6") figura.create_polygon(324.35, 321.57, 312.61, 328.58, 353.52, 350.46, 339.68, 317.25, fill="#FCF9F6") figura.create_polygon(124.93, 351.32, 139, 317, 110.49, 302.38, fill="#DBC7B7") figura.create_polygon(353.52, 350.46, 339.68, 317.25, 367.51, 301.22, fill="#DBC7B7") figura.create_polygon(124.93, 351.32, 110.49, 302.38, 104.66, 331.97, fill="#B9BBD3") figura.create_polygon(353.52, 350.46, 367.51, 301.22, 374.11, 331.87, fill="#B9BBD3") figura.create_polygon(124.93, 351.32, 104.66, 331.97, 72.83, 367.84, fill="#FCF9F6") figura.create_polygon(353.52, 350.46, 374.11, 331.87, 405.71, 368.19, fill="#FCF9F6") figura.create_polygon(124.93, 351.32, 72.83, 367.84, 112.6, 389.69, fill="#D8D5DA") figura.create_polygon(353.52, 350.46, 405.71, 368.19, 366, 390, fill="#D8D5DA") figura.create_polygon(112.6, 389.69, 66.1, 415.37, 81.58, 437.11, 103.84, 464.97, 108.1, 423.82, fill="#C5C5D0") figura.create_polygon(366, 390, 411.37, 416.3, 396.75, 436.59, 374.19, 465.3, 369.94, 424.52, fill="#C5C5D0") figura.create_polygon(66.1, 415.37, 81.58, 437.11, 36.85, 458.34, fill="#6C96B2") figura.create_polygon(411.37, 416.3, 396.75, 436.59, 440.62, 459.7, fill="#6C96B2") figura.create_polygon(103.84, 464.97, 67.18, 462.13, 36.85, 458.34, 81.58, 437.11, fill="#8EB3CB") figura.create_polygon(374.19, 465.3, 411.84, 462.53, 440.62, 459.7, 396.75, 436.59, fill="#8EB3CB") figura.create_polygon(103.84, 464.97, 67.18, 462.13, 60.73, 494.36, fill="#8181B0") figura.create_polygon(374.19, 465.3, 411.84, 462.53, 417.98, 494.13, fill="#8181B0") figura.create_polygon(103.84, 464.97, 60.73, 494.36, 79.69, 490.56, 124.3, 483.41, fill="#ABA1BA") figura.create_polygon(374.19, 465.3, 417.98, 494.13, 399.11, 490.83, 352.34, 482.71, fill="#ABA1BA") figura.create_polygon(79.69, 490.56, 124.3, 483.41, 67.55, 524.3, fill="#B7C0B7") figura.create_polygon(399.11, 490.83, 352.34, 482.71, 410.75, 524.23, fill="#B7C0B7") figura.create_polygon(124.3, 483.41, 67.55, 524.3, 107.74, 524.68, fill="#8B908B") figura.create_polygon(352.34, 482.71, 410.75, 524.23, 369.47, 524.23, fill="#8B908B") figura.create_polygon(124.3, 483.41, 107.74, 524.68, 152.85, 509.9, fill="#ADB0C9") figura.create_polygon(352.34, 482.71, 369.47, 524.23, 325.68, 509.22, fill="#ADB0C9") figura.create_polygon(124.3, 483.41, 152.85, 509.9, 167.23, 473.69, fill="#BFCBDF") figura.create_polygon(352.34, 482.71, 325.68, 509.22, 310.74, 472.99, fill="#BFCBDF") figura.create_polygon(152.85, 509.9, 167.23, 473.69, 183, 495.83, fill="#E2CBB5") figura.create_polygon(325.68, 509.22, 310.74, 472.99, 292, 494, fill="#E2CBB5") figura.create_polygon(152.85, 509.9, 183, 495.83, 170.56, 525.48, fill="#B6AEBE") figura.create_polygon(325.68, 509.22, 292, 494, 306.92, 525.48, fill="#B6AEBE") figura.create_polygon(183, 495.83, 170.56, 525.48, 193.49, 539.24, 189.32, 517.56, fill="#D0C6D8") figura.create_polygon(292, 494, 306.92, 525.48, 284.4, 540.49, 286.9, 517.56, fill="#D0C6D8") figura.create_polygon(183, 495.83, 189.32, 517.56, 213.86, 478.38, fill="#9AB9C8") figura.create_polygon(292, 494, 286.9, 517.56, 262.16, 478.38, fill="#9AB9C8") figura.create_polygon(189.32, 517.56, 213.86, 478.38, 215.18, 507.13, fill="#C3BCD0") figura.create_polygon(286.9, 517.56, 262.16, 478.38, 263.13, 507.96, fill="#C3BCD0") figura.create_polygon(213.86, 478.38, 215.18, 507.13, 238.53, 496.29, fill="#9DB9CD") figura.create_polygon(262.16, 478.38, 263.13, 507.96, 238.53, 496.29, fill="#9DB9CD") figura.create_polygon(238.53, 496.29, 213.86, 478.38, 262.16, 478.38, fill="#D5E5F2") figura.create_polygon(107.74, 524.68, 152.85, 509.9, 137.1, 540.86, 127.21, 557.35, fill="#9D94B7") figura.create_polygon(369.47, 524.23, 325.68, 509.22, 340.71, 541.27, 350.19, 557.35, fill="#9D94B7") figura.create_polygon(152.85, 509.9, 137.1, 540.86, 163.48, 580.84, fill="#AEB2AD") figura.create_polygon(325.68, 509.22, 340.71, 541.27, 313.92, 580.43, fill="#AEB2AD") figura.create_polygon(152.85, 509.9, 163.48, 580.84, 170.56, 525.48, fill="#C3C3CF") figura.create_polygon(325.68, 509.22, 313.92, 580.43, 306.92, 525.48, fill="#C3C3CF") figura.create_polygon(163.48, 580.84, 170.56, 525.48, 193.49, 539.24, 177.08, 563.53, fill="#E3DED7") figura.create_polygon(313.92, 580.43, 306.92, 525.48, 284.4, 540.49, 300.73, 564.35, fill="#E3DED7") figura.create_polygon(193.49, 539.24, 177.08, 563.53, 214.59, 603.92, fill="#EEECE4") figura.create_polygon(284.4, 540.49, 300.73, 564.35, 264.05, 601.45, fill="#EEECE4") figura.create_polygon(193.49, 539.24, 214.59, 603.92, 224.89, 586.61, 238.91, 561.47, fill="#B5CBC4") figura.create_polygon(284.4, 540.49, 264.05, 601.45, 252.51, 585.37, 238.91, 561.47, fill="#B5CBC4") figura.create_polygon(252.51, 585.37, 239, 620, 224.89, 586.61, 238.91, 561.47, fill="#DFD7C9") figura.create_polygon(238.91, 561.47, 193.49, 539.24, 189.32, 517.56, 215.18, 507.13, fill="#CCC0D0") figura.create_polygon(238.91, 561.47, 284.4, 540.49, 286.9, 517.56, 263.13, 507.96, fill="#CCC0D0") figura.create_polygon(238.91, 561.47, 215.18, 507.13, 238.53, 496.29, fill="#CDC6C3") figura.create_polygon(238.91, 561.47, 263.13, 507.96, 238.53, 496.29, fill="#E3E2DD") figura.create_polygon(112.6, 389.69, 72.83, 367.84, 66.1, 419.7, fill="#4F4785") figura.create_polygon(366, 390, 405.71, 368.19, 411.37, 416.3, fill="#4F4785") figura.create_polygon(72.83, 367.84, 66.1, 419.7, 53.44, 385.71, fill="#746EAB") figura.create_polygon(405.71, 368.19, 411.37, 416.3, 425.16, 383.57, fill="#746EAB") figura.create_polygon(66.1, 419.7, 53.44, 385.71, 24.66, 440.38, fill="#7CA1BB") figura.create_polygon(411.37, 416.3, 425.16, 383.57, 453.67, 439.17, fill="#7CA1BB") figura.create_polygon(53.44, 385.71, 24.66, 440.38, 42.65, 348.3, fill="#B0C6D1") figura.create_polygon(425.16, 383.57, 453.67, 439.17, 435.85, 348.64, fill="#B0C6D1") figura.create_polygon(53.44, 385.71, 42.65, 348.3, 72.83, 367.84, fill="#8493B1") figura.create_polygon(425.16, 383.57, 435.85, 348.64, 405.71, 368.19, fill="#8493B1") figura.create_polygon(42.65, 348.3, 72.83, 367.84, 73.58, 336.79, fill="#9586A9") figura.create_polygon(435.85, 348.64, 405.71, 368.19, 404.49, 337.23, fill="#9586A9") figura.create_polygon(42.65, 348.3, 73.58, 336.79, 52, 315.21, fill="#A0C1D4") figura.create_polygon(435.85, 348.64, 404.49, 337.23, 425.87, 315.13, fill="#A0C1D4") figura.create_polygon(42.65, 348.3, 52, 315.21, 11, 352, fill="#AABEBF") figura.create_polygon(435.85, 348.64, 425.87, 315.13, 465.08, 350.78, fill="#AABEBF") figura.create_polygon(72.83, 367.84, 73.58, 336.79, 104.66, 331.97, fill="#E5E1CF") figura.create_polygon(405.71, 368.19, 404.49, 337.23, 374.11, 331.87, fill="#E5E1CF") figura.create_polygon(73.58, 336.79, 104.66, 331.97, 77.9, 324.56, fill="#D4C7D7") figura.create_polygon(404.49, 337.23, 374.11, 331.87, 400.21, 324.4, fill="#D4C7D7") figura.create_polygon(73.58, 336.79, 77.9, 324.56, 52, 315.21, fill="#78A1B2") figura.create_polygon(404.49, 337.23, 400.21, 324.4, 425.87, 315.13, fill="#78A1B2") figura.create_polygon(104.66, 331.97, 77.9, 324.56, 52, 315.21, 110.49, 302.38, fill="#C1C8C1") figura.create_polygon(425.87, 315.13, 400.21, 324.4, 374.11, 331.87, 367.51, 301.22, fill="#C1C8C1") figura.create_polygon(52, 315.21, 110.49, 302.38, 118.18, 281.4, 123.94, 262.7, fill="#7B76AB") figura.create_polygon(425.87, 315.13, 367.51, 301.22, 358.86, 280.92, 353.87, 263.09, fill="#7B76AB") figura.create_polygon(52, 315.21, 123.94, 262.7, 51.28, 286.44, fill="#57518A") figura.create_polygon(425.87, 315.13, 353.87, 263.09, 428.01, 287.33, fill="#57518A") figura.create_polygon(110.49, 302.38, 118.18, 281.4, 139, 317, fill="#ADBFC7") figura.create_polygon(367.51, 301.22, 358.86, 280.92, 339.68, 317.25, fill="#ADBFC7") figura.create_polygon(118.18, 281.4, 139, 317, 142, 290, fill="#ADB8A9") figura.create_polygon(358.86, 280.92, 339.68, 317.25, 336.76, 289.47, fill="#ADB8A9") figura.create_polygon(139, 317, 142, 290, 155.38, 321.57, fill="#9F8BB2") figura.create_polygon(339.68, 317.25, 336.76, 289.47, 324.35, 321.57, fill="#9F8BB2") figura.create_polygon(142, 290, 155.38, 321.57, 158.4, 293.46, fill="#B1C8D4") figura.create_polygon(336.76, 289.47, 324.35, 321.57, 319.93, 294.55, fill="#B1C8D4") figura.create_polygon(142, 290, 158.4, 293.46, 154.25, 270.8, fill="#EBE9E3") figura.create_polygon(336.76, 289.47, 319.93, 294.55, 320.76, 273.33, fill="#EBE9E3") figura.create_polygon(158.4, 293.46, 154.25, 270.8, 172.41, 274.18, fill="#FAFAF6") figura.create_polygon(319.93, 294.55, 320.76, 273.33, 304.7, 274.91, fill="#FAFAF6") figura.create_polygon(142, 290, 154.25, 270.8, 123.94, 262.7, fill="#EBDECF") figura.create_polygon(336.76, 289.47, 320.76, 273.33, 353.87, 263.09, fill="#EBDECF") figura.create_polygon(154.25, 270.8, 123.94, 262.7, 142.52, 254.73, fill="#E4E3E5") figura.create_polygon(320.76, 273.33, 353.87, 263.09, 335.65, 254.03, fill="#E4E3E5") figura.create_polygon(142, 290, 118.18, 281.4, 123.94, 262.7, fill="#ABA5C1") figura.create_polygon(336.76, 289.47, 358.86, 280.92, 353.87, 263.09, fill="#ABA5C1") figura.create_polygon(123.94, 262.7, 51.28, 286.44, 51.28, 258.38, fill="#5B6CA3") figura.create_polygon(353.87, 263.09, 428.01, 287.33, 425.87, 258.82, fill="#5B6CA3") figura.create_polygon(123.94, 262.7, 51.28, 258.38, 56.61, 237.43, fill="#A798B2") figura.create_polygon(353.87, 263.09, 425.87, 258.82, 420.88, 238.14, fill="#A798B2") figura.create_polygon(123.94, 262.7, 56.61, 237.43, 69.44, 219.61, fill="#6F9EC2") figura.create_polygon(353.87, 263.09, 420.88, 238.14, 405.2, 219.61, fill="#6F9EC2") figura.create_polygon(123.94, 262.7, 69.44, 219.61, 128.61, 233.87, fill="#A196B8") figura.create_polygon(353.87, 263.09, 405.2, 219.61, 348.88, 233.87, fill="#A196B8") figura.create_polygon(123.94, 262.7, 128.61, 233.87, 142.52, 254.73, fill="#8D9789") figura.create_polygon(353.87, 263.09, 348.88, 233.87, 335.65, 254.03, fill="#8D9789") figura.create_polygon(52, 315.21, 51.28, 286.44, 16.03, 305.14, fill="#828E88") figura.create_polygon(425.87, 315.13, 428.01, 287.33, 465.08, 306.58, fill="#828E88") figura.create_polygon(51.28, 286.44, 51.28, 258.38, 20.35, 285.72, fill="#584271") figura.create_polygon(428.01, 287.33, 425.87, 258.82, 458.66, 286.62, fill="#584271") figura.create_polygon(51.28, 258.38, 56.61, 237.43, 25.96, 263.81, fill="#7D779A") figura.create_polygon(425.87, 258.82, 420.88, 238.14, 452.96, 262.38, fill="#7D779A") figura.create_polygon(56.61, 237.43, 69.44, 219.61, 33, 221, fill="#266F77") figura.create_polygon(420.88, 238.14, 405.2, 219.61, 442.27, 222.46, fill="#266F77") figura.create_polygon(69.44, 219.61, 128.61, 233.87, 105.8, 198.94, fill="#7AB6CE") figura.create_polygon(405.2, 219.61, 348.88, 233.87, 373, 199, fill="#7AB6CE") figura.create_polygon(69.44, 219.61, 105.8, 198.94, 76.57, 198.94, fill="#7D6C9F") figura.create_polygon(405.2, 219.61, 373, 199, 401, 199, fill="#7D6C9F") figura.create_polygon(105.8, 198.94, 76.57, 198.94, 93.68, 177.55, fill="#9084A9") figura.create_polygon(373, 199, 401, 199, 386, 179, fill="#9084A9") figura.create_polygon(69.44, 219.61, 76.57, 198.94, 39.5, 201.79, fill="#534F79") figura.create_polygon(405.2, 219.61, 401, 199, 437.28, 203.93, fill="#534F79") figura.create_polygon(76.57, 198.94, 93.68, 177.55, 47.34, 176.13, fill="#5F605D") figura.create_polygon(401, 199, 386, 179, 430.15, 176.13, fill="#5F605D") figura.create_polygon(239.63, 237.71, 239.1, 189.67, 214.6, 224.49, fill="#3F84A0") figura.create_polygon(239.63, 237.71, 239.1, 189.67, 264.42, 223.33, fill="#679BB0") figura.create_polygon(194.91, 198.22, 239.1, 189.67, 214.6, 224.49, fill="#7F78AA") figura.create_polygon(283.3, 198.94, 239.1, 189.67, 264.42, 223.33, fill="#6A6397") figura.create_polygon(194.91, 198.22, 214.6, 224.49, 198.51, 224.49, 171.38, 223.17, fill="#FAF9F3") figura.create_polygon(283.3, 198.94, 264.42, 223.33, 280.63, 223.33, 306.82, 224.6, fill="#FAF9F3") figura.create_polygon(198.51, 224.49, 171.38, 223.17, 179.46, 249.73, 187, 265, fill="#D7DBD7") figura.create_polygon(280.63, 223.33, 306.82, 224.6, 299.82, 249.34, 292.91, 264.59, fill="#D7DBD7") figura.create_polygon(171.38, 223.17, 179.46, 249.73, 171.53, 245.92, 153.83, 228.08, fill="#D7CDC7") figura.create_polygon(306.82, 224.6, 299.82, 249.34, 308.08, 245.28, 325.51, 228.35, fill="#D7CDC7") figura.create_polygon(171.53, 245.92, 153.83, 228.08, 128.61, 233.87, 161.37, 246.89, fill="#A0B6C4") figura.create_polygon(308.08, 245.28, 325.51, 228.35, 348.88, 233.87, 318.53, 246.18, fill="#A0B6C4") figura.create_polygon(128.61, 233.87, 161.37, 246.89, 142.52, 254.73, fill="#D2E0E3") figura.create_polygon(348.88, 233.87, 318.53, 246.18, 335.65, 254.03, fill="#D2E0E3") figura.create_polygon(194.91, 198.22, 171.38, 223.17, 145.72, 188.96, fill="#A5AFCD") figura.create_polygon(283.3, 198.94, 306.82, 224.6, 332.49, 188.93, fill="#A5AFCD") figura.create_polygon(171.38, 223.17, 145.72, 188.96, 128.61, 233.87, 153.83, 228.08, fill="#74779F") figura.create_polygon(306.82, 224.6, 332.49, 188.93, 348.88, 233.87, 325.51, 228.35, fill="#74779F") figura.create_polygon(145.72, 188.96, 128.61, 233.87, 105.8, 198.94, 93.68, 177.55, fill="#8C98BB") figura.create_polygon(332.49, 188.93, 348.88, 233.87, 373, 199, 386, 179, fill="#8C98BB") figura.create_polygon(239.1, 189.67, 238.95, 115.75, 222, 146, 194.91, 198.22, fill="#81719E") figura.create_polygon(239.1, 189.67, 238.95, 115.75, 257, 147, 283.3, 198.94, fill="#7A7AAD") figura.create_polygon(222, 146, 194.91, 198.22, 196.75, 116.5, fill="#86809F") figura.create_polygon(257, 147, 283.3, 198.94, 281.9, 114.24, fill="#86809F") figura.create_polygon(194.91, 198.22, 196.75, 116.5, 147.02, 131.57, fill="#646764") figura.create_polygon(283.3, 198.94, 281.9, 114.24, 331.63, 131.57, fill="#646764") figura.create_polygon(194.91, 198.22, 147.02, 131.57, 120.65, 159.45, fill="#7676AB") figura.create_polygon(283.3, 198.94, 358, 158.7, 331.63, 131.57, fill="#7676AB") figura.create_polygon(194.91, 198.22, 120.65, 159.45, 93.68, 177.55, 145.72, 188.96, fill="#7D859F") figura.create_polygon(283.3, 198.94, 358, 158.7, 386, 179, 332.49, 188.96, fill="#7D859F") figura.create_polygon(238.95, 115.75, 222, 146, 221.56, 114.87, fill="#3C6C9C") figura.create_polygon(238.95, 115.75, 257, 147, 258.02, 114.87, fill="#3C6C9C") figura.create_polygon(222, 146, 221.56, 114.87, 196.75, 116.5, fill="#5C524F") figura.create_polygon(257, 147, 258.02, 114.87, 281.9, 114.24, fill="#5C524F") figura.create_polygon(238.95, 115.75, 221.56, 114.87, 230.14, 88.32, fill="#32254F") figura.create_polygon(238.95, 115.75, 258.02, 114.87, 248.43, 88, fill="#32254F") figura.create_polygon(221.56, 114.87, 206, 90, 196.75, 116.5, fill="#5D483E") figura.create_polygon(258.02, 114.87, 272.17, 90.24, 281.9, 114.24, fill="#5D483E") figura.create_polygon(206, 90, 196.75, 116.5, 182.66, 96.34, fill="#354D3B") figura.create_polygon(272.17, 90.24, 281.9, 114.24, 296.34, 96.87, fill="#354D3B") figura.create_polygon(182.66, 96.34, 161.48, 97.62, 147.02, 131.57, fill="#2B3A3E") figura.create_polygon(196.75, 116.5, 182.66, 96.34, 147.02, 131.57, fill="#2B3A3E") figura.create_polygon(331.63, 131.57, 281.9, 114.24, 296.34, 96.87, fill="#3E3159") figura.create_polygon(318.23, 97.69, 296.34, 96.87, 331.63, 131.57, fill="#3E3159") figura.create_polygon(147.02, 131.57, 161.48, 97.62, 150.65, 83.74, fill="#C1B6D6") figura.create_polygon(331.63, 131.57, 318.23, 97.69, 329.18, 82.69, fill="#C1B6D6") figura.create_polygon(147.02, 131.57, 120.65, 159.45, 101.34, 109.36, fill="#B4D3E2") figura.create_polygon(331.63, 131.57, 358, 158.7, 377, 109, fill="#B4D3E2") figura.create_polygon(120.65, 159.45, 101.34, 109.36, 100.3, 146.64, fill="#16290C") figura.create_polygon(358, 158.7, 377, 109, 379.85, 145.89, fill="#16290C", ) figura.create_polygon(120.65, 159.45, 100.3, 146.64, 93.68, 177.55, fill="#ACAEB8") figura.create_polygon(358, 158.7, 379.85, 145.89, 386, 179, fill="#ACAEB8") figura.create_polygon(100.3, 146.64, 93.68, 177.55, 86.17, 156.22, 77.7, 137.6, fill="#AFB1CD") figura.create_polygon(379.85, 145.89, 386, 179, 393.51, 155.24, 399.52, 138.21, fill="#AFB1CD") figura.create_polygon(93.68, 177.55, 86.17, 156.22, 47.56, 148.91, 62.63, 157.95, fill="#BBA4C8") figura.create_polygon(386, 179, 393.51, 155.24, 429.06, 150.23, 415.04, 157.75, fill="#BBA4C8") figura.create_polygon(93.68, 177.55, 62.63, 157.95, 47.34, 176.13, fill="#B79476") figura.create_polygon(386, 179, 415.04, 157.75, 430.15, 176.13, fill="#B79476") figura.create_polygon(86.17, 156.22, 47.56, 148.91, 58, 145, 77.7, 137.6, fill="#BCBABD") figura.create_polygon(393.51, 155.24, 429.06, 150.23, 420.39, 146.13, 399.52, 138.21, fill="#BCBABD") figura.create_polygon(58, 145, 77.7, 137.6, 52.69, 125.81, fill="#8D98BA") figura.create_polygon(420.39, 146.13, 399.52, 138.21, 424.74, 125.43, fill="#8D98BA") figura.create_polygon(77.7, 137.6, 52.69, 125.81, 57.49, 92.83, fill="#BDB4C0") figura.create_polygon(399.52, 138.21, 424.74, 125.43, 420.76, 89.55, fill="#BDB4C0") figura.create_polygon(77.7, 137.6, 57.49, 92.83, 82.37, 103.62, fill="#F9F8E9") figura.create_polygon(399.52, 138.21, 420.76, 89.55, 396.51, 102.84, fill="#F9F8E9") figura.create_polygon(77.7, 137.6, 82.37, 103.62, 100.3, 146.64, fill="#D3C5BC") figura.create_polygon(399.52, 138.21, 396.51, 102.84, 379.85, 145.89, fill="#D3C5BC") figura.create_polygon(82.37, 103.62, 100.3, 146.64, 101.34, 109.36, fill="#D7BAAB") figura.create_polygon(396.51, 102.84, 379.85, 145.89, 377, 109, fill="#D7BAAB") figura.create_polygon(101.34, 109.36, 147.02, 131.57, 122.24, 83.54, fill="#E8DDCD") figura.create_polygon(377, 109, 357.31, 82.57, 331.63, 131.57, fill="#E8DDCD") figura.create_polygon(147.02, 131.57, 122.24, 83.54, 150.65, 83.74, fill="#DBD0C3") figura.create_polygon(357.31, 82.57, 331.63, 131.57, 329.18, 82.69, fill="#DBD0C3") figura.create_polygon(161.48, 97.62, 150.65, 83.74, 170.02, 82.94, fill="#1E0532") figura.create_polygon(296.34, 96.57, 308.81, 82.91, 318.23, 97.69, fill="#1E0532") figura.create_polygon(161.48, 97.62, 170.2, 82.94, 182.66, 96.34, fill="#442357") figura.create_polygon(308.81, 82.91, 318.23, 97.69, 329.18, 82.69, fill="#442357") figura.create_polygon(170.2, 82.94, 150.65, 83.74, 148.62, 60.46, fill="#351103") figura.create_polygon(308.81, 82.91, 329.18, 82.69, 330.73, 59.32, fill="#351103") figura.create_polygon(150.65, 83.74, 148.62, 60.46, 122.84, 50.56, fill="#110C39") figura.create_polygon(329.18, 82.69, 330.73, 59.32, 355.98, 51.35, fill="#110C39") figura.create_polygon(150.65, 83.74, 122.84, 50.56, 122.24, 83.54, fill="#554B77") figura.create_polygon(329.18, 82.69, 355.98, 51.35, 357.31, 82.57, fill="#554B77") figura.create_polygon(122.24, 83.54, 122.84, 50.56, 96.76, 27.78, fill="#8886AA") figura.create_polygon(357.31, 82.57, 355.98, 51.35, 381.89, 27.76, fill="#8886AA") figura.create_polygon(122.24, 83.54, 96.76, 27.78, 80.57, 39.17, fill="#888DBB") figura.create_polygon(357.31, 82.57, 381.89, 27.76, 397.17, 39.39, fill="#888DBB") figura.create_polygon(122.24, 83.54, 80.57, 39.17, 65.28, 57.76, fill="#4B899B") figura.create_polygon(357.31, 82.57, 397.17, 39.39, 412, 58, fill="#4B899B") figura.create_polygon(122.24, 83.54, 65.28, 57.76, 82.37, 103.62, fill="#6E688D") figura.create_polygon(357.31, 82.57, 412, 58, 396.51, 102.84, fill="#6E688D") figura.create_polygon(122.24, 83.54, 82.37, 103.62, 101.34, 109.36, fill="#331F49") figura.create_polygon(357.31, 82.57, 396.51, 102.84, 377, 109, fill="#331F49") figura.create_polygon(65.28, 57.76, 82.37, 103.62, 57.49, 92.83, fill="#E0D4CB") figura.create_polygon(412, 58, 396.51, 102.84, 420.76, 89.55, fill="#E0D4CB") figura.create_polygon(148.62, 60.46, 122.84, 50.56, 122, 31, fill="#343A32") figura.create_polygon(330.73, 59.32, 355.98, 51.35, 357, 31, fill="#343A32") figura.create_polygon(96.76, 27.78, 122.84, 50.56, 122, 31, fill="#2E213F") figura.create_polygon(381.89, 27.76, 355.98, 51.35, 357, 31, fill="#2E213F") figura.create_polygon(96.76, 27.78, 122, 31, 109.65, 13.09, fill="#47345B") figura.create_polygon(381.89, 27.76, 357, 31, 368.93, 13.48, fill="#47345B") figura.create_polygon(96.76, 27.78, 109.65, 13.09, 96.76, 8.3, fill="#403D56") figura.create_polygon(381.89, 27.76, 368.93, 13.48, 382.22, 9.16, fill="#403D56") figura.create_polygon(96.76, 27.78, 96.76, 8.3, 72, 31, fill="#0F233D") figura.create_polygon(381.89, 27.76, 382.22, 9.16, 406.81, 30.57, fill="#0F233D") figura.create_polygon(96.76, 27.78, 72, 31, 80.57, 39.17, fill="#183359") figura.create_polygon(381.89, 27.76, 406.81, 30.57, 397.17, 39.39, fill="#183359") figura.create_polygon(72, 31, 80.57, 39.17, 65.28, 57.76, fill="#180D27") figura.create_polygon(406.81, 30.57, 397.17, 39.39, 412, 58, fill="#180D27") salir = Button(figura, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num == 20: poligono = Canvas(venhija, width=300, height=200, bg='white') poligono.pack(expand=YES, fill=BOTH) poligono.create_polygon(40, 40, 40, 140, 140, 140, 140, 100, fill="black", outline="pink") salir = Button(poligono, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=1) elif num == 21: fb = Canvas(venhija, width=300, height=200, bg='white') fb.pack(expand=YES, fill=BOTH) fb.create_polygon( 15, 18, 180, 17.4, 180, 180, 129.8, 179.4, 130.2, 114.2, 151, 114, 151.2, 92.6, 129.8, 91.6, 129.6, 72.4, 132.6, 68.2, 135.6, 65.2, 140, 64.2, 153.4, 63.8, 153, 44.2, 128, 43.2, 122, 44.2, 117.4, 46.8, 114.2, 50.8, 110.8, 53.4, 108.8, 57.4, 106.4, 62.4, 105.8, 67, 106.4, 92, 84.8, 92.2, 85, 113.8, 105.6, 114.2, 105.8, 179.4, 15.2, 180, fill="lightblue", outline="blue", width=6) salir = Button(fb, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=5) elif num == 22: corazon = Canvas(venhija, width=210, height=210, bg='white') corazon.pack(expand=YES, fill=BOTH) corazon.create_polygon(150, 150, 200, 100, 250, 100, 300, 150, 350, 100, 400, 100, 450, 150, 435, 200, 300, 350, 180, 201, fill="red", outline="black", width=6) salir = Button(corazon, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=5) elif num == 23: poly = Canvas(venhija, width=210, heigh=210, bg='black') poly.pack(expand=YES, fill=BOTH) poly.create_polygon(50, 20, 100, 20, 100, 30, 130, 30, 130, 40, 110, 40, 110, 50, 130, 50, 130, 60, 140, 60, 140, 70, 130, 70, 130, 80, 120, 80, 120, 90, 100, 90, 100, 100, 130, 100, 130, 110, 140, 110, 140, 150, 120, 150, 120, 160, 130, 160, 130, 170, 140, 170, 140, 180, 100, 180, 100, 160, 90, 160, 90, 150, 70, 150, 70, 160, 60, 160, 60, 180, 20, 180, 20, 170, 30, 170, 30, 160, 40, 160, 40, 150, 20, 150, 20, 110, 30, 110, 30, 100, 40, 100, 40, 90, 50, 90, 50, 80, 30, 80, 30, 50, 40, 50, 40, 30, 50, 30, fill="red", outline='white') salir = Button(poly, text="Cerrar", command=lambda: ejecutar(ocultar(venhija))) salir.grid(row=1, column=5) venhija.deiconify() boton1= Button(VentanaPrincipal, text="Circulo", command=lambda: ejecutar(ventanas(1))) boton1.grid(row=1, column=1) boton2= Button(VentanaPrincipal, text="Rectangulo", command=lambda: ejecutar(ventanas(2))) boton2.grid(row=1, column=2) boton3= Button(VentanaPrincipal, text="Lineas", command=lambda: ejecutar(ventanas(3))) boton3.grid(row=1, column=3) boton4= Button(VentanaPrincipal, text="Pedazo", command=lambda: ejecutar(ventanas(4))) boton4.grid(row=1, column=8) boton5= Button(VentanaPrincipal, text="Queso", command=lambda: ejecutar(ventanas(5))) boton5.grid(row=1, column=4) boton6= Button(VentanaPrincipal, text="QuesoCompleto", command=lambda: ejecutar(ventanas(6))) boton6.grid(row=1, column=5) boton7= Button(VentanaPrincipal, text="Texto", command=lambda: ejecutar(ventanas(7))) boton7.grid(row=1, column=6) boton8= Button(VentanaPrincipal, text="CaballoMar", command=lambda: ejecutar(ventanas(8))) boton8.grid(row=1, column=7) boton9= Button(VentanaPrincipal, text="Venado", command=lambda: ejecutar(ventanas(9))) boton9.grid(row=1, column=9) boton10= Button(VentanaPrincipal, text="Mariposa", command=lambda: ejecutar(ventanas(10))) boton10.grid(row=1, column=10) boton11= Button(VentanaPrincipal, text="Caballo", command=lambda: ejecutar(ventanas(11))) boton11.grid(row=1, column=12) boton12= Button(VentanaPrincipal, text="Estrella", command=lambda: ejecutar(ventanas(12))) boton12.grid(row=1, column=13) boton13= Button(VentanaPrincipal, text="Conejo", command=lambda: ejecutar(ventanas(13))) boton13.grid(row=1, column=14) boton14= Button(VentanaPrincipal, text="Manzana", command=lambda: ejecutar(ventanas(14))) boton14.grid(row=1, column=15) boton15= Button(VentanaPrincipal, text="Perro", command=lambda: ejecutar(ventanas(15))) boton15.grid(row=1, column=16) boton16= Button(VentanaPrincipal, text="Gato", command=lambda: ejecutar(ventanas(16))) boton16.grid(row=1, column=17) boton17= Button(VentanaPrincipal, text="Mono", command=lambda: ejecutar(ventanas(17))) boton17.grid(row=1, column=18) boton18= Button(VentanaPrincipal, text="VenadoPhotoshop", command=lambda: ejecutar(ventanas(18))) boton18.grid(row=1, column=19) boton19= Button(VentanaPrincipal, text="Lobo", command=lambda: ejecutar(ventanas(19))) boton19.grid(row=1, column=20) boton19= Button(VentanaPrincipal, text="Poligono", command=lambda: ejecutar(ventanas(20))) boton19.grid(row=1, column=21) boton20= Button(VentanaPrincipal, text="Facebook", command=lambda: ejecutar(ventanas(21))) boton20.grid(row=1, column=22) boton21= Button(VentanaPrincipal, text="Corazon", command=lambda: ejecutar(ventanas(22))) boton21.grid(row=1, column=23) boton22= Button(VentanaPrincipal, text="MarioBross", command=lambda: ejecutar(ventanas(23))) boton22.grid(row=1, column=24) VentanaPrincipal.mainloop()
No hay comentarios:
Publicar un comentario