Skip to content

Commit

Permalink
reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
villares committed Oct 21, 2024
1 parent 267dca4 commit 998acfa
Show file tree
Hide file tree
Showing 161 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ application.windows32
application.windows64
application.macosx
out
/estudos-para-exemplos
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions arquivos-turmas/AU262_2021/readme.md

This file was deleted.

6 changes: 3 additions & 3 deletions estudos-para-exemplos/grade.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ def grade(x_grade, y_grade, tamanho_grade, divisoes):
x = x_grade + i * tamanho_elemento
for j in range(divisoes):
y = y_grade + j * tamanho_elemento
if divisoes == 1:
if divisoes == 1: # uma grade de uma divisão vira um quadrado azul
fill(0, 0, 200)
square(x, y, tamanho_elemento)
elif tamanho_elemento < 20:
elif tamanho_elemento < 20: # desenha círculos para gradedes pequenas
fill(0, 200, 0)
circle(x + tamanho_elemento / 2,
y + tamanho_elemento / 2,
tamanho_elemento)
else:
else: # senão, chama uma subgrade com o número de divisões "sorteadas"
grade(x, y, tamanho_elemento, int(random(1, 5)))

This file was deleted.

File renamed without changes.

0 comments on commit 998acfa

Please sign in to comment.