kopia lustrzana https://github.com/villares/sketch-a-day
367_readme
rodzic
1ed45487bf
commit
ee9be726a0
14
README.md
14
README.md
|
@ -10,6 +10,20 @@ Feel free to [contact me](http://contato.lugaralgum.com) regarding licenses to u
|
|||
If you enjoy this, be a [patreon](https://patreon.com/arteprog) or make a donation [here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HCGAKACDMVNV2)
|
||||
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
367: [code](https://github.com/villares/sketch-a-day/tree/master/s367) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
366: [code](https://github.com/villares/sketch-a-day/tree/master/s366) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
|
|
@ -26,7 +26,7 @@ def init_grid(f=None):
|
|||
f = lambda i, j: choice((True, False))
|
||||
# number of collums and rows -2 for default cell sized border
|
||||
w = int(width // CELL_SIZE) - 2
|
||||
h = int(height // CELL_SIZE) - r2
|
||||
h = int(height // CELL_SIZE) - 2
|
||||
for i in range(w):
|
||||
for j in range(h):
|
||||
# default Cell constructor has border=CELL_SIZE
|
||||
|
|
Ładowanie…
Reference in New Issue