Week 9

Hui Liu
Data Mining the City
1 min readNov 7, 2017
def setup():
size(500,500)
print random(50,100)
def draw():
x = random(0,width)
y = random(0,height)
z=random(0,255)
k=random(0,255)
b=random(0,255)
m=random(10,100)
noStroke()
fill(x,z,b)
ellipse(x,y,m,m)
fill(x,y,z)
ellipse(x,y,m/2,m/2)
def setup():
size(800,800)
print random(50,100)
def draw():
x = random(0,width)
y = random(0,height)
photo=loadImage('123.png')
image(photo,x,y,80,80)

--

--