Páginas

MI FIGURA EN PYTHON


*Codigo

from Tkinter import *VentanaPrincipal= Tk()
VentanaPrincipal.title("Ventana Principal")
VentanaPrincipal.config(bg="black")
VentanaPrincipal.geometry("25x50")

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("500x700")
    if num==1:        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)
boton1= Button(VentanaPrincipal, text="Mi Figura", command=lambda: ejecutar(ventanas(1)))
boton1.grid(row=0, column=0)

VentanaPrincipal.mainloop()

No hay comentarios:

Publicar un comentario

UNIDAD 3 y 4

UNIDAD 3: Configuración y administración del espacio en disco Para la gestión del almacenamiento de una base de datos existen 4 conce...