Alexandre B A Villares 2021-11-10 15:03:26 -03:00
rodzic fc8bc0964e
commit ee15cded13
5 zmienionych plików z 8 dodań i 3 usunięć

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 254 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 271 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 272 KiB

Wyświetl plik

@ -47,7 +47,7 @@ def keyPressed():
nbs[:] = NBS # refresh, full neighbourhood
for _ in range(8): # 8 times 5 iteration steps
nbs[:] = sample(NBS, max(2, len(nbs) - 1))
for i in range(5):
for _ in range(5):
grow()
elif key == ENTER:
setup_seed()
@ -57,9 +57,8 @@ def keyPressed():
def grow():
nks = nodes.keys()
# nks.sort() # hmmm. not that nice
shuffle(nks)
for x, y in nodes.keys():
for x, y in nks:
for nx, ny in nbs:
xnx, yny = x + nx, y + ny
visible = (abs(xnx * step) < width / 2 - step * 5 and

Wyświetl plik

@ -26,6 +26,12 @@ Here are listed some of the tools I have been using:
## [2018](2018.md) | [2019](2019.md) | [2020](2020.md) | 2021
---
![sketch_2021_11_10a](2021/sketch_2021_11_10a/sketch_2021_11_10a.png)
[sketch_2021_11_10a](https://github.com/villares/sketch-a-day/tree/master/2021/sketch_2021_11_10a) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
---
![sketch_2021_11_09a](2021/sketch_2021_11_09a/sketch_2021_11_09a.png)