kopia lustrzana https://github.com/villares/sketch-a-day
Update sketch_191010a.pyde
rodzic
7d3e0c6dd2
commit
6644d7076b
|
|
@ -40,12 +40,13 @@ def element(x, y, w, option):
|
|||
translate(x, y)
|
||||
rotate(HALF_PI * p)
|
||||
if option == 0:
|
||||
poly_arrow(0, 0, w)
|
||||
poly_arrow(0, 0, w * 4)
|
||||
# estrela(x, y, p, choice((w/6, w*.1, w*.2)), w/3)
|
||||
else:
|
||||
# casinha(x, y, choice((w/2, w*.9, w*.6)))
|
||||
# fill(option * 32, 200, 200)
|
||||
poly_arrow(0, 0, w * 2)
|
||||
fill(0)
|
||||
poly_arrow(0, 0, w)
|
||||
popMatrix()
|
||||
|
||||
def keyPressed():
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue