kopia lustrzana https://github.com/villares/sketch-a-day
Update sketch_191022a.pyde
rodzic
c4201d1e73
commit
0c6993dc3d
|
|
@ -6,6 +6,7 @@ def setup():
|
||||||
rectMode(CENTER)
|
rectMode(CENTER)
|
||||||
strokeJoin(ROUND)
|
strokeJoin(ROUND)
|
||||||
blendMode(MULTIPLY)
|
blendMode(MULTIPLY)
|
||||||
|
colorMode(HSB)
|
||||||
|
|
||||||
def draw():
|
def draw():
|
||||||
background(255)
|
background(255)
|
||||||
|
|
@ -32,8 +33,8 @@ def poly_arrow(x, y, s, i, j):
|
||||||
w = s / (1 + i) # x / s)
|
w = s / (1 + i) # x / s)
|
||||||
h = s / (1 + j ) # y / s)
|
h = s / (1 + j ) # y / s)
|
||||||
noFill()
|
noFill()
|
||||||
strokeWeight(3)
|
strokeWeight(s / 5)
|
||||||
stroke(64 + i * 64, 64 + j * 64, 200)
|
stroke((32 * j + i * 64) % 255, 200, 200)
|
||||||
""" Seta na posição x, y com largura w e altura h"""
|
""" Seta na posição x, y com largura w e altura h"""
|
||||||
mw = w
|
mw = w
|
||||||
mh = h
|
mh = h
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue