readme & cleanup

main
Alexandre B A Villares 2019-09-15 23:44:36 -03:00
rodzic 57547eff78
commit 25cc49e839
2 zmienionych plików z 9 dodań i 11 usunięć

Wyświetl plik

@ -1,17 +1,14 @@
ox, oy = 0, 0
def setup():
size(512, 512)
noLoop()
rectMode(CENTER)
def draw():background(-1);r(256, 256, 2, 512)
def draw():
background(255)
r(256, 256, 2, 512)
def r(x, y, n, tw):
ox, oy = 0, 0
# global ox, oy
cw = tw / n
m = (cw - tw) / 2
for i in range(n):
@ -29,8 +26,3 @@ def r(x, y, n, tw):
def keyPressed():
saveFrame("####.png")
redraw()
global ox, oy
ox, oy = 0 , 0

Wyświetl plik

@ -18,6 +18,12 @@ You may also support my artistic work, open teaching resources and research with
## 2019
---
![sketch_190915b](2019/sketch_190915b/sketch_190915b)
[sketch_190915b](https://github.com/villares/sketch-a-day/tree/master/2019/sketch_190915b) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
---