Update sketch_2020_12_10a_naive_graph.pyde

main
Alexandre B A Villares 2020-12-10 16:59:06 -03:00
rodzic 236c52092c
commit a87a205f95
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -52,13 +52,8 @@ def mouseClicked():
n.sel = not n.sel # inverte status de seleção
def keyPressed(): # Quando uma tecla é pressionada
print("key")
if key == 'r': # Se a tecla 'r' for pressionada
print("r")
for n in nodes:
print("for")
# sorteia nova posição
x = random(width * .25, width * .75)
y = random(height * .25, height * .75)