Premier commit, répartition des points concentrée sur le centre du
canevas à corriger.master
commit
85b0332970
|
|
@ -0,0 +1,20 @@
|
|||
# palette https://coolors.co/c0caad-9da9a0-654c4f-b26e63-cec075
|
||||
cerDiam = 580
|
||||
|
||||
size(600, 600)
|
||||
background('#cec075')
|
||||
noStroke()
|
||||
fill('#b26e63')
|
||||
ellipse(width/2,height/2,cerDiam,cerDiam)
|
||||
|
||||
for i in range(0,500):
|
||||
fill('#9da9a0')
|
||||
stroke('#654c4f')
|
||||
strokeWeight(1)
|
||||
dist = random(cerDiam/2)
|
||||
diam = random(5,20)
|
||||
pos = PVector.random2D()
|
||||
|
||||
ellipse(pos.x*dist+width/2,pos.y*dist+height/2,diam,diam)
|
||||
|
||||
print('ok')
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
mode=Python
|
||||
mode.id=jycessing.mode.PythonMode
|
||||
Loading…
Reference in New Issue