|
|
@ -17,12 +17,10 @@ def dessiner_facade(informations:dict): |
|
|
|
facade['écriture'] = 'blue' |
|
|
|
facade['écriture'] = 'blue' |
|
|
|
facade['fond'] = informations['couleur_facade'] |
|
|
|
facade['fond'] = informations['couleur_facade'] |
|
|
|
facade['épaisseur'] = 5 * informations['numero'] |
|
|
|
facade['épaisseur'] = 5 * informations['numero'] |
|
|
|
def triangle_equilateral(50, facade, (0,0)) |
|
|
|
triangle_equilateral(50, facade, (0,0)) |
|
|
|
|
|
|
|
|
|
|
|
def dessiner_porte(informations:dict): |
|
|
|
def dessiner_porte(informations:dict): |
|
|
|
porte = {} |
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def dessiner_immeuble(informations:dict): |
|
|
|
def dessiner_immeuble(informations:dict): |
|
|
|
dessiner_facade(informations) |
|
|
|
dessiner_facade(informations) |
|
|
@ -36,4 +34,3 @@ if __name__ == '__main__': |
|
|
|
for x in range(4): |
|
|
|
for x in range(4): |
|
|
|
infos_immeuble = determiner_immeuble(x) |
|
|
|
infos_immeuble = determiner_immeuble(x) |
|
|
|
dessiner_immeuble(infos_immeuble) |
|
|
|
dessiner_immeuble(infos_immeuble) |
|
|
|
|
|
|
|
|
|
|
|