Update sketch_2020_02_13a.pyde

main
Alexandre B A Villares 2020-02-14 00:03:35 -02:00
rodzic 36137b1d95
commit 1dce373992
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -1,4 +1,8 @@
# Alexandre B A Villares - https://abav.lugaralgum.com/sketch-a-day
"""
Alexandre B A Villares - https://abav.lugaralgum.com/sketch-a-day
Explorando um experimento de geração de formas
proposto por Leopoldo Leal
"""
from random import choice, sample, shuffle
from itertools import product, permutations, combinations
@ -108,7 +112,7 @@ def keyPressed():
if len(points) == NUM_POINTS:
ensambles[:] = create_ensambles(create_polys(points))
else:
print("Só vale com {} pinos!".format(NUM_POINTS))
print(u"Só vale com {} pinos!".format(NUM_POINTS))
if key == 'R':
points[:] = sample(grid, NUM_POINTS)
ensambles[:] = create_ensambles(create_polys(points))