Skip to content

Commit

Permalink
Update p1_movimento_sem_oo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
villares authored Aug 2, 2024
1 parent 50fa539 commit db58e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Processing-Python-py5/bandeirinhas/p1_movimento_sem_oo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@


def setup():
""" Código de configuração, executado no início pelo Processing """
""" Código de configuração, executado no início."""
global x, y
size(100, 100) # área de desenho
x, y = width / 2, height / 2 # coordenadas do meio da área de desenho


def draw():
""" Laço principal de repetição do Processing """
""" Laço principal da animação. """
global x, y
background(0) # limpeza do frame, fundo preto
bandeirinha(x, y) # desenha o polígono
Expand Down

0 comments on commit db58e31

Please sign in to comment.