kopia lustrzana https://github.com/villares/sketch-a-day
main
rodzic
c4d87fa20c
commit
26c985af48
|
|
@ -28,7 +28,7 @@ def ensamble(ex, ey, order):
|
|||
translate(ex, ey)
|
||||
for _ in range(order):
|
||||
fill(0 + randint(0, 2) * 51, 255, 255)
|
||||
order, spacing, side = int(random(3, 6)), 14, 7
|
||||
order, spacing, side = randint(3, 5), 14, 7
|
||||
x, y = randint(-5, 4) * side, randint(-5, 4) * side
|
||||
grid(x, y, order, spacing, choice(gliphs), side)
|
||||
|
||||
|
|
|
|||
Plik binarny nie jest wyświetlany.
|
Po Szerokość: | Wysokość: | Rozmiar: 43 KiB |
Plik binarny nie jest wyświetlany.
|
Po Szerokość: | Wysokość: | Rozmiar: 45 KiB |
|
|
@ -19,7 +19,7 @@ def setup():
|
|||
|
||||
def draw():
|
||||
noLoop()
|
||||
background(250)
|
||||
background(200)
|
||||
grid(width/4, height/2, 4, 150, ensamble, 5) # ensamble of 5 , on grid also order=5
|
||||
grid(width/4*3, height/2, 4, 150, ensamble, 5) # ensamble of 5 , on grid also order=5
|
||||
|
||||
|
|
|
|||
Plik binarny nie jest wyświetlany.
|
Po Szerokość: | Wysokość: | Rozmiar: 46 KiB |
Ładowanie…
Reference in New Issue