Interest

I created a process which made a thing that I enjoyed: reading I used quad, arc and shape:  Here’s the code: size(350,250); smooth(); fill(60); quad(50,20,50,150,150,200,150,70); quad(180,70,180,200,280,150,280,20); fill(5,5,50); quad(150,200,150,7...

mouse interaction w/ shapes

I made an interactive program that uses the mouse to determine a shape’s size and position: void setup() { size(500,500);  } void draw() {    background(200);    triangle(mouseX,mouseY,mouseX*0.5,mouseY/3,mouseY,mouseX);     rect(mouseY*0.44,...

Pacmen running from…

pacmen run from something… I used arrays to make 7500 pacmen in Processing. code: float[] x=new float [7500]; int[] g= {-30000, -29970, -29940, -29910, -29880, -29850, -29820, -29790, -29760, -29730, -29700}; void setup() { size(1000, 500); smooth()...